Hi Gary,

I have Docker 2.25.2 running on my Mac.

$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES b3cfc446e8f4 testcontainers/ryuk:0.3.3 "/app" 23 seconds ago Up 22 seconds 0.0.0.0:60997->8080/tcp testcontainers-ryuk-6366f9f8-f922-41c8-b2b1-3e30dd1e4671

or

$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 1d69e8b3f633 localhost/testcontainers/tx3g8n6fh63vansg:latest "/usr/sbin/sshd -D -…" 2 seconds ago Up 2 seconds 0.0.0.0:61124->22/tcp quizzical_lederberg
b3cfc446e8f4   testcontainers/ryuk:0.3.3

so basically, it works.

It sometimes asks me for my KeyChain password.


On 10/02/2024 17:42, Gary Gregory wrote:
I just updated to DD 4.27.2 (137060), it crashed on the restart and
asked me to reset to factory settings, I did, then restarted DD. The
UI says "engine running"

run 'mvn clean verify" and the 1st reported failure is:

[ERROR] Tests run: 6, Failures: 0, Errors: 6, Skipped: 0, Time
elapsed: 0.078 s <<< FAILURE! -- in
org.apache.sshd.client.auth.pubkey.HostBoundPubKeyAuthTest
[ERROR] 
org.apache.sshd.client.auth.pubkey.HostBoundPubKeyAuthTest.testPubkeyAuth[user01_rsa_sha2_512_2048]
-- Time elapsed: 0.075 s <<< ERROR!
java.lang.IllegalStateException: Could not find a valid Docker
environment. Please see logs and check configuration
at 
org.testcontainers.dockerclient.DockerClientProviderStrategy.lambda$getFirstValidStrategy$4(DockerClientProviderStrategy.java:156)
at java.base/java.util.Optional.orElseThrow(Optional.java:408)
at 
org.testcontainers.dockerclient.DockerClientProviderStrategy.getFirstValidStrategy(DockerClientProviderStrategy.java:148)
at 
org.testcontainers.DockerClientFactory.getOrInitializeStrategy(DockerClientFactory.java:146)
at org.testcontainers.DockerClientFactory.client(DockerClientFactory.java:188)
at 
org.testcontainers.DockerClientFactory$1.getDockerClient(DockerClientFactory.java:101)
at 
com.github.dockerjava.api.DockerClientDelegate.authConfig(DockerClientDelegate.java:107)
at 
org.testcontainers.containers.GenericContainer.start(GenericContainer.java:316)
at 
org.testcontainers.containers.GenericContainer.starting(GenericContainer.java:1066)
at 
org.testcontainers.containers.FailureDetectingExternalResource$1.evaluate(FailureDetectingExternalResource.java:29)

I must be missing some requirements. The 'docker' app is not on my
PATH. Is it on yours? Can you say 'docker ps' for example?

Gary

On Sat, Feb 10, 2024 at 11:32 AM Gary Gregory <garydgreg...@gmail.com> wrote:

Hi Emmanuel:

Yes: Docker Desktop 4.27.1 (136059)

Gary

On Sat, Feb 10, 2024 at 11:25 AM Emmanuel Lécharny <elecha...@gmail.com> wrote:

Hi Gary,

I had it working on my Mac, have you docker running before launching the
test?

On 10/02/2024 04:10, Gary Gregory wrote:
Testing src zip file.

- ASC OK
- Eyeballing SHA512 is OK but can't be checked with "shasum --check
apache-sshd-2.12.1-src.zip.sha512"
- On macOS, with Docker running, the tests can't find it or download
an image, if that's what it is trying to do:
[ERROR] Errors:
[ERROR] 
org.apache.sshd.client.auth.pubkey.HostBoundPubKeyAuthTest.testPubkeyAuth[user01_ecdsa_256]
[ERROR]   Run 1:
HostBoundPubKeyAuthTest.testPubkeyAuth[user01_ecdsa_256] »
IllegalState Previous attempts to find a Docker environment failed.
Will not retry. Please see logs and check configuration

This is with both Java 17 and 11.

Any ideas?

Gary


On Tue, Feb 6, 2024 at 10:35 AM Guillaume Nodet <gno...@apache.org> wrote:

I've staged a candidate release for an SSHD bug fix 2.12.1 release at:
Official staging repo:
    https://dist.apache.org/repos/dist/dev/mina/sshd/2.12.1/
Maven staging repo:
    https://repository.apache.org/content/repositories/orgapachemina-1091
Git tag:
    https://github.com/apache/mina-sshd/commits/sshd-2.12.1
Changelog:
    https://github.com/apache/mina-sshd/blob/sshd-2.12.1/docs/changes/2.12.1.md

Please review and vote !

--
------------------------
Guillaume Nodet

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


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


--
*Emmanuel Lécharny* P. +33 (0)6 08 33 32 61
elecha...@apache.org

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


--
*Emmanuel Lécharny* P. +33 (0)6 08 33 32 61
elecha...@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