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

p-status shows failure when state is unknown

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: master, 4.9.3
    • Fix Version/s: master, 5.0.0
    • Component/s: None
    • Labels:
      None

      Description

      A user is reporting that p-status responds with "Failure" before the state has settled down:

      See https://github.com/pegasus-isi/freesurfer-osg-workflow/issues/3

      If I submit a workflow (with pegasus-plan --submit), and immediately runs pegasus-status, it reports Failurer.

      STAT IN_STATE JOB
      Idle 00:16 freesurfer-0 ( /home/hayashis/git/app-freesurfer-osg/work )
      Summary: 1 Condor job total (I:1)

      STATE
      Failure
      Summary: 1 DAG total (Failure:1)
      If I sleep for about 20 seconds, then run pegasus-status, it will report Running status.

      STAT IN_STATE JOB
      Run 00:20 freesurfer-0 ( /home/hayashis/git/app-freesurfer-osg/work )
      Idle 00:19 ┗━create_dir_freesurfer_0_local
      Summary: 2 Condor jobs total (I:1 R:1)

      STATE
      Running
      Summary: 1 DAG total (Running:1)

      I've added sleep 20 on my startup script for now, but it would be nice if pegasus-status will report anything other than "Failure" as soon as I submit the job.

        Attachments

          Activity

            People

            • Assignee:
              rynge Mats Rynge
              Reporter:
              rynge Mats Rynge
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: