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

OCM-12269 | ci: fix with reducing the number of sg in id:73068 #837

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

yuwang-RH
Copy link
Contributor

@yuwang-RH yuwang-RH commented Nov 4, 2024

OCM-12269 | ci: fix with reducing the number of sg in id:73068

@yuwang-RH
Copy link
Contributor Author

/retest

1 similar comment
@yuwang-RH
Copy link
Contributor Author

/retest

@yuwang-RH yuwang-RH force-pushed the fix73068 branch 5 times, most recently from b2d4285 to bb057a9 Compare November 6, 2024 03:12
@yuwang-RH
Copy link
Contributor Author

@xueli181114 @jerichokeyne Could you help review this PR?Thanks.

errs = append(errs, err)
if strings.Contains(err.Error(), "DependencyViolation") {
Logger.Warnf("DependencyViolation, waiting for 15 minutes before retrying. The error is %v", err)
time.Sleep(15 * time.Minute)
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe it's better to use for loop rather than sleeping 15 mins?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The time it takes to destroy vpc is uncertain; sometimes it's longer, sometimes shorter, it almost takes about 20min ,so here we only want to retry once with an interval based on experience.
Considering it is a sporadic issue, although the probability of it occurring is a bit high recently, I will add comment to declare the time.sleep is just a workaround, will be removed in future if the dependency can be deleted before the vpc destroy. What do you think about it?

@yuwang-RH
Copy link
Contributor Author

/retest

Copy link

openshift-ci bot commented Nov 6, 2024

@yuwang-RH: The following test 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/rosa-sts-private-critical-high-presubmit d915bdd link true /test rosa-sts-private-critical-high-presubmit

Full PR test history. Your PR dashboard.

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.

@xueli181114
Copy link
Contributor

/lgtm

@xueli181114
Copy link
Contributor

/approve

Copy link

openshift-ci bot commented Nov 7, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: xueli181114

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved label Nov 7, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit 178dcd7 into terraform-redhat:main Nov 7, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants