test_rebuild and test_error_messages failing on travis
See original GitHub issuetest_rebuild
is failing here:
https://github.com/sphinx-gallery/sphinx-gallery/blob/ce5a58cfde1c030364c0bd34b21f2ba00b83896f/sphinx_gallery/tests/test_full.py#L636
when checking that the example plot_numpy_matplotlib
which we modify above, has a different mtime:
sphinx_gallery/tests/test_full.py:387: in _assert_mtimes
assert np.abs(op.getmtime(orig) - op.getmtime(new)) > 0.1
E AssertionError: assert 0.0 > 0.1
E + where 0.0 = <ufunc 'absolute'>((1607961214.223356 - 1607961214.223356))
test_error_messages
failing here:
_ test_error_messages[plot_scraper_broken-.*ValueError.*zero-size array to reduction.*] _
sphinx_gallery/tests/test_full.py:661: in test_error_messages
assert re.match(want, rst) is not None
E AssertionError: assert None is not None
@larsoner you probably know more about this but otherwise I can take a look next week.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Common Build Problems - Travis CI Docs
A very common cause when a test is suddenly breaking without any major code changes involved is a change in upstream dependencies. This...
Read more >Tests are failing on travis, TypeError but works fine locally
I am running my test on Travis, but I'm currently facing this issue. ... My builds started failing out of the blue with...
Read more >Travis build passes, but a test fails · Issue #1006 - GitHub
Found the cause of the bug, the tests exited with exit code 0. ... // process.exit(code || exitCode);. and make a test to...
Read more >Build test failing on Travis - Stack Overflow
The error displays "secure" in the path which am not sure if it's supposed to be there, I think it should have been...
Read more >Send an SMS When Your Build Fails on Travis CI - Twilio
When the build fails, we will send a Twilio SMS to notify team members of the failure.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Azure has better single job restart control and we already have some YAML so let’s just do that.
Closing as it seems it’s due to this test not being reliable in CI