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] Distribution Build Failed for security-3.0.0 #4160

Closed
opensearch-ci-bot opened this issue Mar 23, 2024 · 8 comments · Fixed by #4178
Closed

[AUTOCUT] Distribution Build Failed for security-3.0.0 #4160

opensearch-ci-bot opened this issue Mar 23, 2024 · 8 comments · Fixed by #4178
Labels
autocut untriaged Require the attention of the repository maintainers and may need to be prioritized v3.0.0

Comments

@opensearch-ci-bot
Copy link
Collaborator

Received Error: Error building security, retry with: ./build.sh manifests/3.0.0/opensearch-3.0.0.yml --component security.
security failed during the distribution build for version: 3.0.0.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch/9637/display/redirect.
The failed build stage will be marked as unstable(!). Please see ./build.sh step for more details

@opensearch-ci-bot opensearch-ci-bot added autocut untriaged Require the attention of the repository maintainers and may need to be prioritized v3.0.0 labels Mar 23, 2024
@opensearch-ci-bot
Copy link
Collaborator Author

Received Error: Error building security, retry with: ./build.sh manifests/3.0.0/opensearch-3.0.0.yml --component security.
security failed during the distribution build for version: 3.0.0.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch/9640/display/redirect.
The failed build stage will be marked as unstable(!). Please see ./build.sh step for more details

@opensearch-ci-bot
Copy link
Collaborator Author

Received Error: Error building security, retry with: ./build.sh manifests/3.0.0/opensearch-3.0.0.yml --component security.
security failed during the distribution build for version: 3.0.0.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch/9643/display/redirect.
The failed build stage will be marked as unstable(!). Please see ./build.sh step for more details

@stephen-crawford stephen-crawford removed the untriaged Require the attention of the repository maintainers and may need to be prioritized label Mar 25, 2024
@stephen-crawford
Copy link
Contributor

[Triage] This is an autocut for failures happening with the main line. This should be resolved by some build team changes but someone can take a look in the meantime.

@opensearch-ci-bot
Copy link
Collaborator Author

Received Error: Error building security, retry with: ./build.sh manifests/3.0.0/opensearch-3.0.0.yml --component security.
security failed during the distribution build for version: 3.0.0.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch/9650/display/redirect.
The failed build stage will be marked as unstable(!). Please see ./build.sh step for more details

@opensearch-ci-bot
Copy link
Collaborator Author

Received Error: Error building security, retry with: ./build.sh manifests/3.0.0/opensearch-3.0.0.yml --component security.
security failed during the distribution build for version: 3.0.0.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch/9655/display/redirect.
The failed build stage will be marked as unstable(!). Please see ./build.sh step for more details

@peternied
Copy link
Member

From the build failure log:

> Task :validatePluginZipPom FAILED
description is missing in [/tmp/tmpr8jl5pa1/security/build/distributions/opensearch-security-3.0.0.0.pom]
licenses is empty in [/tmp/tmpr8jl5pa1/security/build/distributions/opensearch-security-3.0.0.0.pom]
developers is empty in [/tmp/tmpr8jl5pa1/security/build/distributions/opensearch-security-3.0.0.0.pom]

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':validatePluginZipPom'.
> Check failed for task ':validatePluginZipPom', see console log for details

cwperks pushed a commit that referenced this issue Mar 27, 2024
### Description
The underlying issue associated with Pom validation was fixed in
OpenSearch [1], this causes the 'hack' that was used to unblock pom
generation in security to start causing problems in the distribution
builds.

- [1] opensearch-project/OpenSearch#12807

### Issues Resolved
- Fixes #4160

### Testing
Added new CI test that executes the same job used by the distribution
build and checks the expected artifacts exist

### Check List
- [X] New functionality includes testing
- [ ] ~New functionality has been documented~
- [X] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and
signing off your commits, please check
[here](https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin).

Signed-off-by: Peter Nied <[email protected]>
@opensearch-ci-bot
Copy link
Collaborator Author

Received Error: Error building security, retry with: ./build.sh manifests/3.0.0/opensearch-3.0.0.yml --component security.
security failed during the distribution build for version: 3.0.0.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch/9660/display/redirect.
The failed build stage will be marked as unstable(!). Please see ./build.sh step for more details

@github-actions github-actions bot added the untriaged Require the attention of the repository maintainers and may need to be prioritized label Mar 28, 2024
@opensearch-ci-bot
Copy link
Collaborator Author

Closing the issue as the distribution build for security has passed for version: 3.0.0.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch/9664/display/redirect

dlin2028 pushed a commit to dlin2028/security that referenced this issue May 1, 2024
### Description
The underlying issue associated with Pom validation was fixed in
OpenSearch [1], this causes the 'hack' that was used to unblock pom
generation in security to start causing problems in the distribution
builds.

- [1] opensearch-project/OpenSearch#12807

### Issues Resolved
- Fixes opensearch-project#4160

### Testing
Added new CI test that executes the same job used by the distribution
build and checks the expected artifacts exist

### Check List
- [X] New functionality includes testing
- [ ] ~New functionality has been documented~
- [X] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and
signing off your commits, please check
[here](https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin).

Signed-off-by: Peter Nied <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autocut untriaged Require the attention of the repository maintainers and may need to be prioritized v3.0.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants