<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
This is great feedback. Can you tell me the job ID please? I’m trying to look at some other logs as part of writing an improvement request ticket to the Agave team.
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Feb 3, 2016, at 2:29 PM, Duvick, Jonathan P [GDCBS] <<a href="mailto:jduvick@iastate.edu" class="">jduvick@iastate.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div id="divtagdefaultwrapper" style="font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-size: 12pt; background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif;" class="">
<div class="">
<div tabindex="0" id="Item.MessageUniqueBody" class="ms-font-color-neutralDark ms-font-weight-regular rpHighlightBodyClass rpHighlightAllClass _rp_N4">
<div class="">
<div dir="ltr" class=""><span dir="ltr" class="">
<div id="divtagdefaultwrapper" style="background-color: white;" class=""><font face="Calibri,Arial,Helvetica,sans-serif" size="3" class=""><span style="font-size: 12pt; background-color: white;" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><font face="Calibri,Arial,Helvetica,sans-serif" size="3" class=""><br class="Apple-interchange-newline">
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></div>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><font face="Calibri,Arial,Helvetica,sans-serif" size="3" class=""></font>'FAILED' as I understand it means the job itself failed, which is in line with the documentation at<span class="Apple-converted-space"> </span><a href="http://agaveapi.co/documentation/tutorials/job-management-tutorial/" target="_blank" id="LPlnk66910" class=""><font face="Calibri,Arial,Helvetica,sans-serif" size="3" class="">http://agaveapi.co/documentation/tutorials/job-management-tutorial/</font></a><font face="Calibri,Arial,Helvetica,sans-serif" size="3" class="">
(Table 2, list of all possible job statuses);</font><br class="">
<font face="Calibri,Arial,Helvetica,sans-serif" size="3" class="">
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><font face="Calibri,Arial,Helvetica,sans-serif" size="3" class=""><span style="font-size: 12pt;" class="">hence I designed my code to act accordingly (stop waiting for output), but in this case that
was not the correct action.<span class="Apple-converted-space"> </span><br class="">
</span></font></div>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><font face="Calibri,Arial,Helvetica,sans-serif" size="3" class=""><span style="font-size: 12pt;" class=""><br class="">
</span></font></div>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><font face="Calibri,Arial,Helvetica,sans-serif" size="3" class=""><span style="font-size: 12pt;" class="">While I am grateful that the plucky API tried and tried again and finally succeeded<span class="Apple-converted-space"> </span><img id="373971_custom|AAMkADc4MmQ5NGM0LTM4MjktNDZlOS04YTFiLWQ5YWI2Y2IwZmQwNgBGAAAAAAD%2B8geaHQUZR7sEOWmLLHf%2BBwAHC2esWPVSRZQJXyuti%2BsxAAAC2qr3AACWAWPs0H9wTKa5RsHHqySNAAGXZKboAAABEgAQACaE5bergLBFoy6YCv0Y7jc%3D" 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." style="display: inline; max-width: 100%;" class="">
, I wonder if the status codes need to be tweaked so they are more in line with their intended meaning?<span class="Apple-converted-space"> </span><br class="">
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 class="">
</span></font></div>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><font face="Calibri,Arial,Helvetica,sans-serif" size="3" class=""><span style="font-size: 12pt;" class=""><br class="">
</span></font></div>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><font face="Calibri,Arial,Helvetica,sans-serif" size="3" class=""><span style="font-size: 12pt;" class="">Thanks,</span></font></div>
Jon Duvick<br class="">
</font></div>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><font face="Calibri,Arial,Helvetica,sans-serif" size="3" class=""><br class="">
P.S.<span class="Apple-converted-space"> </span><font face="Calibri,Arial,Helvetica,sans-serif" size="3" class=""><span style="font-size: 12pt;" class="">[I also notice an 'ERROR' status in the output below that is not in the official list of job statuses.]</span></font><br class="">
<br class="">
</font></div>
<div style="margin-top: 0px; margin-bottom: 0px;" class=""><font face="Calibri,Arial,Helvetica,sans-serif" size="3" class="">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>
</span></font></div>
</span></div>
</div>
</div>
</div>
<div id="Signature" class="">
<div class="BodyFragment"><font size="2" class="">
<div class="PlainText"></div>
</font></div>
</div>
</div>
<span style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">api-dev
Mailing List:<span class="Apple-converted-space"> </span></span><a href="mailto:api-dev@maillist.cyverse.org" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">api-dev@maillist.cyverse.org</a><br style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">List
Info and Archives:<span class="Apple-converted-space"> </span></span><a href="http://maillist.cyverse.org/mailman/listinfo/api-dev" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">http://maillist.cyverse.org/mailman/listinfo/api-dev</a><br style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">One-click
Unsubscribe:<span class="Apple-converted-space"> </span></span><a href="http://maillist.cyverse.org/mailman/options/api-dev/vaughn%40tacc.utexas.edu?unsub=1&unsubconfirm=1" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">http://maillist.cyverse.org/mailman/options/api-dev/vaughn%40tacc.utexas.edu?unsub=1&unsubconfirm=1</a></div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>