Message208599
The epoll test failed on a buildbot. The test uses a short delay (10 milliseconds) and compare two different clocks: time.perf_counter() and select.epoll.poll(). I didn't expect a failure very the greatest delay, the test uses even shorter delay (the shortest is 0.1 ms).
The best would be to trace syscalls to check if epoll_wait() is called with a non-zero timeout, but tracing syscalls is overkill and too low level for such test.
It's maybe better to drop this unstable test? Unstable on our slow buildbots.
http://buildbot.python.org/all/builders/x86%20Gentoo%20Non-Debug%203.3/builds/1392/steps/test/logs/stdio
======================================================================
FAIL: test_timeout_rounding (test.test_epoll.TestEPoll)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/lib/buildslave/3.3.murray-gentoo-wide/build/Lib/test/test_epoll.py", line 58, in test_timeout_rounding
self.assertGreaterEqual(dt, timeout)
AssertionError: 0.008995789801701903 not greater than or equal to 0.01 |
|
Date |
User |
Action |
Args |
2014-01-21 01:16:58 | vstinner | set | recipients:
+ vstinner, gvanrossum, pitrou, neologix, python-dev, serhiy.storchaka |
2014-01-21 01:16:57 | vstinner | set | messageid: <1390267017.16.0.0421912682413.issue20311@psf.upfronthosting.co.za> |
2014-01-21 01:16:57 | vstinner | link | issue20311 messages |
2014-01-21 01:16:55 | vstinner | create | |
|