[Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 16.04 (swift 4.0) #448

I don't think this is any of mine.

/home/buildnode/disk2/workspace/oss-swift-4.0-incremental-RA-linux-ubuntu-16_04/swift/test/SourceKit/CursorInfo/cursor_no_cancel.swift:19:11: error: expected string not found in input

// CHECK: source.lang.swift.decl.function.free
          ^
<stdin>:1:1: note: scanning from here
#0 0x00007fa8bc5ecd88 llvm::sys::PrintStackTrace(llvm::raw_ostream&) (BUILD_DIR/lib/libsourcekitdInProc.so+0x992d88)
^
<stdin>:6:23: note: possible intended match here
#5 0x00007fa8bc631eea SourceKit::SwiftLangSupport::~SwiftLangSupport() (BUILD_DIR/lib/libsourcekitdInProc.so+0x9d7eea)
                      ^

SourceKit folks?

···

On May 16, 2017, at 17:28, no-reply@swift.org wrote:

[FAILURE] oss-swift-4.0-incremental-RA-linux-ubuntu-16_04 [#448]

Build URL: https://ci.swift.org/job/oss-swift-4.0-incremental-RA-linux-ubuntu-16_04/448/
Project: oss-swift-4.0-incremental-RA-linux-ubuntu-16_04
Date of build: Tue, 16 May 2017 16:32:17 -0700
Build duration: 55 min
Identified problems:

Compile Error: This build failed because of a compile error. Below is a list of all errors in the build log:
Indication 1 <https://ci.swift.org//job/oss-swift-4.0-incremental-RA-linux-ubuntu-16_04/448/consoleFull#-1613009903ee1a197b-acac-4b17-83cf-a53b95139a76&gt;
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-4.0-incremental-RA-linux-ubuntu-16_04/448/consoleFull#762096442fca400bf-2f4a-462e-b517-e058d770b2d7&gt;
Tests:

Name: Swift(linux-x86_64)
Failed: 1 test(s), Passed: 9369 test(s), Total: 9370 test(s)
Failed: Swift(linux-x86_64).SourceKit/CursorInfo.cursor_no_cancel.swift <https://ci.swift.org/job/oss-swift-4.0-incremental-RA-linux-ubuntu-16_04/448/testReport/junit/Swift(linux-x86_64)/SourceKit_CursorInfo/cursor_no_cancel_swift&gt;
Name: Swift-Unit
Failed: 0 test(s), Passed: 420 test(s), Total: 420 test(s)

Changes

Commit d84e881b07c4d878cf0d1bac7f605f02392bfa02 by Jordan Rose:
[ClangImporter] Import Swift 3 and 4 names for enumerators. (#9523)

edit: test/APINotes/Inputs/custom-frameworks/APINotesFrameworkTest.framework/Headers/APINotesFrameworkTest.apinotes
edit: test/APINotes/Inputs/custom-frameworks/APINotesFrameworkTest.framework/Headers/APINotesFrameworkTest.h
edit: lib/ClangImporter/ImportName.cpp
edit: test/APINotes/versioned.swift
edit: lib/ClangImporter/ImportDecl.cpp
edit: lib/ClangImporter/ImportName.h
edit: lib/ClangImporter/SwiftLookupTable.h
add: test/APINotes/Inputs/custom-frameworks/APINotesFrameworkTest.framework/Headers/Enums.h

Commit 87a7b6b5828f543cf99c3d021886e437b40dd30c by Jordan Rose:
Merge pull request #9579 from jrose-apple/members-through-the-ages

edit: lib/ClangImporter/SwiftLookupTable.h
edit: test/ClangImporter/Inputs/SwiftPrivateAttr.txt
edit: test/IDE/print_clang_swift_name.swift
edit: test/IDE/print_clang_decls_AppKit.swift
edit: test/IDE/print_omit_needless_words.swift
add: test/APINotes/versioned-objc-dynamic-lookup.swift
edit: test/APINotes/Inputs/custom-frameworks/APINotesFrameworkTest.framework/Headers/Protocols.h
edit: test/APINotes/Inputs/custom-frameworks/APINotesFrameworkTest.framework/Headers/APINotesFrameworkTest.apinotes
edit: test/APINotes/Inputs/custom-frameworks/APINotesFrameworkTest.framework/Headers/Classes.h
edit: lib/ClangImporter/ClangImporter.cpp
edit: lib/ClangImporter/ImporterImpl.h
edit: lib/ClangImporter/ImportDecl.cpp
edit: test/APINotes/versioned-objc.swift

Commit 0643c619d6f001666bf3b0f7d9f3f0a6d8c7bfd1 by Jordan Rose:
[test] Don't depend on "Version: 4" sections working in API notes yet.

edit: test/APINotes/Inputs/custom-frameworks/APINotesFrameworkTest.framework/Headers/APINotesFrameworkTest.apinotes
edit: test/APINotes/versioned-objc.swift

I looks like it crashed. Unfortunately I’m piping stderr to file check so I can’t see anything useful in the output. Did we capture a crash log?

···

On May 16, 2017, at 5:29 PM, Jordan Rose <jordan_rose@apple.com> wrote:

I don't think this is any of mine.

/home/buildnode/disk2/workspace/oss-swift-4.0-incremental-RA-linux-ubuntu-16_04/swift/test/SourceKit/CursorInfo/cursor_no_cancel.swift:19:11: error: expected string not found in input

// CHECK: source.lang.swift.decl.function.free
          ^
<stdin>:1:1: note: scanning from here
#0 0x00007fa8bc5ecd88 llvm::sys::PrintStackTrace(llvm::raw_ostream&) (BUILD_DIR/lib/libsourcekitdInProc.so+0x992d88)
^
<stdin>:6:23: note: possible intended match here
#5 0x00007fa8bc631eea SourceKit::SwiftLangSupport::~SwiftLangSupport() (BUILD_DIR/lib/libsourcekitdInProc.so+0x9d7eea)
                      ^

SourceKit folks?

On May 16, 2017, at 17:28, no-reply@swift.org <mailto:no-reply@swift.org> wrote:

[FAILURE] oss-swift-4.0-incremental-RA-linux-ubuntu-16_04 [#448]

Build URL: https://ci.swift.org/job/oss-swift-4.0-incremental-RA-linux-ubuntu-16_04/448/
Project: oss-swift-4.0-incremental-RA-linux-ubuntu-16_04
Date of build: Tue, 16 May 2017 16:32:17 -0700
Build duration: 55 min
Identified problems:

Compile Error: This build failed because of a compile error. Below is a list of all errors in the build log:
Indication 1 <https://ci.swift.org//job/oss-swift-4.0-incremental-RA-linux-ubuntu-16_04/448/consoleFull#-1613009903ee1a197b-acac-4b17-83cf-a53b95139a76&gt;
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-4.0-incremental-RA-linux-ubuntu-16_04/448/consoleFull#762096442fca400bf-2f4a-462e-b517-e058d770b2d7&gt;
Tests:

Name: Swift(linux-x86_64)
Failed: 1 test(s), Passed: 9369 test(s), Total: 9370 test(s)
Failed: Swift(linux-x86_64).SourceKit/CursorInfo.cursor_no_cancel.swift <https://ci.swift.org/job/oss-swift-4.0-incremental-RA-linux-ubuntu-16_04/448/testReport/junit/Swift(linux-x86_64)/SourceKit_CursorInfo/cursor_no_cancel_swift&gt;
Name: Swift-Unit
Failed: 0 test(s), Passed: 420 test(s), Total: 420 test(s)

Changes

Commit d84e881b07c4d878cf0d1bac7f605f02392bfa02 by Jordan Rose:
[ClangImporter] Import Swift 3 and 4 names for enumerators. (#9523)

edit: test/APINotes/Inputs/custom-frameworks/APINotesFrameworkTest.framework/Headers/APINotesFrameworkTest.apinotes
edit: test/APINotes/Inputs/custom-frameworks/APINotesFrameworkTest.framework/Headers/APINotesFrameworkTest.h
edit: lib/ClangImporter/ImportName.cpp
edit: test/APINotes/versioned.swift
edit: lib/ClangImporter/ImportDecl.cpp
edit: lib/ClangImporter/ImportName.h
edit: lib/ClangImporter/SwiftLookupTable.h
add: test/APINotes/Inputs/custom-frameworks/APINotesFrameworkTest.framework/Headers/Enums.h

Commit 87a7b6b5828f543cf99c3d021886e437b40dd30c by Jordan Rose:
Merge pull request #9579 from jrose-apple/members-through-the-ages

edit: lib/ClangImporter/SwiftLookupTable.h
edit: test/ClangImporter/Inputs/SwiftPrivateAttr.txt
edit: test/IDE/print_clang_swift_name.swift
edit: test/IDE/print_clang_decls_AppKit.swift
edit: test/IDE/print_omit_needless_words.swift
add: test/APINotes/versioned-objc-dynamic-lookup.swift
edit: test/APINotes/Inputs/custom-frameworks/APINotesFrameworkTest.framework/Headers/Protocols.h
edit: test/APINotes/Inputs/custom-frameworks/APINotesFrameworkTest.framework/Headers/APINotesFrameworkTest.apinotes
edit: test/APINotes/Inputs/custom-frameworks/APINotesFrameworkTest.framework/Headers/Classes.h
edit: lib/ClangImporter/ClangImporter.cpp
edit: lib/ClangImporter/ImporterImpl.h
edit: lib/ClangImporter/ImportDecl.cpp
edit: test/APINotes/versioned-objc.swift

Commit 0643c619d6f001666bf3b0f7d9f3f0a6d8c7bfd1 by Jordan Rose:
[test] Don't depend on "Version: 4" sections working in API notes yet.

edit: test/APINotes/Inputs/custom-frameworks/APINotesFrameworkTest.framework/Headers/APINotesFrameworkTest.apinotes
edit: test/APINotes/versioned-objc.swift

I've managed to reproduce this.

Here's the log:

···

2017-05-17 9:32 GMT+09:00 Ben Langmuir via swift-dev <swift-dev@swift.org>:

I looks like it crashed. Unfortunately I’m piping stderr to file check so
I can’t see anything useful in the output. Did we capture a crash log?

On May 16, 2017, at 5:29 PM, Jordan Rose <jordan_rose@apple.com> wrote:

I don't think this is any of mine.

/home/buildnode/disk2/workspace/oss-swift-4.0-incremental-RA-linux-ubuntu-
16_04/swift/test/SourceKit/CursorInfo/cursor_no_cancel.swift:19:11:
error: expected string not found in input

// CHECK: source.lang.swift.decl.function.free
          ^
<stdin>:1:1: note: scanning from here
#0 0x00007fa8bc5ecd88 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(BUILD_DIR/lib/libsourcekitdInProc.so+0x992d88)
^
<stdin>:6:23: note: possible intended match here
#5 0x00007fa8bc631eea SourceKit::SwiftLangSupport::~SwiftLangSupport()
(BUILD_DIR/lib/libsourcekitdInProc.so+0x9d7eea)
                      ^

SourceKit folks?

On May 16, 2017, at 17:28, no-reply@swift.org wrote:

[FAILURE] oss-swift-4.0-incremental-RA-linux-ubuntu-16_04 [#448]
Build URL: https://ci.swift.org/job/oss-swift-4.0-incremental-RA-
linux-ubuntu-16_04/448/
Project: oss-swift-4.0-incremental-RA-linux-ubuntu-16_04
Date of build: Tue, 16 May 2017 16:32:17 -0700
Build duration: 55 minIdentified problems:

   - Compile Error: This build failed because of a compile error. Below
   is a list of all errors in the build log:
      - Indication 1
      <https://ci.swift.org//job/oss-swift-4.0-incremental-RA-linux-ubuntu-16_04/448/consoleFull#-1613009903ee1a197b-acac-4b17-83cf-a53b95139a76&gt;
   - 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-4.0-incremental-RA-linux-ubuntu-16_04/448/consoleFull#762096442fca400bf-2f4a-462e-b517-e058d770b2d7&gt;

Tests:
Name: *Swift(linux-x86_64)*
Failed: 1 test(s), Passed: 9369 test(s), Total: 9370 test(s)

* -
Failed: Swift(linux-x86_64).SourceKit/CursorInfo.cursor_no_cancel.swift
<https://ci.swift.org/job/oss-swift-4.0-incremental-RA-linux-ubuntu-16_04/448/testReport/junit/Swift(linux-x86_64)/SourceKit_CursorInfo/cursor_no_cancel_swift&gt;\*
Name: *Swift-Unit*
Failed: 0 test(s), Passed: 420 test(s), Total: 420 test(s)

Changes

   - Commit *d84e881b07c4d878cf0d1bac7f605f02392bfa02* by *Jordan Rose:*

   [ClangImporter] Import Swift 3 and 4 names for enumerators. (#9523)
   - *edit*: test/APINotes/Inputs/custom-frameworks/APINotesFrameworkTest.
      framework/Headers/APINotesFrameworkTest.apinotes
      - *edit*: test/APINotes/Inputs/custom-frameworks/
      APINotesFrameworkTest.framework/Headers/APINotesFrameworkTest.h
      - *edit*: lib/ClangImporter/ImportName.cpp
      - *edit*: test/APINotes/versioned.swift
      - *edit*: lib/ClangImporter/ImportDecl.cpp
      - *edit*: lib/ClangImporter/ImportName.h
      - *edit*: lib/ClangImporter/SwiftLookupTable.h
      - *add*: test/APINotes/Inputs/custom-frameworks/
      APINotesFrameworkTest.framework/Headers/Enums.h

   - Commit *87a7b6b5828f543cf99c3d021886e437b40dd30c* by *Jordan Rose:*

   Merge pull request #9579 from jrose-apple/members-through-the-ages
   - *edit*: lib/ClangImporter/SwiftLookupTable.h
      - *edit*: test/ClangImporter/Inputs/SwiftPrivateAttr.txt
      - *edit*: test/IDE/print_clang_swift_name.swift
      - *edit*: test/IDE/print_clang_decls_AppKit.swift
      - *edit*: test/IDE/print_omit_needless_words.swift
      - *add*: test/APINotes/versioned-objc-dynamic-lookup.swift
      - *edit*: test/APINotes/Inputs/custom-frameworks/
      APINotesFrameworkTest.framework/Headers/Protocols.h
      - *edit*: test/APINotes/Inputs/custom-frameworks/
      APINotesFrameworkTest.framework/Headers/
      APINotesFrameworkTest.apinotes
      - *edit*: test/APINotes/Inputs/custom-frameworks/
      APINotesFrameworkTest.framework/Headers/Classes.h
      - *edit*: lib/ClangImporter/ClangImporter.cpp
      - *edit*: lib/ClangImporter/ImporterImpl.h
      - *edit*: lib/ClangImporter/ImportDecl.cpp
      - *edit*: test/APINotes/versioned-objc.swift

   - Commit *0643c619d6f001666bf3b0f7d9f3f0a6d8c7bfd1* by *Jordan Rose:*

   [test] Don't depend on "Version: 4" sections working in API notes yet.
   - *edit*: test/APINotes/Inputs/custom-frameworks/APINotesFrameworkTest.
      framework/Headers/APINotesFrameworkTest.apinotes
      - *edit*: test/APINotes/versioned-objc.swift

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

Thanks! We saw the same crash recently in a different source kit test, also on linux. I wonder if anyone who works on libdispatch recognizes this. AFAIK we’ve never seen this on macOS. There’s nothing particularly interesting about this queue being released, AFAICT.

#0 0x00007f8a6b4b45f8 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
#1 0x00007f8a6b4b4d36 SignalHandler(int)
#2 0x00007f8a71693390 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x11390)
#3 0x00007f8a71a689f7 _dispatch_queue_destroy (libdispatch-linux-x86_64/src/.libs/libdispatch.so+0x2a9f7)
#4 0x00007f8a71a67770 _dispatch_dispose (libdispatch-linux-x86_64/src/.libs/libdispatch.so+0x29770)
#5 0x00007f8a6f10a77d SourceKit::WorkQueue::Impl::release(void*) swift/tools/SourceKit/lib/Support/Concurrency-libdispatch.cpp:212:1

Ben

···

On May 16, 2017, at 7:43 PM, rintaro ishizaki <fs.output@gmail.com> wrote:

I've managed to reproduce this.

Here's the log:
sourcekit_crash_linux_1604.console · GitHub

2017-05-17 9:32 GMT+09:00 Ben Langmuir via swift-dev <swift-dev@swift.org <mailto:swift-dev@swift.org>>:
I looks like it crashed. Unfortunately I’m piping stderr to file check so I can’t see anything useful in the output. Did we capture a crash log?

On May 16, 2017, at 5:29 PM, Jordan Rose <jordan_rose@apple.com <mailto:jordan_rose@apple.com>> wrote:

I don't think this is any of mine.

/home/buildnode/disk2/workspace/oss-swift-4.0-incremental-RA-linux-ubuntu-16_04/swift/test/SourceKit/CursorInfo/cursor_no_cancel.swift:19:11: error: expected string not found in input

// CHECK: source.lang.swift.decl.function.free
          ^
<stdin>:1:1: note: scanning from here
#0 0x00007fa8bc5ecd88 llvm::sys::PrintStackTrace(llvm::raw_ostream&) (BUILD_DIR/lib/libsourcekitdInProc.so+0x992d88)
^
<stdin>:6:23: note: possible intended match here
#5 0x00007fa8bc631eea SourceKit::SwiftLangSupport::~SwiftLangSupport() (BUILD_DIR/lib/libsourcekitdInProc.so+0x9d7eea)
                      ^

SourceKit folks?

On May 16, 2017, at 17:28, no-reply@swift.org <mailto:no-reply@swift.org> wrote:

[FAILURE] oss-swift-4.0-incremental-RA-linux-ubuntu-16_04 [#448]

Build URL: https://ci.swift.org/job/oss-swift-4.0-incremental-RA-linux-ubuntu-16_04/448/
Project: oss-swift-4.0-incremental-RA-linux-ubuntu-16_04
Date of build: Tue, 16 May 2017 16:32:17 -0700
Build duration: 55 min
Identified problems:

Compile Error: This build failed because of a compile error. Below is a list of all errors in the build log:
Indication 1 <https://ci.swift.org//job/oss-swift-4.0-incremental-RA-linux-ubuntu-16_04/448/consoleFull#-1613009903ee1a197b-acac-4b17-83cf-a53b95139a76&gt;
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-4.0-incremental-RA-linux-ubuntu-16_04/448/consoleFull#762096442fca400bf-2f4a-462e-b517-e058d770b2d7&gt;
Tests:

Name: Swift(linux-x86_64)
Failed: 1 test(s), Passed: 9369 test(s), Total: 9370 test(s)
Failed: Swift(linux-x86_64).SourceKit/CursorInfo.cursor_no_cancel.swift <https://ci.swift.org/job/oss-swift-4.0-incremental-RA-linux-ubuntu-16_04/448/testReport/junit/Swift(linux-x86_64)/SourceKit_CursorInfo/cursor_no_cancel_swift&gt;
Name: Swift-Unit
Failed: 0 test(s), Passed: 420 test(s), Total: 420 test(s)

Changes

Commit d84e881b07c4d878cf0d1bac7f605f02392bfa02 by Jordan Rose:
[ClangImporter] Import Swift 3 and 4 names for enumerators. (#9523)

edit: test/APINotes/Inputs/custom-frameworks/APINotesFrameworkTest.framework/Headers/APINotesFrameworkTest.apinotes
edit: test/APINotes/Inputs/custom-frameworks/APINotesFrameworkTest.framework/Headers/APINotesFrameworkTest.h
edit: lib/ClangImporter/ImportName.cpp
edit: test/APINotes/versioned.swift
edit: lib/ClangImporter/ImportDecl.cpp
edit: lib/ClangImporter/ImportName.h
edit: lib/ClangImporter/SwiftLookupTable.h
add: test/APINotes/Inputs/custom-frameworks/APINotesFrameworkTest.framework/Headers/Enums.h

Commit 87a7b6b5828f543cf99c3d021886e437b40dd30c by Jordan Rose:
Merge pull request #9579 from jrose-apple/members-through-the-ages

edit: lib/ClangImporter/SwiftLookupTable.h
edit: test/ClangImporter/Inputs/SwiftPrivateAttr.txt
edit: test/IDE/print_clang_swift_name.swift
edit: test/IDE/print_clang_decls_AppKit.swift
edit: test/IDE/print_omit_needless_words.swift
add: test/APINotes/versioned-objc-dynamic-lookup.swift
edit: test/APINotes/Inputs/custom-frameworks/APINotesFrameworkTest.framework/Headers/Protocols.h
edit: test/APINotes/Inputs/custom-frameworks/APINotesFrameworkTest.framework/Headers/APINotesFrameworkTest.apinotes
edit: test/APINotes/Inputs/custom-frameworks/APINotesFrameworkTest.framework/Headers/Classes.h
edit: lib/ClangImporter/ClangImporter.cpp
edit: lib/ClangImporter/ImporterImpl.h
edit: lib/ClangImporter/ImportDecl.cpp
edit: test/APINotes/versioned-objc.swift

Commit 0643c619d6f001666bf3b0f7d9f3f0a6d8c7bfd1 by Jordan Rose:
[test] Don't depend on "Version: 4" sections working in API notes yet.

edit: test/APINotes/Inputs/custom-frameworks/APINotesFrameworkTest.framework/Headers/APINotesFrameworkTest.apinotes
edit: test/APINotes/versioned-objc.swift

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