Skip to content
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-12902] swiftpm tests fail in MiscellaneousTestCase.testPackageManagerDefineAndXArgs on linux #4543

Closed
aschwaighofer opened this issue May 29, 2020 · 3 comments
Assignees
Labels

Comments

@aschwaighofer
Copy link
Member

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 apple/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).

apple/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 apple/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)
@aschwaighofer
Copy link
Member Author

I have put up a PR to disable that test here: #2769

@swift-ci
Copy link
Contributor

swift-ci commented Jun 8, 2020

Comment by Matthew Benedict (JIRA)

aschwaighofer@apple.com (JIRA User) With your PR merged, should this be resolved?

@aschwaighofer
Copy link
Member Author

Yes. We can close this.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants