classification
Title: test_asyncio: test_timeout_disable() fails randomly
Type: Stage:
Components: asyncio, Tests Versions: Python 3.6, Python 3.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: gvanrossum, python-dev, vstinner, yselivanov
Priority: normal Keywords: buildbot

Created on 2016-04-16 12:35 by vstinner, last changed 2016-04-18 08:32 by vstinner. This issue is now closed.

Messages (3)
msg263550 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2016-04-16 12:35
On the "AMD64 FreeBSD 9.x 3.5" buildbot, test_timeout_disable() fails randomly.

http://buildbot.python.org/all/builders/AMD64%20FreeBSD%209.x%203.5/builds/701/steps/test/logs/stdio

======================================================================
FAIL: test_timeout_disable (test.test_asyncio.test_tasks.TimeoutTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/home/buildbot/python/3.5.koobs-freebsd9/build/Lib/test/test_asyncio/test_tasks.py", line 2399, in test_timeout_disable
    self.loop.run_until_complete(go())
  File "/usr/home/buildbot/python/3.5.koobs-freebsd9/build/Lib/asyncio/base_events.py", line 379, in run_until_complete
    return future.result()
  File "/usr/home/buildbot/python/3.5.koobs-freebsd9/build/Lib/asyncio/futures.py", line 274, in result
    raise self._exception
  File "/usr/home/buildbot/python/3.5.koobs-freebsd9/build/Lib/asyncio/tasks.py", line 240, in _step
    result = coro.send(None)
  File "/usr/home/buildbot/python/3.5.koobs-freebsd9/build/Lib/test/test_asyncio/test_tasks.py", line 2398, in go
    self.assertTrue(0.09 < dt < 0.11, dt)
AssertionError: False is not true : 0.11916078114882112
msg263657 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2016-04-18 08:30
New changeset 730a95c2d38f by Victor Stinner in branch '3.5':
Fix test_asyncio.test_timeout_disable()
https://hg.python.org/cpython/rev/730a95c2d38f
msg263658 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2016-04-18 08:32
The same test failed one more time, I pushed a fix.
History
Date User Action Args
2016-04-18 08:32:31vstinnersetstatus: open -> closed
resolution: fixed
messages: + msg263658
2016-04-18 08:30:40python-devsetnosy: + python-dev
messages: + msg263657
2016-04-16 12:35:09vstinnercreate