<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>Related to this, I noticed when debugging Papia's script that adding the <scratch> tag to the sites pool entry further degrades error reporting as well. The scratch tag tells _swiftwrap to place the jobdir on local disk instead of under the shared workdirectory.  But when errors occur in this mode, you get a cryptic "error code 1" error and no info log or debug info returned.<div><br></div><div>I'll file this as a ticket, and we can later  gather evidence of any poor error reporting behavior.</div><div><br></div><div>- Mike</div><div><br><br><hr id="zwchr"><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;">Yea.  Sorry for all that.  Just barely dawned on me that it could have been a property that changed the error messages.<div><br><div><div>On Jun 15, 2011, at 1:34 PM, Sarah Kenny wrote:</div><br class="Apple-interchange-newline"><blockquote>aaaand there it is:<br><br>[skenny@martini missing_app]$ swift -config swift.properties tc_test.swift<br>Swift svn swift-r3876 cog-r3007<br><br>RunID: 20110615-1133-yxhqi1k6<br>Progress:<br>Job failed with an exit code of 254<br>
Caused by: org.globus.cog.abstraction.impl.common.execution.JobException: Job failed with an exit code of 254<br>Progress:  Stage in:1<br>Job failed with an exit code of 254<br>Caused by: org.globus.cog.abstraction.impl.common.execution.JobException: Job failed with an exit code of 254<br>
Progress:  Stage in:1<br>Job failed with an exit code of 254<br>Caused by: org.globus.cog.abstraction.impl.common.execution.JobException: Job failed with an exit code of 254<br>Execution failed:<br>        Job failed with an exit code of 254<br>
<br><br><div class="gmail_quote">On Wed, Jun 15, 2011 at 11:24 AM, Jonathan Monette <span dir="ltr"><<a href="mailto:jonmon@utexas.edu" target="_blank">jonmon@utexas.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word">In your .swift/swift.properties try adding the line status.mode=provider<div><div></div><div class="h5"><br><div><div>On Jun 15, 2011, at 1:15 PM, Sarah Kenny wrote:</div><br><blockquote>
copying over to my own machine and running with stable release:<br><br>[skenny@martini missing_app]$ swift -tc.file ./tc.data tc_test.swift<br>Swift svn swift-r3876 cog-r3007<br><br>RunID: 20110615-1113-ef32g0te<br>Progress:<br>

The executable /home/jonmon/Library/hello.sh does not exist<br><br>Progress:  Stage in:1<br>The executable /home/jonmon/Library/hello.sh does not exist<br><br>Progress:  Stage in:1<br>The executable /home/jonmon/Library/hello.sh does not exist<br>

<br>Execution failed:<br>        The executable /home/jonmon/Library/hello.sh does not exist<br><br><br><div class="gmail_quote">On Wed, Jun 15, 2011 at 10:04 AM, Jonathan Monette <span dir="ltr"><<a href="mailto:jonmon@utexas.edu" target="_blank">jonmon@utexas.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">In ~jonmon/test there is a script that reproduces this error I believe.  The executable it is trying to use is in ~jonmon.  The tc.data file points to ~jonmon/Library/hello.sh  You should be able to run the script there in the directory.  If not you can copy the files to yours and try it.<div>

<br><div><div><div></div><div><div>On Jun 15, 2011, at 12:01 PM, Sarah Kenny wrote:</div><br></div></div><blockquote><div><div></div><div>yeah, if you're able to reproduce david that might be helpful. i get the same behavior with the stable release and trunk. i also get the correct error if i simply don't have execute permission on the executable. <br>


<br><div class="gmail_quote">On Wed, Jun 15, 2011 at 9:37 AM, David Kelly <span dir="ltr"><<a href="mailto:davidkelly999@gmail.com" target="_blank">davidkelly999@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Sarah,<div><br></div><div>I saw this error when I copied configuration files from one machine to another. The application I was trying to run was in my home directory, but I was logged in under a username so the path did not exist. The error message I got was too vague to understand why my script failed - it was just something like "Job failed with an exit code of 254". It didn't say which job, or what that meant. I thought it was something related to the scheduler I was trying to use. I have only tested this with 0.92.1. I did not try it on trunk, so maybe this has already been fixed. I will try it again today to see if I can reproduce it.<div>



<br></div><div><font color="#888888">David</font><div><div></div><div><br><div><font size="3" face="monospace"><span style="white-space:pre-wrap"><br>
</span></font><div class="gmail_quote">On Wed, Jun 15, 2011 at 1:05 AM, Sarah Kenny <span dir="ltr"><<a href="mailto:skenny@uchicago.edu" target="_blank">skenny@uchicago.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



hey david, i've been trying to replicate this bug, but when i deliberately point to an executable that doesn't exist i get what seems to be an appropriate error:<br><br>The executable /bin/echoo does not exist<br>



<br>
i got this on a couple of sites...can you give a little more info on what was happening with your workflow? could be i'm misunderstanding the bug. <br><br>~sk <br><br><div class="gmail_quote">On Fri, Jun 10, 2011 at 9:31 PM,  <span dir="ltr"><<a href="mailto:bugzilla-daemon@mcs.anl.gov" target="_blank">bugzilla-daemon@mcs.anl.gov</a>></span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><a href="https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=183" target="_blank">https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=183</a><br>





<br>
<br>
David Kelly <<a href="mailto:davidkelly999@gmail.com" target="_blank">davidkelly999@gmail.com</a>> changed:<br>
<br>
           What    |Removed                     |Added<br>
----------------------------------------------------------------------------<br>
                 CC|                            |<a href="mailto:davidkelly999@gmail.com" target="_blank">davidkelly999@gmail.com</a><br>
          Component|SwiftScript language        |error messages<br>
         AssignedTo|<a href="mailto:benc@hawaga.org.uk" target="_blank">benc@hawaga.org.uk</a>          |<a href="mailto:skenny@uchicago.edu" target="_blank">skenny@uchicago.edu</a><br>
<br>
<br>
<br>
<br>
--- Comment #1 from David Kelly <<a href="mailto:davidkelly999@gmail.com" target="_blank">davidkelly999@gmail.com</a>>  2011-06-10 23:32:22 ---<br>
This one gets my vote.. I just wasted a bunch of time trying to figure out what<br>
this error meant and why I was getting it.<br>
<font color="#888888"><br>
--<br>
Configure bugmail: <a href="https://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email" target="_blank">https://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email</a><br>
------- You are receiving this mail because: -------<br>
You are the assignee for the bug.<br>
</font></blockquote></div><br>
</blockquote></div><br></div></div></div></div></div>
</blockquote></div><br></div></div><div>
_______________________________________________<br>Swift-devel mailing list<br><a href="mailto:Swift-devel@ci.uchicago.edu" target="_blank">Swift-devel@ci.uchicago.edu</a><br><a href="http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel" target="_blank">http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel</a><br>

</div></blockquote></div><br></div></div></blockquote></div><br>
</blockquote></div><br></div></div></div></blockquote></div><br>
</blockquote></div><br></div><br>_______________________________________________<br>Swift-devel mailing list<br>Swift-devel@ci.uchicago.edu<br>http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel<br></blockquote><br><span><br><br>-- <br><span name="x"></span>Michael Wilde<br>Computation Institute, University of Chicago<br>Mathematics and Computer Science Division<br>Argonne National Laboratory<br><span name="x"></span><br></span></div></div></body></html>