Closed
Description
Is it reproducible with SwiftPM command-line tools: swift build
, swift test
, swift package
etc?
- Confirmed reproduction steps with SwiftPM CLI. The description text must include reproduction steps with either of command-line SwiftPM commands,
swift build
,swift test
,swift package
etc.
Description
The BuildCommandSwiftBuildTests.testParseableInterfaces
test fails on Amazon Linux 2. We should look to re-enable the test.
The following OSS build failed.
https://ci.swift.org/job/oss-swift-package-amazon-linux-2/4172/
Expected behavior
The BuildCommandSwiftBuildTests.testParseableInterfaces
test passed on Amazon Linux 2
Actual behavior
Test Suite 'Selected tests' started at 2025-04-21 10:50:42.694
Test Suite 'BuildCommandSwiftBuildTests' started at 2025-04-21 10:50:42.696
Test Case 'BuildCommandSwiftBuildTests.testParseableInterfaces' started at 2025-04-21 10:50:42.696
/home/build-user/swiftpm/Tests/CommandsTests/BuildCommandTests.swift:868: error: BuildCommandSwiftBuildTests.testParseableInterfaces : failed - error: working-directory unsupported on this platform
error: working-directory unsupported on this platform
error: Build failed
Test Case 'BuildCommandSwiftBuildTests.testParseableInterfaces' failed (1.944 seconds)
Test Suite 'BuildCommandSwiftBuildTests' failed at 2025-04-21 10:50:44.640
Executed 1 test, with 1 failure (0 unexpected) in 1.944 (1.944) seconds
Test Suite 'Selected tests' failed at 2025-04-21 10:50:44.640
Executed 1 test, with 1 failure (0 unexpected) in 1.944 (1.944) seconds
Steps to reproduce
N/A
Swift Package Manager version/commit hash
Observed in OSS CI failure
Swift & OS version (output of swift --version ; uname -a
)
Observed on OSS CI build failure: https://ci.swift.org/job/oss-swift-package-amazon-linux-2/