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.