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] 2.x SQL integTest on Windows trying to find zip from releases #928

Closed
peterzhuamazon opened this issue Oct 18, 2022 · 5 comments
Closed
Labels
bug Something isn't working release v2.4.0 'Issues and PRs related to version v2.4.0'

Comments

@peterzhuamazon
Copy link
Member

Getting the 2.4.0 windows zip from here:
https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/2.4.0/6230/windows/x64/zip/dist/opensearch/opensearch-2.4.0-windows-x64.zip

Run SQL integTest

* What went wrong:
Execution failed for task ':integ-test:integTest'.
> Could not resolve all files for configuration ':integ-test:opensearch_distro_extracted_testclusters-integ-test-integTest-0-2.4.0-'.
   > Could not resolve opensearch-distribution:opensearch:2.4.0.
     Required by:
         project :integ-test
      > Could not resolve opensearch-distribution:opensearch:2.4.0.
         > Could not get resource 'https://artifacts.opensearch.org/releases/core/opensearch/2.4.0/opensearch-min-2.4.0-windows-x64.zip'.
            > Could not HEAD 'https://artifacts.opensearch.org/releases/core/opensearch/2.4.0/opensearch-min-2.4.0-windows-x64.zip'. Received status code 403 from server: Forbidden
      > Could not resolve opensearch-distribution:opensearch:2.4.0.
         > Could not get resource 'https://artifacts.opensearch.org/release-candidates/core/opensearch/2.4.0/opensearch-min-2.4.0-windows-x64.zip'.
            > Could not HEAD 'https://artifacts.opensearch.org/release-candidates/core/opensearch/2.4.0/opensearch-min-2.4.0-windows-x64.zip'. Received status code 403 from server: Forbidden

We should get the artifacts from

https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/<VERSION>/latest/linux/x64/tar/builds/opensearch/dist/opensearch-min-<VERSION>-windows-x64.zip

Thanks.

@MaxKsyunz
Copy link
Collaborator

@peterzhuamazon should this issue be moved to OpenSearch repo?

These artifacts are provided by DistributionDownloadPlugin from OpenSearch. This is where it references artifacts.opensearch.org

@dblock
Copy link
Member

dblock commented Oct 19, 2022

@prudhvigodithi does this need to be fixed in OpenSearch or the plugin needs to specify a custom URL?

Since this will be a first Windows release there's no previous Windows build/release. I think we should publish a 2.3.0 build to be used for bcw, but let's take this discussion in opensearch-project/opensearch-plugins#95 (comment).

@derek-ho
Copy link
Collaborator

@peterzhuamazon where are you getting this from? I have disabled integration test for windows and macos for now... The changes were just merged in yesterday. Can you re-run from your side? I am pretty sure you shouldn't be seeing this...

@peterzhuamazon
Copy link
Member Author

@derek-ho this is an 8-day issue opened when it first started.
Could you confirm it is fixed now then you can close the issue.

Thanks.

@derek-ho
Copy link
Collaborator

Closing as CI is passing now on windows after disabling those sections

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working release v2.4.0 'Issues and PRs related to version v2.4.0'
Projects
None yet
Development

No branches or pull requests

4 participants