Bug 15654

Summary: AB-INT PTEST: python3 'test_timeout' failure
Product: [QA/Testing] Package Testing (ptest) Reporter: João Marcos Costa <joaomarcos.costa>
Component: ptestAssignee: Unassigned <unassigned>
Status: RESOLVED OBSOLETE QA Contact:
Severity: normal    
Priority: Medium CC: randy.macleod, tgamblin
Version: unspecified   
Target Milestone: 6.0   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know
Attachments:
Description Flags
log.do_testimage.2401190.20241118102253 none

Description João Marcos Costa 2024-11-20 09:53:50 UTC
Created attachment 5083 [details]
log.do_testimage.2401190.20241118102253

https://valkyrie.yoctoproject.org/#/builders/73/builds/401/steps/12/logs/stdio

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

qemux86-64-ptest ubuntu2404-vk-1

======================================================================
FAIL: test_timeout (test.test_concurrent_futures.test_wait.ProcessPoolForkWaitTest.test_timeout)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.13/test/test_concurrent_futures/test_wait.py", line 129, in test_timeout
    self.assertEqual(set([CANCELLED_AND_NOTIFIED_FUTURE,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                          EXCEPTION_FUTURE,
                          ^^^^^^^^^^^^^^^^^
                          SUCCESSFUL_FUTURE]),
                          ^^^^^^^^^^^^^^^^^^^^
                     finished)
                     ^^^^^^^^^
AssertionError: Items in the second set but not the first:
<Future at 0x7fdbee570d10 state=finished returned NoneType>

----------------------------------------------------------------------
Comment 1 João Marcos Costa 2024-11-20 09:54:27 UTC
Similar to https://bugzilla.yoctoproject.org/show_bug.cgi?id=15131
Comment 2 Randy MacLeod 2024-11-21 15:41:30 UTC
Could disable the test since it's timing based.
Comment 3 Randy MacLeod 2025-05-01 14:07:09 UTC
Bulk move of all unassigned 5.2 medium importance bugs to 5.3.
Comment 4 Randy MacLeod 2025-12-03 01:22:44 UTC
I hear that Trevor is updating python so he might want to be on python AB-INT bugs.
Comment 5 Randy MacLeod 2026-01-29 16:05:55 UTC
May have been a bad patch or possibly test disabled.
Not seen for >> 6 months.