You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Thomas Wolf <tw...@apache.org> on 2025/10/22 17:48:58 UTC
[VOTE, TAKE 2] Milestone Pre-Release Apache MINA SSHD 3.0.0-M2
Hello,
I've staged a new candidate for a new milestone pre-release 3.0.0-M2.
The container that caused troubles before when building from source
on an ARM-based Mac has been replaced by a better alternative.
Official staging repo:
https://dist.apache.org/repos/dist/dev/mina/sshd/3.0.0-M2/
Maven staging repo:
https://repository.apache.org/content/repositories/orgapachemina-1119
Git tag:
https://github.com/apache/mina-sshd/commits/sshd-3.0.0-M2
Change notes:
https://github.com/apache/mina-sshd/blob/sshd-3.0.0-M2/CHANGES.md
Apache MINA KEYS file:
https://downloads.apache.org/mina/KEYS
Please review and vote!
Cheers,
Thomas
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org
Re: [VOTE, TAKE 2] Milestone Pre-Release Apache MINA SSHD 3.0.0-M2
Posted by Gary Gregory <ga...@gmail.com>.
On Thu, Oct 23, 2025 at 1:23 PM Thomas Wolf <tw...@apache.org> wrote:
>
> On 23.10.25 15:00, Gary Gregory wrote:
> > I tested the src zip file:
> > - ASC OK
> > - SHA512 OK
> > - mvn clean verify
> >
> > This causes errors in
> > org.apache.sshd.common.forward.ApacheServerJSchClientTest as "flakes"
> > warnings?. What does it mean?
> >
> > Please see https://gist.github.com/garydgregory/622094942ed1d1a34e22e97c46a63c9a
>
> TL;DR: yes, some tests are flaky. Ignore that as long as the full build
> reports success.
+1.
TY for the details.
Gary
>
> Long version:
>
> Flaky tests are a perennial pain point. I spent quite some time a while
> back (I think in 2022) to get stable builds on my machine and in CI, but
> that doesn't mean that all our tests are fully stable.
>
> Also: re-trying surefire tests multiple times actually hides the
> flakiness in CI (unless you'd go inspect every build output for flakes).
>
> From time to time some tests still are flaky. I don't know what exactly
> went wrong in your run; if the same test is frequently flaky, you'd
> have to debug failing runs live to have a chance to figure out where
> the problem is.
>
> From my past experience, problems that cause flaky tests can be
>
> - bugs in Apache MINA SSHD, typically a race condition somewhere.
> - problems with sockets; sometimes in tests re-using sockets too
> quickly, but sometimes also for unspecific reasons in the
> environment or OS.
> - bugs in Apache MINA SSHD test code, typically expecting some
> assertion to be true synchronously when in fact the condition
> is fulfilled only asynchronously.
> - some tests are only flaky on some I/O transports. A test might
> work perfectly on NIO2 or MINA, but be flaky on Netty. Or be
> fine on NIO2 and Netty but be flaky on MINA. Or some other
> combination.
> - bugs and race conditions in third-party libraries used in tests.
> (In particular JSch.)
>
> (The list is not exhaustive!)
>
> It's also possible that the refactorings done in 3.0.0 so far have
> introduced a new problem that might make some tests flaky now, but
> locally I have not observed anything like that. (Nor in CI).
>
> However: I use a nearly 10 year old Intel Mac as development machine,
> which is not the fastest. CI build in Github are also not exactly
> fast. It's possible that running the tests on your much more powerful
> ARM Mac uncovers new flakiness. You might hit race conditions that
> just never occur on slower machines.
>
> Cheers,
>
> Thomas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
> For additional commands, e-mail: dev-help@mina.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org
Re: [VOTE, TAKE 2] Milestone Pre-Release Apache MINA SSHD 3.0.0-M2
Posted by Thomas Wolf <tw...@apache.org>.
On 23.10.25 15:00, Gary Gregory wrote:
> I tested the src zip file:
> - ASC OK
> - SHA512 OK
> - mvn clean verify
>
> This causes errors in
> org.apache.sshd.common.forward.ApacheServerJSchClientTest as "flakes"
> warnings?. What does it mean?
>
> Please see https://gist.github.com/garydgregory/622094942ed1d1a34e22e97c46a63c9a
TL;DR: yes, some tests are flaky. Ignore that as long as the full build
reports success.
Long version:
Flaky tests are a perennial pain point. I spent quite some time a while
back (I think in 2022) to get stable builds on my machine and in CI, but
that doesn't mean that all our tests are fully stable.
Also: re-trying surefire tests multiple times actually hides the
flakiness in CI (unless you'd go inspect every build output for flakes).
From time to time some tests still are flaky. I don't know what exactly
went wrong in your run; if the same test is frequently flaky, you'd
have to debug failing runs live to have a chance to figure out where
the problem is.
From my past experience, problems that cause flaky tests can be
- bugs in Apache MINA SSHD, typically a race condition somewhere.
- problems with sockets; sometimes in tests re-using sockets too
quickly, but sometimes also for unspecific reasons in the
environment or OS.
- bugs in Apache MINA SSHD test code, typically expecting some
assertion to be true synchronously when in fact the condition
is fulfilled only asynchronously.
- some tests are only flaky on some I/O transports. A test might
work perfectly on NIO2 or MINA, but be flaky on Netty. Or be
fine on NIO2 and Netty but be flaky on MINA. Or some other
combination.
- bugs and race conditions in third-party libraries used in tests.
(In particular JSch.)
(The list is not exhaustive!)
It's also possible that the refactorings done in 3.0.0 so far have
introduced a new problem that might make some tests flaky now, but
locally I have not observed anything like that. (Nor in CI).
However: I use a nearly 10 year old Intel Mac as development machine,
which is not the fastest. CI build in Github are also not exactly
fast. It's possible that running the tests on your much more powerful
ARM Mac uncovers new flakiness. You might hit race conditions that
just never occur on slower machines.
Cheers,
Thomas
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org
Re: [VOTE, TAKE 2] Milestone Pre-Release Apache MINA SSHD 3.0.0-M2
Posted by Gary Gregory <ga...@gmail.com>.
I tested the src zip file:
- ASC OK
- SHA512 OK
- mvn clean verify
This causes errors in
org.apache.sshd.common.forward.ApacheServerJSchClientTest as "flakes"
warnings?. What does it mean?
Please see https://gist.github.com/garydgregory/622094942ed1d1a34e22e97c46a63c9a
TY,
Gary
On Wed, Oct 22, 2025 at 1:48 PM Thomas Wolf <tw...@apache.org> wrote:
>
> Hello,
>
> I've staged a new candidate for a new milestone pre-release 3.0.0-M2.
> The container that caused troubles before when building from source
> on an ARM-based Mac has been replaced by a better alternative.
>
> Official staging repo:
> https://dist.apache.org/repos/dist/dev/mina/sshd/3.0.0-M2/
> Maven staging repo:
> https://repository.apache.org/content/repositories/orgapachemina-1119
>
> Git tag:
> https://github.com/apache/mina-sshd/commits/sshd-3.0.0-M2
> Change notes:
> https://github.com/apache/mina-sshd/blob/sshd-3.0.0-M2/CHANGES.md
>
>
> Apache MINA KEYS file:
> https://downloads.apache.org/mina/KEYS
>
>
> Please review and vote!
>
> Cheers,
>
> Thomas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
> For additional commands, e-mail: dev-help@mina.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org
Re: [VOTE, TAKE 2] Milestone Pre-Release Apache MINA SSHD 3.0.0-M2
Posted by jg...@apache.org.
+1
Jeff
> On Oct 22, 2025, at 11:48 AM, Thomas Wolf <tw...@apache.org> wrote:
>
> Hello,
>
> I've staged a new candidate for a new milestone pre-release 3.0.0-M2.
> The container that caused troubles before when building from source
> on an ARM-based Mac has been replaced by a better alternative.
>
> Official staging repo:
> https://dist.apache.org/repos/dist/dev/mina/sshd/3.0.0-M2/
> Maven staging repo:
> https://repository.apache.org/content/repositories/orgapachemina-1119
>
> Git tag:
> https://github.com/apache/mina-sshd/commits/sshd-3.0.0-M2
> Change notes:
> https://github.com/apache/mina-sshd/blob/sshd-3.0.0-M2/CHANGES.md
>
>
> Apache MINA KEYS file:
> https://downloads.apache.org/mina/KEYS
>
>
> Please review and vote!
>
> Cheers,
>
> Thomas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
> For additional commands, e-mail: dev-help@mina.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org
Re: [VOTE, TAKE 2] Milestone Pre-Release Apache MINA SSHD 3.0.0-M2
Posted by Guillaume Nodet <gn...@apache.org>.
+1
Le mer. 22 oct. 2025 à 19:49, Thomas Wolf <tw...@apache.org> a écrit :
> Hello,
>
> I've staged a new candidate for a new milestone pre-release 3.0.0-M2.
> The container that caused troubles before when building from source
> on an ARM-based Mac has been replaced by a better alternative.
>
> Official staging repo:
> https://dist.apache.org/repos/dist/dev/mina/sshd/3.0.0-M2/
> Maven staging repo:
> https://repository.apache.org/content/repositories/orgapachemina-1119
>
> Git tag:
> https://github.com/apache/mina-sshd/commits/sshd-3.0.0-M2
> Change notes:
> https://github.com/apache/mina-sshd/blob/sshd-3.0.0-M2/CHANGES.md
>
>
> Apache MINA KEYS file:
> https://downloads.apache.org/mina/KEYS
>
>
> Please review and vote!
>
> Cheers,
>
> Thomas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
> For additional commands, e-mail: dev-help@mina.apache.org
>
>
--
------------------------
Guillaume Nodet
[SUCCESS][VOTE, TAKE 2] Milestone Pre-Release Apache MINA SSHD 3.0.0-M2
Posted by Thomas Wolf <tw...@apache.org>.
Hello,
thanks all for checking the release and voting!
I count four +1's (Emmanuel, Gary, Guillaume, and Jeff) and no other votes.
I'm going to publish this milestone pre-release.
Cheers,
Thomas
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org
Re: [VOTE, TAKE 2] Milestone Pre-Release Apache MINA SSHD 3.0.0-M2
Posted by Emmanuel Lecharny <el...@gmail.com>.
Build tested, signature checked, all good for me.
+1
Thanks!
On 10/22/25 19:48, Thomas Wolf wrote:
> Hello,
>
> I've staged a new candidate for a new milestone pre-release 3.0.0-M2.
> The container that caused troubles before when building from source
> on an ARM-based Mac has been replaced by a better alternative.
>
> Official staging repo:
> https://dist.apache.org/repos/dist/dev/mina/sshd/3.0.0-M2/
> Maven staging repo:
> https://repository.apache.org/content/repositories/orgapachemina-1119
>
> Git tag:
> https://github.com/apache/mina-sshd/commits/sshd-3.0.0-M2
> Change notes:
> https://github.com/apache/mina-sshd/blob/sshd-3.0.0-M2/CHANGES.md
>
>
> Apache MINA KEYS file:
> https://downloads.apache.org/mina/KEYS
>
>
> Please review and vote!
>
> Cheers,
>
> Thomas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
> For additional commands, e-mail: dev-help@mina.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org