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

It looks like TestFoundation was not rebuild. The failing test has passed on incremental linux bots who rebuild TestFoundation. If the executable still references the removed array value witnesses I would not be surprised that it would fail.
I suspect a clean build will make this test succeed. I hope that Bump the module format version for array copy runtime changes by aschwaighofer · Pull Request #11895 · apple/swift · GitHub (increasing the module format number) will cause a rebuild. Cleaning the bot might get us there faster ...
+ /home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/ninja-build/ninja TestFoundation
ninja: no work to do.

Test Case 'TestNSArray.test_sequenceType' started at 2017-09-13 15:15:06.900
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swift/utils/build-script-impl: line 262: 19229 Segmentation fault "$@"
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swift/utils/build-script: fatal error: command terminated with a non-zero exit status 139, aborting
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swift/utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting

···

On Sep 13, 2017, at 8:15 AM, no-reply@swift.org wrote:

[FAILURE] oss-swift-incremental-RA-linux-ubuntu-16_10 [#529]

Build URL: https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_10/529/
Project: oss-swift-incremental-RA-linux-ubuntu-16_10
Date of build: Wed, 13 Sep 2017 09:56:17 -0500
Build duration: 19 min
Tests:

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

Changes

Commit 8a85a9efd599386518ae439abaeaf3dee5608d1d by aschwaighofer:
Use array copy runtime implementation instead of the array value

edit: lib/IRGen/IRGenMangler.cpp
edit: test/IRGen/enum_dynamic_multi_payload.sil
edit: stdlib/public/runtime/ExistentialMetadataImpl.h
delete: test/IRGen/array_value_witnesses.sil
edit: test/IRGen/generic_classes.sil
edit: lib/SILOptimizer/SILCombiner/SILCombinerBuiltinVisitors.cpp
edit: lib/IRGen/TypeInfo.h
edit: lib/IRGen/GenOpaque.cpp
edit: lib/AST/Builtins.cpp
edit: lib/SIL/SILOwnershipVerifier.cpp
edit: lib/IRGen/GenValueWitness.cpp
edit: test/IRGen/partial_apply.sil
edit: test/IRGen/global_resilience.sil
edit: include/swift/AST/Builtins.def
edit: lib/IRGen/GenBuiltin.cpp
edit: stdlib/public/core/UnsafePointer.swift.gyb
edit: test/IRGen/enum.sil
edit: include/swift/ABI/ValueWitness.def
edit: stdlib/public/runtime/MetadataImpl.h
edit: test/IRGen/existentials_opaque_boxed.sil
edit: test/IRGen/lifetime.sil
edit: test/IRGen/type_layout_reference_storage_objc.swift
edit: include/swift/Runtime/RuntimeFunctions.def
edit: test/IRGen/generic_structs.sil
edit: test/IRGen/generic_tuples.swift
edit: test/IRGen/indexing.sil
edit: stdlib/public/runtime/Array.cpp
edit: test/IRGen/enum_value_semantics.sil
edit: test/IRGen/enum_resilience.swift
edit: test/IRGen/struct_resilience.swift
edit: stdlib/public/runtime/Metadata.cpp
edit: test/IRGen/type_layout_objc.swift
edit: lib/SIL/ValueOwnershipKindClassifier.cpp
edit: lib/IRGen/GenValueWitness.h
edit: test/IRGen/type_layout_reference_storage.swift
edit: test/IRGen/builtins.swift
edit: test/IRGen/generic_casts.swift
edit: lib/IRGen/GenOpaque.h
edit: lib/IRGen/ResilientTypeInfo.h

Commit 4565ba892e363eff125454fb2b522b078eaea380 by aschwaighofer:
Fix type_layout.swift

edit: test/IRGen/type_layout.swift

Thanks Arnold; if that doesn't do it I'll clean the workspace.

···

On Sep 13, 2017, at 8:57 AM, Arnold Schwaighofer <aschwaighofer@apple.com> wrote:

It looks like TestFoundation was not rebuild. The failing test has passed on incremental linux bots who rebuild TestFoundation. If the executable still references the removed array value witnesses I would not be surprised that it would fail.
I suspect a clean build will make this test succeed. I hope that Bump the module format version for array copy runtime changes by aschwaighofer · Pull Request #11895 · apple/swift · GitHub (increasing the module format number) will cause a rebuild. Cleaning the bot might get us there faster ...
+ /home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/ninja-build/ninja TestFoundation
ninja: no work to do.

Test Case 'TestNSArray.test_sequenceType' started at 2017-09-13 15:15:06.900
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swift/utils/build-script-impl: line 262: 19229 Segmentation fault "$@"
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swift/utils/build-script: fatal error: command terminated with a non-zero exit status 139, aborting
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swift/utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting

On Sep 13, 2017, at 8:15 AM, no-reply@swift.org <mailto:no-reply@swift.org> wrote:

[FAILURE] oss-swift-incremental-RA-linux-ubuntu-16_10 [#529]

Build URL: https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_10/529/
Project: oss-swift-incremental-RA-linux-ubuntu-16_10
Date of build: Wed, 13 Sep 2017 09:56:17 -0500
Build duration: 19 min
Tests:

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

Changes

Commit 8a85a9efd599386518ae439abaeaf3dee5608d1d by aschwaighofer:
Use array copy runtime implementation instead of the array value

edit: lib/IRGen/IRGenMangler.cpp
edit: test/IRGen/enum_dynamic_multi_payload.sil
edit: stdlib/public/runtime/ExistentialMetadataImpl.h
delete: test/IRGen/array_value_witnesses.sil
edit: test/IRGen/generic_classes.sil
edit: lib/SILOptimizer/SILCombiner/SILCombinerBuiltinVisitors.cpp
edit: lib/IRGen/TypeInfo.h
edit: lib/IRGen/GenOpaque.cpp
edit: lib/AST/Builtins.cpp
edit: lib/SIL/SILOwnershipVerifier.cpp
edit: lib/IRGen/GenValueWitness.cpp
edit: test/IRGen/partial_apply.sil
edit: test/IRGen/global_resilience.sil
edit: include/swift/AST/Builtins.def
edit: lib/IRGen/GenBuiltin.cpp
edit: stdlib/public/core/UnsafePointer.swift.gyb
edit: test/IRGen/enum.sil
edit: include/swift/ABI/ValueWitness.def
edit: stdlib/public/runtime/MetadataImpl.h
edit: test/IRGen/existentials_opaque_boxed.sil
edit: test/IRGen/lifetime.sil
edit: test/IRGen/type_layout_reference_storage_objc.swift
edit: include/swift/Runtime/RuntimeFunctions.def
edit: test/IRGen/generic_structs.sil
edit: test/IRGen/generic_tuples.swift
edit: test/IRGen/indexing.sil
edit: stdlib/public/runtime/Array.cpp
edit: test/IRGen/enum_value_semantics.sil
edit: test/IRGen/enum_resilience.swift
edit: test/IRGen/struct_resilience.swift
edit: stdlib/public/runtime/Metadata.cpp
edit: test/IRGen/type_layout_objc.swift
edit: lib/SIL/ValueOwnershipKindClassifier.cpp
edit: lib/IRGen/GenValueWitness.h
edit: test/IRGen/type_layout_reference_storage.swift
edit: test/IRGen/builtins.swift
edit: test/IRGen/generic_casts.swift
edit: lib/IRGen/GenOpaque.h
edit: lib/IRGen/ResilientTypeInfo.h

Commit 4565ba892e363eff125454fb2b522b078eaea380 by aschwaighofer:
Fix type_layout.swift

edit: test/IRGen/type_layout.swift

Looks like updating the module format number did not cause a rebuild of TestFoundation. Can you clean the workspace?

···

On Sep 13, 2017, at 9:30 AM, Ben Langmuir <blangmuir@apple.com> wrote:

Thanks Arnold; if that doesn't do it I'll clean the workspace.

On Sep 13, 2017, at 8:57 AM, Arnold Schwaighofer <aschwaighofer@apple.com <mailto:aschwaighofer@apple.com>> wrote:

It looks like TestFoundation was not rebuild. The failing test has passed on incremental linux bots who rebuild TestFoundation. If the executable still references the removed array value witnesses I would not be surprised that it would fail.
I suspect a clean build will make this test succeed. I hope that Bump the module format version for array copy runtime changes by aschwaighofer · Pull Request #11895 · apple/swift · GitHub (increasing the module format number) will cause a rebuild. Cleaning the bot might get us there faster ...
+ /home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/ninja-build/ninja TestFoundation
ninja: no work to do.

Test Case 'TestNSArray.test_sequenceType' started at 2017-09-13 15:15:06.900
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swift/utils/build-script-impl: line 262: 19229 Segmentation fault "$@"
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swift/utils/build-script: fatal error: command terminated with a non-zero exit status 139, aborting
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swift/utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting

On Sep 13, 2017, at 8:15 AM, no-reply@swift.org <mailto:no-reply@swift.org> wrote:

[FAILURE] oss-swift-incremental-RA-linux-ubuntu-16_10 [#529]

Build URL: https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_10/529/
Project: oss-swift-incremental-RA-linux-ubuntu-16_10
Date of build: Wed, 13 Sep 2017 09:56:17 -0500
Build duration: 19 min
Tests:

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

Changes

Commit 8a85a9efd599386518ae439abaeaf3dee5608d1d by aschwaighofer:
Use array copy runtime implementation instead of the array value

edit: lib/IRGen/IRGenMangler.cpp
edit: test/IRGen/enum_dynamic_multi_payload.sil
edit: stdlib/public/runtime/ExistentialMetadataImpl.h
delete: test/IRGen/array_value_witnesses.sil
edit: test/IRGen/generic_classes.sil
edit: lib/SILOptimizer/SILCombiner/SILCombinerBuiltinVisitors.cpp
edit: lib/IRGen/TypeInfo.h
edit: lib/IRGen/GenOpaque.cpp
edit: lib/AST/Builtins.cpp
edit: lib/SIL/SILOwnershipVerifier.cpp
edit: lib/IRGen/GenValueWitness.cpp
edit: test/IRGen/partial_apply.sil
edit: test/IRGen/global_resilience.sil
edit: include/swift/AST/Builtins.def
edit: lib/IRGen/GenBuiltin.cpp
edit: stdlib/public/core/UnsafePointer.swift.gyb
edit: test/IRGen/enum.sil
edit: include/swift/ABI/ValueWitness.def
edit: stdlib/public/runtime/MetadataImpl.h
edit: test/IRGen/existentials_opaque_boxed.sil
edit: test/IRGen/lifetime.sil
edit: test/IRGen/type_layout_reference_storage_objc.swift
edit: include/swift/Runtime/RuntimeFunctions.def
edit: test/IRGen/generic_structs.sil
edit: test/IRGen/generic_tuples.swift
edit: test/IRGen/indexing.sil
edit: stdlib/public/runtime/Array.cpp
edit: test/IRGen/enum_value_semantics.sil
edit: test/IRGen/enum_resilience.swift
edit: test/IRGen/struct_resilience.swift
edit: stdlib/public/runtime/Metadata.cpp
edit: test/IRGen/type_layout_objc.swift
edit: lib/SIL/ValueOwnershipKindClassifier.cpp
edit: lib/IRGen/GenValueWitness.h
edit: test/IRGen/type_layout_reference_storage.swift
edit: test/IRGen/builtins.swift
edit: test/IRGen/generic_casts.swift
edit: lib/IRGen/GenOpaque.h
edit: lib/IRGen/ResilientTypeInfo.h

Commit 4565ba892e363eff125454fb2b522b078eaea380 by aschwaighofer:
Fix type_layout.swift

edit: test/IRGen/type_layout.swift