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

fix: Flakey test about lifecycle hooks. Fixes #10897 #10898

Merged
merged 10 commits into from
Apr 13, 2023

Conversation

GeunSam2
Copy link
Contributor

@GeunSam2 GeunSam2 commented Apr 13, 2023

Fixes #10897
also relate with #10807 (comment)

This issue unreproducible at local but pretty consistent on ci enviroment.
I guess if task end to early, running hook can't meet conditions so never trigger. (on slow environment)

This issue can prevent by sleeping 1 second.

You guys think this is bug that need to make new ticket?

Signed-off-by: GeunSam2 <rootiron96@gmail.com>
Signed-off-by: GeunSam2 <rootiron96@gmail.com>
Signed-off-by: GeunSam2 <rootiron96@gmail.com>
Signed-off-by: GeunSam2 <rootiron96@gmail.com>
Signed-off-by: GeunSam2 <rootiron96@gmail.com>
Signed-off-by: GeunSam2 <rootiron96@gmail.com>
Signed-off-by: GeunSam2 <rootiron96@gmail.com>
@GeunSam2
Copy link
Contributor Author

GeunSam2 commented Apr 13, 2023

above test failed but another reason.
(hook test succ)
https://github.com/argoproj/argo-workflows/actions/runs/4688666662

Signed-off-by: GeunSam2 <rootiron96@gmail.com>
@GeunSam2
Copy link
Contributor Author

GeunSam2 commented Apr 13, 2023

above test failed but another reason. +1
(hook test succ)
https://github.com/argoproj/argo-workflows/actions/runs/4688913327

Signed-off-by: GeunSam2 <rootiron96@gmail.com>
@GeunSam2
Copy link
Contributor Author

GeunSam2 commented Apr 13, 2023

above test failed but another reason. +2
(hook test succ)
https://github.com/argoproj/argo-workflows/actions/runs/4689109178

Signed-off-by: GeunSam2 <rootiron96@gmail.com>
@GeunSam2 GeunSam2 marked this pull request as ready for review April 13, 2023 13:15
@GeunSam2
Copy link
Contributor Author

Five ci(for hooks) were not failed continuously.

@terrytangyuan terrytangyuan merged commit 12f4659 into argoproj:master Apr 13, 2023
terrytangyuan pushed a commit that referenced this pull request May 25, 2023
Signed-off-by: GeunSam2 <rootiron96@gmail.com>
JPZ13 pushed a commit to pipekit/argo-workflows that referenced this pull request Jul 4, 2023
@agilgur5 agilgur5 changed the title fix: Flaky test about lifecycle hooks. Fixes #10897 fix: Flakey test about lifecycle hooks. Fixes #10897 Mar 24, 2024
dpadhiar pushed a commit to dpadhiar/argo-workflows that referenced this pull request May 9, 2024
…#10898)

Signed-off-by: GeunSam2 <rootiron96@gmail.com>
Signed-off-by: Dillen Padhiar <dillen_padhiar@intuit.com>
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.

Flakey test about lifecycle hooks (sub issue from #10807)
2 participants