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

ROX-21319: Increase DB connection retries #1349

Merged
merged 2 commits into from
Dec 13, 2023
Merged

ROX-21319: Increase DB connection retries #1349

merged 2 commits into from
Dec 13, 2023

Conversation

dcaravel
Copy link
Contributor

@dcaravel dcaravel commented Dec 12, 2023

Increase the number of DB connection retries before exiting to be a total of 5 minutes (up from 3 minutes).

--

CI jobs will report failure if a scanner pod restarts, and scanner will exit/restart after 3 minutes currently

18 retries * 10 seconds = 180 seconds = 3 minutes

A previous CI failure showed the database available 1 minutes after scanner had exited.

Increasing retries should reduce the frequency of CI failures due to pod restarts.

30 retries * 10 seconds = 300 seconds = 5 minutes

@dcaravel dcaravel requested review from a team, RTann, jvdm and daynewlee December 12, 2023 19:03
@dcaravel dcaravel changed the title Increase DB connection retries ROX-21319: Increase DB connection retries Dec 12, 2023
@ghost
Copy link

ghost commented Dec 12, 2023

Images are ready for the commit at 7cf102b.

To use the images, use the tag 2.31.x-65-g7cf102b2b3.

Copy link

openshift-ci bot commented Dec 12, 2023

@dcaravel: 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/e2e-tests 7cf102b link false /test e2e-tests

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/test-infra repository. I understand the commands that are listed here.

@dcaravel dcaravel merged commit 19ee51d into master Dec 13, 2023
2 checks passed
@dcaravel dcaravel deleted the dc/more-retry branch December 13, 2023 02:39
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.

2 participants