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.
>
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 ======= ======= ======= ======= ======= ======= ======= ======= ======= wjjproduction acceptance_ tests.test_ madweight. TestMadWeight) ------- ------- ------- ------- ------- ------- ------- ------- ------- rikkert/ Documents/ Physics/ aMCatNLO/ 2.2.0/tests/ acceptance_ tests/test_ madweight. py", wjjproduction out')). read() rikkert/ Documents/ Physics/ aMCatNLO/ 2.2.0/TEST_ MW_W2J_ prod/Events/ fermi/weights. out' ======= ======= ======= ======= ======= ======= ======= ======= ======= acceptance_ tests.test_ madweight. TestMadWeight) ------- ------- ------- ------- ------- ------- ------- ------- ------- rikkert/ Documents/ Physics/ aMCatNLO/ 2.2.0/tests/ acceptance_ tests/test_ madweight. py", out')). read() rikkert/ Documents/ Physics/ aMCatNLO/ 2.2.0/TEST_ MW_W_prod/ Events/ fermi/weights. out' ======= ======= ======= ======= ======= ======= ======= ======= ======= acceptance_ tests.test_ cmd.TestCmdShel l2) ------- ------- ------- ------- ------- ------- ------- ------- ------- rikkert/ Documents/ Physics/ aMCatNLO/ 2.2.0/tests/ acceptance_ tests/test_ cmd.py" , (me_groups) ======= ======= ======= ======= ======= ======= ======= ======= ======= _cpp_output acceptance_ tests.test_ cmd.TestCmdShel l2) ------- ------- ------- ------- ------- ------- ------- ------- ------- rikkert/ Documents/ Physics/ aMCatNLO/ 2.2.0/tests/ acceptance_ tests/test_ cmd.py" , _cpp_output (me_groups) ======= ======= ======= ======= ======= ======= ======= ======= ======= _cpp_output_ consistency acceptance_ tests.test_ cmd.TestCmdShel l2) ------- ------- ------- ------- ------- ------- ------- ------- ------- rikkert/ Documents/ Physics/ aMCatNLO/ 2.2.0/tests/ acceptance_ tests/test_ cmd.py" , _cpp_output_ consistency rikkert/ Documents/ Physics/ aMCatNLO/ 2.2.0/tests/ acceptance_ tests/test_ cmd.py" , (me_groups) ------- ------- ------- ------- ------- ------- ------- ------- ------- /code.launchpad .net/~maddevelo pers/mg5amcnlo/ 2.2.0/+ merge/234925 /code.launchpad .net/~maddevelo pers/mg5amcnlo/ 2.2.0/+ merge/234925
> 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_
> (tests.
> > checking that the weight for p p > w+ jj,w+ > e+ ve is working
> > -------
> > Traceback (most recent call last):
> > File
> "/Users/
> line 241, in test_mw_
> > data = open(pjoin(MG5DIR, 'TEST_MW_W2J_prod', 'Events', 'fermi',
> 'weights.
> > IOError: [Errno 2] No such file or directory:
> '/Users/
> >
> > =======
> > ERROR: test_mw_wproduction
> (tests.
> > checking that the weight for p p > w+ > e+ ve is working
> > -------
> > Traceback (most recent call last):
> > File
> "/Users/
> line 181, in test_mw_wproduction
> > data = open(pjoin(MG5DIR, 'TEST_MW_W_prod', 'Events', 'fermi',
> 'weights.
> > IOError: [Errno 2] No such file or directory:
> '/Users/
> >
> > =======
> > FAIL: test_standalone_cpp (tests.
> > test that standalone cpp is working
> > -------
> > Traceback (most recent call last):
> > File
> "/Users/
> line 562, in test_standalone_cpp
> > self.assertTrue
> > AssertionError: None is not true
> >
> > =======
> > FAIL: test_standalone
> (tests.
> > Test the C++ standalone output
> > -------
> > Traceback (most recent call last):
> > File
> "/Users/
> line 1485, in test_standalone
> > self.assertTrue
> > AssertionError: None is not true
> >
> > =======
> > FAIL: test_standalone
> (tests.
> > test that standalone cpp is working
> > -------
> > Traceback (most recent call last):
> > File
> "/Users/
> line 600, in test_standalone
> > original = get_values()
> > File
> "/Users/
> line 597, in get_values
> > self.assertTrue
> > AssertionError: None is not true
> >
> > -------
> > Ran 57 tests in 1406.227s
> >
> > FAILED (failures=3, errors=2)
> >
> > --
> > https:/
> > Your team MadDevelopers is subscribed to branch
> lp:~maddevelopers/mg5amcnlo/2.2.0.
>
>
> --
> https:/
> Your team MadDevelopers is subscribed to branch
> lp:~maddevelopers/mg5amcnlo/2.2.0.
>
--
Valentin