When Jenkins is started, the first run of the plugin fails with following exception. Another build runs just fine.
java.lang.IllegalStateException: Some of the previous steps has failed or was interrupted
at org.jenkinsci.plugins.radargun.model.impl.AbstractRgProcess.start(AbstractRgProcess.java:23)
at org.jenkinsci.plugins.radargun.RadarGunBuilder.perform(RadarGunBuilder.java:145)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
at hudson.model.Build$BuildExecution.build(Build.java:199)
at hudson.model.Build$BuildExecution.doRun(Build.java:160)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:533)
at hudson.model.Run.execute(Run.java:1745)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
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: /home/radargun/workspace/radargun3.0-cq/radargun_master4212393217377389004.sh at hudson.remoting.Channel@6215befb:rg-master: java.io.IOException: Remote call on rg-master failed
... 11 more
Caused by: java.io.IOException: Remote call on rg-master failed
at hudson.remoting.Channel.call(Channel.java:760)
at hudson.FilePath.act(FilePath.java:969)
at hudson.FilePath.act(FilePath.java:958)
at hudson.FilePath.chmod(FilePath.java:1572)
at org.jenkinsci.plugins.radargun.config.TextScriptSource.createMasterScriptFile(TextScriptSource.java:70)
at org.jenkinsci.plugins.radargun.config.TextScriptSource.getMasterScriptPath(TextScriptSource.java:57)
at org.jenkinsci.plugins.radargun.config.ScriptSource.getMasterCmdLine(ScriptSource.java:78)
at org.jenkinsci.plugins.radargun.model.impl.RgMasterProcessImpl.getMasterCmdLine(RgMasterProcessImpl.java:66)
at org.jenkinsci.plugins.radargun.model.impl.RgMasterProcessImpl.createRunner(RgMasterProcessImpl.java:38)
at org.jenkinsci.plugins.radargun.model.impl.AbstractRgProcess.start(AbstractRgProcess.java:21)
... 10 more
Caused by: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest
at hudson.FilePath._chmod(FilePath.java:1586)
at hudson.FilePath.access$1500(FilePath.java:190)
at hudson.FilePath$29.invoke(FilePath.java:1575)
at hudson.FilePath$29.invoke(FilePath.java:1572)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2577)
at hudson.remoting.UserRequest.perform(UserRequest.java:121)
at hudson.remoting.UserRequest.perform(UserRequest.java:49)
at hudson.remoting.Request$2.run(Request.java:324)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at ......remote call to rg-master(Native Method)
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1356)
at hudson.remoting.UserResponse.retrieve(UserRequest.java:221)
at hudson.remoting.Channel.call(Channel.java:752)
... 19 more
Caused by: java.lang.ClassNotFoundException: javax.servlet.http.HttpServletRequest
at hudson.remoting.RemoteClassLoader$ClassLoaderProxy.fetch(RemoteClassLoader.java:706)
at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:320)
at hudson.remoting.Request$2.run(Request.java:324)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
at org.jenkinsci.remoting.CallableDecorator.call(CallableDecorator.java:18)
at hudson.remoting.CallableDecoratorList$1.call(CallableDecoratorList.java:21)
at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at ......remote call to channel(Native Method)
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1356)
at hudson.remoting.Request.call(Request.java:171)
at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:176)
at com.sun.proxy.$Proxy4.fetch(Unknown Source)
at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:245)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at hudson.FilePath._chmod(FilePath.java:1586)
at hudson.FilePath.access$1500(FilePath.java:190)
at hudson.FilePath$29.invoke(FilePath.java:1575)
at hudson.FilePath$29.invoke(FilePath.java:1572)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2577)
at hudson.remoting.UserRequest.perform(UserRequest.java:121)
at hudson.remoting.UserRequest.perform(UserRequest.java:49)
at hudson.remoting.Request$2.run(Request.java:324)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
When Jenkins is started, the first run of the plugin fails with following exception. Another build runs just fine.