Building all tests results in an error on linux platforms.
If you reduce the amount of tests to ~200 of a random subset, then both building tests completes successfully.
Running either swift build --build-tests or swift test will fail and results in the following error message:
error: link command failed with exit code 254.
I've tested and reproduced this behavior on the following platforms:
Amazon Linux 2 - Swift 5.7.3
Amazon Linux 2 - Swift 5.5.3
Ubuntu Focal - Swift 5.5.3
Expected Behavior
N/A
Current Behavior
N/A
Reproduction Steps
In a docker container using one of the following images
This might be a swift bug, in which case we should open an issue with Swift.
Additionally, if we are blocked on this then we can implement a work around that executes the tests in batches on CI. This will allow us to execute every test without hitting this limitation.
Describe the bug
Building all tests results in an error on linux platforms. If you reduce the amount of tests to ~200 of a random subset, then both building tests completes successfully.
Running either
swift build --build-tests
orswift test
will fail and results in the following error message:error: link command failed with exit code 254
. I've tested and reproduced this behavior on the following platforms:Expected Behavior
N/A
Current Behavior
N/A
Reproduction Steps
In a docker container using one of the following images
Clone the the
aws-sdk-swift
repoRun either of the following commands
swift build --build-tests
swift test
Possible Solution
This might be a swift bug, in which case we should open an issue with Swift.
Additionally, if we are blocked on this then we can implement a work around that executes the tests in batches on CI. This will allow us to execute every test without hitting this limitation.
Additional Information/Context
No response
AWS SWIFT SDK version used
N/A
Compiler and Version used
N/A
Operating System and version
N/A