alfabravoteam commented on issue #331:
URL: https://github.com/apache/mina-sshd/issues/331#issuecomment-2616975103

   Finding this same behavior since I updated to latest plugin version 
`2.14.0-143.v2b_362fc39576` for Jenkins 2.494
   
   ```
   INFO: Creating ~/.hudson-run-init
   ERROR: Unexpected error in launching an agent. This is probably a bug in 
Jenkins
   Also:   java.lang.Throwable: launched here
                at hudson.slaves.SlaveComputer._connect(SlaveComputer.java:286)
                at hudson.model.Computer.connect(Computer.java:437)
                at PluginClassLoader for 
ec2//hudson.plugins.ec2.EC2RetentionStrategy.start(EC2RetentionStrategy.java:304)
                at PluginClassLoader for 
ec2//hudson.plugins.ec2.EC2RetentionStrategy.start(EC2RetentionStrategy.java:49)
                at 
hudson.model.AbstractCIBase.createNewComputerForNode(AbstractCIBase.java:192)
                at 
hudson.model.AbstractCIBase.updateNewComputer(AbstractCIBase.java:221)
                at jenkins.model.Jenkins.updateNewComputer(Jenkins.java:1589)
   
   ...
   
   
   java.lang.IllegalStateException: Channel id=4 not registered because session 
is being closed: ChannelExec[id=4, 
recipient=-1]-ClientSessionImpl[ec2-user@/PRIVATE_IP:22]
        at PluginClassLoader for 
mina-sshd-api-core//org.apache.sshd.common.channel.AbstractChannel.handleChannelRegistrationResult(AbstractChannel.java:471)
        at PluginClassLoader for 
mina-sshd-api-core//org.apache.sshd.common.session.helpers.AbstractConnectionService.registerChannel(AbstractConnectionService.java:424)
        at PluginClassLoader for 
mina-sshd-api-core//org.apache.sshd.client.session.AbstractClientSession.createExecChannel(AbstractClientSession.java:390)
        at PluginClassLoader for 
ec2//hudson.plugins.ec2.ssh.EC2UnixLauncher.launchScript(EC2UnixLauncher.java:287)
        at PluginClassLoader for 
ec2//hudson.plugins.ec2.EC2ComputerLauncher.launch(EC2ComputerLauncher.java:55)
        at hudson.slaves.SlaveComputer.lambda$_connect$0(SlaveComputer.java:297)
        at 
jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
        at 
jenkins.security.ImpersonatingExecutorService$2.call(ImpersonatingExecutorService.java:80)
        at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown 
Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown 
Source)
        at java.base/java.lang.Thread.run(Unknown Source)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org

Reply via email to