[JIRA] [klaros-testmanagement-plugin] (JENKINS-34334) java.io.NotSerializableException when plugin is executed on a slave node

0 views
Skip to first unread message

stolp@java.net (JIRA)

unread,
Apr 19, 2016, 7:44:01 AM4/19/16
to jenkinsc...@googlegroups.com
stolp created an issue
 
Jenkins / Bug JENKINS-34334
java.io.NotSerializableException when plugin is executed on a slave node
Issue Type: Bug Bug
Assignee: stolp
Components: klaros-testmanagement-plugin
Created: 2016/Apr/19 11:43 AM
Environment: Master-Slave Jenkins Setup
Priority: Critical Critical
Reporter: stolp

When executing the plugin on a Jenkins slave node the following exception is thrown:

Failure to export test result(s).
java.io.IOException: remote file operation failed: /home/builder/.jenkins/workspace/klaros-commons at hudson.remoting.Channel@5a8593:digit: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@6ca827
at hudson.FilePath.act(FilePath.java:986)
at hudson.FilePath.act(FilePath.java:968)
at hudson.plugins.klaros.KlarosTestResultPublisher.perform(KlarosTestResultPublisher.java:543)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723)
at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1047)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668)
at hudson.model.Run.execute(Run.java:1763)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
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@6ca827
at hudson.remoting.UserRequest.serialize(UserRequest.java:168)
at hudson.remoting.UserRequest.<init>(UserRequest.java:62)
at hudson.remoting.Channel.call(Channel.java:779)
at hudson.FilePath.act(FilePath.java:979)
... 11 more
Caused by: java.io.NotSerializableException: hudson.maven.MavenModuleSetBuild
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.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:157)
at hudson.remoting.UserRequest.serialize(UserRequest.java:166)
... 14 more

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo

stolp@java.net (JIRA)

unread,
Apr 19, 2016, 7:57:01 AM4/19/16
to jenkinsc...@googlegroups.com
stolp started work on Bug JENKINS-34334
 
Change By: stolp
Status: Open In Progress

stolp@java.net (JIRA)

unread,
Apr 19, 2016, 10:49:01 AM4/19/16
to jenkinsc...@googlegroups.com
stolp commented on Bug JENKINS-34334
 
Re: java.io.NotSerializableException when plugin is executed on a slave node

This has been broken by adding the non-serializable build to the callable object.

stolp@java.net (JIRA)

unread,
Apr 19, 2016, 10:49:01 AM4/19/16
to jenkinsc...@googlegroups.com
stolp resolved as Fixed
 
Change By: stolp
Status: In Progress Resolved
Resolution: Fixed

scm_issue_link@java.net (JIRA)

unread,
May 29, 2016, 1:34:02 PM5/29/16
to jenkinsc...@googlegroups.com

scm_issue_link@java.net (JIRA)

unread,
May 29, 2016, 1:44:02 PM5/29/16
to jenkinsc...@googlegroups.com

Code changed in jenkins
User: Torsten Stolpmann
Path:

pom.xml
src/changes/changes.xml
src/main/java/hudson/plugins/klaros/KlarosTestResultPublisher.java
src/main/java/hudson/plugins/klaros/ResultFormat.java
src/main/java/hudson/plugins/klaros/ResultSet.java
http://jenkins-ci.org/commit/klaros-testmanagement-plugin/3175b5e35350c376210b38df11a1337c345ea1b3
Log:

JENKINS-34334 : java.io.NotSerializableException when plugin is executed
on a slave node

Task-Url: https://issues.jenkins-ci.org/browse/JENKINS-34334

Reply all
Reply to author
Forward
0 new messages