Skip to content

[SR-12902] swiftpm tests fail in MiscellaneousTestCase.testPackageManagerDefineAndXArgs on linux #4543

@aschwaighofer

Description

@aschwaighofer
Previous ID SR-12902
Radar None
Original Reporter @aschwaighofer
Type Bug
Status Closed
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug
Assignee @aschwaighofer
Priority Medium

md5: 100d6c7e58dce4c509fd5273480ff9ea

Issue Description:

I have a PR swiftlang/swift#32027 which failed 9 times on linux (at least the last 2 times but I think more often it failed in the following test).

swiftlang/swift#32040 also same failure twice. Other PRs around that time frame see the same issue.

Continuing the trend I saw a test today failing again on PR swiftlang/swift#31986

Test Case 'MiscellaneousTestCase.testPackageManagerDefineAndXArgs' started at 2020-05-29 18:08:25.898
 Building Debug
/home/buildnode/jenkins/workspace/swift-PR-Linux/branch-master/swiftpm/Tests/FunctionalTests/MiscellaneousTests.swift:113: error: MiscellaneousTestCase.testPackageManagerDefineAndXArgs : failed - `swift build -c Debug' failed:

executionFailure(error: terminated(1): /home/buildnode/jenkins/workspace/swift-PR-Linux/branch-master/buildbot_linux/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu/release/swift-build --package-path /home/buildnode/jenkins/workspace/swift-PR-Linux/branch-master/tmp/Miscellaneous_-DSWIFT_PACKAGE.hixwFG/Miscellaneous_-DSWIFT_PACKAGE --configuration debug -Xcc -DEXTRA_C_DEFINE=2 -Xswiftc -DEXTRA_SWIFTC_DEFINE output:
 [1/3] Compiling CLib foo.c
 [2/4] Compiling SwiftExec main.swift
 <unknown>:0: warning: missing submodule 'CLib'
 /home/buildnode/jenkins/workspace/swift-PR-Linux/branch-master/tmp/Miscellaneous_-DSWIFT_PACKAGE.hixwFG/Miscellaneous_-DSWIFT_PACKAGE/Sources/SwiftExec/main.swift:1:8: error: no such module 'CLib'
 import CLib
 ^
 , output: "[1/3] Compiling CLib foo.c\n[2/4] Compiling SwiftExec main.swift\n<unknown>:0: warning: missing submodule \'CLib\'\n/home/buildnode/jenkins/workspace/swift-PR-Linux/branch-master/tmp/Miscellaneous_-DSWIFT_PACKAGE.hixwFG/Miscellaneous_-DSWIFT_PACKAGE/Sources/SwiftExec/main.swift:1:8: error: no such module \'CLib\'\nimport CLib\n ^\n", stderr: "")

Building Release
/home/buildnode/jenkins/workspace/swift-PR-Linux/branch-master/swiftpm/Tests/FunctionalTests/MiscellaneousTests.swift:113: error: MiscellaneousTestCase.testPackageManagerDefineAndXArgs : failed - `swift build -c Release' failed:

executionFailure(error: terminated(1): /home/buildnode/jenkins/workspace/swift-PR-Linux/branch-master/buildbot_linux/swiftpm-linux-x86_64/x86_64-unknown-linux-gnu/release/swift-build --package-path /home/buildnode/jenkins/workspace/swift-PR-Linux/branch-master/tmp/Miscellaneous_-DSWIFT_PACKAGE.hixwFG/Miscellaneous_-DSWIFT_PACKAGE --configuration release -Xcc -DEXTRA_C_DEFINE=2 -Xswiftc -DEXTRA_SWIFTC_DEFINE output:
 [1/2] Compiling CLib foo.c
 [2/3] Compiling SwiftExec main.swift
 <unknown>:0: warning: missing submodule 'CLib'
 /home/buildnode/jenkins/workspace/swift-PR-Linux/branch-master/tmp/Miscellaneous_-DSWIFT_PACKAGE.hixwFG/Miscellaneous_-DSWIFT_PACKAGE/Sources/SwiftExec/main.swift:1:8: error: no such module 'CLib'
 import CLib
 ^
 , output: "[1/2] Compiling CLib foo.c\n[2/3] Compiling SwiftExec main.swift\n<unknown>:0: warning: missing submodule \'CLib\'\n/home/buildnode/jenkins/workspace/swift-PR-Linux/branch-master/tmp/Miscellaneous_-DSWIFT_PACKAGE.hixwFG/Miscellaneous_-DSWIFT_PACKAGE/Sources/SwiftExec/main.swift:1:8: error: no such module \'CLib\'\nimport CLib\n ^\n", stderr: "")

Test Case 'MiscellaneousTestCase.testPackageManagerDefineAndXArgs' failed (3.596 seconds)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions