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

Integrity Plugin - Unable run integrity jobs on slave nodes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • integrity-plugin
    • None

      Anytime I try to run Integrity plugin jobs on slave nodes in Jenkins I get an error after the change log is generated. The slave does resync the sandbox on the slave, but then errors out after the log is generated on the master. I found another plugin on git that reported the same issue, maybe their fix would be helpful: https://github.com/integrity-tf/jenkins/issues/8

      Error Log:

      Building remotely on Slave1 in workspace D:\Jenkins\workspace\AlphaX7 - Resync Binaries
      Change Log: http://jenkins/job/AlphaX7%20-%20Resync%20Binaries/11/changes
      Build Log: http://jenkins/job/AlphaX7%20-%20Resync%20Binaries/11/console
      Preparing to execute si projectinfo for #/binaries#d=8.06-Binaries_Ocwen_FCBK_AlphaX7
      Preparing to execute si viewproject for #/binaries#d=8.06-Binaries_Ocwen_FCBK_AlphaX7
      Checkout directory is D:\Workflow\Environments\AlphaX7\binaries
      Successfully updated workspace with 0 updates and cleaned up 0 files!
      Saving current Integrity Project configuration...
      Writing build change log...
      Change log successfully generated: D:\Jenkins\jobs\AlphaX7 - Resync Binaries\builds\11\changelog.xml
      java.io.IOException: remote file operation failed: D:\Jenkins\workspace\AlphaX7 - Resync Binaries at hudson.remoting.Channel@6570d0cd:Slave1: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@584a15fe
      at hudson.FilePath.act(FilePath.java:987)
      at hudson.FilePath.act(FilePath.java:969)
      at hudson.scm.IntegritySCM.checkout(IntegritySCM.java:820)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1277)
      at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610)
      at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532)
      at hudson.model.Run.execute(Run.java:1741)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:410)
      Caused by: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@584a15fe
      at hudson.remoting.UserRequest.serialize(UserRequest.java:169)
      at hudson.remoting.UserRequest.<init>(UserRequest.java:63)
      at hudson.remoting.Channel.call(Channel.java:776)
      at hudson.FilePath.act(FilePath.java:980)
      ... 10 more
      Caused by: java.io.NotSerializableException: hudson.model.FreeStyleBuild
      at java.io.ObjectOutputStream.writeObject0(Unknown Source)
      at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
      at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
      at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
      at java.io.ObjectOutputStream.writeObject0(Unknown Source)
      at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
      at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
      at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
      at java.io.ObjectOutputStream.writeObject0(Unknown Source)
      at java.io.ObjectOutputStream.writeObject(Unknown Source)
      at hudson.remoting.UserRequest._serialize(UserRequest.java:158)
      at hudson.remoting.UserRequest.serialize(UserRequest.java:167)
      ... 13 more
      Finished: FAILURE

            cdsouza Cletus D'Souza
            rhopkins Rich Hopkins
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: