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

Severin Gehwolf sgehwolf at openjdk.org
Wed Nov 19 16:57:30 UTC 2025


On Wed, 19 Nov 2025 16:03:02 GMT, Antonio Vieiro <avieiro at openjdk.org> wrote:

>> 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. The pull request contains three additional commits since the last revision:
> 
>  - Merge branch 'master' of https://git.openjdk.org/jdk11u-dev into backports/JDK-8336451-2
>  - 8336451: [11u] GHA macos-13 and macos-15 builders are unable to resolve local hostname
>  - Backport 7fe25530c47cacc11c5214ef7ef4db443701eabf

Marked as reviewed by sgehwolf (Reviewer).

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

PR Review: https://git.openjdk.org/jdk11u-dev/pull/3122#pullrequestreview-3483554071


More information about the jdk-updates-dev mailing list