[jdk11u-dev] RFR: 8293107: GHA: Bump to Ubuntu 22.04

Aleksey Shipilev shade at openjdk.org
Mon Aug 21 13:13:35 UTC 2023


On Mon, 21 Aug 2023 10:56:18 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> This similar to the bulk GHA update we did here: https://github.com/shipilev/jdk17u-dev/commit/260f28761a87553fd634615df5ba3db5b76ae692 -- but now for 11u.
> 
> Note this effectively reverts [JDK-8284772](https://bugs.openjdk.org/browse/JDK-8284772). I strongly believe if we change minor GCC version handling, we should be doing it in mainline, and then pulling changes in as the proper backports, not forward ports from 8u -> 11u.
> 
> There are other GHA improvements we would backport later. This one atomic PR brings in 11u GHA closer to mainline GHA state without breaking the builds. For reference, after this PR, the 11u-vs-mainline GHA diff would be this: [gha-11u-vs-mainline.patch](https://github.com/openjdk/jdk11u-dev/files/12395257/gha-11u-vs-mainline.patch)

We had the [longer discussion about this already](https://bugs.openjdk.org/browse/JDK-8293107) in the RFE itself. 

> What is the reason for this PR, reducing maintenance by reducing delta to upstream?

Yes.

This is how you look at it: GHA is not under our control. When GHA infra changes, it changes globally for all JDK releases currently in testing. Therefore, the sane way to maintain GHA across JDK release repos is to keep it in sync as much as possible. That's what we did in 17u, and this is what we have to do in 11u, lest somebody is signing up to maintain the diverged 11u GHA going forward.

> I would slightly prefer testing 11u on older systems with older glibcs (20.04 still rocks 2.31, which predates mallinfo2() for instance).

We cannot do toolchain compatibility testing with GHA, because GHA infra is not under our control. If we keep old GHA code, the testing would first slow down, then it would start sporadically break on the way to EOL, and then it would completely break. Which also means we would be _forced to do this sync anyway_.

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

PR Comment: https://git.openjdk.org/jdk11u-dev/pull/2090#issuecomment-1686300322


More information about the jdk-updates-dev mailing list