Demo built-in-meshes fails on python 3 buildbot
Issue #477
duplicate
The py3 buildbot consistently fails on the built-in-meshes demo:
http://fenicsproject.org:8010/builders/dolfin-next-full-trusty-amd64-py3/builds/407/steps/make%20run_regressiontests/logs/stdio
----------------------------------------------------------------------
Running Python demo ./../../demo/documented/built-in-meshes/python
command timed out: 1200 seconds without output, attempting to kill
process killed by signal 9
program finished with exit code -1
elapsedTime=2050.595538
Comments (10)
-
-
reporter I can add a flush to the gc fixture.
-
No, we are not running with
python -u
orexport PYTHONUNBUFFERED=1
on the buildbots. Should we? -
I'd say so. Maybe
export PYTHONUNBUFFERED=1
is the best astest/regression/test.py
spawns new python processes. Not sure how unit tests are executed but python executable should again read that env variable. -
reporter Unit tests are run as described in CMakeFiles.txt with 'python -B -m pytest', adding -u there shouldn't be a problem.
-
- changed component to tests
-
Attempt to fix the problem by using unbuffered interpreter e57c7bc.
-
e57c7bc did not do the job.
-
- changed status to duplicate
Duplicate of
#476. -
reporter - removed milestone
Removing milestone: 1.6 (automated comment)
- Log in to comment
Another built got stuck elsewhere.
@johannes_ring, are we running CPython unbuffered by
python -u
orexport PYTHONUNBUFFERED=1
? Buffering could spoil the 1200 seconds check. It might also be the reason of frequent failures of book tests (there is maybe a lot of actual testing and a few of output).