Skip to content

Instantly share code, notes, and snippets.

@carpnick
Created September 2, 2015 00:46
Show Gist options
  • Save carpnick/3a1c0c4640da7764e0e4 to your computer and use it in GitHub Desktop.
Save carpnick/3a1c0c4640da7764e0e4 to your computer and use it in GitHub Desktop.
10.80.10.35 Error executing action `create` on resource 'jenkins_jnlp_slave[adapt-lin-s1]'
10.80.10.35 ================================================================================
10.80.10.35
10.80.10.35 Mixlib::ShellOut::ShellCommandFailed
10.80.10.35 ------------------------------------
10.80.10.35 Expected process to exit with [0], but received '255'
10.80.10.35 ---- Begin output of "java" -jar "/var/chef/cache/jenkins-cli.jar" -s http://10.80.10.30:8080 -i "/var/chef/cache/jenkins-key" groovy
/tmp/groovy20150901-21724-1de50hn ----
10.80.10.35 STDOUT:
10.80.10.35 STDERR: java.lang.NullPointerException
10.80.10.35 at java.util.HashMap.putMapEntries(HashMap.java:500)
10.80.10.35 at java.util.HashMap.<init>(HashMap.java:489)
10.80.10.35 at sun.reflect.GeneratedConstructorAccessor103.newInstance(Unknown Source)
10.80.10.35 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
10.80.10.35 at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
10.80.10.35 at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
10.80.10.35 at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:1
02)
10.80.10.35 at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:54)
10.80.10.35 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182)
10.80.10.35 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190)
10.80.10.35 at RemoteClass.run(RemoteClass:19)
10.80.10.35 at groovy.lang.GroovyShell.runScriptOrMainOrTestOrRunnable(GroovyShell.java:266)
10.80.10.35 at groovy.lang.GroovyShell.run(GroovyShell.java:517)
10.80.10.35 at hudson.cli.GroovyCommand.run(GroovyCommand.java:94)
10.80.10.35 at hudson.cli.CLICommand.main(CLICommand.java:237)
10.80.10.35 at hudson.cli.CliManagerImpl.main(CliManagerImpl.java:92)
10.80.10.35 at sun.reflect.GeneratedMethodAccessor292.invoke(Unknown Source)
10.80.10.35 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
10.80.10.35 at java.lang.reflect.Method.invoke(Method.java:497)
10.80.10.35 at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:326)
10.80.10.35 at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:301)
10.80.10.35 at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:260)
10.80.10.35 at hudson.remoting.UserRequest.perform(UserRequest.java:121)
10.80.10.35 at hudson.remoting.UserRequest.perform(UserRequest.java:49)
10.80.10.35 at hudson.remoting.Request$2.run(Request.java:325)
10.80.10.35 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
10.80.10.35 at hudson.cli.CliManagerImpl$1.call(CliManagerImpl.java:63)
10.80.10.35 at hudson.remoting.CallableDecoratorAdapter.call(CallableDecoratorAdapter.java:18)
10.80.10.35 at hudson.remoting.CallableDecoratorList$1.call(CallableDecoratorList.java:21)
10.80.10.35 at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
10.80.10.35 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
10.80.10.35 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
10.80.10.35 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
10.80.10.35 at java.lang.Thread.run(Thread.java:745)
10.80.10.35 ---- End output of "java" -jar "/var/chef/cache/jenkins-cli.jar" -s http://10.80.10.30:8080 -i "/var/chef/cache/jenkins-key" groovy /t
mp/groovy20150901-21724-1de50hn ----
10.80.10.35 Ran "java" -jar "/var/chef/cache/jenkins-cli.jar" -s http://10.80.10.30:8080 -i "/var/chef/cache/jenkins-key" groovy /tmp/groovy201509
01-21724-1de50hn returned 255
10.80.10.35
10.80.10.35 Cookbook Trace:
10.80.10.35 ---------------
10.80.10.35 /var/chef/cache/cookbooks/jenkins/libraries/_executor.rb:87:in `execute!'
10.80.10.35 /var/chef/cache/cookbooks/jenkins/libraries/_executor.rb:142:in `groovy!'
10.80.10.35 /var/chef/cache/cookbooks/jenkins/libraries/slave.rb:315:in `current_slave'
10.80.10.35 /var/chef/cache/cookbooks/jenkins/libraries/slave.rb:129:in `load_current_resource'
10.80.10.35 /var/chef/cache/cookbooks/jenkins/libraries/slave_jnlp.rb:52:in `load_current_resource'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment