Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
JENKINS-19453 related
[root@domU-12-31-39-04-22-72 37e65987]# cat slave.log
[04/23/14 21:32:26] [SSH] Opening SSH connection to osx1.mansions.cloudbees.com:10021.
[04/23/14 21:32:27] [SSH] Authentication successful.
[04/23/14 21:32:28] [SSH] The remote users environment is:
ANDROID_HOME=/opt/android/android-sdk-darwin
ANDROID_NDK=/opt/android/android-ndk
ANDROID_SDK=/opt/android/android-sdk-darwin
ANT_HOME=/opt/ant/latest
BASH=/bin/bash
BASH_ARGC=()
BASH_ARGV=()
BASH_LINENO=([0]="0")
BASH_SOURCE=([0]="/usr/libexec/ssh_session_wrapper")
BASH_VERSINFO=([0]="3" [1]="2" [2]="48" [3]="1" [4]="release" [5]="x86_64-apple-darwin12")
BASH_VERSION='3.2.48(1)-release'
DIRSTACK=()
EUID=15000
GIT_AUTHOR_EMAIL=nobody@cloudbees.com
GIT_AUTHOR_NAME='CloudBees DEV@Cloud'
GIT_COMMITTER_EMAIL=nobody@cloudbees.com
GIT_COMMITTER_NAME='CloudBees DEV@Cloud'
GRADLE_HOME=/opt/gradle/latest
GROUPS=()
HOME=/Users/jenkins
HOSTNAME=os-x-slave-1103
HOSTTYPE=x86_64
IFS=$' \t\n'
JAVA_HOME=/opt/jdk/latest
LOGNAME=jenkins
M2_HOME=/opt/maven/latest
MACHTYPE=x86_64-apple-darwin12
MAIL=/var/mail/jenkins
OPTERR=1
OPTIND=1
OSTYPE=darwin12
PATH=/opt/jdk/latest/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/maven/latest/bin:/opt/ant/latest/bin:/opt/android/android-sdk-darwin/tools:/opt/gradle/latest/bin:/Users/jenkins/bin:/opt/jdk/jdk.latest/bin:/usr/local/bin
PIPESTATUS=([0]="0")
PPID=281
PS4='+ '
PWD=/Users/jenkins
SHELL=/bin/bash
SHELLOPTS=braceexpand:hashall:interactive-comments
SHLVL=2
SSH_CLIENT='54.81.219.123 39024 22'
SSH_CONNECTION='54.81.219.123 39024 192.168.0.185 22'
SSH_ORIGINAL_COMMAND=set
TERM=dumb
TMPDIR=/var/folders/9h/gsp48zx14ys_sn0b6gc4tqt0000fmr/T/
UID=15000
USER=jenkins
_=']'
[04/23/14 21:32:28] [SSH] Checking java version of java
[04/23/14 21:32:30] [SSH] java -version returned 1.6.0_65.
[04/23/14 21:32:30] [SSH] Starting sftp client.
[04/23/14 21:32:30] [SSH] Copying latest slave.jar...
[04/23/14 21:32:33] [SSH] Copied 346,845 bytes.
Expanded the channel window size to 4MB
[04/23/14 21:32:33] [SSH] Starting slave process: cd "/scratch/jenkins" && java -Djava.awt.headless=true -jar slave.jar
<===[JENKINS REMOTING CAPACITY]===>channel started
Apr 23, 2014 6:32:35 PM hudson.remoting.JarCacheSupport$1 run
WARNING: Failed to resolve a jar 96d26694f3ccc1a4c3618bdadc99eeaf
java.io.IOException: Failed to write to /Users/jenkins/.jenkins/cache/jars/96/D26694F3CCC1A4C3618BDADC99EEAF.jar
at hudson.remoting.FileSystemJarCache.retrieve(FileSystemJarCache.java:85)
at hudson.remoting.JarCacheSupport$1.run(JarCacheSupport.java:62)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:104)
at java.lang.Thread.run(Thread.java:695)
Caused by: java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(File.java:1705)
at java.io.File.createTempFile0(File.java:1726)
at java.io.File.createTempFile(File.java:1803)
at hudson.remoting.FileSystemJarCache.retrieve(FileSystemJarCache.java:61)
... 6 more
Slave.jar version: 2.33
This is a Unix slave
Apr 23, 2014 6:32:38 PM hudson.remoting.JarCacheSupport$1 run
WARNING: Failed to resolve a jar 4c699c573770f6ba155c099d8baa055d
java.io.IOException: Failed to write to /Users/jenkins/.jenkins/cache/jars/4C/699C573770F6BA155C099D8BAA055D.jar
at hudson.remoting.FileSystemJarCache.retrieve(FileSystemJarCache.java:85)
at hudson.remoting.JarCacheSupport$1.run(JarCacheSupport.java:62)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:104)
at java.lang.Thread.run(Thread.java:695)
Caused by: java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(File.java:1705)
at java.io.File.createTempFile0(File.java:1726)
at java.io.File.createTempFile(File.java:1803)
at hudson.remoting.FileSystemJarCache.retrieve(FileSystemJarCache.java:61)
... 6 more
Apr 23, 2014 6:32:39 PM hudson.remoting.JarCacheSupport$1 run
WARNING: Failed to resolve a jar 213762c7aa0c33d4ebe5ae3e0e056c11
java.io.IOException: Failed to write to /Users/jenkins/.jenkins/cache/jars/21/3762C7AA0C33D4EBE5AE3E0E056C11.jar
at hudson.remoting.FileSystemJarCache.retrieve(FileSystemJarCache.java:85)
at hudson.remoting.JarCacheSupport$1.run(JarCacheSupport.java:62)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:104)
at java.lang.Thread.run(Thread.java:695)
Caused by: java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(File.java:1705)
at java.io.File.createTempFile0(File.java:1726)
at java.io.File.createTempFile(File.java:1803)
at hudson.remoting.FileSystemJarCache.retrieve(FileSystemJarCache.java:61)
... 6 more
Apr 23, 2014 6:32:41 PM hudson.remoting.JarCacheSupport$1 run
WARNING: Failed to resolve a jar 788b56c453c8677a90bd2032043c3917
java.io.IOException: Failed to write to /Users/jenkins/.jenkins/cache/jars/78/8B56C453C8677A90BD2032043C3917.jar
at hudson.remoting.FileSystemJarCache.retrieve(FileSystemJarCache.java:85)
at hudson.remoting.JarCacheSupport$1.run(JarCacheSupport.java:62)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:104)
at java.lang.Thread.run(Thread.java:695)
Caused by: java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(File.java:1705)
at java.io.File.createTempFile0(File.java:1726)
at java.io.File.createTempFile(File.java:1803)
at hudson.remoting.FileSystemJarCache.retrieve(FileSystemJarCache.java:61)
... 6 more
Apr 23, 2014 6:32:42 PM hudson.remoting.JarCacheSupport$1 run
WARNING: Failed to resolve a jar 331d5ee38a8f3873e5f9ff7025bba238
java.io.IOException: Failed to write to /Users/jenkins/.jenkins/cache/jars/33/1D5EE38A8F3873E5F9FF7025BBA238.jar
at hudson.remoting.FileSystemJarCache.retrieve(FileSystemJarCache.java:85)
at hudson.remoting.JarCacheSupport$1.run(JarCacheSupport.java:62)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:104)
at java.lang.Thread.run(Thread.java:695)
Caused by: java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(File.java:1705)
at java.io.File.createTempFile0(File.java:1726)
at java.io.File.createTempFile(File.java:1803)
at hudson.remoting.FileSystemJarCache.retrieve(FileSystemJarCache.java:61)
... 6 more
Apr 23, 2014 6:32:42 PM hudson.remoting.JarCacheSupport$1 run
WARNING: Failed to resolve a jar 74baa46428af7d65f8bd3c24a4ea004c
java.io.IOException: Failed to write to /Users/jenkins/.jenkins/cache/jars/74/BAA46428AF7D65F8BD3C24A4EA004C.jar
at hudson.remoting.FileSystemJarCache.retrieve(FileSystemJarCache.java:85)
at hudson.remoting.JarCacheSupport$1.run(JarCacheSupport.java:62)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:104)
at java.lang.Thread.run(Thread.java:695)
Caused by: java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(File.java:1705)
at java.io.File.createTempFile0(File.java:1726)
at java.io.File.createTempFile(File.java:1803)
at hudson.remoting.FileSystemJarCache.retrieve(FileSystemJarCache.java:61)
... 6 more
Creating /Users/jenkins/.davfs2
java.io.IOException: Failed to mkdirs: /Users/jenkins/.davfs2
at hudson.FilePath.mkdirs(FilePath.java:1066)
at com.cloudbees.dac.slave.SwarmComputerListener.preOnline(SwarmComputerListener.java:46)
at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:473)
at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:347)
at hudson.plugins.sshslaves.SSHLauncher.startSlave(SSHLauncher.java:901)
at hudson.plugins.sshslaves.SSHLauncher.access$400(SSHLauncher.java:126)
at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:658)
at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:642)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Slave successfully connected and online
ERROR: Connection terminated
ha:AAAAWB+LCAAAAAAAAP9b85aBtbiIQSmjNKU4P08vOT+vOD8nVc8DzHWtSE4tKMnMz/PLL0ldFVf2c+b/lb5MDAwVRQxSaBqcITRIIQMEMIIUFgAAckCEiWAAAAA=java.io.IOException: Unexpected termination of the channel
at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50)
Caused by: java.io.EOFException
at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at hudson.remoting.Command.readFrom(Command.java:92)
at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:71)
at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)
[04/23/14 21:34:52] [SSH] Connection closed.
ERROR: [04/23/14 21:34:52] slave agent was terminated
ha:AAAAWB+LCAAAAAAAAP9b85aBtbiIQSmjNKU4P08vOT+vOD8nVc8DzHWtSE4tKMnMz/PLL0ldFVf2c+b/lb5MDAwVRQxSaBqcITRIIQMEMIIUFgAAckCEiWAAAAA=java.io.IOException: Unexpected termination of the channel
at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50)
Caused by: java.io.EOFException
at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at hudson.remoting.Command.readFrom(Command.java:92)
at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:71)
at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)
[root@domU-12-31-39-04-22-72 37e65987]#
@ben833

This comment has been minimized.

Copy link

ben833 commented Aug 4, 2014

i'm having this same issue. have you found any solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.