Bug 16435 - AB-INT PTEST: python3 ptest failure: in test_staggered_race_with_eager_tasks
Summary: AB-INT PTEST: python3 ptest failure: in test_staggered_race_with_eager_tasks
Status: NEW
Alias: None
Product: Package Testing (ptest)
Classification: QA/Testing
Component: ptest (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 6.2 M1
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard: AB-INT
Depends on:
Blocks:
 
Reported: 2026-09-23 08:52 UTC by João Marcos Costa
Modified: 2026-10-20 16:18 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description João Marcos Costa 2026-09-23 08:52:01 UTC
https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/4591/steps/15/logs/stdio

Failed ptests:
{'python3': ['test_staggered_race_with_eager_tasks', 'python3']}

qemux86-64-ptest ubuntu2404-vk-1

"""
FAIL: test_staggered_race_with_eager_tasks (test.test_asyncio.test_eager_task_factory.PyEagerTaskFactoryLoopTests.test_staggered_race_with_eager_tasks)
PASS: test_staggered_race_with_eager_tasks_no_delay (test.test_asyncio.test_eager_task_factory.PyEagerTaskFactoryLoopTests.test_staggered_race_with_eager_tasks_no_delay)

======================================================================
FAIL: test_staggered_race_with_eager_tasks (test.test_asyncio.test_eager_task_factory.PyEagerTaskFactoryLoopTests.test_staggered_race_with_eager_tasks)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.14/test/test_asyncio/test_eager_task_factory.py", line 242, in test_staggered_race_with_eager_tasks
    self.run_coro(run())
    ~~~~~~~~~~~~~^^^^^^^
  File "/usr/lib/python3.14/test/test_asyncio/test_eager_task_factory.py", line 36, in run_coro
    return self.loop.run_until_complete(coro)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "/usr/lib/python3.14/asyncio/base_events.py", line 720, in run_until_complete
    return future.result()
           ~~~~~~~~~~~~~^^
  File "/usr/lib/python3.14/asyncio/futures.py", line 208, in result
    raise self._exception.with_traceback(self._exception_tb)
  File "/usr/lib/python3.14/asyncio/tasks.py", line 289, in __step_run_and_handle_result
    result = coro.send(None)
  File "/usr/lib/python3.14/test/test_asyncio/test_eager_task_factory.py", line 240, in run
    self.assertIsInstance(excs[2], ValueError)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
AssertionError: CancelledError() is not an instance of <class 'ValueError'>

----------------------------------------------------------------------
Ran 48 tests in 5.920s

FAILED (failures=1)
test test.test_asyncio.test_eager_task_factory failed
"""

Full logs https://valkyrie.yocto.io/pub/non-release/20260919-9/testresults/qemux86-64-ptest/python3.log
Comment 2 Ross Burton 2026-09-24 14:51:40 UTC
I filed a specific issue at https://github.com/python/cpython/issues/158097
Comment 3 Mathieu Dubois-Briand 2026-10-20 16:18:58 UTC
Test is now skipped. We might want to re-enable it, if it gets fixed upstream.

https://git.openembedded.org/openembedded-core/commit/?id=35403edbc878c6e655e97010a6ff7732e861b517