classification
Title: test_asyncio logs: Unknown child process
Type: compile error Stage:
Components: asyncio, Installation Versions: Python 3.8
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: asvetlov, gburgess, vstinner, yselivanov
Priority: normal Keywords:

Created on 2019-07-06 20:54 by gburgess, last changed 2019-10-21 10:44 by vstinner.

Messages (4)
msg347443 - (view) Author: Gordon R. Burgess (gburgess) Date: 2019-07-06 20:54
0:02:03 load avg: 3.08 [ 26/423] test_asyncio
Unknown child process pid 30234, will report returncode 255
Child watcher got an unexpected pid: 30234
Traceback (most recent call last):
  File "/home/gordon/Images/Python/Python-3.8.0b2/Lib/asyncio/unix_events.py", line 1213, in _do_waitpid
    loop, callback, args = self._callbacks.pop(pid)
KeyError: 30234

(first issue I've logged here, so thanks for your patience!  This system is Debian 9.9 - a 3.7 make was running at the same time but had completed all of the tests before I kicked 3.8 off)
msg347452 - (view) Author: Gordon R. Burgess (gburgess) Date: 2019-07-06 22:39
Ran this on a different laptop (Debian 9.9, Lenovo w540) and it passed, so (as I'd expect) this is an intermittent issue.  (The ticket was opened with an error on a Lenovo w510)  Both systems have been reimaged in the last 6-8 months.

0:00:34 load avg: 1.18 [ 26/423] test_asyncio
msg347453 - (view) Author: Gordon R. Burgess (gburgess) Date: 2019-07-06 22:44
I got excited prematurely - this is farther down in the log on the second build:

...
0:16:09 load avg: 0.84 [341/423] test_sys_settrace
unhandled exception during asyncio.run() shutdown
task: <Task finished name='Task-4016' coro=<<async_generator_athrow without __name__>()> exception=RuntimeError("can't send non-None value to a just-started coroutine")>
RuntimeError: can't send non-None value to a just-started coroutine
unhandled exception during asyncio.run() shutdown
task: <Task finished name='Task-4019' coro=<<async_generator_athrow without __name__>()> exception=RuntimeError("can't send non-None value to a just-started coroutine")>
RuntimeError: can't send non-None value to a just-started coroutine
0:16:10 load avg: 0.84 [342/423] test_sysconfig
...
msg355048 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-10-21 10:43
The issue title says "test_asyncio fails", but "Unknown child process pid 30234, will report returncode 255" looks more like a warning. Does test_asyncio fail or not?

Please run test_asyncio in verbose mode to identify which test emits the warning.

Without further information, I suggest to just close the issue, since it doesn't sound like a bug, just a warning.
History
Date User Action Args
2019-10-21 10:44:19vstinnersettitle: buid error - test_asyncio fails during make -> test_asyncio logs: Unknown child process
2019-10-21 10:43:58vstinnersetnosy: + vstinner
messages: + msg355048
2019-07-07 05:13:25xtreaksetnosy: + asvetlov, yselivanov
components: + asyncio
2019-07-06 22:44:32gburgesssetmessages: + msg347453
2019-07-06 22:39:44gburgesssetmessages: + msg347452
2019-07-06 20:54:24gburgesscreate