Upon further investigation, the culprit turns out to be the sshd plugin <https://plugins.jenkins.io/sshd/>, which we upgraded to v3.1.0 at the same time as the core. Downgrading sshd to to 3.0.3 (the detached version in the 2.332.1 war) restores the correct behavior (no hangs). All sshd versions 3.0.4 through 3.228.v4c9f9e652c86 (latest available at this time) exhibit the hang problem. Interestingly, sshd 3.0.4 brought with it an upgrade to SSHD itself <https://issues.jenkins.io/browse/JENKINS-60902> (from 1.x to 2.x).
It's an unfortunate loss of functionality, since we cannot remain on sshd 3.0.3. Jenkins developers -- is a Jira ticket warranted for this? On Wednesday, April 27, 2022 at 5:01:47 PM UTC-6 G Dameron wrote: > We just upgraded from 2.249.2 to 2.332.1. The CLI commands we use > routinely in our freestyle jobs are working as before, with one exception: > console. The command correctly outputs the console log of the specified > job, but then never finishes, it just hangs. > > Can anyone confirm that "console" behaves as it should under 2.332.1? > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/01d9be6f-7833-4613-bc39-6c115b739da1n%40googlegroups.com.