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

Seeing an issue with org.opensearch.gradle:build-tools:1.2.1 #1304

Closed
peternied opened this issue Dec 11, 2021 · 5 comments · Fixed by #1308
Closed

Seeing an issue with org.opensearch.gradle:build-tools:1.2.1 #1304

peternied opened this issue Dec 11, 2021 · 5 comments · Fixed by #1308

Comments

@peternied
Copy link
Member

peternied commented Dec 11, 2021

Integration testing blocked by a missing org.opensearch.gradle:build-tools:1.2.1

Reproduce with ./test.sh integ-test manifests/1.3.0/opensearch-1.3.0-test.yml --paths opensearch=https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/1.2.1/53/linux/x64

2021-12-11 06:00:16 INFO     Executing "/local/home/petern/git/opensearch-build/scripts/default/integtest.sh -b localhost -p 9200 -s true -v 1.2.1" in /tmp/tmp3_giwqz2/asynchronous-search
2021-12-11 06:00:20 INFO     Recording component test results for asynchronous-search at /local/home/petern/git/opensearch-build/test-results/2338a0accf044528ac98982a5e59b234/integ-test/asynchronous-search/with-security/test-results
2021-12-11 06:00:20 INFO     Integration test run failed for component asynchronous-search
2021-12-11 06:00:20 INFO     
FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'asynchronous-search'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not find org.opensearch.gradle:build-tools:1.2.1.
     Searched in the following locations:
       - file:/home/petern/.m2/repository/org/opensearch/gradle/build-tools/1.2.1/build-tools-1.2.1.pom
       - https://repo.maven.apache.org/maven2/org/opensearch/gradle/build-tools/1.2.1/build-tools-1.2.1.pom
       - https://plugins.gradle.org/m2/org/opensearch/gradle/build-tools/1.2.1/build-tools-1.2.1.pom
       - https://jcenter.bintray.com/org/opensearch/gradle/build-tools/1.2.1/build-tools-1.2.1.pom
       - https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/gradle/build-tools/1.2.1/build-tools-1.2.1.pom
     Required by:
         project :

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
@peterzhuamazon
Copy link
Member

./build in local 1st before run test so .m2 exists

@eirsep
Copy link
Member

eirsep commented Dec 11, 2021

https://github.com/opensearch-project/asynchronous-search/runs/4492564772?check_suite_focus=true

I ran a CI for asynchronous search repo with Opensearch 1.2.1 snapshot. It's passing.

@dblock
Copy link
Member

dblock commented Dec 11, 2021

./build in local 1st before run test so .m2 exists

Integ tests are supposed to download the maven artifacts from the build and install them into ~/.m2, so something is off.

@dblock
Copy link
Member

dblock commented Dec 11, 2021

I think the dowloaded URL is wrong (missing opensearch), and the ThreadPoolExecutor is swallowing exceptions.

@peternied
Copy link
Member Author

  • Issue 1, the integration test flow does not get the product name so its missing the 'opensearch' part of the path when running the tests
  • Issue 2, the ThreadPoolExecutor is never checking the future returned by submit. These exceptions are available but they are not checked so they are not halting execution on these failures.

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

Successfully merging a pull request may close this issue.

4 participants