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

Parsing Maven Invoker results from slave

XMLWordPrintable

      The plugin works fine on master but when the build happens on a slave, then the following error is raised at parsing the results:

      ERROR: Publisher org.jenkinsci.plugins.maveninvoker.MavenInvokerRecorder aborted due to exception
      java.io.IOException: remote file operation failed: /opt/jenkins/workspace/tools_ant-assembly-maven-plugin-master-maven-3.1/target/invoker-reports/BUILD-setup-relocated-ndt.xml at hudson.remoting.Channel@455b7688:linaws3: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@6ceda0a
      	at org.jenkinsci.plugins.maveninvoker.MavenInvokerRecorder.perform(MavenInvokerRecorder.java:89)
      	at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:32)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734)
      	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1046)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683)
      	at hudson.model.Run.execute(Run.java:1784)
      	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
      	at hudson.model.ResourceController.execute(ResourceController.java:89)
      	at hudson.model.Executor.run(Executor.java:240)
      Caused by: java.io.IOException: remote file operation failed: /opt/jenkins/workspace/tools_ant-assembly-maven-plugin-master-maven-3.1/target/invoker-reports/BUILD-setup-relocated-ndt.xml at hudson.remoting.Channel@455b7688:linaws3: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@6ceda0a
      	at hudson.FilePath.act(FilePath.java:977)
      	at hudson.FilePath.act(FilePath.java:959)
      	at org.jenkinsci.plugins.maveninvoker.MavenInvokerRecorder.parseReports(MavenInvokerRecorder.java:101)
      	at org.jenkinsci.plugins.maveninvoker.MavenInvokerRecorder.perform(MavenInvokerRecorder.java:83)
      	... 9 more
      Caused by: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@6ceda0a
      	at hudson.remoting.UserRequest.serialize(UserRequest.java:169)
      	at hudson.remoting.UserRequest.<init>(UserRequest.java:63)
      	at hudson.remoting.Channel.call(Channel.java:750)
      	at hudson.FilePath.act(FilePath.java:970)
      	... 12 more
      Caused by: java.io.NotSerializableException: org.apache.maven.plugin.invoker.model.io.xpp3.BuildJobXpp3Reader
      	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1180)
      	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1528)
      	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)
      	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416)
      	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)
      	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1528)
      	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)
      	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416)
      	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)
      	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:346)
      	at hudson.remoting.UserRequest._serialize(UserRequest.java:158)
      	at hudson.remoting.UserRequest.serialize(UserRequest.java:167)
      	... 15 more

            olamy Olivier Lamy
            jcarsique Julien Carsique
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: