[jdk8u-dev] RFR: 8318039: GHA: Bump macOS and Xcode versions

Zdenek Zambersky zzambers at openjdk.org
Tue Jul 9 17:44:18 UTC 2024


On Tue, 9 Jul 2024 15:01:22 GMT, Zdenek Zambersky <zzambers at openjdk.org> wrote:

> This backport is written from scratch, as GHA workflows in jdk8u differ significantly from newer jdk versions.
> 
> Notes:
> - additionally installed `gawk` to prevent build error on newer macos (see my [comment](https://github.com/openjdk/jdk17u-dev/pull/2206#issuecomment-2217722646))
> - interestingly, unlike for newer jdks (11, 17), additional backports do not seem necessary to pass the build, probably build system of jdk8 is more relaxed, when it comes to warnings as errors
> - fixes problem of stuck macos jobs in GHA (caused by dropping of macos-11 by GitHub)
> 
> Testing:
> - macos builds pass
> - there are some test failures on updated macos, probably problem in test environment, seem to be hostname related -> to be fixed (either here, or in separate PR)

Most of macos test failures seem to be caused by machine hostname not being resolved to IP, as expected. When I tried to add entry to `/etc/hosts` assigning `127.0.0.1` to hostname of the machine, in separate branch, it [fixes](https://github.com/zzambers/jdk8u-dev/actions/runs/9860081409) most of the failures. (there are few remaining failures though)

@jerboaa Should I include fix here or rather create separate followup issue?

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

PR Comment: https://git.openjdk.org/jdk8u-dev/pull/544#issuecomment-2218303298


More information about the jdk8u-dev mailing list