Closed morarucostel closed 1 year ago
Might need to get @amhudson or @marcusdroy involved to deep dive.
Can you check if the result parameter is right on the Tekton task? If so then it might just be a mix up in the code for saving it or retrieving it at runtime.
I've been able to replicate but have not found the cause yet. Continuing to investigate...
Describe the bug
Running in parallel multiple
File JSONPath to Parameter
tasks, which reads from the same file but different properties e.g. property a and property b, sometimes (not always) the following task will get only the value of a or the value of b when referencing both the $(tasks.task1.results.evaluation) and $(tasks.task2.results.evaluation).As an example, in the workflow depicted above, in the
Destroying the planet
task, the instructions are configured like (showing the two evaluations from the previous ran in parallel 2 tasks):When executing the workflow (its not happening always but rather with a 80% incident rate), you will notice that actually the
Destroying the planet
task will show in its rendered instructions the same picked-up value, either from taskFind Resistance leader
or from taskFind Resistance troops
even though the results evaluation of those two are always different, since they are taking different values from a JSON.As an example, running the above flow, sometimes the
Destroying the plane
task shows this:and some other times it shows this:
What project does this issue relate to?
Boomerang Flow
To Reproduce
Already described above.
Environment
Flow: 3.8.0
Additional Contenxt
No response