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

Git plugins crashes with exception for jobs using git merging features

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Duplicate
    • Component/s: git-plugin
    • Labels:
    • Environment:
      Jenkins running on a debian master and multiple ubuntu linux slaves in different versions and with different JVM versions. Slaves are connected through ssh.
    • Similar Issues:

      Description

      Several of out build jobs using git are broken since some of the last version of the git plugin. They are crashing already in the main job triggering the individual builds with the following exception:

      Commencing build of Revision 5dc28f3d5e0787318df51a9cc58fdf712273ec7b (origin/bug-1175)
      hudson.util.IOException2: remote file operation failed: /home/jenkins/workspace/rsb-cpp-trunk-merge-simulator at hudson.remoting.Channel@44a89714:ubuntu_quantal_64bit
      at hudson.FilePath.act(FilePath.java:900)
      at hudson.FilePath.act(FilePath.java:877)
      at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1121)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1367)
      at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:674)
      at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:579)
      at hudson.model.Run.execute(Run.java:1575)
      at hudson.matrix.MatrixBuild.run(MatrixBuild.java:304)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:237)
      Caused by: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@18379284
      at hudson.remoting.UserRequest.serialize(UserRequest.java:166)
      at hudson.remoting.UserRequest.<init>(UserRequest.java:62)
      at hudson.remoting.Channel.call(Channel.java:671)
      at hudson.FilePath.act(FilePath.java:893)
      ... 10 more
      Caused by: java.io.NotSerializableException: hudson.matrix.MatrixBuild
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164)
      at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
      at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
      at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
      at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
      at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
      at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
      at hudson.remoting.UserRequest._serialize(UserRequest.java:155)
      at hudson.remoting.UserRequest.serialize(UserRequest.java:164)
      ... 13 more
      Finished: FAILURE

      All of the crashing jobs are matrix jobs using git and merging from a separate branch. Other jobs with git without merging are not affected by this.

      We are currently using version 1.3.0 of the git plugin and this version is affected by this bug.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ndeloof Nicolas De Loof
              Reporter:
              languitar Johannes Wienke
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: