[swift-dev] [Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 14.04 (master) #7167

Tony Parker anthony.parker at apple.com
Thu Aug 25 17:08:53 CDT 2016


It seems like we have a bug to fix in the timeout logic if it didn’t stop after 12 (seconds I assume) and instead went for 45 minutes.

Perhaps we need to accelerate plans to have our test suite start up some kind of local socket to send data over, so these tests are not connecting over the real network.

- Tony

> On Aug 25, 2016, at 3:06 PM, Philippe Hausler <phausler at apple.com> wrote:
> 
> This is an un-related timeout on the build. 
> 
> This test took 8 seconds to pass
> 
>     func test_downloadTaskWithURL() {
>         let urlString = "https://swift.org/LICENSE.txt <https://swift.org/LICENSE.txt>"
>         let url = URL(string: urlString)!   
>         let d = DownloadTask(with: expectation(description: "download task with delegate"))
>         d.run(with: url)
>         waitForExpectations(timeout: 12)
>     }
> 
> This one caused the tests to timeout which actually caused a hang for 45 minutes)
> 
>     func test_downloadTaskWithURLRequest() {
>        let urlString = "https://swift.org/LICENSE.txt <https://swift.org/LICENSE.txt>"
>        let urlRequest = NSURLRequest(url: URL(string: urlString)!)  
>        let d = DownloadTask(with: expectation(description: "download task with delegate"))
>        d.run(with: urlRequest)
>        waitForExpectations(timeout: 12)
>     }
> 
> @Tony, what do we want to do with these tests? they are validating things but I am not certain we can really have tests like this be flaky.
> 
>> On Aug 25, 2016, at 2:48 PM, no-reply at swift.org <mailto:no-reply at swift.org> wrote:
>> 
>> [FAILURE] oss-swift-incremental-RA-linux-ubuntu-14_04 [#7167]
>> 
>> Build URL:	https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-14_04/7167/ <https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-14_04/7167/>
>> Project:	oss-swift-incremental-RA-linux-ubuntu-14_04
>> Date of build:	Thu, 25 Aug 2016 13:48:19 -0700
>> Build duration:	1 hr 0 min
>> Identified problems:
>> 
>> Timeout: This build was marked as FAIL because it timed out.
>> Indication 1 <https://ci.swift.org//job/oss-swift-incremental-RA-linux-ubuntu-14_04/7167/consoleFull#89513194756633f0f-8823-4f82-9a4a-0c0d97ce7760>
>> Tests:
>> 
>> Name: Swift(linux-x86_64)
>> Failed: 0 test(s), Passed: 8274 test(s), Total: 8274 test(s)
>> Name: Swift-Unit
>> Failed: 0 test(s), Passed: 230 test(s), Total: 230 test(s)
>> 
>> Changes
>> 
>> Commit 99493a4928c083e42a92b72d71d5ec28a02291cd by github:
>> Remove the dep on CUUID for Foundation (#595)
>> 
>> edit: Foundation/UUID.swift
>> 
>> Commit 80e0f056716497f30525ae423ab56602595d5b25 by phausler:
>> Enable NSLocale keyed archiving unit tests (#596)
>> 
>> edit: TestFoundation/TestNSKeyedArchiver.swift
>> edit: Foundation/NSLocale.swift
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20160825/535182b6/attachment.html>


More information about the swift-dev mailing list