classification
Title: test_asyncio timed out on AMD64 FreeBSD CURRENT Shared 3.x
Type: Stage: resolved
Components: asyncio, Tests Versions: Python 3.8
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: asvetlov, pablogsal, vstinner, xtreak, yselivanov
Priority: normal Keywords: patch

Created on 2019-06-03 12:23 by vstinner, last changed 2019-06-04 13:47 by vstinner. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 13804 merged asvetlov, 2019-06-04 13:24
Messages (7)
msg344415 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-06-03 12:23
https://buildbot.python.org/all/#/builders/168/builds/1135

running: test_asyncio (23 min 23 sec)
running: test_asyncio (23 min 53 sec)
running: test_asyncio (24 min 23 sec)
running: test_asyncio (24 min 53 sec)
0:38:48 load avg: 0.32 [423/423/1] test_asyncio crashed (Exit code 1)
Timeout (0:25:00)!
Thread 0x0000000800ac3000 (most recent call first):
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/selectors.py", line 558 in select
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/asyncio/base_events.py", line 1808 in _run_once
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/asyncio/base_events.py", line 563 in run_forever
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/asyncio/base_events.py", line 595 in run_until_complete
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/test/test_asyncio/test_streams.py", line 1531 in test_stream_server_abort
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/unittest/case.py", line 628 in _callTestMethod
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/unittest/case.py", line 671 in run
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/unittest/case.py", line 731 in __call__
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/unittest/suite.py", line 122 in run
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/unittest/suite.py", line 84 in __call__
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/unittest/suite.py", line 122 in run
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/unittest/suite.py", line 84 in __call__
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/unittest/suite.py", line 122 in run
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/unittest/suite.py", line 84 in __call__
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/unittest/suite.py", line 122 in run
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/unittest/suite.py", line 84 in __call__
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/unittest/suite.py", line 122 in run
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/unittest/suite.py", line 84 in __call__
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/unittest/runner.py", line 176 in run
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/test/support/__init__.py", line 1984 in _run_suite
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/test/support/__init__.py", line 2080 in run_unittest
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/test/libregrtest/runtest.py", line 203 in _test_module
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/test/libregrtest/runtest.py", line 228 in _runtest_inner2
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/test/libregrtest/runtest.py", line 264 in _runtest_inner
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/test/libregrtest/runtest.py", line 135 in _runtest
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/test/libregrtest/runtest.py", line 187 in runtest
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/test/libregrtest/runtest_mp.py", line 66 in run_tests_worker
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/test/libregrtest/main.py", line 611 in _main
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/test/libregrtest/main.py", line 588 in main
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/test/libregrtest/main.py", line 663 in main
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/test/regrtest.py", line 46 in _main
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/test/regrtest.py", line 50 in <module>
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/runpy.py", line 85 in _run_code
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/runpy.py", line 192 in _run_module_as_main

== Tests result: FAILURE ==


...

======================================================================
ERROR: test_stdin_stdout (test.test_asyncio.test_subprocess.SubprocessMultiLoopWatcherTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/test/test_asyncio/test_subprocess.py", line 130, in test_stdin_stdout
    exitcode, stdout = self.loop.run_until_complete(task)
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/asyncio/base_events.py", line 608, in run_until_complete
    return future.result()
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-current/build/Lib/asyncio/tasks.py", line 464, in wait_for
    raise exceptions.TimeoutError()
asyncio.exceptions.TimeoutError
msg344562 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-06-04 12:58
Fixed by https://github.com/python/cpython/pull/13790
msg344567 - (view) Author: Karthikeyan Singaravelan (xtreak) * (Python triager) Date: 2019-06-04 13:21
This still seems to hang and timeout after 25 minutes : https://buildbot.python.org/all/#/builders/168/builds/1151/steps/5/logs/stdio
msg344569 - (view) Author: Andrew Svetlov (asvetlov) * (Python committer) Date: 2019-06-04 13:26
Follow-up for https://github.com/python/cpython/pull/13790 is ready
msg344570 - (view) Author: Andrew Svetlov (asvetlov) * (Python committer) Date: 2019-06-04 13:28
I mean https://github.com/python/cpython/pull/13804
msg344573 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-06-04 13:44
New changeset 8d561092d510670ce9c038701c90c913453eac90 by Victor Stinner (Andrew Svetlov) in branch 'master':
bpo-37142: Make asyncio stream tests more robust again (GH-13804)
https://github.com/python/cpython/commit/8d561092d510670ce9c038701c90c913453eac90
msg344574 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-06-04 13:47
Close again.
History
Date User Action Args
2019-06-04 13:47:34vstinnersetstatus: open -> closed
resolution: fixed
messages: + msg344574

stage: patch review -> resolved
2019-06-04 13:44:57vstinnersetmessages: + msg344573
2019-06-04 13:28:24asvetlovsetmessages: + msg344570
2019-06-04 13:26:51asvetlovsetmessages: + msg344569
2019-06-04 13:24:21asvetlovsetkeywords: + patch
stage: resolved -> patch review
pull_requests: + pull_request13689
2019-06-04 13:23:19asvetlovsetstatus: closed -> open
resolution: fixed -> (no value)
2019-06-04 13:21:48xtreaksetnosy: + xtreak
messages: + msg344567
2019-06-04 12:58:46vstinnersetstatus: open -> closed
resolution: fixed
stage: resolved
2019-06-04 12:58:25vstinnersetmessages: + msg344562
2019-06-03 12:28:34xtreaksetnosy: + asvetlov, yselivanov
components: + asyncio
2019-06-03 12:23:52vstinnersetnosy: + pablogsal
2019-06-03 12:23:44vstinnercreate