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


(Daniel Dunbar) #1

This commit can't have broken this.

···

--
#0 0x000000000398af08 llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swift-linux-x86_64/bin/swift+0x398af08)
#1 0x000000000398b646 SignalHandler(int) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swift-linux-x86_64/bin/swift+0x398b646)
#2 0x00007feec48de670 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x11670)
#3 0x000000000392dfae getOpenFileImpl(int, llvm::Twine const&, unsigned long, unsigned long, long, bool, bool) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swift-linux-x86_64/bin/swift+0x392dfae)
#4 0x000000000392d9d5 llvm::MemoryBuffer::getFileOrSTDIN(llvm::Twine const&, long, bool) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swift-linux-x86_64/bin/swift+0x392d9d5)
#5 0x00000000029d9f9a llvm::object::createBinary(llvm::StringRef) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swift-linux-x86_64/bin/swift+0x29d9f9a)
#6 0x00000000005845c9 swift::performLLVM(swift::IRGenOptions&, swift::DiagnosticEngine*, llvm::sys::SmartMutex<false>*, llvm::GlobalVariable*, llvm::Module*, llvm::TargetMachine*, swift::version::Version const&, llvm::StringRef) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swift-linux-x86_64/bin/swift+0x5845c9)
#7 0x00000000004ac791 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swift-linux-x86_64/bin/swift+0x4ac791)
#8 0x0000000000465967 main (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swift-linux-x86_64/bin/swift+0x465967)
#9 0x00007feec30043f1 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x203f1)
#10 0x000000000046300a _start (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swift-linux-x86_64/bin/swift+0x46300a)
Stack dump:
0. Program arguments: /home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swift-linux-x86_64/bin/swift -frontend -target x86_64-unknown-linux-gnu -module-cache-path /tmp/swift-testsuite-clang-module-cacheDAy9Ak -c -parse-as-library -module-name test -validate-tbd-against-ir /home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swift/test/TBD/protocol.swift
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swift-linux-x86_64/test-linux-x86_64/TBD/Output/protocol.swift.script: line 1: 23695 Bus error /home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swift-linux-x86_64/bin/swift -frontend -target x86_64-unknown-linux-gnu -module-cache-path '/tmp/swift-testsuite-clang-module-cacheDAy9Ak' -c -parse-as-library -module-name test -validate-tbd-against-ir /home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/swift/test/TBD/protocol.swift
--

- Daniel

On Apr 15, 2017, at 11:53 PM, no-reply@swift.org wrote:

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

Build URL: https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_10/3051/
Project: oss-swift-incremental-RA-linux-ubuntu-16_10
Date of build: Sat, 15 Apr 2017 23:40:37 -0700
Build duration: 12 min
Identified problems:

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-16_10/3051/consoleFull#116130841fca400bf-2f4a-462e-b517-e058d770b2d7>
Tests:

Name: Swift(linux-x86_64)
Failed: 1 test(s), Passed: 9193 test(s), Total: 9194 test(s)
Failed: Swift(linux-x86_64).TBD.protocol.swift <https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_10/3051/testReport/junit/Swift(linux-x86_64)/TBD/protocol_swift>
Name: Swift-Unit
Failed: 0 test(s), Passed: 416 test(s), Total: 416 test(s)

Changes

Commit 1c9d43b0e101c925ddeadbee84a1a031bb18b2c0 by Daniel Dunbar:
[BuildSystem] Lift errors out of frontend API.

edit: tests/Examples/buildsystem-capi.llbuild
edit: examples/c-api/buildsystem/main.c
edit: lib/Commands/BuildSystemCommand.cpp
edit: lib/BuildSystem/BuildSystemFrontend.cpp