-
Bug
-
Resolution: Unresolved
-
Major
-
Jenkins Version - 2.289.3
sauce-ondemand - 1.207
webdriverIO - v7
node - v12
Java - 1.8
Using a Jenkins freestyle project for running automation scripts, created with JavaScript based WebdriverIO Test Automation Framework, on Jenkins.
Recently, upgraded to latest version of sauce ondemand plugin in Jenkins.
After updating it, the Jenkins job is getting created successfully and tests are also running completely but at closing the Sauce Connect process, Jenkins is throwing NullPointerException.
Flushing Sauce Connect Input Stream
Flushing Sauce Connect Error Stream
Closing Sauce Connect process
ERROR: Unable to tear down: null
java.lang.NullPointerException
at com.saucelabs.saucerest.SauceREST.deleteTunnel(SauceREST.java:1562)
at com.saucelabs.ci.sauceconnect.AbstractSauceTunnelManager.closeTunnelsForPlan(AbstractSauceTunnelManager.java:85)
at hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper$SauceConnectCloser.call(SauceOnDemandBuildWrapper.java:962)
at hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper$1.tearDown(SauceOnDemandBuildWrapper.java:593)
at hudson.model.AbstractBuild$AbstractBuildExecution.tearDownBuildEnvironments(AbstractBuild.java:553)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:517)
at hudson.model.Run.execute(Run.java:1906)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
Could anyone please help and look into this issue?
[JENKINS-69773] Jenkins is throwing a NullPointerException at SauceConnectCloser of SauceOnDemandBuildWrapper while closing and deleting the tunnel
Description |
Original:
Using a Jenkins freestyle project for running automation scripts, created with JavaScript based WebdriverIO Test Automation Framework, on Jenkins.
Recently, upgraded to latest version of sauce ondemand plugin in Jenkins. After updating it, the Jenkins job is getting created successfully and tests are also running completely but at closing the Sauce Connect process, Jenkins is throwing NullPointerException. Flushing Sauce Connect Input Stream Flushing Sauce Connect Error Stream Closing Sauce Connect process ERROR: Unable to tear down: null java.lang.NullPointerException at com.saucelabs.saucerest.SauceREST.deleteTunnel(SauceREST.java:1562) at com.saucelabs.ci.sauceconnect.AbstractSauceTunnelManager.closeTunnelsForPlan(AbstractSauceTunnelManager.java:85) at hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper$SauceConnectCloser.call(SauceOnDemandBuildWrapper.java:962) at hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper$1.tearDown(SauceOnDemandBuildWrapper.java:593) at hudson.model.AbstractBuild$AbstractBuildExecution.tearDownBuildEnvironments(AbstractBuild.java:553) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:517) at hudson.model.Run.execute(Run.java:1906) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429) Could anyone please help and !image-2022-10-04-08-43-59-297.png! look into this issue? |
New:
Using a Jenkins freestyle project for running automation scripts, created with JavaScript based WebdriverIO Test Automation Framework, on Jenkins.
Recently, upgraded to latest version of sauce ondemand plugin in Jenkins. After updating it, the Jenkins job is getting created successfully and tests are also running completely but at closing the Sauce Connect process, Jenkins is throwing NullPointerException. {code:java} Flushing Sauce Connect Input Stream Flushing Sauce Connect Error Stream Closing Sauce Connect process ERROR: Unable to tear down: null java.lang.NullPointerException at com.saucelabs.saucerest.SauceREST.deleteTunnel(SauceREST.java:1562) at com.saucelabs.ci.sauceconnect.AbstractSauceTunnelManager.closeTunnelsForPlan(AbstractSauceTunnelManager.java:85) at hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper$SauceConnectCloser.call(SauceOnDemandBuildWrapper.java:962) at hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper$1.tearDown(SauceOnDemandBuildWrapper.java:593) at hudson.model.AbstractBuild$AbstractBuildExecution.tearDownBuildEnvironments(AbstractBuild.java:553) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:517) at hudson.model.Run.execute(Run.java:1906) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429) {code} Could anyone please help and look into this issue? |
Attachment | New: sauce connect null pointer exception at closing process or deleting tunnel in jenkins.jpg [ 59205 ] |
Environment |
Original:
Jenkins Version - 2.289.3
sauce-ondemand - 1.207 webdriverIO - v7 Java - 1.8 |
New:
Jenkins Version - 2.289.3
sauce-ondemand - 1.207 webdriverIO - v7 node - v12 Java - 1.8 |