-
Bug
-
Resolution: Not A Defect
-
Major
-
None
-
Windows XP remote slave (Debian host)
After upgrading from 1.415 to 1.418, the following exception occurs when running checkstyle on a build that executed on a remote slave named "bristle":
08:49:27 BUILD SUCCESSFUL 08:49:27 Total time: 2 minutes 55 seconds 08:49:27 [CHECKSTYLE] Collecting checkstyle analysis files... 08:49:28 ERROR: Publisher hudson.plugins.checkstyle.CheckStylePublisher aborted due to exception 08:49:28 hudson.util.IOException2: remote file operation failed: c:\jenkins\workspace\project at hudson.remoting.Channel@3abdf256:bristle 08:49:28 at hudson.FilePath.act(FilePath.java:754) 08:49:28 at hudson.FilePath.act(FilePath.java:740) 08:49:28 at hudson.plugins.checkstyle.CheckStylePublisher.perform(CheckStylePublisher.java:141) 08:49:28 at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:310) 08:49:28 at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) 08:49:28 at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:664) 08:49:28 at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:639) 08:49:28 at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:617) 08:49:28 at hudson.model.Build$RunnerImpl.post2(Build.java:161) 08:49:28 at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:586) 08:49:28 at hudson.model.Run.run(Run.java:1400) 08:49:28 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 08:49:28 at hudson.model.ResourceController.execute(ResourceController.java:88) 08:49:28 at hudson.model.Executor.run(Executor.java:175) 08:49:28 Caused by: java.io.IOException: Remote call on bristle failed 08:49:28 at hudson.remoting.Channel.call(Channel.java:672) 08:49:28 at hudson.FilePath.act(FilePath.java:747) 08:49:28 ... 13 more 08:49:28 Caused by: java.lang.ClassNotFoundException: Failed to deserialize the Callable object. Perhaps you needed to implement DelegatingCallable? 08:49:28 at hudson.remoting.UserRequest.perform(UserRequest.java:100) 08:49:28 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 08:49:28 at hudson.remoting.Request$2.run(Request.java:270) 08:49:28 at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) 08:49:28 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) 08:49:28 at java.util.concurrent.FutureTask.run(Unknown Source) 08:49:28 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) 08:49:28 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 08:49:28 at hudson.remoting.Engine$1$1.run(Engine.java:60) 08:49:28 at java.lang.Thread.run(Unknown Source) 08:49:28 Caused by: java.lang.ClassNotFoundException: hudson.plugins.checkstyle.parser.CheckStyleParser 08:49:28 at java.net.URLClassLoader$1.run(Unknown Source) 08:49:28 at java.security.AccessController.doPrivileged(Native Method) 08:49:28 at java.net.URLClassLoader.findClass(Unknown Source) 08:49:28 at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source) 08:49:28 at java.lang.ClassLoader.loadClass(Unknown Source) 08:49:28 at java.lang.ClassLoader.loadClass(Unknown Source) 08:49:28 at java.lang.Class.forName0(Native Method) 08:49:28 at java.lang.Class.forName(Unknown Source) 08:49:28 at java.io.ObjectInputStream.resolveClass(Unknown Source) 08:49:28 at hudson.remoting.ObjectInputStreamEx.resolveClass(ObjectInputStreamEx.java:50) 08:49:28 at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) 08:49:28 at java.io.ObjectInputStream.readClassDesc(Unknown Source) 08:49:28 at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) 08:49:28 at java.io.ObjectInputStream.readObject0(Unknown Source) 08:49:28 at java.io.ObjectInputStream.defaultReadFields(Unknown Source) 08:49:28 at java.io.ObjectInputStream.readSerialData(Unknown Source) 08:49:28 at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) 08:49:28 at java.io.ObjectInputStream.readObject0(Unknown Source) 08:49:28 at java.io.ObjectInputStream.defaultReadFields(Unknown Source) 08:49:28 at java.io.ObjectInputStream.readSerialData(Unknown Source) 08:49:28 at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) 08:49:28 at java.io.ObjectInputStream.readObject0(Unknown Source) 08:49:28 at java.io.ObjectInputStream.readObject(Unknown Source) 08:49:28 at hudson.remoting.UserRequest.deserialize(UserRequest.java:182) 08:49:28 at hudson.remoting.UserRequest.perform(UserRequest.java:98) 08:49:28 ... 9 more 08:49:28 Archiving artifacts 08:49:30 Recording fingerprints 08:49:32 Notifying upstream projects of job completion 08:49:32 Finished: FAILURE
I'm not sure which build between 1.415 and 1.418 broke it, I had to do an emergency rollback to solve JENKINS-10181.
- duplicates
-
JENKINS-10153 Regression issue in Warnings Plugin
-
- Resolved
-
- is duplicated by
-
JENKINS-10772 Publishing from node fails - Publisher aborted due to exception
-
- Resolved
-
-
JENKINS-11135 Parsing warnings throws an exception for MSBuild with Solaris master and Windows 7 slave
-
- Closed
-
-
JENKINS-453 Check version mismatch of slave and master
-
- Resolved
-
- is related to
-
JENKINS-10215 New swarm client release needed with latest slave.jar classes embedded
-
- Closed
-
After downgrading the problem still occurred; I had to restart my slave machines (automatically downloading the older slave.jar) before the exception stopped occurring. This suggests the problem lies with Jenkins, not the Checkstyle plugin.