Hi all,
I have a job on Jenkins 1.500 that runs on a slave and produces 5 tiny
files which are then copied as artifacts.
The slave is connected via the SSH plugin.
The files are of a total size less than 1 Mb and the job seems stuck in
Copying Artifacts for hours...
The same job was last run around November using ~ Jenkins 1,485 (not sure
if this was the exact version but should be close enough)
Interestingly the same job copies artifacts at the beginning from another
job of size ~1Gb and it takes less than 30seconds to complete.
What looks worrying is that a couple of threads including main and channel
seem to be in a waiting state.
Any ideas ?
Here is the threadDump:
Thread DumpChannel reader thread: channel
"Channel reader thread: channel" Id=9 Group=main RUNNABLE (in native)
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(FileInputStream.java:236)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
- locked java.io.BufferedInputStream@3a4afbbf
at
java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2265)
at
java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2558)
at
java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2568)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1314)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:368)
at hudson.remoting.Command.readFrom(Command.java:92)
at
hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59)
at
hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)
main
"main" Id=1 Group=main WAITING on hudson.remoting.Channel@4fa52fdf
at java.lang.Object.wait(Native Method)
- waiting on hudson.remoting.Channel@4fa52fdf
at java.lang.Object.wait(Object.java:502)
at hudson.remoting.Channel.join(Channel.java:800)
at hudson.remoting.Launcher.main(Launcher.java:432)
at hudson.remoting.Launcher.runWithStdinStdout(Launcher.java:378)
at hudson.remoting.Launcher.run(Launcher.java:212)
at hudson.remoting.Launcher.main(Launcher.java:171)
Ping thread for channel hudson.remoting.Channel@4fa52fdf:channel
"Ping thread for channel hudson.remoting.Channel@4fa52fdf:channel" Id=10
Group=main TIMED_WAITING
at java.lang.Thread.sleep(Native Method)
at hudson.remoting.PingThread.run(PingThread.java:86)
Pipe writer thread: channel
"Pipe writer thread: channel" Id=12 Group=main WAITING on
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@5c0e254
at sun.misc.Unsafe.park(Native Method)
- waiting on
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@5c0e254
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043)
at
java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:386)
at
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1043)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1103)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
pool-1-thread-5
"pool-1-thread-5" Id=17 Group=main RUNNABLE
at sun.management.ThreadImpl.dumpThreads0(Native Method)
at sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:392)
at hudson.Functions.getThreadInfos(Functions.java:908)
at
hudson.util.RemotingDiagnostics$GetThreadDump.call(RemotingDiagnostics.java:96)
at
hudson.util.RemotingDiagnostics$GetThreadDump.call(RemotingDiagnostics.java:92)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:326)
at
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
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:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
Number of locked synchronizers = 1
- java.util.concurrent.ThreadPoolExecutor$Worker@5ecb5608
Finalizer
"Finalizer" Id=3 Group=system WAITING on
java.lang.ref.ReferenceQueue$Lock@10d5d67f
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.ReferenceQueue$Lock@10d5d67f
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:133)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:149)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:177)
Keep-Alive-Timer
"Keep-Alive-Timer" Id=158 Group=system TIMED_WAITING
at java.lang.Thread.sleep(Native Method)
at sun.net.www.http.KeepAliveCache.run(KeepAliveCache.java:168)
at java.lang.Thread.run(Thread.java:679)
Reference Handler
"Reference Handler" Id=2 Group=system WAITING on
java.lang.ref.Reference$Lock@46f5347b
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.Reference$Lock@46f5347b
at java.lang.Object.wait(Object.java:502)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:133)
Signal Dispatcher
"Signal Dispatcher" Id=4 Group=system RUNNABLE
I appreciate any help you can give :)
Alex
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.