-
Type: Bug
-
Resolution: Fixed
-
Priority: Major
-
Affects Version/s: master, 4.2
-
Component/s: statistics visualization and debugging tools
Given a hierarchical workflow with a mix of PMC and non PMC workflows. PMC specific queries can get executed on non PMC workflows.
Job with Tasks A, B, C where Task C passes only on the third retry.
Non PMC -
Job Instance | Task | Exit Code
1 | A | 0
1 | B | 0
1 | C | 1
2 | A | 0
2 | B | 0
2 | C | 3
3 | A | 0
3 | B | 0
3 | C | 0
Task Success, Task Failure = 3, 0
But if a PMC query is applied here Task Success = 7
Also, if task succeeds but the task post script fails the task success will be counted when a PMC query is applied in a non PMC job.
Partial Fix - Instead of count(invocation.exitcode) use count(distinct invocation.abs_task_id)