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

Unable to serialize io.jenkins.plugins.ml.IPythonBuilder

XMLWordPrintable

      As we fixed in https://issues.jenkins-ci.org/browse/JENKINS-63128 to set the build failure when the plugin runs without a file given. That causes the following error while running an agent.

       

      Started by user unknown or anonymous
      Running as SYSTEM
      Building remotely on Agent C (gpu) in workspace /home/jenkins/workspace/Agent Demo 2
      Executed server : SERVER
      java.io.IOException: Unable to serialize io.jenkins.plugins.ml.IPythonBuilder$1@27771aa4
      	at hudson.remoting.UserRequest.serialize(UserRequest.java:274)
      	at hudson.remoting.UserRequest.<init>(UserRequest.java:101)
      	at hudson.remoting.Channel.call(Channel.java:953)
      	at io.jenkins.plugins.ml.IPythonBuilder.perform(IPythonBuilder.java:84)
      	at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78)
      	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
      	at hudson.model.Build$BuildExecution.build(Build.java:206)
      	at hudson.model.Build$BuildExecution.doRun(Build.java:163)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
      	at hudson.model.Run.execute(Run.java:1853)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:97)
      	at hudson.model.Executor.run(Executor.java:427)
      Caused by: java.io.NotSerializableException: hudson.model.FreeStyleBuild
      	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)
      	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
      	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
      	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
      	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
      	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
      	at hudson.remoting.UserRequest._serialize(UserRequest.java:263)
      	at hudson.remoting.UserRequest.serialize(UserRequest.java:272)
      	... 13 more
      ERROR: Unable to serialize io.jenkins.plugins.ml.IPythonBuilder$1@27771aa4
      Finished: FAILURE
      

       

       

            loghijiaha Loghi Perinpanayagam
            loghijiaha Loghi Perinpanayagam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: