Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Mina to 2.12.1 in the CLI #9089

Merged
merged 2 commits into from
Mar 29, 2024

Conversation

daniel-beck
Copy link
Member

Upstream release notes: https://github.com/apache/mina-sshd/releases

Explanation why this is filed manually: jenkins-infra/helpdesk#3919 (comment)

Testing done

None, pretend I am Dependabot (just without as many links).

Proposed changelog entries

  • Update Apache Mina in the CLI from 2.11.0 to 2.12.1.

Proposed upgrade guidelines

N/A

Submitter checklist

Preview Give feedback

Desired reviewers

@mention

Before the changes are marked as ready-for-merge:

Maintainer checklist

Preview Give feedback

@daniel-beck daniel-beck changed the title Bump Mina to 2.12.1 Bump Mina to 2.12.1 in the CLI Mar 27, 2024
@basil basil added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Mar 27, 2024
Copy link
Contributor

@yaroslavafenkin yaroslavafenkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we care about these?

jenkins/war/pom.xml

Lines 522 to 535 in 9970349

<artifactItem>
<!-- dependency of mina-sshd-api-core and sshd -->
<groupId>io.jenkins.plugins.mina-sshd-api</groupId>
<artifactId>mina-sshd-api-common</artifactId>
<version>2.11.0-86.v836f585d47fa_</version>
<type>hpi</type>
</artifactItem>
<artifactItem>
<!-- dependency of sshd -->
<groupId>io.jenkins.plugins.mina-sshd-api</groupId>
<artifactId>mina-sshd-api-core</artifactId>
<version>2.11.0-86.v836f585d47fa_</version>
<type>hpi</type>
</artifactItem>

@MarkEWaite
Copy link
Contributor

The API plugin has been released with 2.12.1. Pull request:

API release 2.12.1-101.v85b_e08b_780dd

@daniel-beck
Copy link
Member Author

Do we care about these?

These are bundled as a dependency of the split sshd plugin. It's fairly rare for these bundled plugins to be used, most scenarios install whatever is latest from update sites. So we do care, just not as much. Plus, Dependabot knows how to update these.

@MarkEWaite
Copy link
Contributor

MarkEWaite commented Mar 28, 2024

Tested by building Jenkins core with pull requests #9093, #9097. and #9089 then removed the Ignore annotation from LoadDetachedPluginsTest.noUpdateSiteWarnings() and ran that test with:

mvn clean verify -Dtest=jenkins.install.LoadDetachedPluginsTest,jenkins.model.StartupTest

Tested by including Apache Mina sshd common 2.12.1-101.v85b_e08b_780dd and Apache Mina sshd core 2.12.1-101.v85b_e08b_780dd releases in the plugins.txt file of my Jenkins controller and running that controller with agents connected through ssh to Debian 10, Debian 11, Debian 12, Debian testing, Debian unstable, FreeBSD 13.1, Red Hat Enterprise Linux 8, Rocky Linux 9, Ubuntu 20.04, Ubuntu 22.04, and Windows 11,

Tested by running Jenkins with those pull requests and connecting to the command line interface that I configured to use the fixed port 44022 with an RSA ssh private key and the ssh server plugin. After registering my RSA public key with my account on the Jenkins controller, I was able to perform a quiet-down command over ssh with the command:

ssh -i ~/.ssh/id_rsa -p 44022 test-host quiet-down

Copy link
Contributor

@MarkEWaite MarkEWaite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@MarkEWaite MarkEWaite self-assigned this Mar 28, 2024
@MarkEWaite MarkEWaite merged commit 5e6387a into jenkinsci:master Mar 29, 2024
17 checks passed
@MarkEWaite MarkEWaite added the bug For changelog: Minor bug. Will be listed after features label Mar 29, 2024
krisstern pushed a commit to krisstern/jenkins that referenced this pull request Apr 2, 2024
Bump Mina to 2.12.1

Co-authored-by: Daniel Beck <daniel-beck@users.noreply.github.com>
Co-authored-by: Mark Waite <mark.earl.waite@gmail.com>
(cherry picked from commit 5e6387a)
krisstern pushed a commit to krisstern/jenkins that referenced this pull request Apr 4, 2024
Bump Mina to 2.12.1

Co-authored-by: Daniel Beck <daniel-beck@users.noreply.github.com>
Co-authored-by: Mark Waite <mark.earl.waite@gmail.com>
(cherry picked from commit 5e6387a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug For changelog: Minor bug. Will be listed after features dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants