Skip to content

[SR-5871] TestThread.test_threadStart failing sporadically on Ubuntu 14.04 #3808

Closed

Description

@benlangmuir
Previous ID SR-5871
Radar None
Original Reporter @benlangmuir
Type Bug
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Foundation
Labels Bug
Assignee @spevans
Priority Medium

md5: 1ee445eb3c060aa4fbdf7b029d449857

Issue Description:

https://ci.swift.org/job/oss-swift-package-linux-ubuntu-14_04/252/
https://ci.swift.org/job/oss-swift-package-linux-ubuntu-14_04/245/

Test Case 'TestThread.test_threadStart' started at 2017-09-11 17:19:22.962
TestFoundation/TestThread.swift:54: error: TestThread.test_threadStart : XCTAssertTrue failed - NSCondition wait timed out
Test Case 'TestThread.test_threadStart' failed (10.0 seconds)

Has failed twice recently on 14.04.

Activity

  1. belkadan commented on Sep 12, 2017

    @belkadan
  2. benlangmuir commented on Sep 12, 2017

    @benlangmuir
    ContributorAuthor
  3. spevans commented on Sep 14, 2017

    @spevans
    Contributor

    #1218

    Ive seen this issue occur sparodically under Xcode as well. I think the parent just needs to get the NSCondition lock before creating the thread else the thread could broadcast before the parent has waited on it.

  4. spevans commented on Sep 26, 2017

    @spevans
    Contributor

    Should be fixed now, reopen if its seen again on the CI servers

  5. transferred this issue fromswiftlang/swifton May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions