Demo built-in-meshes fails on python 3 buildbot

Issue #477 duplicate
Martin Sandve Alnæs created an issue

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)

  1. Jan Blechta

    Another built got stuck elsewhere.

    @johannes_ring, are we running CPython unbuffered by python -u or export 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).

  2. Johannes Ring

    No, we are not running with python -u or export PYTHONUNBUFFERED=1 on the buildbots. Should we?

  3. Jan Blechta

    I'd say so. Maybe export PYTHONUNBUFFERED=1 is the best as test/regression/test.py spawns new python processes. Not sure how unit tests are executed but python executable should again read that env variable.

  4. Martin Sandve Alnæs reporter

    Unit tests are run as described in CMakeFiles.txt with 'python -B -m pytest', adding -u there shouldn't be a problem.

  5. Log in to comment