Skip to content

[BUG] DistributionDownloader does not support ARM64 bundles. #930

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

Closed
mch2 opened this issue Jul 2, 2021 · 0 comments · Fixed by #929
Closed

[BUG] DistributionDownloader does not support ARM64 bundles. #930

mch2 opened this issue Jul 2, 2021 · 0 comments · Fixed by #929
Labels
Beta bug Something isn't working v1.0.0 Version 1.0.0 v2.0.0 Version 2.0.0

Comments

@mch2
Copy link
Member

mch2 commented Jul 2, 2021

Describe the bug
Currently DistributionDownloader is only fetching -x64 bundles published by CI.

DistributionDownloader needs to be updated to fetch -arm64 bundles if the host architecture is ARM64.

Link

To Reproduce
Steps to reproduce the behavior:

  1. From an ARM64 machine, clone OpenSearch 1.0 and Update DistributionDownload plugin to intentionally point to an incorrect path here . This is so that we can fail and check the bundle classifier requested by default.
  2. run ./gradlew publishToMavenLocal -Dbuild.snapshot=false
  3. Clone any plugin, ex anomaly-detection and run ./gradlew integTest
  4. See that tests fails (because of the wrong path) but that we are fetching the wrong bundle -
  5. https://artifacts.opensearch.org/release-candidates/NOTAREALPATH/opensearch/1.0.0/opensearch-min-1.0.0-linux-x64.tar.gz’

Expected behavior
The plugin should attempt to fetch ‘https://artifacts.opensearch.org/release-candidates/NOTAREALPATH/opensearch/1.0.0/opensearch-min-1.0.0-linux-arm64.tar.gz’

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Beta bug Something isn't working v1.0.0 Version 1.0.0 v2.0.0 Version 2.0.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants