hudson.util.IOException2

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Problem launching ssh slave
    via by Jason Reslock,
  • Jenkins users - Problem launching ssh slave
    via by Unknown author,
  • error while copying slave.jar
    via by niraj nandane,
  • After briefly working on PDI-8656, I decided to grep for exceptions in the job entries and see if there were any more not logged exceptions. There were, and this case is to track them: * copyfiltes * job * movfiles *pgpdecryptfiles *pgpencryptfiles * Additional lines in ssh2get and ssh2put * trans * zipfile For all these, I changed the logError message to include the exception so that the error log gets the full stack trace. In the case of the ssh2get, the error now looks like this: 2012/10/02 16:41:16 - SSH2 Get - ERROR (version 4.4.0, build 1 from 2012-10-02 16.34.15 by mbatchelor) : Can not delete remote file [/WRITE/1989656.log.250] 2012/10/02 16:41:16 - SSH2 Get - ERROR (version 4.4.0, build 1 from 2012-10-02 16.34.15 by mbatchelor) : com.trilead.ssh2.SFTPException: Permission denied (SSH_FX_PERMISSION_DENIED: The user does not have sufficient permissions to perform the operation.) 2012/10/02 16:41:16 - SSH2 Get - ERROR (version 4.4.0, build 1 from 2012-10-02 16.34.15 by mbatchelor) : at com.trilead.ssh2.SFTPv3Client.expectStatusOKMessage(SFTPv3Client.java:556) 2012/10/02 16:41:16 - SSH2 Get - ERROR (version 4.4.0, build 1 from 2012-10-02 16.34.15 by mbatchelor) : at com.trilead.ssh2.SFTPv3Client.rm(SFTPv3Client.java:974) 2012/10/02 16:41:16 - SSH2 Get - ERROR (version 4.4.0, build 1 from 2012-10-02 16.34.15 by mbatchelor) : at org.pentaho.di.job.entries.ssh2get.JobEntrySSH2GET.deleteOrMoveFiles(JobEntrySSH2GET.java:1089) 2012/10/02 16:41:16 - SSH2 Get - ERROR (version 4.4.0, build 1 from 2012-10-02 16.34.15 by mbatchelor) : at org.pentaho.di.job.entries.ssh2get.JobEntrySSH2GET.copyFile(JobEntrySSH2GET.java:1276) 2012/10/02 16:41:16 - SSH2 Get - ERROR (version 4.4.0, build 1 from 2012-10-02 16.34.15 by mbatchelor) : at org.pentaho.di.job.entries.ssh2get.JobEntrySSH2GET.GetFiles(JobEntrySSH2GET.java:1153) 2012/10/02 16:41:16 - SSH2 Get - ERROR (version 4.4.0, build 1 from 2012-10-02 16.34.15 by mbatchelor) : at org.pentaho.di.job.entries.ssh2get.JobEntrySSH2GET.execute(JobEntrySSH2GET.java:905) 2012/10/02 16:41:16 - SSH2 Get - ERROR (version 4.4.0, build 1 from 2012-10-02 16.34.15 by mbatchelor) : at org.pentaho.di.job.Job.execute(Job.java:589) 2012/10/02 16:41:16 - SSH2 Get - ERROR (version 4.4.0, build 1 from 2012-10-02 16.34.15 by mbatchelor) : at org.pentaho.di.job.Job.execute(Job.java:728) 2012/10/02 16:41:16 - SSH2 Get - ERROR (version 4.4.0, build 1 from 2012-10-02 16.34.15 by mbatchelor) : at org.pentaho.di.job.Job.execute(Job.java:443) 2012/10/02 16:41:16 - SSH2 Get - ERROR (version 4.4.0, build 1 from 2012-10-02 16.34.15 by mbatchelor) : at org.pentaho.di.job.Job.run(Job.java:363) So we get the full error and the full exception now.
    via by Marc Batchelor,
    • hudson.util.IOException2: Could not copy slave.jar into '' on slave at hudson.plugins.sshslaves.SSHLauncher.copySlaveJar(SSHLauncher.java:790) at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:487) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:230) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:679) Caused by: hudson.util.IOException2: Failed to mkdir at hudson.plugins.sshslaves.SFTPClient.mkdirs(SFTPClient.java:85) at hudson.plugins.sshslaves.SSHLauncher.copySlaveJar(SSHLauncher.java:762) ... 7 more Caused by: com.trilead.ssh2.SFTPException: No such file (SSH_FX_NO_SUCH_FILE: A reference was made to a file which does not exist.) at com.trilead.ssh2.SFTPv3Client.expectStatusOKMessage(SFTPv3Client.java:555) at com.trilead.ssh2.SFTPv3Client.mkdir(SFTPv3Client.java:955) at hudson.plugins.sshslaves.SFTPClient.mkdirs(SFTPClient.java:83) ... 8 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,