Bug 15980

Summary: AB-INT PTEST: python3 ptest failure: in test_repr_rlock
Product: [QA/Testing] Package Testing (ptest) Reporter: João Marcos Costa <joaomarcos.costa>
Component: ptestAssignee: Trevor Gamblin <tgamblin>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Medium CC: randy.macleod, richard.purdie, yoann.congal
Version: unspecified   
Target Milestone: 6.1 M2   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know
Attachments:
Description Flags
logs from valkyrie.yocto.io none

Description João Marcos Costa 2025-09-25 08:45:23 UTC
Created attachment 5142 [details]
logs from valkyrie.yocto.io

https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/2304/steps/12/logs/stdio

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

qemuarm64-ptest ubuntu2504-vk-arm1

======================================================================
FAIL: test_repr_rlock (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestLock.test_repr_rlock)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.13/test/_test_multiprocessing.py", line 1494, in test_repr_rlock
    self.assertEqual('<RLock(SomeOtherThread, nonzero)>', repr(lock))
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '<RLock(SomeOtherThread, nonzero)>' != '<RLock(None, 0)>'
- <RLock(SomeOtherThread, nonzero)>
+ <RLock(None, 0)>


----------------------------------------------------------------------
Comment 1 Randy MacLeod 2025-09-25 14:47:40 UTC
Looks like a bug (race) in the python test suite.
Comment 2 Randy MacLeod 2026-06-11 15:04:59 UTC
Not seen in > 6 months.