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

Ensure error stack trace is always printed out for each build #4628

Merged

Conversation

peterzhuamazon
Copy link
Member

Description

Ensure error stack trace is always printed out for each build

Issues Resolved

Closes #4625

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.

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
@peterzhuamazon
Copy link
Member Author

peterzhuamazon commented Apr 11, 2024

Output:

2024-04-11 18:53:10 INFO     Appended reportsDashboards component in build manifest.
2024-04-11 18:53:10 INFO     Recording plugins artifact for reportsDashboards: plugins/reportsDashboards-2.14.0.zip (from /tmp/tmp_bc3eo_2/reportsDashboards/builds/plugins/reportsDashboards-2.14.0.zip)
2024-04-11 18:53:10 ERROR    ERROR: Artifact reportsDashboards-2.14.0.zip is invalid. Expected to have version=any of ['2.14.0.0'], but was '2.13.0.0'.
2024-04-11 18:53:10 ERROR    Error building reportsDashboards, retry with: ./build.sh manifests/2.14.0/opensearch-dashboards-2.14.0.yml --component reportsDashboards

You can see the stack trace now correctly printed before running the next component.

@peterzhuamazon peterzhuamazon merged commit 0c64871 into opensearch-project:main Apr 11, 2024
11 checks passed
@peterzhuamazon peterzhuamazon deleted the raise-issues-check branch April 11, 2024 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

[BUG] Plugin Check failed when building all plugins on Jenkins and continue-on-error omit failure logs
2 participants