Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_asyncio logs: Unknown child process #81697

Closed
GordonRBurgess mannequin opened this issue Jul 6, 2019 · 5 comments
Closed

test_asyncio logs: Unknown child process #81697

GordonRBurgess mannequin opened this issue Jul 6, 2019 · 5 comments
Labels
3.8 only security fixes build The build process and cross-build topic-asyncio topic-installation

Comments

@GordonRBurgess
Copy link
Mannequin

GordonRBurgess mannequin commented Jul 6, 2019

BPO 37516
Nosy @vstinner, @asvetlov, @1st1, @GordonRBurgess, @iritkatriel

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2021-10-20.10:15:49.932>
created_at = <Date 2019-07-06.20:54:24.321>
labels = ['3.8', 'build', 'expert-installation', 'expert-asyncio']
title = 'test_asyncio logs: Unknown child process'
updated_at = <Date 2021-10-20.10:15:49.931>
user = 'https://github.com/GordonRBurgess'

bugs.python.org fields:

activity = <Date 2021-10-20.10:15:49.931>
actor = 'iritkatriel'
assignee = 'none'
closed = True
closed_date = <Date 2021-10-20.10:15:49.932>
closer = 'iritkatriel'
components = ['Installation', 'asyncio']
creation = <Date 2019-07-06.20:54:24.321>
creator = 'gburgess'
dependencies = []
files = []
hgrepos = []
issue_num = 37516
keywords = []
message_count = 5.0
messages = ['347443', '347452', '347453', '355048', '404415']
nosy_count = 5.0
nosy_names = ['vstinner', 'asvetlov', 'yselivanov', 'gburgess', 'iritkatriel']
pr_nums = []
priority = 'normal'
resolution = 'works for me'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'compile error'
url = 'https://bugs.python.org/issue37516'
versions = ['Python 3.8']

@GordonRBurgess
Copy link
Mannequin Author

GordonRBurgess mannequin commented Jul 6, 2019

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)

@GordonRBurgess GordonRBurgess mannequin added 3.8 only security fixes topic-installation build The build process and cross-build labels Jul 6, 2019
@GordonRBurgess
Copy link
Mannequin Author

GordonRBurgess mannequin commented Jul 6, 2019

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

@GordonRBurgess
Copy link
Mannequin Author

GordonRBurgess mannequin commented Jul 6, 2019

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

@vstinner
Copy link
Member

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.

@vstinner vstinner changed the title buid error - test_asyncio fails during make test_asyncio logs: Unknown child process Oct 21, 2019
@iritkatriel
Copy link
Member

Closing as there isn't enough information and there was no reply to followup questions. Also 3.8 is no longer maintained.

Please create a new issue with more information if you are still seeing a problem in a current version of python (3.9+).

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.8 only security fixes build The build process and cross-build topic-asyncio topic-installation
Projects
None yet
Development

No branches or pull requests

3 participants