Walter Kacynski created JENKINS-13091:
-----------------------------------------

             Summary: java.io.StreamCorruptedException: invalid stream header: 
B055002D
                 Key: JENKINS-13091
                 URL: https://issues.jenkins-ci.org/browse/JENKINS-13091
             Project: Jenkins
          Issue Type: Bug
          Components: slave-setup
    Affects Versions: current
            Reporter: Walter Kacynski
            Assignee: Kohsuke Kawaguchi
            Priority: Minor


I'm trying to launch a slave on a Mainframe / zOS 11.2 system.  I suspect that 
I am encountering some kind of codepage issue, but I am not sure.  Below is the 
slave log during the launch.

[03/15/12 08:26:48] [SSH] Starting sftp client.
[03/15/12 08:26:48] [SSH] Copying latest slave.jar...
[03/15/12 08:26:48] [SSH] Copied 257,564 bytes.
[03/15/12 08:26:48] [SSH] Starting slave process: cd '/tmp' && 
/usr/lpp/java/J6.0/bin/java -Dfile.encoding=ISO8859-1 -jar slave.jar
<===[JENKINS REMOTING CAPACITY]===>Exception in thread "main" 
java.io.StreamCorruptedException: invalid stream header: B055002D
        at 
java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:797)
        at java.io.ObjectInputStream.<init>(ObjectInputStream.java:294)
        at 
hudson.remoting.ObjectInputStreamEx.<init>(ObjectInputStreamEx.java:40)
        at hudson.remoting.Channel.<init>(Channel.java:431)
        at hudson.remoting.Channel.<init>(Channel.java:366)
        at hudson.remoting.Channel.<init>(Channel.java:327)
        at hudson.remoting.Channel.<init>(Channel.java:323)
        at hudson.remoting.Channel.<init>(Channel.java:315)
        at hudson.remoting.Launcher.main(Launcher.java:405)
        at hudson.remoting.Launcher.runWithStdinStdout(Launcher.java:366)
        at hudson.remoting.Launcher.run(Launcher.java:206)
        at hudson.remoting.Launcher.main(Launcher.java:168)
ERROR: Connection terminated
ERROR: Unexpected error in launching a slave. This is probably a bug in Jenkins.
java.io.IOException: Unexpected termination of the channel
        at hudson.remoting.Channel$ReaderThread.run(Channel.java:1133)
Caused by: java.io.EOFException
        at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown 
Source)
hudson.remoting.RequestAbortedException: 
hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected 
termination of the channel
        at java.io.ObjectInputStream.readObject0(Unknown Source)
        at java.io.ObjectInputStream.readObject(Unknown Source)
        at hudson.remoting.Channel$ReaderThread.run(Channel.java:1127)
        at hudson.remoting.Request.call(Request.java:149)
        at hudson.remoting.Channel.call(Channel.java:681)
        at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:346)
        at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:314)
        at hudson.plugins.sshslaves.SSHLauncher.startSlave(SSHLauncher.java:454)
        at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:293)
        at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:200)
        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown 
Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Caused by: hudson.remoting.RequestAbortedException: java.io.IOException: 
Unexpected termination of the channel
        at hudson.remoting.Request.abort(Request.java:273)
        at hudson.remoting.Channel.terminate(Channel.java:732)
        at hudson.remoting.Channel$ReaderThread.run(Channel.java:1157)
Caused by: java.io.IOException: Unexpected termination of the channel
        at hudson.remoting.Channel$ReaderThread.run(Channel.java:1133)
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.Channel$ReaderThread.run(Channel.java:1127)
[03/15/12 08:26:49] [SSH] Connection closed.
ERROR: [03/15/12 08:26:49] slave agent was terminated
java.io.IOException: Unexpected termination of the channel
        at hudson.remoting.Channel$ReaderThread.run(Channel.java:1133)
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.Channel$ReaderThread.run(Channel.java:1127)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to