New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SR-712] [Swiftpm] Unstable test: MiscellaneousTestCase.testManifestExcludes2 #5319
Labels
Comments
As part of the testing implementation I made it so tests that fail dump the output, so now we can see what is happening: Compiling Swift Module 'BarLib' (1 sources)
swift-build-tool: /home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/llbuild/lib/Core/BuildEngine.cpp:1182: void (anonymous namespace)::BuildEngineImpl::taskDiscoveredDependency(llbuild::core::Task *, const KeyType &): Assertion `taskinfo_it != taskInfos.end() && "cannot request inputs for an unknown task"' failed.
0 swift-build-tool 0x00000000004fcaae llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 46
1 swift-build-tool 0x00000000004fda19
2 swift-build-tool 0x00000000004fdd23
3 libpthread.so.0 0x00007f7257ac6340
4 libc.so.6 0x00007f7256d03cc9 gsignal + 57
5 libc.so.6 0x00007f7256d070d8 abort + 328
6 libc.so.6 0x00007f7256cfcb86
7 libc.so.6 0x00007f7256cfcc32
8 swift-build-tool 0x00000000004c9ed8
9 swift-build-tool 0x00000000004c9e33 llbuild::core::BuildEngine::taskDiscoveredDependency(llbuild::core::Task*, std::string const&) + 51
10 swift-build-tool 0x00000000004b44b7
11 swift-build-tool 0x000000000049f4f2
12 swift-build-tool 0x00000000004e746a llbuild::core::MakefileDepsParser::parse() + 634
13 swift-build-tool 0x000000000049f198
14 swift-build-tool 0x000000000049e17a
15 swift-build-tool 0x00000000004c6e06
16 swift-build-tool 0x00000000004c6be2
17 swift-build-tool 0x0000000000498ce8 std::function<void (llbuild::buildsystem::QueueJobContext*)>::operator()(llbuild::buildsystem::QueueJobContext*) const + 88
18 swift-build-tool 0x0000000000498c7f llbuild::buildsystem::QueueJob::execute(llbuild::buildsystem::QueueJobContext*) + 47
19 swift-build-tool 0x0000000000491f0b
20 swift-build-tool 0x00000000004946a9
21 swift-build-tool 0x00000000004945ee
22 swift-build-tool 0x0000000000494585
23 swift-build-tool 0x000000000049455c
24 libstdc++.so.6 0x00007f725765fa40
25 libpthread.so.0 0x00007f7257abe182
26 libc.so.6 0x00007f7256dc747d clone + 109
swift-build: error: Child process exited with signal |
Here is the YAML I am generating: client:
name: swift-build
tools: {}
targets:
default: [<BarLib.module>, <FooBarLib.module>]
test: []
commands:
<BarLib.module>:
tool: swift-compiler
executable: swiftc
module-name: BarLib
module-output-path: /Users/mxcl/src/swiftpm/Fixtures/Miscellaneous/ExcludeDiagnostic2/.build/debug/BarLib.swiftmodule
inputs: []
outputs: [<BarLib.module>, /Users/mxcl/src/swiftpm/Fixtures/Miscellaneous/ExcludeDiagnostic2/.build/debug/BarLib.build/Bar.swift.o]
import-paths: /Users/mxcl/src/swiftpm/Fixtures/Miscellaneous/ExcludeDiagnostic2/.build/debug
temps-path: /Users/mxcl/src/swiftpm/Fixtures/Miscellaneous/ExcludeDiagnostic2/.build/debug/BarLib.build
objects: [/Users/mxcl/src/swiftpm/Fixtures/Miscellaneous/ExcludeDiagnostic2/.build/debug/BarLib.build/Bar.swift.o]
other-args: ["-j8", "-Onone", "-g", "-D", SWIFT_PACKAGE, "-enable-testing", "-F", /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks, "-target", "x86_64-apple-macosx10.10", "-sdk", /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk]
sources: [/Users/mxcl/src/swiftpm/Fixtures/Miscellaneous/ExcludeDiagnostic2/BarLib/Bar.swift]
is-library: true
<FooBarLib.module>:
tool: swift-compiler
executable: swiftc
module-name: FooBarLib
module-output-path: /Users/mxcl/src/swiftpm/Fixtures/Miscellaneous/ExcludeDiagnostic2/.build/debug/FooBarLib.swiftmodule
inputs: []
outputs: [<FooBarLib.module>, /Users/mxcl/src/swiftpm/Fixtures/Miscellaneous/ExcludeDiagnostic2/.build/debug/FooBarLib.build/FooBar.swift.o]
import-paths: /Users/mxcl/src/swiftpm/Fixtures/Miscellaneous/ExcludeDiagnostic2/.build/debug
temps-path: /Users/mxcl/src/swiftpm/Fixtures/Miscellaneous/ExcludeDiagnostic2/.build/debug/FooBarLib.build
objects: [/Users/mxcl/src/swiftpm/Fixtures/Miscellaneous/ExcludeDiagnostic2/.build/debug/FooBarLib.build/FooBar.swift.o]
other-args: ["-j8", "-Onone", "-g", "-D", SWIFT_PACKAGE, "-enable-testing", "-F", /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks, "-target", "x86_64-apple-macosx10.10", "-sdk", /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk]
sources: [/Users/mxcl/src/swiftpm/Fixtures/Miscellaneous/ExcludeDiagnostic2/FooBarLib/FooBar.swift]
is-library: true |
Fixed here:To git@github.com:apple/swift-llbuild.git
|
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Additional Detail from JIRA
Watchers: @shahmishal
md5: e8099bd9f561d8f5edb10351ffed5ad2
Issue Description:
Swiftpm project has a unstable test which is causing CI to report failure.
https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-15_10/2358/console
Test Case 'MiscellaneousTestCase.testManifestExcludes2' started.
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-15_10/swiftpm/Sources/../Tests/Functional/TestMiscellaneous.swift:66: error: MiscellaneousTestCase.testManifestExcludes2 : failed - `swift build' failed:
exit(1): ["/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-15_10/Ninja-ReleaseAssert/swiftpm-linux-x86_64/.bootstrap/bin/swift-build", "--chdir", "/tmp/Miscellaneous_ExcludeDiagnostic2.H8yj4x/ExcludeDiagnostic2"]
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-15_10/swiftpm/Sources/../Tests/Functional/TestMiscellaneous.swift:67: error: MiscellaneousTestCase.testManifestExcludes2 : failed - Expected file doesn’t exist: /tmp/Miscellaneous_ExcludeDiagnostic2.H8yj4x/ExcludeDiagnostic2/.build/debug/BarLib.a
Test Case 'MiscellaneousTestCase.testManifestExcludes2' failed (0.354 seconds).
The text was updated successfully, but these errors were encountered: