[Swift CI] Build Failure: 0. OSS - Swift Incremental RA - OS X (master) #7135


(Sean Callanan) #1

I tested my commit several times and the codepaths I changed do not affect swift compilation (it doesn't use the ASTImporter).
The error is

Assertion failed: (ModifierLen == 0 && "Unknown integer modifier"), function FormatDiagnostic, file /Users/buildnode/jenkins/workspace/oss-swift-incremental-RA-osx/llvm/tools/clang/lib/Basic/Diagnostic.cpp, line 811.
Stack dump:
0. Program arguments: /Users/buildnode/jenkins/workspace/oss-swift-incremental-RA-osx/buildbot_incremental/llvm-macosx-x86_64/bin/clang-3.8 -cc1 -triple i386-apple-macosx10.11.0 -emit-obj -disable-free -main-file-name sanitizer_stackdepot.cc -mrelocation-model pic -pic-level 2 -mthread-model posix -mllvm -warn-stack-size=570 -masm-verbose -munwind-tables -target-cpu yonah -target-linker-version 274.1 -dwarf-column-info -debug-info-kind=line-tables-only -dwarf-version=4 -debugger-tuning=lldb -coverage-file /Users/buildnode/jenkins/workspace/oss-swift-incremental-RA-osx/buildbot_incremental/llvm-macosx-x86_64/tools/clang/runtime/compiler-rt-bins/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.osx.dir/sanitizer_stackdepot.cc.o -resource-dir /Users/buildnode/jenkins/workspace/oss-swift-incremental-RA-osx/buildbot_incremental/llvm-macosx-x86_64/bin/../lib/clang/3.8.0 -dependency-file lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.osx.dir/sanitizer_stackdepot.cc.o.d -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.osx.dir/sanitizer_stackdepot.cc.o -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -D HAVE_RPC_XDR_H=0 -D HAVE_TIRPC_RPC_XDR_H=0 -D NDEBUG -stdlib=libc++ -O3 -Wall -Wno-unused-parameter -Wall -Wno-unused-parameter -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -Wno-non-virtual-dtor -Wglobal-constructors -std=c++11 -fdeprecated-macro -fdebug-compilation-dir /Users/buildnode/jenkins/workspace/oss-swift-incremental-RA-osx/buildbot_incremental/llvm-macosx-x86_64/tools/clang/runtime/compiler-rt-bins -ferror-limit 19 -fmessage-length 0 -fvisibility hidden -fvisibility-inlines-hidden -fno-builtin -fblocks -fno-rtti -fobjc-runtime=macosx-fragile-10.11.0 -fobjc-subscripting-legacy-runtime -fencode-extended-block-signature -fmax-type-align=16 -fdiagnostics-show-option -vectorize-loops -vectorize-slp -o /var/folders/_8/79jmzf2142z2xydc_01btlx00000gn/T/sanitizer_stackdepot-65784e.o -x c++ /Users/buildnode/jenkins/workspace/oss-swift-incremental-RA-osx/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_stackdepot.cc
1. <eof> parser at end of file
2. Per-file LLVM IR generation
3. /Users/buildnode/jenkins/workspace/oss-swift-incremental-RA-osx/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_persistent_allocator.h:66:14: Generating code for declaration '__sanitizer::PersistentAlloc'
<>clang-3.8: error: unable to execute command: Abort trap: 6
clang-3.8: error: clang frontend command failed due to signal (use -v to see invocation)

I don't believe my code is the issue here, but I'm happy to help with investigation.

Sean

···

On Nov 10, 2016, at 4:57 PM, no-reply@swift.org wrote:

[FAILURE] oss-swift-incremental-RA-osx [#7135]

Build URL: https://ci.swift.org/job/oss-swift-incremental-RA-osx/7135/
Project: oss-swift-incremental-RA-osx
Date of build: Thu, 10 Nov 2016 16:54:08 -0800
Build duration: 3 min 24 sec
Identified problems:

Assertion failure: This build failed because of an assertion failure. Below is a list of all errors in the build log:
Indication 1 <https://ci.swift.org//job/oss-swift-incremental-RA-osx/7135/consoleFull#-835517760c38edd5a-00f9-40a2-abac-1db59f7a90ca>
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-incremental-RA-osx/7135/consoleFull#-510455444ee1a197b-acac-4b17-83cf-a53b95139a76>
Changes

Commit 5818f942453588e23549da0bc64ae2cb7d803899 by scallanan:
When the ASTImporter imports a source location, it avoids importing

add: test/ASTMerge/Inputs/macro2.m
add: test/ASTMerge/Inputs/macro.modulemap
edit: lib/AST/ASTImporter.cpp
add: test/ASTMerge/Inputs/macro1.m
add: test/ASTMerge/macro.m
add: test/ASTMerge/Inputs/macro1.h

Commit b48c6637ee10a32e0e02a072031fc61bebc65488 by scallanan:
Updated ASTMerge/macro.m to use _Nullable.

edit: test/ASTMerge/Inputs/macro1.h


(Mark Lacey) #2

Hi Sean,

There appears to be a dependency issue in the clang build that is causing this. It (and another similar assert related to diagnostics) started showing up after we pulled in a diagnostics change this morning.

You can ignore the failure. Hopefully we can get this fixed quickly.

Mark

···

On Nov 10, 2016, at 5:03 PM, Sean Callanan via swift-dev <swift-dev@swift.org> wrote:

I tested my commit several times and the codepaths I changed do not affect swift compilation (it doesn't use the ASTImporter).
The error is

Assertion failed: (ModifierLen == 0 && "Unknown integer modifier"), function FormatDiagnostic, file /Users/buildnode/jenkins/workspace/oss-swift-incremental-RA-osx/llvm/tools/clang/lib/Basic/Diagnostic.cpp, line 811.
Stack dump:
0. Program arguments: /Users/buildnode/jenkins/workspace/oss-swift-incremental-RA-osx/buildbot_incremental/llvm-macosx-x86_64/bin/clang-3.8 -cc1 -triple i386-apple-macosx10.11.0 -emit-obj -disable-free -main-file-name sanitizer_stackdepot.cc -mrelocation-model pic -pic-level 2 -mthread-model posix -mllvm -warn-stack-size=570 -masm-verbose -munwind-tables -target-cpu yonah -target-linker-version 274.1 -dwarf-column-info -debug-info-kind=line-tables-only -dwarf-version=4 -debugger-tuning=lldb -coverage-file /Users/buildnode/jenkins/workspace/oss-swift-incremental-RA-osx/buildbot_incremental/llvm-macosx-x86_64/tools/clang/runtime/compiler-rt-bins/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.osx.dir/sanitizer_stackdepot.cc.o -resource-dir /Users/buildnode/jenkins/workspace/oss-swift-incremental-RA-osx/buildbot_incremental/llvm-macosx-x86_64/bin/../lib/clang/3.8.0 -dependency-file lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.osx.dir/sanitizer_stackdepot.cc.o.d -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.osx.dir/sanitizer_stackdepot.cc.o -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -D HAVE_RPC_XDR_H=0 -D HAVE_TIRPC_RPC_XDR_H=0 -D NDEBUG -stdlib=libc++ -O3 -Wall -Wno-unused-parameter -Wall -Wno-unused-parameter -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -Wno-non-virtual-dtor -Wglobal-constructors -std=c++11 -fdeprecated-macro -fdebug-compilation-dir /Users/buildnode/jenkins/workspace/oss-swift-incremental-RA-osx/buildbot_incremental/llvm-macosx-x86_64/tools/clang/runtime/compiler-rt-bins -ferror-limit 19 -fmessage-length 0 -fvisibility hidden -fvisibility-inlines-hidden -fno-builtin -fblocks -fno-rtti -fobjc-runtime=macosx-fragile-10.11.0 -fobjc-subscripting-legacy-runtime -fencode-extended-block-signature -fmax-type-align=16 -fdiagnostics-show-option -vectorize-loops -vectorize-slp -o /var/folders/_8/79jmzf2142z2xydc_01btlx00000gn/T/sanitizer_stackdepot-65784e.o -x c++ /Users/buildnode/jenkins/workspace/oss-swift-incremental-RA-osx/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_stackdepot.cc
1. <eof> parser at end of file
2. Per-file LLVM IR generation
3. /Users/buildnode/jenkins/workspace/oss-swift-incremental-RA-osx/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_persistent_allocator.h:66:14: Generating code for declaration '__sanitizer::PersistentAlloc'
<>clang-3.8: error: unable to execute command: Abort trap: 6
clang-3.8: error: clang frontend command failed due to signal (use -v to see invocation)

I don't believe my code is the issue here, but I'm happy to help with investigation.

Sean

On Nov 10, 2016, at 4:57 PM, no-reply@swift.org <mailto:no-reply@swift.org> wrote:

[FAILURE] oss-swift-incremental-RA-osx [#7135]

Build URL: https://ci.swift.org/job/oss-swift-incremental-RA-osx/7135/
Project: oss-swift-incremental-RA-osx
Date of build: Thu, 10 Nov 2016 16:54:08 -0800
Build duration: 3 min 24 sec
Identified problems:

Assertion failure: This build failed because of an assertion failure. Below is a list of all errors in the build log:
Indication 1 <https://ci.swift.org//job/oss-swift-incremental-RA-osx/7135/consoleFull#-835517760c38edd5a-00f9-40a2-abac-1db59f7a90ca>
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-incremental-RA-osx/7135/consoleFull#-510455444ee1a197b-acac-4b17-83cf-a53b95139a76>
Changes

Commit 5818f942453588e23549da0bc64ae2cb7d803899 by scallanan:
When the ASTImporter imports a source location, it avoids importing

add: test/ASTMerge/Inputs/macro2.m
add: test/ASTMerge/Inputs/macro.modulemap
edit: lib/AST/ASTImporter.cpp
add: test/ASTMerge/Inputs/macro1.m
add: test/ASTMerge/macro.m
add: test/ASTMerge/Inputs/macro1.h

Commit b48c6637ee10a32e0e02a072031fc61bebc65488 by scallanan:
Updated ASTMerge/macro.m to use _Nullable.

edit: test/ASTMerge/Inputs/macro1.h

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