NullPointerException
from ComputeEngineComputerLauncher.launch
#306
Labels
bug
Something isn't working
NullPointerException
from ComputeEngineComputerLauncher.launch
#306
Jenkins and plugins versions report
Environment
Jenkins 2.319.3 (CloudBees CI variant),
google-compute-engine
4.3.8What Operating System are you using (both controller, and any agents involved in the problem)?
Linux
Reproduction steps
Unknown exactly. Jenkins was upgraded while a Pipeline build was running that used a GCE agent. After restart, the build tried to resume but failed, perhaps because the agent VM had been killed. While normally there is a 5m timeout waiting for the agent to reconnect before Pipeline infrastructure gives up and fails (pending jenkinsci/workflow-durable-task-step-plugin#180), in this case the build seemed to keep on trying to resume longer than that. I went to
https://jenkins/computer/gce-cloud-…/log
and saw an error.Expected Results
No exceptions, perhaps just an error message saying that the VM could not be relaunched.
Actual Results
which corresponds to
google-compute-engine-plugin/src/main/java/com/google/jenkins/plugins/computeengine/ComputeEngineComputerLauncher.java
Lines 154 to 158 in 9dfd5b7
google-compute-engine-plugin/src/main/java/com/google/jenkins/plugins/computeengine/ComputeEngineCloud.java
Lines 188 to 197 in 9dfd5b7
pointing to
google-compute-engine-plugin/src/main/java/com/google/jenkins/plugins/computeengine/client/ClientUtil.java
Lines 50 to 57 in 9dfd5b7
AbortException
here loses track of the nestedIOException
.Anything else?
No response
The text was updated successfully, but these errors were encountered: