-
Notifications
You must be signed in to change notification settings - Fork 101
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
Update the timeout of the clean-up cluster step to 1h #7938
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7938 +/- ##
=======================================
Coverage 61.07% 61.07%
=======================================
Files 531 531
Lines 28061 28061
=======================================
Hits 17138 17138
Misses 9427 9427
Partials 1496 1496 ☔ View full report in Codecov by Sentry. |
@@ -512,7 +514,7 @@ jobs: | |||
- name: Clean up cluster |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to have two cleanup cluster steps? These both seem to be part of the test job
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One cleans up before the tests and the other one after the tests. This is to be extra defensive. We want to have a clean start before running the tests and want to make sure we delete everything after we run the tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
makes sense. PR lgtm then
235b973
to
7d22b2d
Compare
Radius functional test overview
Click here to see the list of tools in the current test run
Test Status⌛ Building Radius and pushing container images for functional tests... |
@ytimocin I am curious if this will alleviate the issue. If we are terminating the script in an hour and there are still resources/finalizers than need clean up, will they be cleaned up while the finalizers are still attached during the second run on the script? Based on the overlapping runs for multiple days, it seems like multiple runs of the script did not help clean it up. |
The problem with 6-hour timeout is that it doesn't do clean-up during that time. It just waits for the finalizers to finalize. But that doesn't happen. If the workflow waited for 6 days, it wouldn't also happen. The problem is something else. I wanted to reduce the time to 1h so that we don't wait 6 hours for a run to be finalized. Thanks for the feedback and the approval @lakshmimsft! |
Signed-off-by: ytimocin <[email protected]>
7d22b2d
to
f1bd766
Compare
Radius functional test overview
Click here to see the list of tools in the current test run
Test Status⌛ Building Radius and pushing container images for functional tests... |
Description
Update the timeout of the clean-up cluster step to 1h.
Type of change