Skip to content

Build failure on macOS and Java 17 in org.apache.juneau.secret.macos.keychain.KeychainSecretStore_Test #396

Description

@garydgregory

I get:

[INFO] Running org.apache.juneau.secret.macos.keychain.KeychainSecretStore_Test
password data for new item: [ERROR] Tests run: 12, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 15.52 s <<< FAILURE! -- in org.apache.juneau.secret.macos.keychain.KeychainSecretStore_Test
[ERROR] org.apache.juneau.secret.macos.keychain.KeychainSecretStore_Test.a01_roundTrip -- Time elapsed: 15.06 s <<< ERROR!
java.lang.IllegalStateException: Timed out invoking '/usr/bin/security' after 15 seconds.
	at org.apache.juneau.commons.utils.Shorts.isex(Shorts.java:1757)
	at org.apache.juneau.secret.macos.keychain.KeychainSecretStore.run(KeychainSecretStore.java:225)
	at org.apache.juneau.secret.macos.keychain.KeychainSecretStore.store(KeychainSecretStore.java:131)
	at org.apache.juneau.secret.macos.keychain.KeychainSecretStore_Test.a01_roundTrip(KeychainSecretStore_Test.java:63)

Running:

mvn

Using:

openjdk version "17.0.20.1" 2026-08-18
OpenJDK Runtime Environment Homebrew (build 17.0.20.1+0)
OpenJDK 64-Bit Server VM Homebrew (build 17.0.20.1+0, mixed mode, sharing)

Apache Maven 3.9.16 (2bdd9fddda4b155ebf8000e807eb73fd829a51d5)
Maven home: /opt/homebrew/Cellar/maven/3.9.16/libexec
Java version: 17.0.20.1, vendor: Homebrew, runtime: /opt/homebrew/Cellar/openjdk@17/17.0.20.1/libexec/openjdk.jdk/Contents/Home
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "26.6.2", arch: "aarch64", family: "mac"

Darwin ****.local 25.6.0 Darwin Kernel Version 25.6.0: Fri Jul 31 19:17:26 PDT 2026; root:xnu-12377.161.14~5/RELEASE_ARM64_T6041 arm64

Docker version 29.7.2, build a7dcaa6

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions