hlau commented on Bug JENKINS-7641

Seeing the same issue for every build on three platforms: aix, hpux and linux-ia64. Now using the latest jenkins 1.487 and still seeing the problem.

Thread dump for a linux ia64 server currently with a hung job is as follows:

Thread Dump

Channel 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:199)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:237)

  • locked java.io.BufferedInputStream@27736da0
    at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2248)
    at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2541)
    at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2551)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1296)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
    at hudson.remoting.Command.readFrom(Command.java:90)
    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@7a148bd3
at java.lang.Object.wait(Native Method)

  • waiting on hudson.remoting.Channel@7a148bd3
    at java.lang.Object.wait(Object.java:485)
    at hudson.remoting.Channel.join(Channel.java:792)
    at hudson.remoting.Launcher.main(Launcher.java:428)
    at hudson.remoting.Launcher.runWithStdinStdout(Launcher.java:374)
    at hudson.remoting.Launcher.run(Launcher.java:214)
    at hudson.remoting.Launcher.main(Launcher.java:173)

Ping thread for channel hudson.remoting.Channel@7a148bd3:channel

"Ping thread for channel hudson.remoting.Channel@7a148bd3: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@6484439e
at sun.misc.Unsafe.park(Native Method)

  • waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@6484439e
    at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1987)
    at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:399)
    at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    at java.lang.Thread.run(Thread.java:660)

pool-1-thread-29

"pool-1-thread-29" Id=72 Group=main RUNNABLE
at sun.management.ThreadImpl.dumpThreads0(Native Method)
at sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:374)
at hudson.Functions.getThreadInfos(Functions.java:889)
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:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:660)

Number of locked synchronizers = 1

  • java.util.concurrent.locks.ReentrantLock$NonfairSync@2ac4e4b9

Finalizer

"Finalizer" Id=3 Group=system WAITING on java.lang.ref.ReferenceQueue$Lock@b22379c
at java.lang.Object.wait(Native Method)

  • waiting on java.lang.ref.ReferenceQueue$Lock@b22379c
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
    at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

Reference Handler

"Reference Handler" Id=2 Group=system WAITING on java.lang.ref.Reference$Lock@7370e879
at java.lang.Object.wait(Native Method)

  • waiting on java.lang.ref.Reference$Lock@7370e879
    at java.lang.Object.wait(Object.java:485)
    at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116):1

Signal Dispatcher

"Signal Dispatcher" Id=4 Group=system RUNNABLE

Relevant portion of jenkins log for the job is as follows (it appears the jenkins thought that the job has successfully completed):

INFO: prevent-davis.linux-ia64 #65 main build action completed: SUCCESS
Oct 22, 2012 6:48:49 PM hudson.remoting.SynchronousCommandTransport$ReaderThread run
SEVERE: I/O error in channel b-linuxia64-01
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(ObjectInputStream.java:2553)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1296)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
at hudson.remoting.Command.readFrom(Command.java:90)
at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59)
at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)

The slave on the server that processes the job does not seem to have any problem talking to the server as I had no problem displaying its System Information:

Unix slave, version 2.17

System Properties

Name ↓
Value
file.encoding ANSI_X3.4-1968
file.encoding.pkg sun.io
file.separator /
java.awt.graphicsenv sun.awt.X11GraphicsEnvironment
java.awt.printerjob sun.print.PSPrinterJob
java.class.path slave.jar
java.class.version 50.0
java.endorsed.dirs /usr/java/jdk1.6.0_26/jre/lib/endorsed
java.ext.dirs /usr/java/jdk1.6.0_26/jre/lib/ext:/usr/java/packages/lib/ext
java.home /usr/java/jdk1.6.0_26/jre
...

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to