[jdk11u-dev] RFR: 8253424: Add support for running pre-submit testing using GitHub Actions
Severin Gehwolf
sgehwolf at openjdk.java.net
Wed Aug 4 17:11:29 UTC 2021
On Wed, 4 Aug 2021 09:19:38 GMT, Christoph Langer <clanger at openjdk.org> wrote:
> This is the backport of the GitHub Actions workflow to JDK11 Updates
>
> It is close to the current state of the workflow in head openjdk/jdk, except for the following modifications:
>
> - No Windows Aarch64
> - No MacOs Aarch64
> - Used jtreg5.1-b01 vs. jtreg-6+1 (which means a slight modification for the steps that build it). This can/should probably be updated later
> - Use Adopt OpenJDK 11.0.11 as boot JDK (I don't know whether Adoptium 11.0.12 is ready. I guess this can be changed later on as well)
> - Computation of JDK_VERSION used in bundle names: It is different because 11u is an update release (e.g. we have to account for 11.0.13 vs. only 11)
> - Added a step "Fix jtreg permissions" because configure on Linux/Mac would bail out otherwise. I don't know why this is not needed in head. Maybe configure was improved?
> - Use gcc 9 vs. gcc 10 on Linux. I chose to take what we use in SAP's nightly tests for the moment. We could probably spend some effort later to update the code to be able to compile on gcc 10.
> - No gtest support
> - Make target for test runs is "run-test-prebuilt" vs. "test-prebuilt". There was some refactoring between 11 and 18.
> - MacOS bundle names contain 'osx' (vs 'macos' in head)
>
> To make the pipeline work and results look greenish, I proposed 6 other backports to be done before merging this: #180, #181, #182, #185, #186 and #187.
>
> There are probably a few more testfixes needed to further reduce testing noise.
My preference would be to use Temurin binaries.
make/conf/test-dependencies line 34:
> 32:
> 33: LINUX_X64_BOOT_JDK_FILENAME=openjdk-11_linux-x64_bin.tar.gz
> 34: LINUX_X64_BOOT_JDK_URL=https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.11%2B9/OpenJDK11U-jdk_x64_linux_hotspot_11.0.11_9.tar.gz
Could we use Eclipse Temurin binaries now, please? Latest is:
https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.12%2B7/OpenJDK11U-jdk_x64_linux_hotspot_11.0.12_7.tar.gz
See:
https://github.com/adoptium/temurin11-binaries/releases/tag/jdk-11.0.12%2B7
-------------
PR: https://git.openjdk.java.net/jdk11u-dev/pull/189
More information about the jdk-updates-dev
mailing list