# \[Swift CI\] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 14.04 (master) #507

**URL:** <https://forums.swift.org/t/swift-ci-build-failure-0-oss-swift-incremental-ra-ubuntu-14-04-master-507/6631>\
**Category:** CI Notifications\
**Created:** [September 12, 2017, 4:21pm UTC](https://forums.swift.org/t/swift-ci-build-failure-0-oss-swift-incremental-ra-ubuntu-14-04-master-507/6631 "2017-09-12T16:21:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Douglas\_Gregor](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/douglas_gregor/32/1362_2.png) [@Douglas\_Gregor](https://forums.swift.org/u/Douglas_Gregor)\
**Post date:** [September 12, 2017, 4:21pm UTC](https://forums.swift.org/t/swift-ci-build-failure-0-oss-swift-incremental-ra-ubuntu-14-04-master-507/6631/1 "2017-09-12T16:21:56Z")

</div>

Huh. This failure

&nbsp;&nbsp;TestFoundation/TestThread.swift:110: error: TestThread.test\_mainThread : XCTAssertTrue failed - NSCondition wait timed out

Have we seen it before? It didn’t show up in any of the PR testing and seems unrelated to my changes.

&nbsp;&nbsp;- Doug

> **···**
>
> > On Sep 12, 2017, at 8:44 AM, no-reply@swift.org wrote:
> > 
> > [FAILURE] oss-swift-incremental-RA-linux-ubuntu-14\_04 [#507]
> > 
> > Build URL: [https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-14\_04/507/](https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-14_04/507/)  
> > Project: oss-swift-incremental-RA-linux-ubuntu-14\_04  
> > Date of build: Tue, 12 Sep 2017 09:57:47 -0500  
> > Build duration: 48 min  
> > Identified problems:
> > 
> > Compile Error: This build failed because of a compile error. Below is a list of all errors in the build log:  
> > Indication 1 \<[https://ci.swift.org//job/oss-swift-incremental-RA-linux-ubuntu-14\_04/507/consoleFull#20127934623122a513-f36a-4c87-8ed7-cbc36a1ec144&gt](https://ci.swift.org//job/oss-swift-incremental-RA-linux-ubuntu-14_04/507/consoleFull#20127934623122a513-f36a-4c87-8ed7-cbc36a1ec144&gt);  
> > Changes
> > 
> > Commit 606ac145d12ae0215836929a56c9d144223d4483 by dgregor:  
> > “Sanitize” requirements before checking inferred type witnesses.
> > 
> > edit: lib/Sema/TypeCheckProtocol.cpp
> > 
> > Commit 4dee0d9cc7fd9adfc059649a8aa3fbafc0c15672 by dgregor:  
> > [GSB] Infer equivalence of same-named nested types of the same potential
> > 
> > edit: lib/AST/GenericSignatureBuilder.cpp  
> > edit: test/Generics/protocol\_requirement\_signatures.swift  
> > edit: test/Generics/requirement\_inference.swift
> > 
> > Commit 39c36ea8cac12b5495997634c3cfe8038c02f596 by dgregor:  
> > [GSB] Remove a spurious variable update. NFC
> > 
> > edit: lib/AST/GenericSignatureBuilder.cpp
> > 
> > Commit 1e21d8df8ac64c840923ed91d796079bf9b5a811 by dgregor:  
> > [GSB] Eliminate self-derived nested-type-name-match constraints..
> > 
> > edit: lib/AST/GenericSignatureBuilder.cpp  
> > edit: test/SILGen/same\_type\_abstraction.swift  
> > edit: test/decl/protocol/recursive\_requirement\_ok.swift
> > 
> > Commit 56a07d2e73867fbdc36f3bd8dc62a7e95440c4b3 by dgregor:  
> > [GSB] Split out the operation to expand the requirement signature of a
> > 
> > edit: lib/AST/GenericSignatureBuilder.cpp  
> > edit: include/swift/AST/GenericSignatureBuilder.h
> > 
> > Commit 9b54f6a585febe7c00788754b1b2bad1c5d4a1c9 by dgregor:  
> > [GSB] Dump delayed requirements to aid in debugging. NFC
> > 
> > edit: include/swift/AST/GenericSignatureBuilder.h  
> > edit: lib/AST/GenericSignatureBuilder.cpp
> > 
> > Commit 43f3833b96fa9f04047ab85b268890317d559c30 by dgregor:  
> > [GSB] Process same-type requirements needed to collapse same-type
> > 
> > edit: lib/AST/GenericSignatureBuilder.cpp  
> > edit: include/swift/AST/GenericSignatureBuilder.h
> > 
> > Commit 0d53a73f416eabbcfc2222f0e7f48fb66bf4543b by dgregor:  
> > [GSB] Collapse same-type components using delayed requirements.
> > 
> > edit: lib/AST/GenericSignatureBuilder.cpp  
> > edit: include/swift/AST/GenericSignatureBuilder.h
> > 
> > Commit 41ff0585fbaa5a3dee0e8e8d50a1f9e8f7b6eeee by dgregor:  
> > [GSB] Collapse structurally-equivalent potential archetypes.
> > 
> > edit: lib/AST/GenericSignatureBuilder.cpp
> > 
> > Commit 3b47b16a473131446f655c0fe90e304f94e059fc by dgregor:  
> > [Stdlib] Eliminate the \_UnicodeEncoding\_ protocol.
> > 
> > edit: stdlib/public/core/UnicodeParser.swift  
> > edit: stdlib/public/core/UnicodeEncoding.swift  
> > edit: stdlib/public/core/UTFEncoding.swift

---

<div class="post-metadata">

**Author:** ![blangmuir](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/blangmuir/32/277_2.png) [@blangmuir](https://forums.swift.org/u/blangmuir)\
**Post date:** [September 12, 2017, 4:36pm UTC](https://forums.swift.org/t/swift-ci-build-failure-0-oss-swift-incremental-ra-ubuntu-14-04-master-507/6631/2 "2017-09-12T16:36:23Z")

</div>

Could be the same as [[SR-5871] TestThread.test\_threadStart failing sporadically on Ubuntu 14.04 · Issue #3808 · apple/swift-corelibs-foundation · GitHub](https://bugs.swift.org/browse/SR-5871)

> **···**
>
> > On Sep 12, 2017, at 9:21 AM, Douglas Gregor \<dgregor@apple.com\> wrote:
> > 
> > Huh. This failure
> > 
> > &nbsp;&nbsp;TestFoundation/TestThread.swift:110: error: TestThread.test\_mainThread : XCTAssertTrue failed - NSCondition wait timed out
> > 
> > Have we seen it before? It didn’t show up in any of the PR testing and seems unrelated to my changes.
> > 
> > &nbsp;&nbsp;- Doug
> > 
> > > On Sep 12, 2017, at 8:44 AM, no-reply@swift.org \<mailto:no-reply@swift.org\> wrote:
> > > 
> > > [FAILURE] oss-swift-incremental-RA-linux-ubuntu-14\_04 [#507]
> > > 
> > > Build URL: [https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-14\_04/507/](https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-14_04/507/)  
> > > Project: oss-swift-incremental-RA-linux-ubuntu-14\_04  
> > > Date of build: Tue, 12 Sep 2017 09:57:47 -0500  
> > > Build duration: 48 min  
> > > Identified problems:
> > > 
> > > Compile Error: This build failed because of a compile error. Below is a list of all errors in the build log:  
> > > Indication 1 \<[https://ci.swift.org//job/oss-swift-incremental-RA-linux-ubuntu-14\_04/507/consoleFull#20127934623122a513-f36a-4c87-8ed7-cbc36a1ec144&gt](https://ci.swift.org//job/oss-swift-incremental-RA-linux-ubuntu-14_04/507/consoleFull#20127934623122a513-f36a-4c87-8ed7-cbc36a1ec144&gt);  
> > > Changes
> > > 
> > > Commit 606ac145d12ae0215836929a56c9d144223d4483 by dgregor:  
> > > “Sanitize” requirements before checking inferred type witnesses.
> > > 
> > > edit: lib/Sema/TypeCheckProtocol.cpp
> > > 
> > > Commit 4dee0d9cc7fd9adfc059649a8aa3fbafc0c15672 by dgregor:  
> > > [GSB] Infer equivalence of same-named nested types of the same potential
> > > 
> > > edit: lib/AST/GenericSignatureBuilder.cpp  
> > > edit: test/Generics/protocol\_requirement\_signatures.swift  
> > > edit: test/Generics/requirement\_inference.swift
> > > 
> > > Commit 39c36ea8cac12b5495997634c3cfe8038c02f596 by dgregor:  
> > > [GSB] Remove a spurious variable update. NFC
> > > 
> > > edit: lib/AST/GenericSignatureBuilder.cpp
> > > 
> > > Commit 1e21d8df8ac64c840923ed91d796079bf9b5a811 by dgregor:  
> > > [GSB] Eliminate self-derived nested-type-name-match constraints..
> > > 
> > > edit: lib/AST/GenericSignatureBuilder.cpp  
> > > edit: test/SILGen/same\_type\_abstraction.swift  
> > > edit: test/decl/protocol/recursive\_requirement\_ok.swift
> > > 
> > > Commit 56a07d2e73867fbdc36f3bd8dc62a7e95440c4b3 by dgregor:  
> > > [GSB] Split out the operation to expand the requirement signature of a
> > > 
> > > edit: lib/AST/GenericSignatureBuilder.cpp  
> > > edit: include/swift/AST/GenericSignatureBuilder.h
> > > 
> > > Commit 9b54f6a585febe7c00788754b1b2bad1c5d4a1c9 by dgregor:  
> > > [GSB] Dump delayed requirements to aid in debugging. NFC
> > > 
> > > edit: include/swift/AST/GenericSignatureBuilder.h  
> > > edit: lib/AST/GenericSignatureBuilder.cpp
> > > 
> > > Commit 43f3833b96fa9f04047ab85b268890317d559c30 by dgregor:  
> > > [GSB] Process same-type requirements needed to collapse same-type
> > > 
> > > edit: lib/AST/GenericSignatureBuilder.cpp  
> > > edit: include/swift/AST/GenericSignatureBuilder.h
> > > 
> > > Commit 0d53a73f416eabbcfc2222f0e7f48fb66bf4543b by dgregor:  
> > > [GSB] Collapse same-type components using delayed requirements.
> > > 
> > > edit: lib/AST/GenericSignatureBuilder.cpp  
> > > edit: include/swift/AST/GenericSignatureBuilder.h
> > > 
> > > Commit 41ff0585fbaa5a3dee0e8e8d50a1f9e8f7b6eeee by dgregor:  
> > > [GSB] Collapse structurally-equivalent potential archetypes.
> > > 
> > > edit: lib/AST/GenericSignatureBuilder.cpp
> > > 
> > > Commit 3b47b16a473131446f655c0fe90e304f94e059fc by dgregor:  
> > > [Stdlib] Eliminate the \_UnicodeEncoding\_ protocol.
> > > 
> > > edit: stdlib/public/core/UnicodeParser.swift  
> > > edit: stdlib/public/core/UnicodeEncoding.swift  
> > > edit: stdlib/public/core/UTFEncoding.swift
