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

[BUG] IntegTests fail for plugins when running them on non linux machine #40

Closed
AmiStrn opened this issue Jun 3, 2021 · 2 comments
Closed

Comments

@AmiStrn
Copy link
Contributor

AmiStrn commented Jun 3, 2021

As mentioned in the BUILDING.md

Please note that the limitation for integration tests is that it is only supported for builds on linux platform.

Reproduce by trying to run ./gradlew :integtest. This will result in:

> Task :integTest FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':integTest'.
> Could not resolve all files for configuration ':opensearch_distro_extracted_testclusters--integTest-0-1.0.0-beta1-'.
   > Could not resolve opensearch-distribution:opensearch:1.0.0-beta1.
     Required by:
         project :
      > Could not resolve opensearch-distribution:opensearch:1.0.0-beta1.
         > Could not get resource 'https://artifacts.opensearch.org/releases/core/opensearch/1.0.0-beta1/opensearch-1.0.0-beta1-darwin-x64.tar.gz'.
            > Could not HEAD 'https://artifacts.opensearch.org/releases/core/opensearch/1.0.0-beta1/opensearch-1.0.0-beta1-darwin-x64.tar.gz'. Received status code 403 from server: Forbidden

Tested the Asynchronous search integtests on:

  • macOS BigSur
  • version 11.2.1

Although it is mentioned that this is expected behavior I do think this is a bug, and should not be a caveat.

@saratvemulapalli
Copy link
Member

Thanks @AmiStrn for this. Unfortunately workaround is the only way until opensearch-build supports other platforms.
Ref: opensearch-project/opensearch-build#38

@saratvemulapalli
Copy link
Member

Closing this in favor of the master issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants