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] Maven failed publishPluginZipPublicationToZipStagingRepository #1599

Closed
peterzhuamazon opened this issue Jul 12, 2024 · 3 comments
Closed
Labels
bug Something isn't working v3.0.0

Comments

@peterzhuamazon
Copy link
Member

https://build.ci.opensearch.org/blue/rest/organizations/jenkins/pipelines/distribution-build-opensearch/runs/10015/nodes/69/steps/484/log/?start=0

+ ./gradlew publishPluginZipPublicationToZipStagingRepository -Dopensearch.version=3.0.0 -Dbuild.snapshot=false -Dbuild.version_qualifier=

> Configure project :alerting
Invalid Java installation found at '/usr/lib/jvm/temurin-8-jdk-amd64' (Java home). It will be re-checked in the next build. This might have performance impact if it keeps failing. Run the 'javaToolchains' task for more details.
Invalid Java installation found at '/usr/lib/jvm/temurin-11-jdk-amd64' (Java home). It will be re-checked in the next build. This might have performance impact if it keeps failing. Run the 'javaToolchains' task for more details.
Invalid Java installation found at '/usr/lib/jvm/adoptopenjdk-14-amd64' (Java home). It will be re-checked in the next build. This might have performance impact if it keeps failing. Run the 'javaToolchains' task for more details.
=======================================
OpenSearch Build Hamster says Hello!
  Gradle Version        : 8.5
  OS Info               : Linux 6.1.49-70.116.amzn2023.x86_64 (amd64)
  JDK Version           : 21 (Eclipse Temurin JDK)
  JAVA_HOME             : /opt/java/openjdk-21
  Random Testing Seed   : 1CC33203771BC497
  In FIPS 140 mode      : false
=======================================

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.5/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD SUCCESSFUL in 708ms
+ mkdir -p builds/maven/org/opensearch
+ cp -r ./build/local-staging-repo/org/opensearch/. builds/maven/org/opensearch
cp: cannot stat './build/local-staging-repo/org/opensearch/.': No such file or directory
2024-07-02 02:16:38 ERROR    ERROR: Command 'bash /tmp/tmp3bqjkb5d/alerting/scripts/build.sh -v 3.0.0 -p linux -a x64 -s false -o builds' returned non-zero exit status 1.
2024-07-02 02:16:38 ERROR    Error building alerting, retry with: ./build.sh manifests/3.0.0/opensearch-3.0.0.yml --component alerting

This is working in 2.x not in main it seems.

Thanks.

@goyamegh
Copy link
Collaborator

@peterzhuamazon can we close this issue, seeing that latest image build was successful: https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/plugin/alerting/3.0.0.0-SNAPSHOT/?

@peterzhuamazon
Copy link
Member Author

Yes @goyamegh please go ahead close it once you confirm the issue is resolved.

Thanks!

@goyamegh
Copy link
Collaborator

Confirming that publish to maven is working as expected: https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/plugin/alerting/3.0.0.0-SNAPSHOT/

@eirsep eirsep closed this as completed Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v3.0.0
Projects
None yet
Development

No branches or pull requests

3 participants