<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>body{font-family:Tahoma,Arial;font-size:13px}</style>
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div id="bloop_customfont" style="font-family:Tahoma,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
Occasionally, I do see a job failure that doesn’t seem to be a failure, but more often it is the opposite problem. The job effectively fails, but completes successfully.</div>
<div id="bloop_customfont" style="font-family:Tahoma,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
<br>
</div>
<div id="bloop_customfont" style="font-family:Tahoma,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
Roger</div>
<br>
<div id="bloop_sign_1454531938733762048" class="bloop_sign">
<div style="font-family:helvetica,arial;font-size:13px">-- <br>
<div style="font-family: 'helvetica Neue', helvetica;"><span style="color: rgb(54, 61, 76); font-family: Helvetica; font-size: 15px; line-height: 22px;">Roger Barthelson Ph.D.</span></div>
<p style="font-family: 'helvetica Neue', helvetica; margin: 0in 0in 0.0001pt;"><span style="font-family: verdana, sans-serif;">Scientific Analyst</span></p>
<p style="font-family: 'helvetica Neue', helvetica; margin: 0in 0in 0.0001pt;"><span style="font-family: verdana, sans-serif;"><b>CyVerse</b></span></p>
<p style="font-family: 'helvetica Neue', helvetica; margin: 0in 0in 0.0001pt;"><span style="font-family: verdana, sans-serif;">rogerab@cyverse.org</span></p>
<p style="font-family: 'helvetica Neue', helvetica; margin: 0in 0in 0.0001pt;">TEL:+1-520-977-5249</p>
<span style="font-family: verdana, sans-serif;"><a href="http://www.iplantcollaborative.org/">http://www.cyverse.org</a></span><br style="font-family: Helvetica; font-size: 15px; line-height: 22px; color: rgb(54, 61, 76);">
<br>
</div>
</div>
<br>
<p class="airmail_on">On February 3, 2016 at 1:29:35 PM, Duvick, Jonathan P [GDCBS] (<a href="mailto:jduvick@iastate.edu">jduvick@iastate.edu</a>) wrote:</p>
<blockquote type="cite" class="clean_bq"><span>
<div dir="ltr">
<div></div>
<div>
<title></title>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p><br>
</p>
<div style="">
<div style="" tabindex="0" id="Item.MessageUniqueBody" class="_rp_N4 ms-font-weight-regular ms-font-color-neutralDark rpHighlightAllClass rpHighlightBodyClass">
<div>
<div dir="ltr">
<div id="divtagdefaultwrapper" style="background-color:white;">
<div style="margin-top:0;margin-bottom:0;"><span dir="ltr"><font face="Calibri,Arial,Helvetica,sans-serif" color="black" size="3"><font face="Calibri,Arial,Helvetica,sans-serif" size="3">I recently ran a test job on Stampede that succeeded (that is, it deposited
the expected output in my archive) but the process monitor included a job status 'FAILED' , following after 'STAGING_JOB' (see my webhook's output below at 08:50:23). </font></font></span></div>
<div style="margin-top:0;margin-bottom:0;"><span dir="ltr"><font face="Calibri,Arial,Helvetica,sans-serif" color="black" size="3">'FAILED' as I understand it means the job itself failed, which is in line with the documentation at
<a href="http://agaveapi.co/documentation/tutorials/job-management-tutorial/" target="_blank" id="LPlnk66910">
<font face="Calibri,Arial,Helvetica,sans-serif" size="3">http://agaveapi.co/documentation/tutorials/job-management-tutorial/</font></a><font face="Calibri,Arial,Helvetica,sans-serif" size="3"> (Table 2, list of all possible job statuses);</font><br>
</font></span>
<div style="margin-top:0;margin-bottom:0;"><span dir="ltr"><font face="Calibri,Arial,Helvetica,sans-serif" color="black" size="3"><font face="Calibri,Arial,Helvetica,sans-serif" size="3"><font face="Calibri,Arial,Helvetica,sans-serif" size="3"><span style="font-size:12pt;">hence
I designed my code to act accordingly (stop waiting for output), but in this case that was not the correct action.<br>
</span></font></font></font></span></div>
<div style="margin-top:0;margin-bottom:0;"><span dir="ltr"><font face="Calibri,Arial,Helvetica,sans-serif" color="black" size="3"><font face="Calibri,Arial,Helvetica,sans-serif" size="3"><span style="font-size:12pt;"><br>
</span></font></font></span></div>
<div style="margin-top:0;margin-bottom:0;"><span dir="ltr"><font face="Calibri,Arial,Helvetica,sans-serif" size="3"><span style="font-size:12pt;">While I am grateful that the plucky API tried and tried again and finally succeeded
<img id="373971_custom|AAMkADc4MmQ5NGM0LTM4MjktNDZlOS04YTFiLWQ5YWI2Y2IwZmQwNgBGAAAAAAD%2B8geaHQUZR7sEOWmLLHf%2BBwAHC2esWPVSRZQJXyuti%2BsxAAAC2qr3AACWAWPs0H9wTKa5RsHHqySNAAGXZKboAAABEgAQACaE5bergLBFoy6YCv0Y7jc%3D" style="display: inline; max-width: 100%;" data-custom="AAMkADc4MmQ5NGM0LTM4MjktNDZlOS04YTFiLWQ5YWI2Y2IwZmQwNgBGAAAAAAD%2B8geaHQUZR7sEOWmLLHf%2BBwAHC2esWPVSRZQJXyuti%2BsxAAAC2qr3AACWAWPs0H9wTKa5RsHHqySNAAGXZKboAAABEgAQACaE5bergLBFoy6YCv0Y7jc%3D" alt="😊" src="https://outlook.office.com/owa/service.svc/s/GetFileAttachment?id=AAMkADc4MmQ5NGM0LTM4MjktNDZlOS04YTFiLWQ5YWI2Y2IwZmQwNgBGAAAAAAD%2B8geaHQUZR7sEOWmLLHf%2BBwAHC2esWPVSRZQJXyuti%2BsxAAAC2qr3AACWAWPs0H9wTKa5RsHHqySNAAGXZKboAAABEgAQACaE5bergLBFoy6YCv0Y7jc%3D&X-OWA-CANARY=bSo7J92LvEa9NVkd-ZHfIGCpxzLYLNMY3_uTKoFMVk8ut4KFedEM03dnL7Lp544ixYRqTof06rw.">
, I wonder if the status codes need to be tweaked so they are more in line with their intended meaning?<br>
More useful would be something like STAGING_FAILED or a global 'JOB_FAILED' so scripts could distinguish the two (one non-fatal to output, another fatal)<br>
</span></font></span></div>
<div style="margin-top:0;margin-bottom:0;"><font face="Calibri,Arial,Helvetica,sans-serif" size="3"><span style="font-size:12pt;"><br>
</span></font></div>
<div style="margin-top:0;margin-bottom:0;"><font face="Calibri,Arial,Helvetica,sans-serif" size="3"><span style="font-size:12pt;">Thanks,</span></font></div>
Jon Duvick<br>
</div>
<div style="margin-top:0;margin-bottom:0;"><font face="Calibri,Arial,Helvetica,sans-serif" size="3"><br>
P.S. <font face="Calibri,Arial,Helvetica,sans-serif" size="3"><span style="font-size:12pt;">[I also notice an 'ERROR' status in the output below that is not in the official list of job statuses.]</span></font><br>
<br>
</font></div>
<div style="margin-top:0;margin-bottom:0;"><font face="Calibri,Arial,Helvetica,sans-serif" size="3">SUBMITTED: 2016-02-03 08:50:01 | PENDING: 2016-02-03T09:50:01.205-06:00 | | PROCESSING_INPUTS: 2016-02-03 08:50:04 | Attempt 1 to stage job inputs | PROCESSING_INPUTS:
2016-02-03 08:50:04 | Identifying input files for staging | STAGING_INPUTS: 2016-02-03 08:50:06 | Copy in progress | STAGED: 2016-02-03 08:50:14 | Job inputs staged to execution system | SUBMITTING: 2016-02-03 08:50:19 | Preparing job for submission. | SUBMITTING:
2016-02-03 08:50:20 | Attempt 1 to submit job | STAGING_JOB: 2016-02-03 08:50:20 | Attempt 1 to submit job | SUBMITTING: 2016-02-03 08:50:20 | Attempt 1 to submit job | SUBMITTING: 2016-02-03 08:50:20 | Attempt 1 to submit job | SUBMITTING: 2016-02-03 08:50:21
| Attempt 1 to submit job | SUBMITTING: 2016-02-03 08:50:21 | Attempt 1 to submit job | SUBMITTING: 2016-02-03 08:50:22 | Attempt 1 to submit job | SUBMITTING: 2016-02-03 08:50:22 | Attempt 1 to submit job | SUBMITTING: 2016-02-03 08:50:23 | Attempt 1 to submit
job | STAGING_JOB: 2016-02-03 08:50:23 | Attempt 1 to submit job | FAILED: 2016-02-03 08:50:23 | Attempt 1 to submit job | ERROR: : 2016-02-03 08:50:23 | QUEUED: 2016-02-03 08:50:39 | Attempt 1 to submit job | RUNNING: 2016-02-03 08:50:50 | HPC job successfully
placed into normal queue as local job 6502390 | CLEANING_UP: 2016-02-03 08:50:59 | Job started running | ARCHIVING: 2016-02-03 08:51:03 | Beginning to archive output. | ARCHIVING: 2016-02-03 08:51:03 | Attempt 1 to archive job output | ARCHIVING: 2016-02-03
08:51:05 | Attempt 1 to archive job output | ARCHIVING_FINISHED: 2016-02-03 08:51:21 | Attempt 1 to archive job output | FINISHED: 2016-02-03 08:51:22 | Job complete |</font></div>
</div>
</div>
</div>
</div>
</div>
<div id="Signature">
<div class="BodyFragment">
<div class="PlainText"></div>
</div>
</div>
</div>
_______________________________________________ <br>
api-dev Mailing List: api-dev@maillist.cyverse.org <br>
List Info and Archives: http://maillist.cyverse.org/mailman/listinfo/api-dev <br>
One-click Unsubscribe: http://maillist.cyverse.org/mailman/options/api-dev/rogerab%40cyverse.org?unsub=1&unsubconfirm=1
<br>
</div>
</div>
</span></blockquote>
</body>
</html>