Skip to content

[TST] qt5 backend test sometimes failing #9474

Closed
@jklymak

Description

@jklymak

Bug report

The test_backend[qt5agg] test sometimes times out and gives a TravisCI error. i.e. from
https://travis-ci.org/matplotlib/matplotlib/jobs/289667741

Should this timeout just be increased? I don't think it happens all the time. I've seen it a couple of times on my builds.

Bug summary

_____________________________ test_backend[qt5agg] _____________________________
[gw1] linux -- Python 3.6.3 /home/travis/virtualenv/python3.6.3/bin/python
backend = 'qt5agg'
    @pytest.mark.parametrize("backend", _get_testable_interactive_backends())
    def test_backend(backend):
        environ = os.environ.copy()
        environ["MPLBACKEND"] = backend
        proc = Popen([sys.executable, "-c", _test_script], env=environ)
        # Empirically, 1s is not enough on Travis.
>       assert proc.wait(timeout=5) == 0
lib/matplotlib/tests/test_backends_interactive.py:49: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
self = <subprocess.Popen object at 0x7fffcdf4eef0>, timeout = 5
endtime = 33096.056915894

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions