<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>16435</bug_id>
          
          <creation_ts>2026-09-23 08:52:01 +0000</creation_ts>
          <short_desc>AB-INT PTEST: python3 ptest failure: in test_staggered_race_with_eager_tasks</short_desc>
          <delta_ts>2026-10-20 16:18:58 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Package Testing (ptest)</product>
          <component>ptest</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>AB-INT</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>6.2 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="João Marcos Costa">joaomarcos.costa</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>mathieu.dubois-briand</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>yoann.congal</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>106909</commentid>
    <comment_count>0</comment_count>
    <who name="João Marcos Costa">joaomarcos.costa</who>
    <bug_when>2026-09-23 08:52:01 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/4591/steps/15/logs/stdio

Failed ptests:
{&apos;python3&apos;: [&apos;test_staggered_race_with_eager_tasks&apos;, &apos;python3&apos;]}

qemux86-64-ptest ubuntu2404-vk-1

&quot;&quot;&quot;
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 &quot;/usr/lib/python3.14/test/test_asyncio/test_eager_task_factory.py&quot;, line 242, in test_staggered_race_with_eager_tasks
    self.run_coro(run())
    ~~~~~~~~~~~~~^^^^^^^
  File &quot;/usr/lib/python3.14/test/test_asyncio/test_eager_task_factory.py&quot;, line 36, in run_coro
    return self.loop.run_until_complete(coro)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File &quot;/usr/lib/python3.14/asyncio/base_events.py&quot;, line 720, in run_until_complete
    return future.result()
           ~~~~~~~~~~~~~^^
  File &quot;/usr/lib/python3.14/asyncio/futures.py&quot;, line 208, in result
    raise self._exception.with_traceback(self._exception_tb)
  File &quot;/usr/lib/python3.14/asyncio/tasks.py&quot;, line 289, in __step_run_and_handle_result
    result = coro.send(None)
  File &quot;/usr/lib/python3.14/test/test_asyncio/test_eager_task_factory.py&quot;, line 240, in run
    self.assertIsInstance(excs[2], ValueError)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
AssertionError: CancelledError() is not an instance of &lt;class &apos;ValueError&apos;&gt;

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

FAILED (failures=1)
test test.test_asyncio.test_eager_task_factory failed
&quot;&quot;&quot;

Full logs https://valkyrie.yocto.io/pub/non-release/20260919-9/testresults/qemux86-64-ptest/python3.log</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106924</commentid>
    <comment_count>1</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2026-09-24 14:47:26 +0000</bug_when>
    <thetext>A patch was sent here: https://lore.kernel.org/openembedded-core/20260924114358.24945-1-pratik.farkase@est.tech/T/#u</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106927</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2026-09-24 14:51:40 +0000</bug_when>
    <thetext>I filed a specific issue at https://github.com/python/cpython/issues/158097</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107138</commentid>
    <comment_count>3</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-10-20 16:18:58 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>