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

Antonio Vieiro avieiro at openjdk.org
Wed Nov 19 15:54:41 UTC 2025


> This is a fix for an intermitent bug in `macos-13` and `macos-15` GHA runners, that makes it impossible for `getaddrinfo` to properly resolve `*.local` addressed, used as hostname in `macos`, making different `JDWP` and  `JDI` `macos` tests to fail.
> 
> The fix just adds  `$(hostname -f)` and `$(hostname -s)` to `/etc/hosts`, so they resolve as `127.0.0.1` as an additional step in github action runners.
> 
> All JDWP and JDI tests are expected to pass now.

Antonio Vieiro has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase.

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

Changes:
  - all: https://git.openjdk.org/jdk11u-dev/pull/3122/files
  - new: https://git.openjdk.org/jdk11u-dev/pull/3122/files/2e624f30..2e624f30

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=3122&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=3122&range=00-01

  Stats: 0 lines in 0 files changed: 0 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/3122.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/3122/head:pull/3122

PR: https://git.openjdk.org/jdk11u-dev/pull/3122


More information about the jdk-updates-dev mailing list