Nov 9, 2009 1:46:11 PM hudson.remoting.Channel$ReaderThread run
SEVERE: I/O error in channel This side of the channel
java.io.IOException: Write end dead
at java.io.PipedInputStream.read(PipedInputStream.java:294)
at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2249)
at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2542)
at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2552)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at hudson.remoting.Channel$ReaderThread.run(Channel.java:849)
Nov 9, 2009 1:46:11 PM hudson.remoting.Request$2 run
SEVERE: Failed to send back a reply
java.io.IOException: Read end dead
at java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:246)
at java.io.PipedInputStream.receive(PipedInputStream.java:210)
at java.io.PipedOutputStream.write(PipedOutputStream.java:132)
at java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1838)
at java.io.ObjectOutputStream$BlockDataOutputStream.setBlockDataMode(ObjectOutputStream.java:1747)
at java.io.ObjectOutputStream.writeNonProxyDesc(ObjectOutputStream.java:1249)
at java.io.ObjectOutputStream.writeClassDesc(ObjectOutputStream.java:1203)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1387)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
at java.io.ObjectOutputStream.writeFatalException(ObjectOutputStream.java:1538)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:329)
at hudson.remoting.Channel.send(Channel.java:413)
at hudson.remoting.Request$2.run(Request.java:282)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
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:619)
The thread dump indicates that the test thread is stuck at british.join(), because British channel reader thread is still alive. I remember PipedInput|OutputStream being not truly multi-thread aware, so changing it to our own version to see if that fixes the problem without my digging further.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23625 71c3de6d-444a-0410-be80-ed276b4c234a
caused Content-Length header to no longer be written. wget/curl seem ok with
this, but browsers display nothing for "view as plain text".
Stapler's DefaultScriptInvoker wraps the OutputStream in a filter to prevent
jelly from flushing the output; copied this into Run.doConsoleText and now
the Content-Length header gets written again, for both compressed/plain output.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23605 71c3de6d-444a-0410-be80-ed276b4c234a
and createProjectFromXML. This add notification that was missing for project
creation from XML or CLI, and will catch anything else using Hudson.createProject
directly. Added unit test for CLI case.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23553 71c3de6d-444a-0410-be80-ed276b4c234a
Deadlocked threads from Tom Huybrechts
----
"Channel reader thread: build-tr-01" Id=6188858 BLOCKED on hudson.remoting.UserRequest@7641246a owned by "Executor #1 for build-tr-01 : executing ORBIS_HAP_Core-Java5 #213 / waiting for hudson.remoting.Channel@560c2a29:build-tr-01" Id=379
at hudson.remoting.Request.onCompleted(Request.java:223)
- blocked on hudson.remoting.UserRequest@7641246a
at hudson.remoting.Request.abort(Request.java:231)
at hudson.remoting.Channel.terminate(Channel.java:596)
- locked java.util.Hashtable@49c47d9e
- locked hudson.remoting.Channel@560c2a29
at hudson.remoting.Channel$ReaderThread.run(Channel.java:871)
Executor #1 for build-tr-01 : executing ORBIS_HAP_Core-Java5 #213 / waiting for hudson.remoting.Channel@560c2a29:build-tr-01" Id=379 BLOCKED on hudson.remoting.Channel@560c2a29 owned by "Channel reader thread: build-tr-01" Id=6188858
at hudson.remoting.Channel.send(Channel.java:409)
- blocked on hudson.remoting.Channel@560c2a29
at hudson.remoting.Request.call(Request.java:127)
- locked hudson.remoting.UserRequest@7641246a
at hudson.remoting.Channel.call(Channel.java:549)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23476 71c3de6d-444a-0410-be80-ed276b4c234a
https://www.dev.java.net/svn/hudson/branches/rc
........
r23422 | kohsuke | 2009-11-02 13:18:10 -0800 (Mon, 02 Nov 2009) | 1 line
[FIXED HUDSON-4752] integrated the new version of XStream
........
r23427 | kohsuke | 2009-11-02 14:15:24 -0800 (Mon, 02 Nov 2009) | 3 lines
Fixed <tt>NotExportableException</tt> when making a remote API call on a project.
(<a href="https://hudson.dev.java.net/servlets/BrowseList?list=users&by=thread&from=2222483">report</a>)
........
r23428 | kohsuke | 2009-11-02 14:24:39 -0800 (Mon, 02 Nov 2009) | 3 lines
Fixed <tt>IllegalArgumentException: name</tt>
(<a href="http://old.nabble.com/bug-1.331-to26145963.html">report</a>)
........
r23437 | kohsuke | 2009-11-02 18:29:06 -0800 (Mon, 02 Nov 2009) | 1 line
[maven-release-plugin] prepare release hudson-1_332
........
r23439 | kohsuke | 2009-11-02 18:29:22 -0800 (Mon, 02 Nov 2009) | 1 line
[maven-release-plugin] prepare for next development iteration
........
r23448 | kohsuke | 2009-11-02 19:06:11 -0800 (Mon, 02 Nov 2009) | 1 line
updated changelog as a part of the release
........
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23474 71c3de6d-444a-0410-be80-ed276b4c234a