MarkEWaite commented on PR #776: URL: https://github.com/apache/commons-io/pull/776#issuecomment-3604799112
As far as I can tell from `git bisect` with builds of commons-io bundled into Jenkins core, this is the pull request that caused a major regression in [Jenkins 2.537](https://www.jenkins.io/changelog/2.537/). The major regression was: * https://github.com/jenkinsci/jenkins/issues/16845 Jenkins agents failed to connect with SSH until we reverted Apache Commons IO 2.21.0 and returned to Apache Commons IO 2.20.0. We release [Jenkins 2.538](https://www.jenkins.io/changelog/2.538/) less than 24 hours after 2.537 due to the severity of the issue. The stack trace reported in the failure is: ``` [SSH] Starting sftp client. [SSH] Copying latest remoting.jar... java.io.IOException: Could not copy remoting.jar into '/home/jenkins/.jenkins-cd-control' on agent at PluginClassLoader for ssh-slaves//hudson.plugins.sshslaves.SSHLauncher.copyAgentJar(SSHLauncher.java:738) at PluginClassLoader for ssh-slaves//hudson.plugins.sshslaves.SSHLauncher.lambda$launch$0(SSHLauncher.java:462) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:840) Caused by: java.lang.IllegalArgumentException: invalid len argument at PluginClassLoader for trilead-api//com.trilead.ssh2.SFTPv3Client.read(SFTPv3Client.java:1250) at PluginClassLoader for trilead-api//com.trilead.ssh2.jenkins.SFTPClient$SFTPInputStream.read(SFTPClient.java:172) at org.apache.commons.io.input.ProxyInputStream.read(ProxyInputStream.java:337) at org.apache.commons.io.input.BoundedInputStream.read(BoundedInputStream.java:536) at org.apache.commons.io.output.AbstractByteArrayOutputStream.writeImpl(AbstractByteArrayOutputStream.java:405) at org.apache.commons.io.output.UnsynchronizedByteArrayOutputStream.write(UnsynchronizedByteArrayOutputStream.java:227) at org.apache.commons.io.IOUtils.copyToOutputStream(IOUtils.java:1958) at org.apache.commons.io.IOUtils.toByteArray(IOUtils.java:2918) at PluginClassLoader for ssh-slaves//hudson.plugins.sshslaves.SSHLauncher.readInputStreamIntoByteArrayAndClose(SSHLauncher.java:796) at PluginClassLoader for ssh-slaves//hudson.plugins.sshslaves.SSHLauncher.copyAgentJar(SSHLauncher.java:705) ... 5 more Launch failed - cleaning up connection [SSH] Connection closed. ``` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
