Skip to content

test_repr_rlock failing randomly on main branch CI #129401

Closed

Description

@kumaraditya303
test_repr_rlock (test.test_multiprocessing_spawn.test_processes.WithProcessesTestLock.test_repr_rlock) ... FAIL

======================================================================
FAIL: test_repr_rlock (test.test_multiprocessing_spawn.test_processes.WithProcessesTestLock.test_repr_rlock)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/runner/work/cpython/cpython/Lib/test/_test_multiprocessing.py", line 1530, in test_repr_rlock
    self.assertEqual('<RLock(SomeOtherThread, nonzero)>', repr(lock))
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: '<RLock(SomeOtherThread, nonzero)>' != '<RLock(None, 0)>'
- <RLock(SomeOtherThread, nonzero)>
+ <RLock(None, 0)>

https://github.com/python/cpython/actions/runs/13011159029/job/36289021024?pr=129399

Linked PRs

Activity

  1. YvesDup commented on Feb 3, 2025

    @YvesDup
    Contributor

    I wrote this test. I will have a look this week.

  2. added a commit that references this issue on Mar 1, 2025
  3. YvesDup commented on Mar 2, 2025

    @YvesDup
    Contributor

    @colesbury : Could you also close this related issue please ? Thank

  4. added a commit that references this issue on Feb 2, 2026
  5. added a commit that references this issue on Feb 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions