-
Notifications
You must be signed in to change notification settings - Fork 254
Add retry logic to e2e-test.sh #223
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
Add retry logic to e2e-test.sh #223
Conversation
/test unit |
e443950
to
3baaa27
Compare
3baaa27
to
0827dc7
Compare
/test e2e |
1 similar comment
/test e2e |
hack/e2e-test.sh
Outdated
INSTALLER_IMAGE="${INSTALLER_IMAGE}" \ | ||
OPENSHIFT_RELEASE_IMAGE="" \ | ||
TRY_INSTALL_ONCE="true" \ | ||
| oc apply -f - ; then |
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.
What can cause this to fail intermittently?
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.
If the API server is down when the oc apply
is run. For instance, if the certs are updated and the api server pods are rolled (they're talking about having really short cert periods for CI to test the rolling).
Or if above where CLUSTER_NAME
is gathered, if that oc
call fails (although now it'll retry and ultimately error out).
This is the actual line that my e2e was failing on and then @csrwng pointed out that we should add retries to the other oc
commands as well.
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.
Sounds good thanks.
/lgtm |
/test e2e |
2 similar comments
/test e2e |
/test e2e |
0827dc7
to
adb91ae
Compare
bc0cabf
to
eab4ff9
Compare
/lgtm |
eab4ff9
to
44856cb
Compare
/lgtm |
/test unit |
c4f636b
to
500de39
Compare
500de39
to
261eada
Compare
/lgtm |
looks like the regular install never finished |
/retest |
1 similar comment
/retest |
/test e2e |
2 similar comments
/test e2e |
/test e2e |
/override e2e |
@dgoodwin: dgoodwin unauthorized: /override is restricted to repo administrators In response to this:
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. |
/override e2e |
/override ci/prow/e2e |
@dgoodwin: Overrode contexts on behalf of dgoodwin: ci/prow/e2e In response to this:
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. |
261eada
to
665dc5c
Compare
/lgtm |
/test unit |
665dc5c
to
3df8059
Compare
/lgtm |
No description provided.