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

Fix status code for gradle check with retry #2902

Merged
merged 1 commit into from
Nov 15, 2022

Conversation

kotwanikunal
Copy link
Member

Signed-off-by: Kunal Kotwani kkotwani@amazon.com

Description

  • Fixes gradle check status code in case a test succeeds with retries
  • Status value from here

Issues Resolved

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: Kunal Kotwani <kkotwani@amazon.com>
@peterzhuamazon
Copy link
Member

Hi @kotwanikunal I think we should consider unstable as failure here.
Thanks.

@codecov-commenter
Copy link

codecov-commenter commented Nov 15, 2022

Codecov Report

Merging #2902 (91db4e0) into main (e8a1353) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2902   +/-   ##
=======================================
  Coverage   93.72%   93.72%           
=======================================
  Files         158      158           
  Lines        4414     4414           
=======================================
  Hits         4137     4137           
  Misses        277      277           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@kotwanikunal
Copy link
Member Author

kotwanikunal commented Nov 15, 2022

Hi @kotwanikunal I think we should consider unstable as failure here. Thanks.

Hey @peterzhuamazon . The unstable result is a result of test failure which succeeds on retry.
More on that on this thread - opensearch-project/OpenSearch#5239 (comment)
Please have a look in the findings 🙂

@andrross
Copy link
Member

@peterzhuamazon Also note that this was a behavior change when gradle check moved to GitHub actions; previously it was considering the run successful if the tests passed after retry.

@dblock dblock merged commit 1fbd80f into opensearch-project:main Nov 15, 2022
mnin added a commit to graylog-labs/opensearch-build that referenced this pull request Nov 16, 2022
# By Peter Zhu (8) and others
# Via GitHub
* upstream/main: (24 commits)
  Updated manifests. (opensearch-project#2894)
  Update ref for 2.4.0 with tags (opensearch-project#2906)
  Fix status syntax for gradle check (opensearch-project#2907)
  Add the consolidated release notes for 2.4.0 release (opensearch-project#2887)
  Revert set output command (opensearch-project#2903)
  Fix status code for gradle check with retry (opensearch-project#2902)
  Upgrade actions and remove deprecated set ouput commands (opensearch-project#2901)
  Update opensearch-2.4.0.yml (opensearch-project#2896)
  Resolve Window IntegTest copy and startup issues (opensearch-project#2892)
  Update IM ref to include fix (opensearch-project#2890)
  Fix manifest workflow failure (opensearch-project#2889)
  Install twine on clients image (opensearch-project#2884)
  Freeze the ref with commit ID (opensearch-project#2882)
  Add latest url update toggle on distribution workflows (opensearch-project#2881)
  Update promoteArtifacts to support win/zip and add timer for gradle check windows (opensearch-project#2869)
  Fix signing the artifacts for .asc signatures (opensearch-project#2850)
  Update the ref with 2.4 branch for OSD. (opensearch-project#2855)
  Update the OSD manifest with commit ID (opensearch-project#2862)
  Add gradle check support for windows agent (opensearch-project#2860)
  Add default copy for opensearch-dashboards yml and docker entrypoint (opensearch-project#2861)
  ...

# Conflicts:
#	scripts/components/OpenSearch-Dashboards/install.sh
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 this pull request may close these issues.

5 participants