Skip to content

Get to the bottom of intermittent failures on Travis #6586

Closed
@jenshnielsen

Description

@jenshnielsen

At this stage these are mainly my own notes on errors we have been seeing on Travis to see if I can find a pattern that can give a clue what the issue is:

From #6585 python2.7

======================================================================
FAIL: matplotlib.tests.test_backend_pdf.test_hatching_legend.test
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/matplotlib/matplotlib/venv/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/home/travis/build/matplotlib/matplotlib/venv/lib/python2.7/site-packages/matplotlib-2.0.0b1+40.g2855857-py2.7-linux-x86_64.egg/matplotlib/testing/decorators.py", line 55, in failer
    result = f(*args, **kwargs)
  File "/home/travis/build/matplotlib/matplotlib/venv/lib/python2.7/site-packages/matplotlib-2.0.0b1+40.g2855857-py2.7-linux-x86_64.egg/matplotlib/testing/decorators.py", line 251, in do_test
    self._tol, in_decorator=True)
  File "/home/travis/build/matplotlib/matplotlib/venv/lib/python2.7/site-packages/matplotlib-2.0.0b1+40.g2855857-py2.7-linux-x86_64.egg/matplotlib/testing/compare.py", line 337, in compare_images
    rms = calculate_rms(expectedImage, actualImage)
  File "/home/travis/build/matplotlib/matplotlib/venv/lib/python2.7/site-packages/matplotlib-2.0.0b1+40.g2855857-py2.7-linux-x86_64.egg/matplotlib/testing/compare.py", line 248, in calculate_rms
    "actual size {1}".format(expectedImage.shape, actualImage.shape))
ImageComparisonFailure: image sizes do not match expected size: (144, 72, 3) actual size (346, 461, 3)
======================================================================
FAIL: matplotlib.tests.test_mathtext.test_mathfont_dejavuserif_12.test
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/matplotlib/matplotlib/venv/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/home/travis/build/matplotlib/matplotlib/venv/lib/python2.7/site-packages/matplotlib-2.0.0b1+40.g2855857-py2.7-linux-x86_64.egg/matplotlib/testing/decorators.py", line 55, in failer
    result = f(*args, **kwargs)
  File "/home/travis/build/matplotlib/matplotlib/venv/lib/python2.7/site-packages/matplotlib-2.0.0b1+40.g2855857-py2.7-linux-x86_64.egg/matplotlib/testing/decorators.py", line 261, in do_test
    '(RMS %(rms).3f)'%err)
ImageComparisonFailure: images not close: /home/travis/build/matplotlib/matplotlib/result_images/test_mathtext/mathfont_dejavuserif_12.png vs. /home/travis/build/matplotlib/matplotlib/result_images/test_mathtext/mathfont_dejavuserif_12-expected.png (RMS 48.746)
----------------------------------------------------------------------

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions