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


(Jordan Rose) #1

Test Suite 'TestNSOrderedSet' started at 12:15:18.649
Test Case 'TestNSOrderedSet.test_BasicConstruction' started at 12:15:18.649
Test Case 'TestNSOrderedSet.test_BasicConstruction' passed (0.0 seconds)
Test Case 'TestNSOrderedSet.test_Enumeration' started at 12:15:18.649
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swift/utils/build-script-impl: line 263: 34208 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

Is it build-script-impl that’s segfaulting, or something under it?

Jordan

···

On Mar 29, 2017, at 10:16, no-reply@swift.org wrote:

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

Build URL: https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_10/2700/
Project: oss-swift-incremental-RA-linux-ubuntu-16_10
Date of build: Wed, 29 Mar 2017 10:02:22 -0700
Build duration: 13 min
Tests:

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

Changes

Commit 343193f0f886c53cc067967a81558091d61e94d6 by Arnold Schwaighofer:
Fix test cases and enable copy-on-write existentials

edit: test/SILGen/address_only_types.swift
edit: test/SILOptimizer/mandatory_inlining.sil
edit: test/IRGen/global_resilience.sil
edit: test/IRGen/existentials_objc.sil
edit: test/IRGen/generic_metatypes_arm.swift
edit: test/IRGen/alloc.sil
edit: test/IRGen/fixed_size_buffer_peepholes.sil
edit: test/SILGen/opaque_values_silgen.swift
edit: test/SILGen/existential_erasure.swift
edit: utils/build-script-impl
edit: test/SILGen/function_conversion.swift
edit: test/IRGen/generic_metatypes.swift
edit: test/IRGen/witness_table_multifile.swift
edit: test/SILGen/objc_bridging_any.swift
edit: CMakeLists.txt
edit: test/SILOptimizer/sil_combine.sil
edit: test/sil-llvm-gen/alloc.sil
edit: test/SILGen/functions.swift
edit: test/SILGen/protocol_extensions.swift

Commit c066e42bf22a378105c4ae9fd22bb619f8a3cbb1 by Arnold Schwaighofer:
IRGen: Use a plain slowDealloc call for deallocateBoxedExistential box

edit: lib/IRGen/GenExistential.cpp

Commit 7e043dc769f5376394cfa285f8ab2d108a2f1fff by Arnold Schwaighofer:
Fix test case

edit: test/IRGen/existentials_opaque_boxed.sil

Commit 3dc54c2518e3f0f65202e06d3f6820ab622eafdf by Arnold Schwaighofer:
Really fix test case

edit: test/IRGen/existentials_opaque_boxed.sil

Commit d56fd64952d538325f98b36147ecc3cd5dde656d by Jordan Rose:
[test] Split out Mac-host-dependent parts of test/Driver/linker.swift.

edit: test/Driver/linker.swift
add: test/Driver/linker-arclite.swift

Commit 4ad2ea5c0c93843d8e53925cd279de87cf579a3c by Jordan Rose:
[Driver] Fix passing -Fsystem to the linker.

edit: test/Driver/linker.swift
edit: lib/Driver/ToolChains.cpp

Commit 7790ae0908a3a99f22dc7b978e3ececc9c1858f7 by Mehdi Amini:
Add support for -fno-builtin to LTO and ThinLTO to libLTO

edit: lib/LTO/ThinLTOCodeGenerator.cpp
edit: include/llvm/LTO/legacy/ThinLTOCodeGenerator.h
edit: lib/LTO/LTOCodeGenerator.cpp
edit: tools/lto/lto.cpp
add: test/ThinLTO/X86/tli-nobuiltin.ll
edit: include/llvm/LTO/legacy/LTOCodeGenerator.h
edit: tools/llvm-lto/llvm-lto.cpp


(Arnold Schwaighofer) #2

It was the executable under it.

I reproduced this locally on rad by:

$ (mistakenly) compiling an older commit
$ git pull —rebase
$ compiling again
=> failure occurred

I was suspicious of incremental so:
$ rm -rf build/buildbot_incremental/foundation-linux-x86_64/
$ build again
=> worked

Running the test a few times without failure

aschwaighofer@rad:~/LLVMCompilerNativeCC$ env LD_LIBRARY_PATH=//usr//lib/swift/:/home/aschwaighofer/LLVMCompilerNativeCC/build/buildbot_incremental/foundation-linux-x86_64/Foundation:/home/aschwaighofer/LLVMCompilerNativeCC/build/buildbot_incremental/xctest-linux-x86_64:/home/aschwaighofer/LLVMCompilerNativeCC/build/buildbot_incremental/libdispatch-linux-x86_64/src/.libs: /home/aschwaighofer/LLVMCompilerNativeCC/build/buildbot_incremental/foundation-linux-x86_64/TestFoundation/TestFoundation

Maybe this needs a clean build if the error repeats

···

On Mar 29, 2017, at 10:17 AM, Jordan Rose <jordan_rose@apple.com> wrote:

Test Suite 'TestNSOrderedSet' started at 12:15:18.649
Test Case 'TestNSOrderedSet.test_BasicConstruction' started at 12:15:18.649
Test Case 'TestNSOrderedSet.test_BasicConstruction' passed (0.0 seconds)
Test Case 'TestNSOrderedSet.test_Enumeration' started at 12:15:18.649
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swift/utils/build-script-impl: line 263: 34208 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

Is it build-script-impl that’s segfaulting, or something under it?

Jordan

On Mar 29, 2017, at 10:16, no-reply@swift.org wrote:

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

Build URL: https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_10/2700/
Project: oss-swift-incremental-RA-linux-ubuntu-16_10
Date of build: Wed, 29 Mar 2017 10:02:22 -0700
Build duration: 13 min
Tests:

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

Changes

  • Commit 343193f0f886c53cc067967a81558091d61e94d6 by Arnold Schwaighofer:
Fix test cases and enable copy-on-write existentials

    • edit: test/SILGen/address_only_types.swift
    • edit: test/SILOptimizer/mandatory_inlining.sil
    • edit: test/IRGen/global_resilience.sil
    • edit: test/IRGen/existentials_objc.sil
    • edit: test/IRGen/generic_metatypes_arm.swift
    • edit: test/IRGen/alloc.sil
    • edit: test/IRGen/fixed_size_buffer_peepholes.sil
    • edit: test/SILGen/opaque_values_silgen.swift
    • edit: test/SILGen/existential_erasure.swift
    • edit: utils/build-script-impl
    • edit: test/SILGen/function_conversion.swift
    • edit: test/IRGen/generic_metatypes.swift
    • edit: test/IRGen/witness_table_multifile.swift
    • edit: test/SILGen/objc_bridging_any.swift
    • edit: CMakeLists.txt
    • edit: test/SILOptimizer/sil_combine.sil
    • edit: test/sil-llvm-gen/alloc.sil
    • edit: test/SILGen/functions.swift
    • edit: test/SILGen/protocol_extensions.swift

  • Commit c066e42bf22a378105c4ae9fd22bb619f8a3cbb1 by Arnold Schwaighofer:
IRGen: Use a plain slowDealloc call for deallocateBoxedExistential box

    • edit: lib/IRGen/GenExistential.cpp

  • Commit 7e043dc769f5376394cfa285f8ab2d108a2f1fff by Arnold Schwaighofer:
Fix test case

    • edit: test/IRGen/existentials_opaque_boxed.sil

  • Commit 3dc54c2518e3f0f65202e06d3f6820ab622eafdf by Arnold Schwaighofer:
Really fix test case

    • edit: test/IRGen/existentials_opaque_boxed.sil

  • Commit d56fd64952d538325f98b36147ecc3cd5dde656d by Jordan Rose:
[test] Split out Mac-host-dependent parts of test/Driver/linker.swift.

    • edit: test/Driver/linker.swift
    • add: test/Driver/linker-arclite.swift

  • Commit 4ad2ea5c0c93843d8e53925cd279de87cf579a3c by Jordan Rose:
[Driver] Fix passing -Fsystem to the linker.

    • edit: test/Driver/linker.swift
    • edit: lib/Driver/ToolChains.cpp

  • Commit 7790ae0908a3a99f22dc7b978e3ececc9c1858f7 by Mehdi Amini:
Add support for -fno-builtin to LTO and ThinLTO to libLTO

    • edit: lib/LTO/ThinLTOCodeGenerator.cpp
    • edit: include/llvm/LTO/legacy/ThinLTOCodeGenerator.h
    • edit: lib/LTO/LTOCodeGenerator.cpp
    • edit: tools/lto/lto.cpp
    • add: test/ThinLTO/X86/tli-nobuiltin.ll
    • edit: include/llvm/LTO/legacy/LTOCodeGenerator.h
    • edit: tools/llvm-lto/llvm-lto.cpp