-
Bug
-
Resolution: Fixed
-
Major
-
None
as of version 1.143, retrieving test details when running builds on a slave node appears to fail with the following stack trace.
11-11 21:25:15 Starting pre-build for Sauce Labs plugin 11-11 21:25:15 Starting Sauce Connect on slave node using tunnel identifier: job-template-saucelabs-1447305915327 11-11 21:25:20 Launching Sauce Connect on localhost 11-11 21:25:21 FATAL: Remote call on Ubuntu-UI-S3 (i-65568edb) failed 11-11 21:25:21 java.io.IOException: Remote call on Ubuntu-UI-S3 (i-65568edb) failed 11-11 21:25:21 at hudson.remoting.Channel.call(Channel.java:786) 11-11 21:25:21 at hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper.setUp(SauceOnDemandBuildWrapper.java:343) 11-11 21:25:21 at hudson.model.Build$BuildExecution.doRun(Build.java:156) 11-11 21:25:21 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537) 11-11 21:25:21 at hudson.model.Run.execute(Run.java:1741) 11-11 21:25:21 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 11-11 21:25:21 at hudson.model.ResourceController.execute(ResourceController.java:98) 11-11 21:25:21 at hudson.model.Executor.run(Executor.java:410) 11-11 21:25:21 Caused by: java.lang.ExceptionInInitializerError 11-11 21:25:21 at hudson.plugins.sauce_ondemand.JenkinsSauceREST.getUserAgent(JenkinsSauceREST.java:25) 11-11 21:25:21 at com.saucelabs.saucerest.SauceREST.retrieveResults(SauceREST.java:309) 11-11 21:25:21 at com.saucelabs.saucerest.SauceREST.getTunnels(SauceREST.java:645) 11-11 21:25:21 at com.saucelabs.ci.sauceconnect.AbstractSauceTunnelManager.activeTunnelIdentifier(AbstractSauceTunnelManager.java:416) 11-11 21:25:21 at com.saucelabs.ci.sauceconnect.AbstractSauceTunnelManager.openConnection(AbstractSauceTunnelManager.java:270) 11-11 21:25:21 at hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper$SauceConnectHandler.call(SauceOnDemandBuildWrapper.java:913) 11-11 21:25:21 at hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper$SauceConnectHandler.call(SauceOnDemandBuildWrapper.java:849) 11-11 21:25:21 at hudson.remoting.UserRequest.perform(UserRequest.java:121) 11-11 21:25:21 at hudson.remoting.UserRequest.perform(UserRequest.java:49) 11-11 21:25:21 at hudson.remoting.Request$2.run(Request.java:326) 11-11 21:25:21 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) 11-11 21:25:21 at java.util.concurrent.FutureTask.run(FutureTask.java:262) 11-11 21:25:21 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 11-11 21:25:21 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 11-11 21:25:21 at java.lang.Thread.run(Thread.java:745) 11-11 21:25:21 at ......remote call to Ubuntu-UI-S3 (i-65568edb)(Native Method) 11-11 21:25:21 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1413) 11-11 21:25:21 at hudson.remoting.UserResponse.retrieve(UserRequest.java:221) 11-11 21:25:21 at hudson.remoting.Channel.call(Channel.java:778) 11-11 21:25:21 ... 7 more 11-11 21:25:21 Caused by: java.lang.NullPointerException 11-11 21:25:21 at hudson.plugins.sauce_ondemand.PluginImpl.get(PluginImpl.java:179) 11-11 21:25:21 at hudson.plugins.sauce_ondemand.JenkinsSauceREST.getUserAgent(JenkinsSauceREST.java:25) 11-11 21:25:21 at com.saucelabs.saucerest.SauceREST.retrieveResults(SauceREST.java:309) 11-11 21:25:21 at com.saucelabs.ci.BrowserFactory.getSeleniumBrowsersFromSauceLabs(BrowserFactory.java:171) 11-11 21:25:21 at com.saucelabs.ci.BrowserFactory.initializeSeleniumBrowsers(BrowserFactory.java:141) 11-11 21:25:21 at com.saucelabs.ci.BrowserFactory.<init>(BrowserFactory.java:89) 11-11 21:25:21 at com.saucelabs.ci.BrowserFactory.getInstance(BrowserFactory.java:402) 11-11 21:25:21 at hudson.plugins.sauce_ondemand.PluginImpl.<clinit>(PluginImpl.java:80) 11-11 21:25:21 at hudson.plugins.sauce_ondemand.JenkinsSauceREST.getUserAgent(JenkinsSauceREST.java:25) 11-11 21:25:21 at com.saucelabs.saucerest.SauceREST.retrieveResults(SauceREST.java:309) 11-11 21:25:21 at com.saucelabs.saucerest.SauceREST.getTunnels(SauceREST.java:645) 11-11 21:25:21 at com.saucelabs.ci.sauceconnect.AbstractSauceTunnelManager.activeTunnelIdentifier(AbstractSauceTunnelManager.java:416) 11-11 21:25:21 at com.saucelabs.ci.sauceconnect.AbstractSauceTunnelManager.openConnection(AbstractSauceTunnelManager.java:270) 11-11 21:25:21 at hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper$SauceConnectHandler.call(SauceOnDemandBuildWrapper.java:913) 11-11 21:25:21 at hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper$SauceConnectHandler.call(SauceOnDemandBuildWrapper.java:849) 11-11 21:25:21 at hudson.remoting.UserRequest.perform(UserRequest.java:121) 11-11 21:25:21 at hudson.remoting.UserRequest.perform(UserRequest.java:49) 11-11 21:25:21 at hudson.remoting.Request$2.run(Request.java:326) 11-11 21:25:21 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) 11-11 21:25:21 at java.util.concurrent.FutureTask.run(FutureTask.java:262) 11-11 21:25:21 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 11-11 21:25:21 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 11-11 21:25:21 at java.lang.Thread.run(Thread.java:745)