RFR: 8339548: GHA: RISC-V: Use Debian snapshot archive for bootstrap
Fei Yang
fyang at openjdk.org
Thu Sep 5 01:27:51 UTC 2024
On Wed, 4 Sep 2024 14:40:38 GMT, Fei Yang <fyang at openjdk.org> wrote:
> Debian "sid" or "unstable" (https://httpredir.debian.org/debian) that we use for debootstrapping RISC-V breaks very often. Currently, the GHA linux-cross-build for RISC-V would not continue and is simply skipped when this debootstrap for "sid" repos fails. (See [JDK-8326960](https://bugs.openjdk.org/browse/JDK-8326960) for more details). This is affecting GHA linux-cross-build for RISC-V for quite some time. As a result, we failed to catch some early build issues.
>
> But I don't think we need to catch up with the latest Debian "unstable" for our GHA verification purpose. So one way would be using some older but working Debian shapshot [1] [2] for our purpose. I find the most recent usable shapshot is https://snapshot.debian.org/archive/debian/20240228T034848Z/. We can switch back to more stable Debian repo once it graduates.
>
> [1] https://snapshot.debian.org/
> [2] https://lists.debian.org/debian-snapshot/
>
> Testing:
> - [x] GHA
OK. Great. I see GHAs (especially linux-cross-compile for riscv64 job) are clean with this change.
I will integrate after I get a second review from build/GHA maintainers. Maybe @erikj79 ? Thanks.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20853#issuecomment-2330420516
More information about the build-dev
mailing list