https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/6658/steps/13/logs/stdio AssertionError: Failed ptests: {'python3': ['test_taskgroup_23', 'python3']} qemuarm64-ptest ubuntu1804-arm-1 and from the attached logs: ====================================================================== ERROR: test_taskgroup_23 (test.test_asyncio.test_taskgroups.TestTaskGroup.test_taskgroup_23) ---------------------------------------------------------------------- + Exception Group Traceback (most recent call last): | File "/usr/lib/python3.12/unittest/async_case.py", line 90, in _callTestMethod | if self._callMaybeAsync(method) is not None: | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3.12/unittest/async_case.py", line 112, in _callMaybeAsync | return self._asyncioRunner.run( | ^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3.12/asyncio/runners.py", line 118, in run | return self._loop.run_until_complete(task) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/usr/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete | return future.result() | ^^^^^^^^^^^^^^^ | File "/usr/lib/python3.12/test/test_asyncio/test_taskgroups.py", line 657, in test_taskgroup_23 | async with taskgroups.TaskGroup() as g: | File "/usr/lib/python3.12/asyncio/taskgroups.py", line 145, in __aexit__ | raise me from None | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "/usr/lib/python3.12/test/test_asyncio/test_taskgroups.py", line 664, in test_taskgroup_23 | self.assertEqual(len(g._tasks), 0) | AssertionError: 2 != 0 +------------------------------------ ---------------------------------------------------------------------- Ran 35 tests in 6.815s FAILED (errors=1)
Created attachment 5062 [details] pub/non-release/20240722-78/testresults/qemuarm64-ptest/core-image-ptest-python3
An intermittent bug that is in an async case so likely timing related. If it happens again, disable the test.
Test case code is in: https://github.com/python/cpython/blob/3.12/Lib/test/test_asyncio/test_taskgroups.py#L652
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/6843/steps/12/logs/stdio qemux86-64-ptest fedora38-ty-6 Not the same taskgroup, though. This was test_taskgroup_04.
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/6701/steps/12/logs/stdio qemuarm64-ptest ubuntu2204-arm-1 Failed ptests: {'python3': ['python3']} there is no 'test_taskgroup_23' in the list, but according to the logs: test_taskgroup_23 (test.test_asyncio.test_taskgroups.TestTaskGroup.test_taskgroup_23) ... Executing <TimerHandle when=32.2324932 _set_result_unless_cancelled(<Future finis...events.py:449>, None) at /usr/lib/python3.12/asyncio/futures.py:311 created at /usr/lib/python3.12/asyncio/tasks.py:661> took 0.304 seconds Executing <TimerHandle when=33.930668919999995 _set_result_unless_cancelled(<Future finis...events.py:449>, None) at /usr/lib/python3.12/asyncio/futures.py:311 created at /usr/lib/python3.12/asyncio/tasks.py:661> took 0.140 seconds ERROR
Hasn't happened on the new YP AB.
Happened again: https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/3190/steps/13/logs/stdio qemuarm64-ptest ubuntu2504-vk-arm1 Reopening, just in case.
Patch out and report to upstream, mabye?
Either increate timeout or skip test if that doesn't make sense.
https://git.openembedded.org/openembedded-core/commit/?id=eb31aa1558c2892dc7de6c2e67076f78d57702ed