Skip to content

fix(CI): artifact download/upload retry & failure propagation#11637

Merged
gavin-stackrox merged 7 commits intomasterfrom
gavin/CI/fail-if-download-fails
Jun 24, 2024
Merged

fix(CI): artifact download/upload retry & failure propagation#11637
gavin-stackrox merged 7 commits intomasterfrom
gavin/CI/fail-if-download-fails

Conversation

@gavin-stackrox
Copy link
Contributor

@gavin-stackrox gavin-stackrox commented Jun 20, 2024

Description

When checking #11593 I noticed that the download-artifact-with-retry action was not retrying and was not propagating error to its users. This was due to the steps using name: as the reference for outcome where it should be id:. This also causes the propagation error because the continue-on-error: true in the first step is propagated to the action user (build.yaml in this case).

Checklist

  • Investigated and inspected CI test results

Testing Performed

Here I tell how I validated my change

Reminder for reviewers

In addition to reviewing code here, reviewers must also review testing and request further testing in case the
performed one does not seem sufficient. As a reviewer, you must not approve the change until you understand the
performed testing and you are satisfied with it.

@gavin-stackrox gavin-stackrox requested a review from davdhacs June 20, 2024 20:53
@gavin-stackrox gavin-stackrox changed the title fix(CI): fail if artifact download retry fails fix(CI): artifact download/upload retry & failure propagation Jun 20, 2024
Copy link
Contributor

@davdhacs davdhacs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice find!

@rhacs-bot
Copy link
Contributor

Images are ready for the commit at 9b3cb7e.

To use with deploy scripts, first export MAIN_IMAGE_TAG=4.4.x-1066-g9b3cb7ecad.

@gavin-stackrox gavin-stackrox requested a review from davdhacs June 20, 2024 21:12
@gavin-stackrox gavin-stackrox enabled auto-merge (squash) June 20, 2024 21:21
@codecov
Copy link

codecov bot commented Jun 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 48.02%. Comparing base (3d772d1) to head (9b3cb7e).
Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #11637   +/-   ##
=======================================
  Coverage   48.02%   48.02%           
=======================================
  Files        2358     2358           
  Lines      169364   169364           
=======================================
+ Hits        81329    81338    +9     
+ Misses      81511    81504    -7     
+ Partials     6524     6522    -2     
Flag Coverage Δ
go-unit-tests 48.02% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@openshift-ci
Copy link

openshift-ci bot commented Jun 20, 2024

@gavin-stackrox: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/ocp-4-15-nongroovy-e2e-tests 9b3cb7e link false /test ocp-4-15-nongroovy-e2e-tests
ci/prow/ocp-4-12-nongroovy-e2e-tests 9b3cb7e link false /test ocp-4-12-nongroovy-e2e-tests

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@gavin-stackrox
Copy link
Contributor Author

/retest-required

1 similar comment
@gavin-stackrox
Copy link
Contributor Author

/retest-required

@gavin-stackrox gavin-stackrox added the auto-retest PRs with this label will be automatically retested if prow checks fails label Jun 24, 2024
@rhacs-bot
Copy link
Contributor

/retest

@gavin-stackrox gavin-stackrox merged commit 24fa62a into master Jun 24, 2024
@gavin-stackrox gavin-stackrox deleted the gavin/CI/fail-if-download-fails branch June 24, 2024 19:14
shireenf-ibm pushed a commit to shireenf-ibm/stackrox that referenced this pull request Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ci auto-retest PRs with this label will be automatically retested if prow checks fails

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants