-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Closed
Copy link
Labels
BuildBuild Tasks/Gradle Plugin, groovy scripts, build tools, Javadoc enforcement.Build Tasks/Gradle Plugin, groovy scripts, build tools, Javadoc enforcement.bugSomething isn't workingSomething isn't workinguntriaged
Description
Describe the bug
> Task :distribution:bwc:minor:buildBwcLinuxArm64Tar FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':distribution:bwc:minor:buildBwcLinuxArm64Tar'.
> Building 2.19.0 didn't generate expected file /home/ubuntu/OpenSearch/distribution/bwc/minor/build/bwc/checkout-2.x/distribution/archives/linux-arm64-tar/build/distributions/opensearch-min-2.19.0-SNAPSHOT-linux-arm64-x64.tar.gz
Related component
Build
To Reproduce
Execute ./gradlew :distribution:bwc:minor:buildBwcLinuxArm64Tar on a Graviton AWS EC2 instance with Ubuntu installed.
It expects the file opensearch-min-2.19.0-SNAPSHOT-linux-arm64-x64.tar.gz but the actual file that is created is opensearch-min-2.19.0-SNAPSHOT-linux-arm64.tar.gz (there's an extra "-x64" in the expected file).
I believe the problem is here:
Line 184 in d158ec6
| classifier = "-" + baseName + "-x64"; |
If I remove that trailing "-x64" then it works, though I'm sure that change would break the build for the non-ARM case.
Expected behavior
task succeeds
Additional Details
m8g.4xlarge EC2 instance running Ubuntu 24.04
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BuildBuild Tasks/Gradle Plugin, groovy scripts, build tools, Javadoc enforcement.Build Tasks/Gradle Plugin, groovy scripts, build tools, Javadoc enforcement.bugSomething isn't workingSomething isn't workinguntriaged