p-status shows failure when state is unknown

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

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

      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.

            Assignee:
            Mats Rynge
            Reporter:
            Mats Rynge
            Archiver:
            Rajiv Mayani

              Created:
              Updated:
              Resolved:
              Archived: