8000 assert mods.pop(0) == 'tests' errors for multiprocess tests on OSX · Issue #3314 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
assert mods.pop(0) == 'tests' errors for multiprocess tests on OSX #3314
Closed
@matthew-brett

Description

@matthew-brett

I'm testing OSX builds using Matt Terry's build grid. All the matplotlib builds are giving multiple errors like this:

======================================================================
FAIL: Failure: AssertionError ()
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/loader.py", line 284, in generate
    for test in g():
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 152, in test
    baseline_dir, result_dir = _image_directories(self._func)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 303, in _image_directories
    assert mods.pop(0) == 'tests'
AssertionError

See: https://s3.amazonaws.com/archive.travis-ci.org/jobs/30794968/log.txt

It's not clear where the failures are coming from, but this is an excerpt from the stdout of the tests.

matplotlib.tests.test_triangulation.test_tri_smooth_contouring.test ... ok
Failure: AssertionError () ... FAIL
matplotlib.tests.test_triangulation.test_triinterpcubic_C1_continuity ... ok
matplotlib.tests.test_triangulation.test_tri_smooth_gradient.test ... ok
Failure: AssertionError () ... FAIL
Failure: AssertionError () ... FAIL
Failure: AssertionError () ... FAIL
Failure: AssertionError () ... FAIL
Failure: AssertionError () ... FAIL
Failure: AssertionError () ... FAIL
Failure: AssertionError () ... FAIL
Failure: AssertionError () ... FAIL
Failure: AssertionError () ... FAIL
Failure: AssertionError () ... FAIL
Failure: AssertionError () ... FAIL
Failure: AssertionError () ... FAIL
matplotlib.tests.test_transforms.test_pre_transform_plotting.test ... ok

I can replicate the failures on my laptop in a clean virtual machine, but only when running the tests via the multiprocessing plugin:

python ../matplotlib/tests.py -sv --processes=8 --process-timeout=300

Running in single process mode gives no failures. Does anyone have any idea how I could investigate further?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0