Skip to content

Random image failures with test_curvelinear4 #10602

Closed

Description

@efiring

We are getting frequent but inconsistent failures on Travis:

FAIL lib/mpl_toolkits/tests/test_axisartist_floating_axes.py::test_curvelinear4[png]

e.g., https://travis-ci.org/matplotlib/matplotlib/jobs/346056502

Activity

  1. added this to the milestone on Feb 25, 2018
  2. QuLogic commented on Feb 26, 2018

    @QuLogic
    Member

    Also seems to affect AppVeyor, e.g., #10426 failed but then worked on rebuild.

  3. efiring commented on Feb 26, 2018

    @efiring
    MemberAuthor

    The Travis output indicates that we should be able to download the result images as a tarball, but I haven't been able to access the given URL. Is there some trick to it?

  4. efiring commented on Feb 26, 2018

    @efiring
    MemberAuthor

    In 2 examples, one from Travis and the other from Appveyor, the mismatch is 0.011, but the tolerance is 0.01. My guess is that there has always been something slightly non-deterministic in this test, and whatever it is, it has simply gotten slightly worse. In the spirit of triage, I think we should just bump the tolerance to 0.02 and move on. Tracking down the root cause is probably not the best use of anyone's time right now.

  5. QuLogic commented on Feb 26, 2018

    @QuLogic
    Member

    Yes, when I transferred those examples from the source files into real tests, they were always a bit flaky, and I was always hopeful that things like #10403 will help with it (e.g., I've just noticed that set_axes_locator in the toolkit version does not set Axes.stale.)

  6. added a commit that references this issue on Feb 26, 2018
    ef62911
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions