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


(Michael Ilseman) #1

Corruption inside an xctest test?

# command stderr:
*** Error in `/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift-corelibs-xctest/Tests/Functional/Asynchronous/Predicates/Expectations/Output/Asynchronous-Predicates': double free or corruption (fasttop): 0x00007f1b58000a70 ***

error: command failed with exit status: -6
$ "true"
$ "/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift-corelibs-xctest/Tests/Functional/xctest_checker/xctest_checker.py" "/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift-corelibs-xctest/Tests/Functional/Asynchronous/Predicates/Expectations/Output/main.swift.tmp" "/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift-corelibs-xctest/Tests/Functional/Asynchronous/Predicates/Expectations/main.swift"
# command stderr:
Traceback (most recent call last):
  File "/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift-corelibs-xctest/Tests/Functional/xctest_checker/xctest_checker.py", line 15, in <module>
    xctest_checker.main.main()
  File "/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift-corelibs-xctest/Tests/Functional/xctest_checker/xctest_checker/main.py", line 61, in main
    compare.compare(args.actual, args.expected, args.check_prefix)
  File "/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift-corelibs-xctest/Tests/Functional/xctest_checker/xctest_checker/compare.py", line 85, in compare
    repr(expected_line)))
xctest_checker.error.XCTestCheckerError:
<>/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift-corelibs-xctest/Tests/Functional/Asynchronous/Predicates/Expectations/main.swift:26: There were more lines expected to appear than there were lines in the actual input. Unmet expectation: '.*/Tests/Functional/Asynchronous/Predicates/Expectations/main.swift:32: error: PredicateExpectationsTestCase.test_immediatelyFalsePredicateAndObject_fails : Asynchronous wait failed - Exceeded timeout of 0.1 seconds, with unfulfilled expectations: Expect `<NSPredicate: 0x[0-9A-Fa-f]{1,16}>` for object <NSObject: 0x[0-9A-Fa-f]{1,16}>'

error: command failed with exit status: 1

···

--

********************

Testing Time: 2.16s
********************
Failing Tests (1):
    SwiftXCTestFunctionalTests :: Asynchronous/Predicates/Expectations/main.swift

On Jan 30, 2017, at 10:53 PM, no-reply@swift.org wrote:

[FAILURE] oss-swift-incremental-RA-linux-ubuntu-14_04 [#816]

Build URL: https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-14_04/816/
Project: oss-swift-incremental-RA-linux-ubuntu-14_04
Date of build: Mon, 30 Jan 2017 22:20:08 -0800
Build duration: 33 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/816/consoleFull#-501506453ee1a197b-acac-4b17-83cf-a53b95139a76>
Regression test failed: This build failed because a regression test in the test suite FAILed. Below is a list of all errors:
Indication 1 <https://ci.swift.org//job/oss-swift-incremental-RA-linux-ubuntu-14_04/816/consoleFull#-936285465fca400bf-2f4a-462e-b517-e058d770b2d7>
Changes

Commit 44bbb3317bcfce8e1a5bc7cb900464d53f2da42f by sshamaia:
String.hasPrefix and String.hasSuffix returns false if string pattern is

edit: Foundation/NSString.swift
edit: TestFoundation/TestNSString.swift