new fail on windows
********************************************************************************
ERROR: 1 TEST FAILURES. PLEASE FIX BEFORE COMMITTING CODE.
********************************************************************************
Standard error:
Traceback (most recent call last):
File "c:\users\builder\slave\cctbx-nightly-intel-windows\modules\cctbx_project\libtbx\tst_easy_mp.py",
line 210, in <module>
run(args=sys.argv[1:])
File "c:\users\builder\slave\cctbx-nightly-intel-windows\modules\cctbx_project\libtbx\tst_easy_mp.py",
line 205, in run
check_if_stacktrace_is_propagated_properly(method='multiprocessing')
File "c:\users\builder\slave\cctbx-nightly-intel-windows\modules\cctbx_project\libtbx\tst_easy_mp.py",
line 187, in check_if_stacktrace_is_propagated_properly
assert isinstance(e, exceptions.ZeroDivisionError) or
"ZeroDivisionError" in str(e), "Exception type mismatch: %s" % str(e)
AssertionError: Exception type mismatch: Can't pickle
Hi Nigel,
Hopefully this is fixed with r24353.
One question: Do you think it would be possible to install https://pypi.python.org/pypi/junit-xml on your build machines, run libtbx.run_tests_parallel with the output_junit_xml=True option, and collect the output.xml files somewhere where we can download them?
At the moment we do monitor the buildbot status - but only in a very coarse way. We only see test failures on a high level, see attached screenshot. As you can see there are a number of things broken, some of them for quite some time, so because on that level there is always something guaranteed to fail the overall status we see is always set to ‘warning’. I don’t think any of us bothers anymore looking into the details, a number of errors are about things we can’t do anything about anyway.
However, if you could give us a collection of output.xml’s we could, instead of taking the overall build status, use the test results and set up a DIALS-East internal mail on the buildbot test status. Then we would pick up these things earlier.
Best wishes,
-Markus
From: [email protected] [mailto:[email protected]] On Behalf Of Nigel Moriarty
Sent: 21 April 2016 17:41
To: cctbx mailing list
Subject: [cctbxbb] new fail on windows
********************************************************************************
ERROR: 1 TEST FAILURES. PLEASE FIX BEFORE COMMITTING CODE.
********************************************************************************
Standard error:
Traceback (most recent call last):
File "c:\users\builder\slave\cctbx-nightly-intel-windows\modules\cctbx_project\libtbx\tst_easy_mp.py", line 210, in <module>
run(args=sys.argv[1:])
File "c:\users\builder\slave\cctbx-nightly-intel-windows\modules\cctbx_project\libtbx\tst_easy_mp.py", line 205, in run
check_if_stacktrace_is_propagated_properly(method='multiprocessing')
File "c:\users\builder\slave\cctbx-nightly-intel-windows\modules\cctbx_project\libtbx\tst_easy_mp.py", line 187, in check_if_stacktrace_is_propagated_properly
assert isinstance(e, exceptions.ZeroDivisionError) or "ZeroDivisionError" in str(e), "Exception type mismatch: %s" % str(e)
AssertionError: Exception type mismatch: Can't pickle
On Fri, Apr 22, 2016 at 1:35 AM,
Hopefully this is fixed with r24353.
Afraid not. Is it true that you are not testing this windows feature on a windows machine? Regarding junit, I'll talk with Aaron when he returns. Cheers Nigel --- Nigel W. Moriarty Building 33R0349, Molecular Biophysics and Integrated Bioimaging Lawrence Berkeley National Laboratory Berkeley, CA 94720-8235 Phone : 510-486-5709 Email : [email protected] Fax : 510-486-5909 Web : CCI.LBL.gov
Hi Nigel,
Should be resolved now.
It is true that we do not currently test on windows.
In this particular case it turns out neither does anyone else, cf. https://sourceforge.net/p/cctbx/code/HEAD/tree/trunk/libtbx/easy_mp.py line 22 which causes the other easy_mp tests to be skipped on Windows. This will make it kind of difficult to support windows software building on top of it, so at some point this needs to be addressed properly.
Best wishes & good weekend
-Markus
________________________________
From: [email protected] [[email protected]] on behalf of Nigel Moriarty [[email protected]]
Sent: Friday, April 22, 2016 17:39
To: cctbx mailing list
Subject: Re: [cctbxbb] new fail on windows
On Fri, Apr 22, 2016 at 1:35 AM,
Hi all,
I currently am using the cctbx on Windows 7 if you would like me to perform
some tests, just let me know.
Abbey
On Apr 21, 2016 12:41 PM, "Nigel Moriarty"
******************************************************************************** ERROR: 1 TEST FAILURES. PLEASE FIX BEFORE COMMITTING CODE. ******************************************************************************** Standard error: Traceback (most recent call last): File "c:\users\builder\slave\cctbx-nightly-intel-windows\modules\cctbx_project\libtbx\tst_easy_mp.py", line 210, in <module> run(args=sys.argv[1:]) File "c:\users\builder\slave\cctbx-nightly-intel-windows\modules\cctbx_project\libtbx\tst_easy_mp.py", line 205, in run check_if_stacktrace_is_propagated_properly(method='multiprocessing') File "c:\users\builder\slave\cctbx-nightly-intel-windows\modules\cctbx_project\libtbx\tst_easy_mp.py", line 187, in check_if_stacktrace_is_propagated_properly assert isinstance(e, exceptions.ZeroDivisionError) or "ZeroDivisionError" in str(e), "Exception type mismatch: %s" % str(e) AssertionError: Exception type mismatch: Can't pickle
: it's not found as __main__.may_divide_by_zero Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\Users\builder\slave\cctbx-nightly-intel-windows\base\bin\python\lib\multiprocessing\forking.py", line 381, in main self = load(from_parent) File "C:\Users\builder\slave\cctbx-nightly-intel-windows\base\bin\python\lib\pickle.py", line 1378, in load return Unpickler(file).load() File "C:\Users\builder\slave\cctbx-nightly-intel-windows\base\bin\python\lib\pickle.py", line 858, in load dispatch[key](self) File "C:\Users\builder\slave\cctbx-nightly-intel-windows\base\bin\python\lib\pickle.py", line 880, in load_eof raise EOFError EOFError Cheers
Nigel
--- Nigel W. Moriarty Building 33R0349, Molecular Biophysics and Integrated Bioimaging Lawrence Berkeley National Laboratory Berkeley, CA 94720-8235 Phone : 510-486-5709 Email : [email protected] Fax : 510-486-5909 Web : CCI.LBL.gov
_______________________________________________ cctbxbb mailing list [email protected] http://phenix-online.org/mailman/listinfo/cctbxbb
participants (3)
-
Abbey Garant
-
markus.gerstel@diamond.ac.uk
-
Nigel Moriarty