Skip to content

Tests hanging up #2407

Description

@mouse07410

Aple Silicon, MacOS 26.6.2, Azul JDK "25.0.4.1" 2026-08-18 LTS. Current main. No other JDK.

Observing:

.  .  .
> Task :misc:compileJava
warning: [options] source value 8 is obsolete and will be removed in a future release
warning: [options] target value 8 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
3 warnings

> Task :misc:compileTestJava
warning: [options] source value 8 is obsolete and will be removed in a future release
warning: [options] target value 8 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
3 warnings
<==<=====<==========---> 79% EXECUTING [59m 59s]
<==========---> 79% EXECUTING [1h 1m 39s]
> IDLE
> IDLE
> IDLE
> :misc:test > Executing test org.bouncycastle.mail.smime.examples.test.AllTests
> IDLE
> :misc:test > 0 tests completed
> IDLE
> IDLE

"EXECUTING" time grows to tens of hours, no completion of tests. Logs (whatever I could find - perhaps I wasn't looking at the right place) were useless - no hint on what was wrong.

This is my build script:

#!/bin/bash -x

# If not set, by default gets assigned "1.8"
export JAVA_VERSION_PREFIX="25"
export BC_JDK25="/Library/Java/JavaVirtualMachines/zulu-25.jdk/Contents/Home"
export JDKPATH=/Library/Java/JavaVirtualMachines/zulu-25.jdk/Contents/Home
export JDKHOME=/Library/Java/JavaVirtualMachines/zulu-25.jdk/Contents/Home
export JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-25.jdk/Contents/Home

java -version

bc-remove || true
bash ./build1-8+ clean && chown -R mouse07410 * && time ./gradlew build && ./gradlew copyJars && chown -R mouse07410 * && ${HOME}/bin/bc_snapshot_processor.sh dist

date

Would appreciate help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions