Intermittent test failures of
See original GitHub issueFrom time to time this test fails in the openSUSE build service, even on x86_64. It passes perfectly nicely on my local machine (all using the latest openSUSE/Tumbleweed, our rolling distro):
[ 142s] ======================================================================
[ 142s] FAIL: Setup timers, sleep and start polling (epoll)
[ 142s] ----------------------------------------------------------------------
[ 142s] Traceback (most recent call last):
[ 142s] File "/home/abuild/rpmbuild/BUILD/pika-0.12.0/tests/unit/select_connection_ioloop_tests.py", line 311, in start_test
[ 142s] self.start()
[ 142s] File "/home/abuild/rpmbuild/BUILD/pika-0.12.0/tests/unit/select_connection_ioloop_tests.py", line 73, in start
[ 142s] self.ioloop.start()
[ 142s] File "/home/abuild/rpmbuild/BUILD/pika-0.12.0/pika/adapters/select_connection.py", line 461, in start
[ 142s] self._poller.start()
[ 142s] File "/home/abuild/rpmbuild/BUILD/pika-0.12.0/pika/adapters/select_connection.py", line 722, in start
[ 142s] self._process_timeouts()
[ 142s] File "/home/abuild/rpmbuild/BUILD/pika-0.12.0/pika/adapters/select_connection.py", line 413, in process_timeouts
[ 142s] self._timer.process_timeouts()
[ 142s] File "/home/abuild/rpmbuild/BUILD/pika-0.12.0/pika/adapters/select_connection.py", line 268, in process_timeouts
[ 142s] timeout.callback()
[ 142s] File "/home/abuild/rpmbuild/BUILD/pika-0.12.0/tests/unit/select_connection_ioloop_tests.py", line 210, in on_timer
[ 142s] self.assertEqual(val, self.timer_stack.pop())
[ 142s] AssertionError: 4 != 3
[ 142s] '4 != 3' = '%s != %s' % (safe_repr(4), safe_repr(3))
[ 142s] '4 != 3' = self._formatMessage('4 != 3', '4 != 3')
[ 142s] >> raise self.failureException('4 != 3')
[ 142s]
[ 142s] -------------------- >> begin captured logging << --------------------
Issue Analytics
- State:
- Created 5 years ago
- Comments:14 (8 by maintainers)
Top Results From Across the Web
Debugging Intermittent Test Failures - Firefox Source Docs
Intermittents are test failures which happen intermittently, in a seemingly random way. Often you'll write a test that passes fine locally on your...
Read more >What happens when your tests fail intermittently?
Sometimes your tests are failing intermittently because of a dependency issue. You can reproduce the order that the tests were run in using ......
Read more >How to deal with flaky tests that have intermittent failures?
Introduce retest strategy. Simply rerun failed tests after each run and check whether second execution helps. You may automate this process.
Read more >How to prevent intermittent test failures - Łukasz Makuch
We've all seen automated tests failing, just to pass correctly after nothing but a restart. Even when everything works fine on our machine,...
Read more >How to Fix Flaky Tests
A test that intermittently fails for no apparent reason — or works in your local machine and fails with continuous integration — is...
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
Yup, seems to be more stable. Thank you.
@mcepl thanks!