[Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 16.04 - Long Test (swift 4.1) #126

Does anyone know what's up with swift-corelibs-libdispatch/dispatch/module.modulemap?

[2/25] Generating swiftDispatch.o, swift/Dispatch.swiftmodule, swift/Dispatch.swiftdoc
FAILED: src/swiftDispatch.o src/swift/Dispatch.swiftmodule src/swift/Dispatch.swiftdoc
cd /home/buildnode/jenkins/workspace/oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test/buildbot_incremental/libdispatch-linux-x86_64/src && /usr/bin/cmake -E make_directory /home/buildnode/jenkins/workspace/oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test/buildbot_incremental/libdispatch-linux-x86_64/src/swift && /home/buildnode/jenkins/workspace/oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test/buildbot_incremental/swift-linux-x86_64/bin/swiftc -emit-library -module-name Dispatch -module-link-name dispatch -emit-module-path /home/buildnode/jenkins/workspace/oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test/buildbot_incremental/libdispatch-linux-x86_64/src/swift/Dispatch.swiftmodule -I /home/buildnode/jenkins/workspace/oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test/swift-corelibs-libdispatch -O -Xcc -fblocks -Xcc -fmodule-map-file=/home/buildnode/jenkins/workspace/oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test/swift-corelibs-libdispatch/dispatch/module.modulemap -force-single-frontend-invocation -c /home/buildnode/jenkins/workspace/oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test/swift-corelibs-libdispatch/src/swift/Block.swift /home/buildnode/jenkins/workspace/oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test/swift-corelibs-libdispatch/src/swift/Data.swift /home/buildnode/jenkins/workspace/oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test/swift-corelibs-libdispatch/src/swift/Dispatch.swift /home/buildnode/jenkins/workspace/oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test/swift-corelibs-libdispatch/src/swift/IO.swift /home/buildnode/jenkins/workspace/oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test/swift-corelibs-libdispatch/src/swift/Private.swift /home/buildnode/jenkins/workspace/oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test/swift-corelibs-libdispatch/src/swift/Queue.swift /home/buildnode/jenkins/workspace/oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test/swift-corelibs-libdispatch/src/swift/Source.swift /home/buildnode/jenkins/workspace/oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test/swift-corelibs-libdispatch/src/swift/Time.swift /home/buildnode/jenkins/workspace/oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test/swift-corelibs-libdispatch/src/swift/Wrapper.swift -o /home/buildnode/jenkins/workspace/oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test/buildbot_incremental/libdispatch-linux-x86_64/src/swiftDispatch.o
<><unknown>:0: error: module map file '/home/buildnode/jenkins/workspace/oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test/swift-corelibs-libdispatch/dispatch/module.modulemap' not found
<><unknown>:0: error: module map file '/home/buildnode/jenkins/workspace/oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test/swift-corelibs-libdispatch/dispatch/module.modulemap' not found
<unknown>:0: error: missing required module 'SwiftShims'
ninja: build stopped: subcommand failed.

vedant

···

On Nov 8, 2017, at 7:40 PM, no-reply@swift.org wrote:

[FAILURE] oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test [#126]

Build URL: https://ci.swift.org/job/oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test/126/
Project: oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test
Date of build: Wed, 08 Nov 2017 21:11:13 -0600
Build duration: 29 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.1-incremental-RA-linux-ubuntu-16_04-long-test/126/consoleFull#11955582643122a513-f36a-4c87-8ed7-cbc36a1ec144>
Tests:

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

Changes

Commit 0cd96b26abb5adc937bebd714c5239f5a69adf00 by enderby:
Fix a crash in llvm-nm for a bad Mach-O file that has an N_SECT type

add: test/tools/llvm-nm/X86/macho-bad-zero-nsect-for-N_SECT.test
edit: tools/llvm-nm/llvm-nm.cpp
add: test/tools/llvm-nm/X86/Inputs/macho-bad-zero-nsect-for-N_SECT

Commit b2a89068d01c236b39e9af1e9db41a8be93ba1e5 by enderby:
Fix a bug in llvm-objdump when disassembling using the wrong default CPU

edit: tools/llvm-objdump/MachODump.cpp
add: test/tools/llvm-objdump/AArch64/Inputs/fat.macho-armv7s-arm64
add: test/tools/llvm-objdump/AArch64/macho-fat-arm-disasm.test

Commit 8bfb0faf66f5e8f8cea18b2239270fd1a9d899a4 by vsk:
[Coverage] Use the wrapped segment when a line has entry segments

edit: test/tools/llvm-cov/Inputs/prefer_used_to_unused.covmapping
edit: test/tools/llvm-cov/Inputs/templateInstantiations.covmapping
edit: test/tools/llvm-cov/load-multiple-objects.test
edit: test/tools/llvm-cov/Inputs/deferred-regions.covmapping
edit: test/tools/llvm-cov/Inputs/instrprof-comdat.h
edit: test/tools/llvm-cov/prefer_used_to_unused.h
edit: unittests/ProfileData/CoverageMappingTest.cpp
edit: lib/ProfileData/Coverage/CoverageMapping.cpp
edit: test/tools/llvm-cov/hideUnexecutedSubviews.test
edit: test/tools/llvm-cov/Inputs/regionMarkers.json
edit: test/tools/llvm-cov/Inputs/report.covmapping
edit: test/tools/llvm-cov/showHighlightedRanges.cpp
edit: test/tools/llvm-cov/Inputs/lineExecutionCounts.covmapping
edit: test/tools/llvm-cov/deferred-region.cpp
edit: test/tools/llvm-cov/Inputs/regionMarkers.covmapping
edit: test/tools/llvm-cov/report.cpp
edit: test/tools/llvm-cov/showTemplateInstantiations.cpp
edit: test/tools/llvm-cov/Inputs/highlightedRanges.json
edit: tools/llvm-cov/SourceCoverageViewText.cpp
edit: test/tools/llvm-cov/Inputs/highlightedRanges.covmapping
edit: tools/llvm-cov/SourceCoverageViewHTML.cpp

Commit 91ab84fbbd5c88730c01b23a6e273f1803480e88 by vsk:
[llvm-cov] Don't render empty region marker lines

edit: tools/llvm-cov/SourceCoverageView.h
edit: tools/llvm-cov/SourceCoverageView.cpp
edit: test/tools/llvm-cov/deferred-region.cpp
edit: tools/llvm-cov/SourceCoverageViewHTML.cpp

Commit 64af33b0078e85cff3b509500d18ec6a395749a9 by vsk:
[llvm-cov] Fix a -path-equivalence bug in a test

edit: test/tools/llvm-cov/showRegionMarkers.cpp

Commit 7d2a89ddda3a29d51760d243d1bc6a8f2eb5dc28 by vsk:
[llvm-cov] Fix more -path-equivalence test bugs

edit: test/tools/llvm-cov/Inputs/prefer_used_to_unused.covmapping
edit: test/tools/llvm-cov/Inputs/deferred-regions.covmapping
edit: test/tools/llvm-cov/deferred-region.cpp

Commit 376b507883962ea548e0cbf721d058163664b2de by vsk:
[Coverage] Emit a gap area after if conditions

edit: test/CoverageMapping/casts.c
edit: test/CoverageMapping/trycatch.cpp
edit: test/CoverageMapping/test.c
edit: test/CoverageMapping/continue.c
edit: test/CoverageMapping/preprocessor.c
edit: test/CoverageMapping/return.c
edit: test/CoverageMapping/macroscopes.cpp
edit: test/CoverageMapping/switch.cpp
edit: test/CoverageMapping/macro-expressions.cpp
edit: lib/CodeGen/CoverageMappingGen.cpp
edit: test/CoverageMapping/break.c
edit: test/CoverageMapping/if.cpp
edit: test/CoverageMapping/switchmacro.c
edit: test/CoverageMapping/moremacros.c
edit: test/CoverageMapping/macro-expansion.c
edit: test/CoverageMapping/label.cpp
edit: test/CoverageMapping/includehell.cpp
edit: test/CoverageMapping/objc.m

Commit 436936d1f7568a0a5c023fba3a340b1ffe0f1e75 by vsk:
[Coverage] Complete top-level deferred regions before labels

edit: lib/CodeGen/CoverageMappingGen.cpp
edit: test/CoverageMapping/label.cpp
edit: test/CoverageMapping/switchmacro.c

Commit 654db48c18d5cc295dfa4c0329976796276f2f8c by vsk:
[Coverage] Emit deferred regions in headers

edit: test/CoverageMapping/deferred-region.cpp
edit: lib/CodeGen/CoverageMappingGen.cpp
add: test/CoverageMapping/Inputs/deferred-region-helper.h

I’ve created couple of issues/radars about it and emailed people about TestFoundation problems as well as libdispatch, waiting for an answer.

···

On Nov 8, 2017, at 9:52 PM, Vedant Kumar <vsk@apple.com> wrote:

Does anyone know what's up with swift-corelibs-libdispatch/dispatch/module.modulemap?

[2/25] Generating swiftDispatch.o, swift/Dispatch.swiftmodule, swift/Dispatch.swiftdoc
FAILED: src/swiftDispatch.o src/swift/Dispatch.swiftmodule src/swift/Dispatch.swiftdoc
cd /home/buildnode/jenkins/workspace/oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test/buildbot_incremental/libdispatch-linux-x86_64/src && /usr/bin/cmake -E make_directory /home/buildnode/jenkins/workspace/oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test/buildbot_incremental/libdispatch-linux-x86_64/src/swift && /home/buildnode/jenkins/workspace/oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test/buildbot_incremental/swift-linux-x86_64/bin/swiftc -emit-library -module-name Dispatch -module-link-name dispatch -emit-module-path /home/buildnode/jenkins/workspace/oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test/buildbot_incremental/libdispatch-linux-x86_64/src/swift/Dispatch.swiftmodule -I /home/buildnode/jenkins/workspace/oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test/swift-corelibs-libdispatch -O -Xcc -fblocks -Xcc -fmodule-map-file=/home/buildnode/jenkins/workspace/oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test/swift-corelibs-libdispatch/dispatch/module.modulemap -force-single-frontend-invocation -c /home/buildnode/jenkins/workspace/oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test/swift-corelibs-libdispatch/src/swift/Block.swift /home/buildnode/jenkins/workspace/oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test/swift-corelibs-libdispatch/src/swift/Data.swift /home/buildnode/jenkins/workspace/oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test/swift-corelibs-libdispatch/src/swift/Dispatch.swift /home/buildnode/jenkins/workspace/oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test/swift-corelibs-libdispatch/src/swift/IO.swift /home/buildnode/jenkins/workspace/oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test/swift-corelibs-libdispatch/src/swift/Private.swift /home/buildnode/jenkins/workspace/oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test/swift-corelibs-libdispatch/src/swift/Queue.swift /home/buildnode/jenkins/workspace/oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test/swift-corelibs-libdispatch/src/swift/Source.swift /home/buildnode/jenkins/workspace/oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test/swift-corelibs-libdispatch/src/swift/Time.swift /home/buildnode/jenkins/workspace/oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test/swift-corelibs-libdispatch/src/swift/Wrapper.swift -o /home/buildnode/jenkins/workspace/oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test/buildbot_incremental/libdispatch-linux-x86_64/src/swiftDispatch.o
<><unknown>:0: error: module map file '/home/buildnode/jenkins/workspace/oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test/swift-corelibs-libdispatch/dispatch/module.modulemap' not found
<><unknown>:0: error: module map file '/home/buildnode/jenkins/workspace/oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test/swift-corelibs-libdispatch/dispatch/module.modulemap' not found
<unknown>:0: error: missing required module 'SwiftShims'
ninja: build stopped: subcommand failed.

vedant

On Nov 8, 2017, at 7:40 PM, no-reply@swift.org <mailto:no-reply@swift.org> wrote:

[FAILURE] oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test [#126]

Build URL: https://ci.swift.org/job/oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test/126/
Project: oss-swift-4.1-incremental-RA-linux-ubuntu-16_04-long-test
Date of build: Wed, 08 Nov 2017 21:11:13 -0600
Build duration: 29 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.1-incremental-RA-linux-ubuntu-16_04-long-test/126/consoleFull#11955582643122a513-f36a-4c87-8ed7-cbc36a1ec144>
Tests:

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

Changes

Commit 0cd96b26abb5adc937bebd714c5239f5a69adf00 by enderby:
Fix a crash in llvm-nm for a bad Mach-O file that has an N_SECT type

add: test/tools/llvm-nm/X86/macho-bad-zero-nsect-for-N_SECT.test
edit: tools/llvm-nm/llvm-nm.cpp
add: test/tools/llvm-nm/X86/Inputs/macho-bad-zero-nsect-for-N_SECT

Commit b2a89068d01c236b39e9af1e9db41a8be93ba1e5 by enderby:
Fix a bug in llvm-objdump when disassembling using the wrong default CPU

edit: tools/llvm-objdump/MachODump.cpp
add: test/tools/llvm-objdump/AArch64/Inputs/fat.macho-armv7s-arm64
add: test/tools/llvm-objdump/AArch64/macho-fat-arm-disasm.test

Commit 8bfb0faf66f5e8f8cea18b2239270fd1a9d899a4 by vsk:
[Coverage] Use the wrapped segment when a line has entry segments

edit: test/tools/llvm-cov/Inputs/prefer_used_to_unused.covmapping
edit: test/tools/llvm-cov/Inputs/templateInstantiations.covmapping
edit: test/tools/llvm-cov/load-multiple-objects.test
edit: test/tools/llvm-cov/Inputs/deferred-regions.covmapping
edit: test/tools/llvm-cov/Inputs/instrprof-comdat.h
edit: test/tools/llvm-cov/prefer_used_to_unused.h
edit: unittests/ProfileData/CoverageMappingTest.cpp
edit: lib/ProfileData/Coverage/CoverageMapping.cpp
edit: test/tools/llvm-cov/hideUnexecutedSubviews.test
edit: test/tools/llvm-cov/Inputs/regionMarkers.json
edit: test/tools/llvm-cov/Inputs/report.covmapping
edit: test/tools/llvm-cov/showHighlightedRanges.cpp
edit: test/tools/llvm-cov/Inputs/lineExecutionCounts.covmapping
edit: test/tools/llvm-cov/deferred-region.cpp
edit: test/tools/llvm-cov/Inputs/regionMarkers.covmapping
edit: test/tools/llvm-cov/report.cpp
edit: test/tools/llvm-cov/showTemplateInstantiations.cpp
edit: test/tools/llvm-cov/Inputs/highlightedRanges.json
edit: tools/llvm-cov/SourceCoverageViewText.cpp
edit: test/tools/llvm-cov/Inputs/highlightedRanges.covmapping
edit: tools/llvm-cov/SourceCoverageViewHTML.cpp

Commit 91ab84fbbd5c88730c01b23a6e273f1803480e88 by vsk:
[llvm-cov] Don't render empty region marker lines

edit: tools/llvm-cov/SourceCoverageView.h
edit: tools/llvm-cov/SourceCoverageView.cpp
edit: test/tools/llvm-cov/deferred-region.cpp
edit: tools/llvm-cov/SourceCoverageViewHTML.cpp

Commit 64af33b0078e85cff3b509500d18ec6a395749a9 by vsk:
[llvm-cov] Fix a -path-equivalence bug in a test

edit: test/tools/llvm-cov/showRegionMarkers.cpp

Commit 7d2a89ddda3a29d51760d243d1bc6a8f2eb5dc28 by vsk:
[llvm-cov] Fix more -path-equivalence test bugs

edit: test/tools/llvm-cov/Inputs/prefer_used_to_unused.covmapping
edit: test/tools/llvm-cov/Inputs/deferred-regions.covmapping
edit: test/tools/llvm-cov/deferred-region.cpp

Commit 376b507883962ea548e0cbf721d058163664b2de by vsk:
[Coverage] Emit a gap area after if conditions

edit: test/CoverageMapping/casts.c
edit: test/CoverageMapping/trycatch.cpp
edit: test/CoverageMapping/test.c
edit: test/CoverageMapping/continue.c
edit: test/CoverageMapping/preprocessor.c
edit: test/CoverageMapping/return.c
edit: test/CoverageMapping/macroscopes.cpp
edit: test/CoverageMapping/switch.cpp
edit: test/CoverageMapping/macro-expressions.cpp
edit: lib/CodeGen/CoverageMappingGen.cpp
edit: test/CoverageMapping/break.c
edit: test/CoverageMapping/if.cpp
edit: test/CoverageMapping/switchmacro.c
edit: test/CoverageMapping/moremacros.c
edit: test/CoverageMapping/macro-expansion.c
edit: test/CoverageMapping/label.cpp
edit: test/CoverageMapping/includehell.cpp
edit: test/CoverageMapping/objc.m

Commit 436936d1f7568a0a5c023fba3a340b1ffe0f1e75 by vsk:
[Coverage] Complete top-level deferred regions before labels

edit: lib/CodeGen/CoverageMappingGen.cpp
edit: test/CoverageMapping/label.cpp
edit: test/CoverageMapping/switchmacro.c

Commit 654db48c18d5cc295dfa4c0329976796276f2f8c by vsk:
[Coverage] Emit deferred regions in headers

edit: test/CoverageMapping/deferred-region.cpp
edit: lib/CodeGen/CoverageMappingGen.cpp
add: test/CoverageMapping/Inputs/deferred-region-helper.h