-
Notifications
You must be signed in to change notification settings - Fork 442
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
E2E: Add additional checks to verify if the components are ready #2202
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tenzen-y 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 |
5f9095f
to
e95f4f6
Compare
e95f4f6
to
64851da
Compare
d2e0a1d
to
0f57b3c
Compare
e64253e
to
8691375
Compare
TIMEOUT=120s | ||
kubectl wait --for=condition=ready --timeout=${TIMEOUT} -l "katib.kubeflow.org/component in ($WITH_DATABASE_TYPE,controller,db-manager,ui)" -n kubeflow pod || | ||
|
||
kubectl wait --for=condition=ContainersReady=True --timeout=${TIMEOUT} -l "katib.kubeflow.org/component in ($WITH_DATABASE_TYPE,controller,db-manager,ui)" -n kubeflow pod || |
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.
The --for=condition=ready
option doesn't confirm if all containers are ready:
/home/runner/work/katib/katib/test/e2e/v1beta1/scripts/gh-actions
pod/katib-db-manager-756ff4d844-wrs27 condition met
All Katib components are running.
Katib deployments
NAME READY UP-TO-DATE AVAILABLE AGE
katib-controller 0/1 0 0 2s
katib-db-manager 1/1 1 1 2s
katib-mysql 0/1 0 0 2s
https://github.com/kubeflow/katib/actions/runs/5842762640/job/15844213190?pr=2201#step:4:5605
cef41c0
to
7d28b7f
Compare
/lgtm |
Signed-off-by: Yuki Iwai <[email protected]>
7d28b7f
to
504fa1c
Compare
New changes are detected. LGTM label has been removed. |
…eflow#2202) Signed-off-by: Yuki Iwai <[email protected]>
…if the components are ready (#2212) Signed-off-by: Yuki Iwai <[email protected]>
What this PR does / why we need it:
To fix flaky E2E, I added additional checks to verify if the components are ready.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #
Checklist: