Skip to content

test_thread is flaky #51443

Closed
Closed

Description

@pitrou
BPO 7194
Nosy @pitrou, @ned-deily

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/pitrou'
closed_at = <Date 2009-10-27.13:11:19.292>
created_at = <Date 2009-10-23.18:20:45.711>
labels = ['tests', 'type-bug', 'library']
title = 'test_thread is flaky'
updated_at = <Date 2009-10-28.09:20:16.160>
user = 'https://github.com/pitrou'

bugs.python.org fields:

activity = <Date 2009-10-28.09:20:16.160>
actor = 'ned.deily'
assignee = 'pitrou'
closed = True
closed_date = <Date 2009-10-27.13:11:19.292>
closer = 'pitrou'
components = ['Library (Lib)', 'Tests']
creation = <Date 2009-10-23.18:20:45.711>
creator = 'pitrou'
dependencies = []
files = []
hgrepos = []
issue_num = 7194
keywords = []
message_count = 4.0
messages = ['94392', '94393', '94559', '94617']
nosy_count = 2.0
nosy_names = ['pitrou', 'ned.deily']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue7194'
versions = ['Python 2.6']

Activity

  1. pitrou commented on Oct 23, 2009

    @pitrou
    MemberAuthor

    test_thread sometimes tries to release an unacquired mutex. It is easier
    to reproduce when using the "-j" option (on trunk and py3k, since the
    option doesn't exist on 2.6/3.1):

    ./python -m test.regrtest -j4 test_thread test_thread test_thread
    test_thread
    test_thread
    test_thread
    test_thread
    Unhandled exception in thread started by <bound method
    ThreadRunningTests.task of <test.test_thread.ThreadRunningTests
    testMethod=test_stack_size>>
    Traceback (most recent call last):
      File "/home/antoine/py3k/__svn__/Lib/test/test_thread.py", line 49, in
    task
        self.done_mutex.release()
    _thread.error: release unlocked lock
    test_thread
  2. added
    stdlibStandard Library Python modules in the Lib/ directory
    testsTests in the Lib/test dir
    type-bugAn unexpected behavior, bug, or error
    on Oct 23, 2009
  3. pitrou commented on Oct 23, 2009

    @pitrou
    MemberAuthor

    Fixed in trunk, py3k and 3.1. Waiting for 2.6 to unfreeze before merging
    there.

  4. self-assigned this
    on Oct 23, 2009
  5. pitrou commented on Oct 27, 2009

    @pitrou
    MemberAuthor

    Backported to 2.6 in r75748.

  6. ned-deily commented on Oct 28, 2009

    @ned-deily
    Member

    Duplicate of bpo-6186?

  7. transferred this issue fromon Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

stdlibStandard Library Python modules in the Lib/ directorytestsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions