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

[AUTOCUT] OS Distribution Build Failed for ml-commons-3.0.0 #835

Closed
opensearch-ci-bot opened this issue Mar 28, 2023 · 5 comments
Closed

Comments

@opensearch-ci-bot
Copy link
Collaborator

Received Error: Error building ml-commons, retry with: ./build.sh manifests/3.0.0/opensearch-3.0.0.yml --component ml-commons.
The distribution build for ml-commons has failed.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch/7332/consoleFull

@gaiksaya
Copy link
Member

gaiksaya commented May 18, 2023

Since this issue open new failures are not being reported:

* What went wrong:
A problem was found with the configuration of task ':opensearch-ml-client:publishShadowPublicationToStagingRepository' (type 'PublishToMavenRepository').
  - Gradle detected a problem with the following location: '/tmp/tmp8qaxbzg6/ml-commons/client/build/libs/opensearch-ml-client-3.0.0.0.jar'.
    
    Reason: Task ':opensearch-ml-client:publishShadowPublicationToStagingRepository' uses this output of task ':opensearch-ml-client:jar' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
    
    Possible solutions:
      1. Declare task ':opensearch-ml-client:jar' as an input of ':opensearch-ml-client:publishShadowPublicationToStagingRepository'.
      2. Declare an explicit dependency on ':opensearch-ml-client:jar' from ':opensearch-ml-client:publishShadowPublicationToStagingRepository' using Task#dependsOn.
      3. Declare an explicit dependency on ':opensearch-ml-client:jar' from ':opensearch-ml-client:publishShadowPublicationToStagingRepository' using Task#mustRunAfter.
    
    Please refer to https://docs.gradle.org/8.1.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.

* 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.

* Get more help at https://help.gradle.org

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.

See https://docs.gradle.org/8.1.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1s

See: https://build.ci.opensearch.org/blue/organizations/jenkins/distribution-build-opensearch/detail/distribution-build-opensearch/7856/pipeline/132

cC: @ylwu-amzn @b4sjoo

@dhrubo-os
Copy link
Collaborator

Looks like latest build is successful. Closing this issue.

@gaiksaya
Copy link
Member

gaiksaya commented Jun 8, 2023

That build did not include ml-commons. It was just min and security. Looks like new issue is opened automatically here #965 now.
Can you please take a look?
Thanks!

@dhrubo-os
Copy link
Collaborator

dhrubo-os commented Jun 8, 2023

@gaiksaya Looks like @b4sjoo already commented on that issue. Latest build is passing, and in the buildinfo.yml, I can see:

- name: ml-commons
  repository: https://github.com/opensearch-project/ml-commons.git
  ref: main
  platforms:
  - linux
  - windows
  checks:
  - gradle:properties:version
  - gradle:dependencies:opensearch.version: opensearch-ml-plugin

So I assume, ML-Commons was also included? If not, how do I know which plugins are being included in the build?

@gaiksaya
Copy link
Member

gaiksaya commented Jun 8, 2023

You can download the distribution manifest from below location that gives the information of the components included in the distribution.

https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/3.0.0/7949/linux/arm64/tar/dist/opensearch/manifest.yml

Alternatively, you can check the parameters tab in above build.

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

No branches or pull requests

3 participants