-
Bug
-
Resolution: Fixed
-
Blocker
-
Jenkins 2.46.3, ssh-slaves 1.18
Reproduction steps.
- Start Jenkins without installing any plugins
- Install an older ssh-slaves plugin (e.g. 1.14), this way there is no key verification strategy configuration. You'll need to also install ssh-credentials manually.
- Add an SSH-based agent.
- Upgrade to ssh-slaves 1.18 and restart the Jenkins instance.
- Note the following error in the agent log:
ERROR: Unexpected error in launching a slave. This is probably a bug in Jenkins. java.lang.NullPointerException at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:789) at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:785) 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) [06/12/17 19:19:28] Launch failed - cleaning up connection [06/12/17 19:19:28] [SSH] Connection closed.
To make sure this was specific to 1.18, I tested the upgrade from 1.14 to 1.17 and did not see a NullPointerException.
- relates to
-
JENKINS-42959 Failed known_hosts verification for SSH agent
-
- Closed
-
- links to
[JENKINS-44830] NullPointerException when upgrading to ssh-slaves 1.18
Link |
New:
This issue relates to |
Assignee | Original: Kohsuke Kawaguchi [ kohsuke ] | New: Michael Clarke [ mc1arke ] |
Priority | Original: Minor [ 4 ] | New: Blocker [ 1 ] |
Labels | New: regression |
Assignee | Original: Michael Clarke [ mc1arke ] | New: Jesse Glick [ jglick ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Remote Link | New: This issue links to "PR 61 (Web Link)" [ 17119 ] |
Status | Original: In Progress [ 3 ] | New: In Review [ 10005 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Review [ 10005 ] | New: Resolved [ 5 ] |