Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-8856

StreamCorruptedException

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Randomly some builds fails on ssh-slaves because of a StreamCorruptedException.

      It was not happening at all a couple of version ago.

      Here is the log:

      Construction à distance sur XXXXXXX
      FATAL: hudson.remoting.RequestAbortedException: java.io.StreamCorruptedException: invalid type code: 4B
      hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: java.io.StreamCorruptedException: invalid type code: 4B
      at hudson.remoting.Request.call(Request.java:137)
      at hudson.remoting.Channel.call(Channel.java:629)
      at hudson.FilePath.act(FilePath.java:745)
      at hudson.FilePath.act(FilePath.java:738)
      at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:683)
      at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:632)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1171)
      at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:501)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:415)
      at hudson.model.Run.run(Run.java:1362)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:145)
      Caused by: hudson.remoting.RequestAbortedException: java.io.StreamCorruptedException: invalid type code: 4B
      at hudson.remoting.Request.abort(Request.java:257)
      at hudson.remoting.Channel.terminate(Channel.java:680)
      at hudson.remoting.Channel$ReaderThread.run(Channel.java:971)
      Caused by: java.io.StreamCorruptedException: invalid type code: 4B
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1355)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
      at hudson.remoting.Channel$ReaderThread.run(Channel.java:947)

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oliver Gondža
            Path:
            http://jenkins-ci.org/commit/jenkins/5cf3e28c4885a86a4dad3463952e1aae34932f9c
            Log:
            [FIXED JENKINS-20093 JENKINS-19453 JENKINS-19004 JENKINS-8856] Noting retroactively

            Backported as 23424ea7dbced486963a73d6bf56e8367ab779dd

            Compare: https://github.com/jenkinsci/jenkins/compare/7d602d52b445...5cf3e28c4885

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oliver Gondža Path: http://jenkins-ci.org/commit/jenkins/5cf3e28c4885a86a4dad3463952e1aae34932f9c Log: [FIXED JENKINS-20093 JENKINS-19453 JENKINS-19004 JENKINS-8856] Noting retroactively Backported as 23424ea7dbced486963a73d6bf56e8367ab779dd Compare: https://github.com/jenkinsci/jenkins/compare/7d602d52b445...5cf3e28c4885
            Show
            jglick Jesse Glick added a comment - New remoting fix in: https://github.com/jenkinsci/jenkins/commit/4137c46182a0652d2eed2897a1e797bdc3f8c7f9
            Hide
            jglick Jesse Glick added a comment -

            Agreed, newer reports will probably be more useful.

            Show
            jglick Jesse Glick added a comment - Agreed, newer reports will probably be more useful.
            Hide
            danielbeck Daniel Beck added a comment -

            IMO this should be closed. Any new occurrences (1.527+ and future 1.532.x LTS) will be accompanied by much more information and should probably be a new Jira issue about the specific failure indicated by diagnostic output.

            Show
            danielbeck Daniel Beck added a comment - IMO this should be closed. Any new occurrences (1.527+ and future 1.532.x LTS) will be accompanied by much more information and should probably be a new Jira issue about the specific failure indicated by diagnostic output.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            src/main/java/hudson/remoting/HexDump.java
            src/test/java/hudson/remoting/HexDumpTest.java
            http://jenkins-ci.org/commit/remoting/8b509574e538061ecce717510688bb18acfc3be3
            Log:
            Merge pull request #16 from daniel-beck/master

            More readable diagnostic for JENKINS-8856

            Compare: https://github.com/jenkinsci/remoting/compare/a56730603577...8b509574e538

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: src/main/java/hudson/remoting/HexDump.java src/test/java/hudson/remoting/HexDumpTest.java http://jenkins-ci.org/commit/remoting/8b509574e538061ecce717510688bb18acfc3be3 Log: Merge pull request #16 from daniel-beck/master More readable diagnostic for JENKINS-8856 Compare: https://github.com/jenkinsci/remoting/compare/a56730603577...8b509574e538

              People

              • Assignee:
                kohsuke Kohsuke Kawaguchi
                Reporter:
                ebannn i b
              • Votes:
                3 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: