-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
retryStrategy with DAGs fails, even if the step passes after retries #885
Labels
Comments
I think it's a problem with DAGs in general and how they are processing child nodes. onExit retries work fine with container steps. |
Thanks for reporting. Will look into this. |
Thanks for the test case @ankushagarwal. Reproduced this and @bbc88ks is correct in this a problem with retries in DAGs in general. Does not necessary have to do with onExit. |
jessesuen
changed the title
Using retryStrategy in onExit fails the workflow even though the step passes after retries
retryStrategy with DAGs fails, even if the step passes after retries
Aug 1, 2018
Reopening since fix in f223e5a caused a regression. |
icecoffee531
pushed a commit
to icecoffee531/argo-workflows
that referenced
this issue
Jan 5, 2022
* fix(ci): fix release github action * rename * delete Dockerfile of building in docker
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is this a BUG REPORT or FEATURE REQUEST?:
BUG REPORT
What happened:
When I use retryStrategy in the
onExit
step, the workflow is marked as Failed despite the steps succeeding on retries.What you expected to happen:
The workflow should be marked as Passed when a step passes after retries (when using retryStrategy)
How to reproduce it (as minimally and precisely as possible):
In the exit handler, I have defined two steps step1 and step2 (step2 depends upon step1). Each step fails with a 33% chance. I have used
retryStrategy: limit: 10
, so I would expect the workflow to be marked as passed when the step succeeds in one of the retries, but it doesn't.Anything else we need to know?:
Environment:
Other debugging information (if applicable):
The text was updated successfully, but these errors were encountered: