[Swift-devel] Re: [Bug 183] Print better error message when app executable is not found

Jonathan Monette jonmon at utexas.edu
Wed Jun 15 11:03:58 CDT 2011


From the error you got and the error I got I am thinking that the path to an executable and the executable name in the tc file are different things.  /bin/echoo says that the executable echoo does not exist in /bin.  Something like /home/jonmon/hereiam/echo, the directory hereiam doesn't exist so it returns a different error.  Maybe the path in the tc.data file was supposed to have hereami not hereiam.  That is what I meant by "not just".  The path to an executable doesn't exist "not just" the executable is missing.
On Jun 15, 2011, at 10:58 AM, sarah kenny wrote:

> 
> 
> On Jun 15, 2011, at 7:24 AM, Jonathan Monette <jonmon at utexas.edu> wrote:
> 
>> I don't think that is the problem.  What if you have the wrong path to the executable not just ?  This is the error I got.
> 
> sorry I don't understand what is meant by "not just ?" I have the wrong path to the executable in my tc.data...
> 
> 
>> 
>> RunID: 20110615-0909-if0uyvm1
>> Progress:
>> Progress: Failed but can retry:1
>> Job failed with an exit code of 254
>> Caused by: org.globus.cog.abstraction.impl.common.execution.JobException: Job failed with an exit code of 254
>> Execution failed:
>> 	Job failed with an exit code of 254
>> 
>> I used the stable release to reproduce this and this is the error that I got using the trunk.
>> 
>> Progress:  time: Wed, 15 Jun 2011 09:18:42 -0500  Initializing:1
>> Progress:  time: Wed, 15 Jun 2011 09:18:43 -0500 Failed but can retry:1
>> null
>> Caused by: org.globus.cog.abstraction.impl.common.execution.JobException: Job failed with an exit code of 254
>> org.globus.cog.abstraction.impl.file.FileNotFoundException: File not found: /home/jonmon/test/work/localhost/tc_test-20110615-0918-46b6tgld/jobs/8/hello-80d4plbk/stderr.txt
>> 	at org.globus.cog.abstraction.impl.file.local.FileResourceImpl.getFile(FileResourceImpl.java:225)
>> 	at org.globus.cog.abstraction.impl.file.local.FileResourceImpl.putFile(FileResourceImpl.java:268)
>> 	at org.globus.cog.abstraction.impl.file.AbstractFileResource.putFile(AbstractFileResource.java:158)
>> 	at org.globus.cog.abstraction.impl.fileTransfer.DelegatedFileTransferHandler.doDestination(DelegatedFileTransferHandler.java:314)
>> 	at org.globus.cog.abstraction.impl.fileTransfer.CachingDelegatedFileTransferHandler.doDestination(CachingDelegatedFileTransferHandler.java:46)
>> 	at org.globus.cog.abstraction.impl.fileTransfer.DelegatedFileTransferHandler.run(DelegatedFileTransferHandler.java:487)
>> 	at java.lang.Thread.run(Thread.java:662)
>> org.globus.cog.abstraction.impl.file.FileNotFoundException: File not found: /home/jonmon/test/work/localhost/tc_test-20110615-0918-46b6tgld/jobs/8/hello-80d4plbk/?:string = out.txt - Closed
>> 	at org.globus.cog.abstraction.impl.file.local.FileResourceImpl.getFile(FileResourceImpl.java:225)
>> 	at org.globus.cog.abstraction.impl.file.local.FileResourceImpl.putFile(FileResourceImpl.java:268)
>> 	at org.globus.cog.abstraction.impl.file.AbstractFileResource.putFile(AbstractFileResource.java:158)
>> 	at org.globus.cog.abstraction.impl.fileTransfer.DelegatedFileTransferHandler.doDestination(DelegatedFileTransferHandler.java:314)
>> 	at org.globus.cog.abstraction.impl.fileTransfer.CachingDelegatedFileTransferHandler.doDestination(CachingDelegatedFileTransferHandler.java:46)
>> 	at org.globus.cog.abstraction.impl.fileTransfer.DelegatedFileTransferHandler.run(DelegatedFileTransferHandler.java:487)
>> 	at java.lang.Thread.run(Thread.java:662)
>> Execution failed:
>> 	Job failed with an exit code of 254
>> 
>> The files used are located in ~jonmon/test on the ci machines.
>> 
>> On Jun 15, 2011, at 1:05 AM, Sarah Kenny wrote:
>> 
>>> 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:
>>> 
>>> The executable /bin/echoo does not exist
>>> 
>>> 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. 
>>> 
>>> ~sk 
>>> 
>>> On Fri, Jun 10, 2011 at 9:31 PM, <bugzilla-daemon at mcs.anl.gov> wrote:
>>> https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=183
>>> 
>>> 
>>> David Kelly <davidkelly999 at gmail.com> changed:
>>> 
>>>           What    |Removed                     |Added
>>> ----------------------------------------------------------------------------
>>>                 CC|                            |davidkelly999 at gmail.com
>>>          Component|SwiftScript language        |error messages
>>>         AssignedTo|benc at hawaga.org.uk          |skenny at uchicago.edu
>>> 
>>> 
>>> 
>>> 
>>> --- Comment #1 from David Kelly <davidkelly999 at gmail.com>  2011-06-10 23:32:22 ---
>>> This one gets my vote.. I just wasted a bunch of time trying to figure out what
>>> this error meant and why I was getting it.
>>> 
>>> --
>>> Configure bugmail: https://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email
>>> ------- You are receiving this mail because: -------
>>> You are the assignee for the bug.
>>> 
>>> _______________________________________________
>>> Swift-devel mailing list
>>> Swift-devel at ci.uchicago.edu
>>> http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel
>> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-devel/attachments/20110615/cd69c102/attachment.html>


More information about the Swift-devel mailing list