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


(Erik Eckstein) #1

Doug,

only your changes are on the blame list. Can you please check this?

The fail is:

******************** TEST 'Swift(linux-x86_64) :: TBD/protocol.swift' FAILED ********************
Script:

···

--
/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-cachehxt0rb' -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
--
Exit Code: 135

Command Output (stderr):
--
#0 0x0000000003992f48 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+0x3992f48)
#1 0x0000000003993686 SignalHandler(int) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swift-linux-x86_64/bin/swift+0x3993686)
#2 0x00007f9657ae1670 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x11670)
#3 0x0000000003935fee 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+0x3935fee)
#4 0x0000000003935a15 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+0x3935a15)
#5 0x00000000029e1b7a 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+0x29e1b7a)
#6 0x00000000005840b9 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+0x5840b9)
#7 0x00000000004ac5bf 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+0x4ac5bf)
#8 0x0000000000465a87 main (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swift-linux-x86_64/bin/swift+0x465a87)
#9 0x00007f96562073f1 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x203f1)
#10 0x000000000046312a _start (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swift-linux-x86_64/bin/swift+0x46312a)
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-cachehxt0rb -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: 5938 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-cachehxt0rb' -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

--

On Apr 18, 2017, at 10:00 AM, no-reply@swift.org wrote:

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

Build URL: https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_10/3083/
Project: oss-swift-incremental-RA-linux-ubuntu-16_10
Date of build: Tue, 18 Apr 2017 09:45:27 -0700
Build duration: 15 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/3083/consoleFull#116130841fca400bf-2f4a-462e-b517-e058d770b2d7>
Tests:

Name: Swift(linux-x86_64)
Failed: 2 test(s), Passed: 9203 test(s), Total: 9205 test(s)
Failed: Swift(linux-x86_64).TBD.protocol.swift <https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_10/3083/testReport/junit/Swift(linux-x86_64)/TBD/protocol_swift>
Failed: Swift(linux-x86_64).TBD.struct.swift <https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_10/3083/testReport/junit/Swift(linux-x86_64)/TBD/struct_swift>
Name: Swift-Unit
Failed: 0 test(s), Passed: 416 test(s), Total: 416 test(s)

Changes

Commit 995de881c7072402f600e7e8a8376bc3fa64e167 by Doug Gregor:
[GSB] Teach addInheritedRequirements() and its callers to use

edit: lib/AST/GenericSignatureBuilder.cpp
edit: include/swift/AST/GenericSignatureBuilder.h

Commit 17846e2be1c49f8431aafedb174a9d15965c7dcb by Doug Gregor:
[GSB] Cope with recursive requirements by delaying them.

edit: include/swift/AST/GenericSignatureBuilder.h
edit: lib/AST/GenericEnvironment.cpp
edit: lib/AST/Decl.cpp
edit: lib/AST/GenericSignatureBuilder.cpp
edit: lib/AST/GenericSignature.cpp
edit: lib/Sema/TypeCheckGeneric.cpp

Commit a5a162a17ca58bff9ead022107b75665cc55f6cf by Doug Gregor:
[GSB] Install basic recursion checking.

edit: lib/AST/GenericSignatureBuilder.cpp
edit: test/decl/protocol/recursive_requirement.swift

Commit 54f132c487fa84daa72491d26a0fdcd3d06d3393 by Doug Gregor:
[GSB] Delete all of the "visited" sets, which are now unused.

edit: include/swift/AST/GenericSignatureBuilder.h
edit: lib/AST/GenericSignatureBuilder.cpp


(Douglas Gregor) #2

It’s filing trying to open a file for output for the binary. Huon, these tests should probably have explicit “-o” options to put the output files somewhere into %t ?

  - Doug

···

On Apr 18, 2017, at 10:14 AM, Erik Eckstein <eeckstein@apple.com> wrote:

Doug,

only your changes are on the blame list. Can you please check this?

The fail is:

******************** TEST 'Swift(linux-x86_64) :: TBD/protocol.swift' FAILED ********************
Script:
--
/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-cachehxt0rb' -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
--
Exit Code: 135

Command Output (stderr):
--
#0 0x0000000003992f48 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+0x3992f48)
#1 0x0000000003993686 SignalHandler(int) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swift-linux-x86_64/bin/swift+0x3993686)
#2 0x00007f9657ae1670 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x11670)
#3 0x0000000003935fee 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+0x3935fee)
#4 0x0000000003935a15 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+0x3935a15)
#5 0x00000000029e1b7a 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+0x29e1b7a)
#6 0x00000000005840b9 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+0x5840b9)
#7 0x00000000004ac5bf 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+0x4ac5bf)
#8 0x0000000000465a87 main (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swift-linux-x86_64/bin/swift+0x465a87)
#9 0x00007f96562073f1 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x203f1)
#10 0x000000000046312a _start (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swift-linux-x86_64/bin/swift+0x46312a)
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-cachehxt0rb -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: 5938 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-cachehxt0rb' -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

--

On Apr 18, 2017, at 10:00 AM, no-reply@swift.org <mailto:no-reply@swift.org> wrote:

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

Build URL: https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_10/3083/
Project: oss-swift-incremental-RA-linux-ubuntu-16_10
Date of build: Tue, 18 Apr 2017 09:45:27 -0700
Build duration: 15 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/3083/consoleFull#116130841fca400bf-2f4a-462e-b517-e058d770b2d7>
Tests:

Name: Swift(linux-x86_64)
Failed: 2 test(s), Passed: 9203 test(s), Total: 9205 test(s)
Failed: Swift(linux-x86_64).TBD.protocol.swift <https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_10/3083/testReport/junit/Swift(linux-x86_64)/TBD/protocol_swift>
Failed: Swift(linux-x86_64).TBD.struct.swift <https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_10/3083/testReport/junit/Swift(linux-x86_64)/TBD/struct_swift>
Name: Swift-Unit
Failed: 0 test(s), Passed: 416 test(s), Total: 416 test(s)

Changes

Commit 995de881c7072402f600e7e8a8376bc3fa64e167 by Doug Gregor:
[GSB] Teach addInheritedRequirements() and its callers to use

edit: lib/AST/GenericSignatureBuilder.cpp
edit: include/swift/AST/GenericSignatureBuilder.h

Commit 17846e2be1c49f8431aafedb174a9d15965c7dcb by Doug Gregor:
[GSB] Cope with recursive requirements by delaying them.

edit: include/swift/AST/GenericSignatureBuilder.h
edit: lib/AST/GenericEnvironment.cpp
edit: lib/AST/Decl.cpp
edit: lib/AST/GenericSignatureBuilder.cpp
edit: lib/AST/GenericSignature.cpp
edit: lib/Sema/TypeCheckGeneric.cpp

Commit a5a162a17ca58bff9ead022107b75665cc55f6cf by Doug Gregor:
[GSB] Install basic recursion checking.

edit: lib/AST/GenericSignatureBuilder.cpp
edit: test/decl/protocol/recursive_requirement.swift

Commit 54f132c487fa84daa72491d26a0fdcd3d06d3393 by Doug Gregor:
[GSB] Delete all of the "visited" sets, which are now unused.

edit: include/swift/AST/GenericSignatureBuilder.h
edit: lib/AST/GenericSignatureBuilder.cpp


(Huon Wilson) #3

https://github.com/apple/swift/pull/8836

Huon

···

On Apr 18, 2017, at 11:05, Douglas Gregor <dgregor@apple.com> wrote:

It’s filing trying to open a file for output for the binary. Huon, these tests should probably have explicit “-o” options to put the output files somewhere into %t ?

  - Doug

On Apr 18, 2017, at 10:14 AM, Erik Eckstein <eeckstein@apple.com <mailto:eeckstein@apple.com>> wrote:

Doug,

only your changes are on the blame list. Can you please check this?

The fail is:

******************** TEST 'Swift(linux-x86_64) :: TBD/protocol.swift' FAILED ********************
Script:
--
/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-cachehxt0rb' -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
--
Exit Code: 135

Command Output (stderr):
--
#0 0x0000000003992f48 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+0x3992f48)
#1 0x0000000003993686 SignalHandler(int) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swift-linux-x86_64/bin/swift+0x3993686)
#2 0x00007f9657ae1670 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x11670)
#3 0x0000000003935fee 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+0x3935fee)
#4 0x0000000003935a15 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+0x3935a15)
#5 0x00000000029e1b7a 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+0x29e1b7a)
#6 0x00000000005840b9 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+0x5840b9)
#7 0x00000000004ac5bf 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+0x4ac5bf)
#8 0x0000000000465a87 main (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swift-linux-x86_64/bin/swift+0x465a87)
#9 0x00007f96562073f1 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x203f1)
#10 0x000000000046312a _start (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swift-linux-x86_64/bin/swift+0x46312a)
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-cachehxt0rb -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: 5938 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-cachehxt0rb' -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

--

On Apr 18, 2017, at 10:00 AM, no-reply@swift.org <mailto:no-reply@swift.org> wrote:

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

Build URL: https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_10/3083/
Project: oss-swift-incremental-RA-linux-ubuntu-16_10
Date of build: Tue, 18 Apr 2017 09:45:27 -0700
Build duration: 15 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/3083/consoleFull#116130841fca400bf-2f4a-462e-b517-e058d770b2d7>
Tests:

Name: Swift(linux-x86_64)
Failed: 2 test(s), Passed: 9203 test(s), Total: 9205 test(s)
Failed: Swift(linux-x86_64).TBD.protocol.swift <https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_10/3083/testReport/junit/Swift(linux-x86_64)/TBD/protocol_swift>
Failed: Swift(linux-x86_64).TBD.struct.swift <https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_10/3083/testReport/junit/Swift(linux-x86_64)/TBD/struct_swift>
Name: Swift-Unit
Failed: 0 test(s), Passed: 416 test(s), Total: 416 test(s)

Changes

Commit 995de881c7072402f600e7e8a8376bc3fa64e167 by Doug Gregor:
[GSB] Teach addInheritedRequirements() and its callers to use

edit: lib/AST/GenericSignatureBuilder.cpp
edit: include/swift/AST/GenericSignatureBuilder.h

Commit 17846e2be1c49f8431aafedb174a9d15965c7dcb by Doug Gregor:
[GSB] Cope with recursive requirements by delaying them.

edit: include/swift/AST/GenericSignatureBuilder.h
edit: lib/AST/GenericEnvironment.cpp
edit: lib/AST/Decl.cpp
edit: lib/AST/GenericSignatureBuilder.cpp
edit: lib/AST/GenericSignature.cpp
edit: lib/Sema/TypeCheckGeneric.cpp

Commit a5a162a17ca58bff9ead022107b75665cc55f6cf by Doug Gregor:
[GSB] Install basic recursion checking.

edit: lib/AST/GenericSignatureBuilder.cpp
edit: test/decl/protocol/recursive_requirement.swift

Commit 54f132c487fa84daa72491d26a0fdcd3d06d3393 by Doug Gregor:
[GSB] Delete all of the "visited" sets, which are now unused.

edit: include/swift/AST/GenericSignatureBuilder.h
edit: lib/AST/GenericSignatureBuilder.cpp


(Huon Wilson) #4

Merged as https://github.com/apple/swift/commit/e619cef86316f325378d60a2c653e6fc418f1cd3

···

On Apr 18, 2017, at 11:33, Huon Wilson via swift-dev <swift-dev@swift.org> wrote:

https://github.com/apple/swift/pull/8836

Huon

On Apr 18, 2017, at 11:05, Douglas Gregor <dgregor@apple.com> wrote:

It’s filing trying to open a file for output for the binary. Huon, these tests should probably have explicit “-o” options to put the output files somewhere into %t ?

  - Doug

On Apr 18, 2017, at 10:14 AM, Erik Eckstein <eeckstein@apple.com <mailto:eeckstein@apple.com>> wrote:

Doug,

only your changes are on the blame list. Can you please check this?

The fail is:

******************** TEST 'Swift(linux-x86_64) :: TBD/protocol.swift' FAILED ********************
Script:
--
/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-cachehxt0rb' -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
--
Exit Code: 135

Command Output (stderr):
--
#0 0x0000000003992f48 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+0x3992f48)
#1 0x0000000003993686 SignalHandler(int) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swift-linux-x86_64/bin/swift+0x3993686)
#2 0x00007f9657ae1670 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x11670)
#3 0x0000000003935fee 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+0x3935fee)
#4 0x0000000003935a15 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+0x3935a15)
#5 0x00000000029e1b7a 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+0x29e1b7a)
#6 0x00000000005840b9 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+0x5840b9)
#7 0x00000000004ac5bf 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+0x4ac5bf)
#8 0x0000000000465a87 main (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swift-linux-x86_64/bin/swift+0x465a87)
#9 0x00007f96562073f1 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x203f1)
#10 0x000000000046312a _start (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_10/buildbot_incremental/swift-linux-x86_64/bin/swift+0x46312a)
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-cachehxt0rb -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: 5938 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-cachehxt0rb' -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

--

On Apr 18, 2017, at 10:00 AM, no-reply@swift.org <mailto:no-reply@swift.org> wrote:

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

Build URL: https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_10/3083/
Project: oss-swift-incremental-RA-linux-ubuntu-16_10
Date of build: Tue, 18 Apr 2017 09:45:27 -0700
Build duration: 15 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/3083/consoleFull#116130841fca400bf-2f4a-462e-b517-e058d770b2d7>
Tests:

Name: Swift(linux-x86_64)
Failed: 2 test(s), Passed: 9203 test(s), Total: 9205 test(s)
Failed: Swift(linux-x86_64).TBD.protocol.swift <https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_10/3083/testReport/junit/Swift(linux-x86_64)/TBD/protocol_swift>
Failed: Swift(linux-x86_64).TBD.struct.swift <https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_10/3083/testReport/junit/Swift(linux-x86_64)/TBD/struct_swift>
Name: Swift-Unit
Failed: 0 test(s), Passed: 416 test(s), Total: 416 test(s)

Changes

Commit 995de881c7072402f600e7e8a8376bc3fa64e167 by Doug Gregor:
[GSB] Teach addInheritedRequirements() and its callers to use

edit: lib/AST/GenericSignatureBuilder.cpp
edit: include/swift/AST/GenericSignatureBuilder.h

Commit 17846e2be1c49f8431aafedb174a9d15965c7dcb by Doug Gregor:
[GSB] Cope with recursive requirements by delaying them.

edit: include/swift/AST/GenericSignatureBuilder.h
edit: lib/AST/GenericEnvironment.cpp
edit: lib/AST/Decl.cpp
edit: lib/AST/GenericSignatureBuilder.cpp
edit: lib/AST/GenericSignature.cpp
edit: lib/Sema/TypeCheckGeneric.cpp

Commit a5a162a17ca58bff9ead022107b75665cc55f6cf by Doug Gregor:
[GSB] Install basic recursion checking.

edit: lib/AST/GenericSignatureBuilder.cpp
edit: test/decl/protocol/recursive_requirement.swift

Commit 54f132c487fa84daa72491d26a0fdcd3d06d3393 by Doug Gregor:
[GSB] Delete all of the "visited" sets, which are now unused.

edit: include/swift/AST/GenericSignatureBuilder.h
edit: lib/AST/GenericSignatureBuilder.cpp

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