Closed
Description
The following test_asyncio test is unstable and fails randomly on buildbots. I saw failures on Linux and FreeBSD.
FAIL: test_subprocess_consistent_callbacks (test.test_asyncio.test_subprocess.SubprocessThreadedWatcherTests.test_subprocess_consistent_callbacks)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z.lto-pgo/build/Lib/test/test_asyncio/test_subprocess.py", line 788, in test_subprocess_consistent_callbacks
self.loop.run_until_complete(main())
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z.lto-pgo/build/Lib/asyncio/base_events.py", line 664, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z.lto-pgo/build/Lib/test/test_asyncio/test_subprocess.py", line 780, in main
self.assertEqual(events, [
AssertionError: Lists differ: ['process_exited', ('pipe_data_received', 1, b'stdout')] != [('pipe_data_received', 1, b'stdout'), ('p[95 chars]ted']
First differing element 0:
'process_exited'
('pipe_data_received', 1, b'stdout')
Second list contains 3 additional elements.
First extra element 2:
'pipe_connection_lost'
- ['process_exited', ('pipe_data_received', 1, b'stdout')]
? ------------------ ^
+ [('pipe_data_received', 1, b'stdout'),
? ^
+ ('pipe_data_received', 2, b'stderr'),
+ 'pipe_connection_lost',
+ 'pipe_connection_lost',
+ 'process_exited']
build: https://buildbot.python.org/all/#/builders/442/builds/4900
Linked PRs
Metadata
Metadata
Assignees
Projects
Status