Uploaded image for project: 'Pegasus'
  1. Pegasus
  2. PM-713

PMC query applied to non PMC workflows

    XMLWordPrintable

    Details

      Description

      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)

        Attachments

          Activity

            People

            • Assignee:
              gideon Gideon Juve (Inactive)
              Reporter:
              mayani Rajiv Mayani
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 days
                2d
                Remaining:
                Time Spent - 1 day, 4 hours Remaining Estimate - 4 hours
                4h
                Logged:
                Time Spent - 1 day, 4 hours Remaining Estimate - 4 hours
                1d 4h