Skip to content

test_asyncio: test_subprocess_consistent_callbacks in 3.12.0b3 fails on ppc64le #106268

Closed as not planned
@mcepl

Description

@mcepl

When packaging 3.12.0b3 for openSUSE, all tests pass on all other platforms (\o/), but on ppc64le I get this error. Is it just another ordering of the list elements?

[ 2366s] ======================================================================
[ 2366s] FAIL: test_subprocess_consistent_callbacks (test.test_asyncio.test_subprocess.Subpr
ocessPidfdWatcherTests.test_subprocess_consistent_callbacks)
[ 2366s] ----------------------------------------------------------------------
[ 2366s] Traceback (most recent call last):
[ 2366s]   File "/home/abuild/rpmbuild/BUILD/Python-3.12.0b3/Lib/test/test_asyncio/test_subp
rocess.py", line 788, in test_subprocess_consistent_callbacks
[ 2366s]     self.loop.run_until_complete(main())
[ 2366s]   File "/home/abuild/rpmbuild/BUILD/Python-3.12.0b3/Lib/asyncio/base_events.py", li
ne 664, in run_until_complete
[ 2366s]     return future.result()
[ 2366s]            ^^^^^^^^^^^^^^^
[ 2366s]   File "/home/abuild/rpmbuild/BUILD/Python-3.12.0b3/Lib/test/test_asyncio/test_subp
rocess.py", line 780, in main
[ 2366s]     self.assertEqual(events, [
[ 2366s] AssertionError: Lists differ: [('pi[69 chars]), 'process_exited', 'pipe_connection_
lost', '[17 chars]ost'] != [('pi[69 chars]), 'pipe_connection_lost', 'pipe_connection_lo[17 
chars]ted']
[ 2366s] 
[ 2366s] First differing element 2:
[ 2366s] 'process_exited'
[ 2366s] 'pipe_connection_lost'
[ 2366s] 
[ 2366s]   [('pipe_data_received', 1, b'stdout'),
[ 2366s]    ('pipe_data_received', 2, b'stderr'),
[ 2366s] -  'process_exited',
[ 2366s]    'pipe_connection_lost',
[ 2366s] -  'pipe_connection_lost']
[ 2366s] ?                        ^
[ 2366s] 
[ 2366s] +  'pipe_connection_lost',
[ 2366s] ?                        ^
[ 2366s] 
[ 2366s] +  'process_exited']

Complete build log with all details about the environment, packages used, and steps taken.

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions