Linux Foundation test failure

This appears to be due to some missing dependency information in the
build system for Foundation's tests. Some stdlib names not used
directly by the overlay or tests were changed and now linking fails
with:

+ env LD_LIBRARY_PATH=//usr//lib/swift/:/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/foundation-linux-x86_64/Foundation:/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/xctest-linux-x86_64:/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/libdispatch-linux-x86_64/src/.libs: /home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/foundation-linux-x86_64/TestFoundation/TestFoundation
/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/foundation-linux-x86_64/TestFoundation/TestFoundation: symbol lookup error: /home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/foundation-linux-x86_64/TestFoundation/TestFoundation: undefined symbol: _TWPV10Foundation8IndexSets13IndexableBaseS_
/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/utils/build-script: fatal error: command terminated with a non-zero exit status 127, aborting

Specifically, the symbol in question,
_TWPV10Foundation8IndexSets13IndexableBaseS_, should be
_TWPV10Foundation8IndexSets14_IndexableBaseS_

Does anyone know how to fix it?

TestFoundation has a dependency upon libFoundation.so, however if the naming rules of symbols has changed then it probably needs to re-compile everything in Foundation. This looks like it had a stale build around.

···

On Aug 29, 2016, at 10:43 AM, Dave Abrahams via swift-dev <swift-dev@swift.org> wrote:

This appears to be due to some missing dependency information in the
build system for Foundation's tests. Some stdlib names not used
directly by the overlay or tests were changed and now linking fails
with:

+ env LD_LIBRARY_PATH=//usr//lib/swift/:/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/foundation-linux-x86_64/Foundation:/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/xctest-linux-x86_64:/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/libdispatch-linux-x86_64/src/.libs: /home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/foundation-linux-x86_64/TestFoundation/TestFoundation
/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/foundation-linux-x86_64/TestFoundation/TestFoundation: symbol lookup error: /home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/foundation-linux-x86_64/TestFoundation/TestFoundation: undefined symbol: _TWPV10Foundation8IndexSets13IndexableBaseS_
/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/utils/build-script: fatal error: command terminated with a non-zero exit status 127, aborting

Specifically, the symbol in question,
_TWPV10Foundation8IndexSets13IndexableBaseS_, should be
_TWPV10Foundation8IndexSets14_IndexableBaseS_

Does anyone know how to fix it?

From: no-reply@swift.org <mailto:no-reply@swift.org>
Subject: [Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 14.04 (master) #7204
Date: August 29, 2016 at 8:07:08 AM PDT
To: dabrahams@apple.com <mailto:dabrahams@apple.com>
Cc: mishal_shah@apple.com <mailto:mishal_shah@apple.com>
Reply-To: swift-dev@swift.org <mailto:swift-dev@swift.org>

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

Build URL: https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-14_04/7204/
Project: oss-swift-incremental-RA-linux-ubuntu-14_04
Date of build: Mon, 29 Aug 2016 07:48:21 -0700
Build duration: 18 min
Tests:

Name: Swift(linux-x86_64)
Failed: 0 test(s), Passed: 8276 test(s), Total: 8276 test(s)
Name: Swift-Unit
Failed: 0 test(s), Passed: 230 test(s), Total: 230 test(s)

Changes

Commit 5c13e35f298db8b41fd336f0ffc55db587323c09 by dabrahams:
[stdlib] Suppress noisy warnings

edit: stdlib/public/core/Builtin.swift
edit: stdlib/public/core/CollectionAlgorithms.swift.gyb
edit: test/Interpreter/repl.swift
edit: stdlib/public/core/Collection.swift
edit: stdlib/public/core/ExistentialCollection.swift.gyb
edit: stdlib/public/core/Indices.swift.gyb
edit: stdlib/public/core/RandomAccessCollection.swift
edit: stdlib/public/core/MutableCollection.swift
edit: stdlib/public/core/HashedCollections.swift.gyb
edit: stdlib/public/core/Slice.swift.gyb
edit: stdlib/public/core/BidirectionalCollection.swift
edit: stdlib/private/StdlibCollectionUnittest/CheckCollectionInstance.swift.gyb
edit: stdlib/public/SDK/Foundation/Data.swift
edit: stdlib/public/core/StringInterpolation.swift.gyb
edit: test/SILOptimizer/prespecialize.swift
edit: docs/Literals.rst
edit: stdlib/public/core/UnsafeBufferPointer.swift.gyb
edit: stdlib/public/core/CompilerProtocols.swift
edit: validation-test/stdlib/CollectionDiagnostics.swift
edit: include/swift/AST/DiagnosticsSema.def
edit: include/swift/AST/KnownProtocols.def
edit: stdlib/public/core/RangeReplaceableCollection.swift.gyb

--
-Dave
_______________________________________________
swift-dev mailing list
swift-dev@swift.org <mailto:swift-dev@swift.org>
https://lists.swift.org/mailman/listinfo/swift-dev

TestFoundation has a dependency upon libFoundation.so, however if the naming rules of symbols has changed then it probably needs to re-compile everything in Foundation. This looks like it had a stale build around.

Which points strongly toward "missing dependency information in the build system" as I noted, n'est-ce pas?

···

Sent from my iPad

On Sep 2, 2016, at 12:46 PM, Philippe Hausler <phausler@apple.com> wrote:

On Aug 29, 2016, at 10:43 AM, Dave Abrahams via swift-dev <swift-dev@swift.org> wrote:

This appears to be due to some missing dependency information in the
build system for Foundation's tests. Some stdlib names not used
directly by the overlay or tests were changed and now linking fails
with:

+ env LD_LIBRARY_PATH=//usr//lib/swift/:/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/foundation-linux-x86_64/Foundation:/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/xctest-linux-x86_64:/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/libdispatch-linux-x86_64/src/.libs: /home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/foundation-linux-x86_64/TestFoundation/TestFoundation
/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/foundation-linux-x86_64/TestFoundation/TestFoundation: symbol lookup error: /home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/foundation-linux-x86_64/TestFoundation/TestFoundation: undefined symbol: _TWPV10Foundation8IndexSets13IndexableBaseS_
/home/buildnode/disk2/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/utils/build-script: fatal error: command terminated with a non-zero exit status 127, aborting

Specifically, the symbol in question,
_TWPV10Foundation8IndexSets13IndexableBaseS_, should be
_TWPV10Foundation8IndexSets14_IndexableBaseS_

Does anyone know how to fix it?

From: no-reply@swift.org
Subject: [Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 14.04 (master) #7204
Date: August 29, 2016 at 8:07:08 AM PDT
To: dabrahams@apple.com
Cc: mishal_shah@apple.com
Reply-To: swift-dev@swift.org

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

Build URL: https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-14_04/7204/
Project: oss-swift-incremental-RA-linux-ubuntu-14_04
Date of build: Mon, 29 Aug 2016 07:48:21 -0700
Build duration: 18 min
Tests:

Name: Swift(linux-x86_64)
Failed: 0 test(s), Passed: 8276 test(s), Total: 8276 test(s)
Name: Swift-Unit
Failed: 0 test(s), Passed: 230 test(s), Total: 230 test(s)

Changes

Commit 5c13e35f298db8b41fd336f0ffc55db587323c09 by dabrahams:
[stdlib] Suppress noisy warnings

edit: stdlib/public/core/Builtin.swift
edit: stdlib/public/core/CollectionAlgorithms.swift.gyb
edit: test/Interpreter/repl.swift
edit: stdlib/public/core/Collection.swift
edit: stdlib/public/core/ExistentialCollection.swift.gyb
edit: stdlib/public/core/Indices.swift.gyb
edit: stdlib/public/core/RandomAccessCollection.swift
edit: stdlib/public/core/MutableCollection.swift
edit: stdlib/public/core/HashedCollections.swift.gyb
edit: stdlib/public/core/Slice.swift.gyb
edit: stdlib/public/core/BidirectionalCollection.swift
edit: stdlib/private/StdlibCollectionUnittest/CheckCollectionInstance.swift.gyb
edit: stdlib/public/SDK/Foundation/Data.swift
edit: stdlib/public/core/StringInterpolation.swift.gyb
edit: test/SILOptimizer/prespecialize.swift
edit: docs/Literals.rst
edit: stdlib/public/core/UnsafeBufferPointer.swift.gyb
edit: stdlib/public/core/CompilerProtocols.swift
edit: validation-test/stdlib/CollectionDiagnostics.swift
edit: include/swift/AST/DiagnosticsSema.def
edit: include/swift/AST/KnownProtocols.def
edit: stdlib/public/core/RangeReplaceableCollection.swift.gyb

--
-Dave
_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev