question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Intermittent test failures of

See original GitHub issue

From 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 << --------------------

Complete build log of the failed run

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:14 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
mceplcommented, Sep 26, 2018

Yup, seems to be more stable. Thank you.

0reactions
lukebakkencommented, Sep 26, 2018

@mcepl thanks!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found