ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 43092] New: - sshexec task fails intermittently for no apparent reason
Date Sat, 11 Aug 2007 16:14:50 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43092>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43092

           Summary: sshexec task fails intermittently for no apparent reason
           Product: Ant
           Version: 1.6.5
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Optional Tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: andrewgoktepe@gmail.com


When using the sshexec task to run remote commands, I sometimes get the
following error message:

Remote command failed with exit status -1

Running the command manually through an ssh connection yields no error and an
exit status of 0. Several other people have run into the same issue in this thread:
http://www.mail-archive.com/user@ant.apache.org/msg28578.html

There is a proposed patch included in the email thread that fixed the problem
for some people. Hopefully we can get it into a future Ant release. For now I
have to set failonerror=false in all of our sshexec calls. When there is a real
error our scripts won't be able to detect it and handle it gracefully.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message