[jdk11u-dev] Integrated: 8336451: [11u] GHA macos-13 and macos-15 builders are unable to resolve local hostname
Antonio Vieiro
avieiro at openjdk.org
Wed Nov 19 17:08:24 UTC 2025
On Tue, 18 Nov 2025 15:54:57 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.
This pull request has now been integrated.
Changeset: a9de6b6a
Author: Antonio Vieiro <avieiro at openjdk.org>
URL: https://git.openjdk.org/jdk11u-dev/commit/a9de6b6ae7393fceeefcd0a7b92c1361c324c632
Stats: 7 lines in 1 file changed: 7 ins; 0 del; 0 mod
8336451: [11u] GHA macos-13 and macos-15 builders are unable to resolve local hostname
Reviewed-by: sgehwolf
-------------
PR: https://git.openjdk.org/jdk11u-dev/pull/3122
More information about the jdk-updates-dev
mailing list