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
Argo hangs when handling multiple with parameter steps (some empty) #1864
Comments
@dtaniwaki @sarabala1979 what is best for bugs with workflow templates? |
Just to clarify. I ran this with 2.4.0-rc1 with workflow templates and it works. So it worked with templates prior to the 2.4.0 official release. For us we have been still running rc1 (we really like the template concept) because of the previous issues with parameter passing and nesting that was introduced with the 2.4.0 official release. |
Sorry for the late reply. I'll check the issue soon. |
I tried the example above without workflow templates as below and I can reproduce the same issue.
Here's the result.
I tried it without empty output with the following diff on my manifest. @@ -59,8 +59,8 @@
def json = JsonOutput.toJson(items)
new File("/tmp/list-two.json").write(json)
- def empty = []
- json = JsonOutput.toJson(empty)
+ // def empty = []
+ // json = JsonOutput.toJson(empty)
new File("/tmp/list-one.json").write(json)
- name: echo-steps
inputs: And it succeeded.
Although this is not a workflow-template-related issue, I'm happy to fix it as I started the investigation. |
@sarabala1979 is this added to v2.6 as it needs fixing? |
I don't expect to make v2.6 Dropping. |
What happened:
This is running argo version 2.4.3.
I'll provide templates but basically argo get stuck if I submit a nested workflow with multiple parameters. Not sure of all the specifics of what is going wrong but in this case the first step produces multiple json results and uses withParameters across multiple steps.
In this case list-one is empty and list-two has values. It correctly starts echo2 and skips echo but then hangs.
What you expected to happen:
If I run this same setup using argo 2.4.0-rc1 this works as expected which is that the workflow finishes running through all steps in echo2. Running with 2.4.3 the workflow gets stuck in running forever.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
Other debugging information (if applicable):
It will be in this state indefinitely. Running but not doing the next step which would be reverse.
All logs look normal. No errors.
The text was updated successfully, but these errors were encountered: