Code review comment for lp:~maddevelopers/mg5amcnlo/2.2.0

Revision history for this message
Valentin Hirschi (valentin-hirschi) wrote :

Hi,

Yes, I had pushed the modifications. Now the issue for these MadWeight
acceptance tests simply was a bug introduced when replacing all
os.system('gunzip [...]') with misc.gunzip. When I reviewed this branch, I
didn't run the acceptance tests (I should have). Anyway, it is fixed now.

On Wed, Sep 17, 2014 at 8:09 AM, Olivier Mattelaer <
<email address hidden>> wrote:

> I also implement one more change requested by Josh (in MadSpin and
> carefully checked by me and Pierre)
>
> Cheers,
>
> Olivier
>
> PS: I have the same fail for the acceptance test …
> Valentin, did you push the modification that we found during our Skype
> meeting?
>
>
> On Sep 17, 2014, at 1:58 PM, Rikkert Frederix <email address hidden>
> wrote:
>
> > Excellent. I just made a final improvement provided by Juan Rojo (with
> careful testing by the both of us).
> >
> > I checked the Acceptance tests as well. There are 5 failing or have
> error for me (this is not related to my final fix). It seems to be related
> to the C++ output and the same MadWeight problem that Valentin & Olivier
> already fixed before.
> >
> > Cheers,
> > Rik
> >
> >
> > ======================================================================
> > ERROR: test_mw_wjjproduction
> (tests.acceptance_tests.test_madweight.TestMadWeight)
> > checking that the weight for p p > w+ jj,w+ > e+ ve is working
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> > File
> "/Users/rikkert/Documents/Physics/aMCatNLO/2.2.0/tests/acceptance_tests/test_madweight.py",
> line 241, in test_mw_wjjproduction
> > data = open(pjoin(MG5DIR, 'TEST_MW_W2J_prod', 'Events', 'fermi',
> 'weights.out')).read()
> > IOError: [Errno 2] No such file or directory:
> '/Users/rikkert/Documents/Physics/aMCatNLO/2.2.0/TEST_MW_W2J_prod/Events/fermi/weights.out'
> >
> > ======================================================================
> > ERROR: test_mw_wproduction
> (tests.acceptance_tests.test_madweight.TestMadWeight)
> > checking that the weight for p p > w+ > e+ ve is working
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> > File
> "/Users/rikkert/Documents/Physics/aMCatNLO/2.2.0/tests/acceptance_tests/test_madweight.py",
> line 181, in test_mw_wproduction
> > data = open(pjoin(MG5DIR, 'TEST_MW_W_prod', 'Events', 'fermi',
> 'weights.out')).read()
> > IOError: [Errno 2] No such file or directory:
> '/Users/rikkert/Documents/Physics/aMCatNLO/2.2.0/TEST_MW_W_prod/Events/fermi/weights.out'
> >
> > ======================================================================
> > FAIL: test_standalone_cpp (tests.acceptance_tests.test_cmd.TestCmdShell2)
> > test that standalone cpp is working
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> > File
> "/Users/rikkert/Documents/Physics/aMCatNLO/2.2.0/tests/acceptance_tests/test_cmd.py",
> line 562, in test_standalone_cpp
> > self.assertTrue(me_groups)
> > AssertionError: None is not true
> >
> > ======================================================================
> > FAIL: test_standalone_cpp_output
> (tests.acceptance_tests.test_cmd.TestCmdShell2)
> > Test the C++ standalone output
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> > File
> "/Users/rikkert/Documents/Physics/aMCatNLO/2.2.0/tests/acceptance_tests/test_cmd.py",
> line 1485, in test_standalone_cpp_output
> > self.assertTrue(me_groups)
> > AssertionError: None is not true
> >
> > ======================================================================
> > FAIL: test_standalone_cpp_output_consistency
> (tests.acceptance_tests.test_cmd.TestCmdShell2)
> > test that standalone cpp is working
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> > File
> "/Users/rikkert/Documents/Physics/aMCatNLO/2.2.0/tests/acceptance_tests/test_cmd.py",
> line 600, in test_standalone_cpp_output_consistency
> > original = get_values()
> > File
> "/Users/rikkert/Documents/Physics/aMCatNLO/2.2.0/tests/acceptance_tests/test_cmd.py",
> line 597, in get_values
> > self.assertTrue(me_groups)
> > AssertionError: None is not true
> >
> > ----------------------------------------------------------------------
> > Ran 57 tests in 1406.227s
> >
> > FAILED (failures=3, errors=2)
> >
> > --
> > https://code.launchpad.net/~maddevelopers/mg5amcnlo/2.2.0/+merge/234925
> > Your team MadDevelopers is subscribed to branch
> lp:~maddevelopers/mg5amcnlo/2.2.0.
>
>
> --
> https://code.launchpad.net/~maddevelopers/mg5amcnlo/2.2.0/+merge/234925
> Your team MadDevelopers is subscribed to branch
> lp:~maddevelopers/mg5amcnlo/2.2.0.
>

--
Valentin

« Back to merge proposal