[jdk8u-dev] RFR: 8336451: [11u] GHA macos-13 and macos-15 builders are unable to resolve local hostname

Severin Gehwolf sgehwolf at openjdk.org
Fri Jan 23 20:38:13 UTC 2026


Another GHA work-around. Sometimes GHA tests on MacOSX fails with something like:


VM initialization failed for: /Users/runner/jdk-macos-x64/jdk-1.8.0-internal+0_osx-x64_bin/j2sdk-image/jre/bin/java -classpath /Users/runner/work/jdk8u-dev/jdk8u-dev/test-results/testoutput/jdk_tier1/JTwork/classes/com/sun/jdi -Xdebug -Xrunjdwp:transport=dt_socket,address=sjc20-cw752-2deed029-f22c-4b58-be22-6c2b8db93551-8E6FDEE10350.local:49673,suspend=y AccessSpecifierTarg


For test:

com/sun/jdi/RedefineCrossEvent.java


See for example here:
https://github.com/jerboaa/jdk8u-dev/actions/runs/21296331427/job/61304441710#step:12:1032

The reason is similar to the failures we saw in JDK 11u. Therefore, I propose to backport the GHA work-around to JDK 8u as well. This should stabilize testing.

Test run with this is here:
https://github.com/jerboaa/jdk8u-dev/actions/runs/21300159612

-------------

Commit messages:
 - 8336451: [11u] GHA macos-13 and macos-15 builders are unable to resolve local hostname

Changes: https://git.openjdk.org/jdk8u-dev/pull/749/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=749&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8336451
  Stats: 6 lines in 1 file changed: 6 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk8u-dev/pull/749.diff
  Fetch: git fetch https://git.openjdk.org/jdk8u-dev.git pull/749/head:pull/749

PR: https://git.openjdk.org/jdk8u-dev/pull/749


More information about the jdk8u-dev mailing list