Bug 15980 - AB-INT PTEST: python3 ptest failure: in test_repr_rlock
Summary: AB-INT PTEST: python3 ptest failure: in test_repr_rlock
Status: RESOLVED WORKSFORME
Alias: None
Product: Package Testing (ptest)
Classification: QA/Testing
Component: ptest (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 6.1 M2
Assignee: Trevor Gamblin
QA Contact:
URL:
Whiteboard: AB-INT
Depends on:
Blocks:
 
Reported: 2025-09-25 08:45 UTC by João Marcos Costa
Modified: 2026-06-11 15:04 UTC (History)
3 users (show)

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


Attachments
logs from valkyrie.yocto.io (488.85 KB, application/gzip)
2025-09-25 08:45 UTC, João Marcos Costa
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.