ci: bump debian-11 job to debian-12
PATCH 1/1 ci: bump debian-11 job to debian-12
Debian 11 just recently went out of its LTS period, and is unmaintained by the project (there is "Extended LTS", but it is a paid service provided by a third party).
The point of the debian-11 job was to cover older releases in the LTS state, per ac112fd4f0 (Add additional CI jobs to avoid accidental breakage, 2024-10-31). Bumping to debian-12 will cover us there for the next 2 years.
---
I started looking at this because I got an apt failure on a debian-11 job today. It might have just been a transient mirror failure (although it reproduced for several minutes afterwards). But this seems like the right step forward anyway.
I tested the GitHub job, but not the GitLab one. They should be pulling the same docker images, though, so I would expect it to Just Work.
.github/workflows/main.yml | 6 +++--- .gitlab-ci.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-)
.github/workflows/main.yml +3 -3
@@ -411,9 +411,9 @@ jobs: # A RHEL 8 compatible distro. Supported until 2029-05-31. - jobname: almalinux-8 image: almalinux:8 - # Supported until 2026-08-31. - - jobname: debian-11 - image: debian:11 + # Supported until 2028-06-30. + - jobname: debian-12 + image: debian:12 env: jobname: ${{matrix.vector.jobname}} CC: ${{matrix.vector.cc}}
.gitlab-ci.yml +3 -3
@@ -71,9 +71,9 @@ test:linux: # A RHEL 8 compatible distro. Supported until 2029-05-31. - jobname: almalinux-8 image: almalinux:8 - # Supported until 2026-08-31. - - jobname: debian-11 - image: debian:11 + # Supported until 2028-06-30. + - jobname: debian-12 + image: debian:12 artifacts: paths: - t/failed-test-artifacts
Signature · 1 line
2.55.0.1127.g25100ff258
Quoted 10 lines · Jeff King
Debian 11 just recently went out of its LTS period, and is unmaintained by the project (there is "Extended LTS", but it is a paid service provided by a third party).
The point of the debian-11 job was to cover older releases in the LTS state, per
ac112fd4f0(Add additional CI jobs to avoid accidental breakage, 2024-10-31). Bumping to debian-12 will cover us there for the next 2 years.Signed-off-by Jeff King <[email protected]>
Quoted 8 lines
---
I started looking at this because I got an apt failure on a debian-11 job today. It might have just been a transient mirror failure (although it reproduced for several minutes afterwards). But this seems like the right step forward anyway.I tested the GitHub job, but not the GitLab one. They should be pulling the same docker images, though, so I would expect it to Just Work.
Thanks. I also noticed debian-11 job failing. Will queue.
Quoted 39 lines
.github/workflows/main.yml | 6 +++--- .gitlab-ci.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-).github/workflows/main.yml +3
-3@@ -411,9 +411,9 @@ jobs: # A RHEL 8 compatible distro. Supported until 2029-05-31. - jobname: almalinux-8 image: almalinux:8 - # Supported until 2026-08-31. - - jobname: debian-11 - image: debian:11 + # Supported until 2028-06-30. + - jobname: debian-12 + image: debian:12 env: jobname: ${{matrix.vector.jobname}} CC: ${{matrix.vector.cc}}.gitlab-ci.yml +3
-3@@ -71,9 +71,9 @@ test:linux: # A RHEL 8 compatible distro. Supported until 2029-05-31. - jobname: almalinux-8 image: almalinux:8 - # Supported until 2026-08-31. - - jobname: debian-11 - image: debian:11 + # Supported until 2028-06-30. + - jobname: debian-12 + image: debian:12 artifacts: paths: - t/failed-test-artifacts
Quoted 4 lines · Jeff King
I started looking at this because I got an apt failure on a debian-11 job today. It might have just been a transient mirror failure (although it reproduced for several minutes afterwards). But this seems like the right step forward anyway.
BTW, I noticed that the linux32 build is using ubuntu 20.04, which has been out of LTS for a year. But bumping isn't really an option; they dropped i386 platform support, and so has Debian.
I'm mostly inclined to leave it unless/until it starts creating headaches. To some degree, if we cannot even find an image to test again, it might not be an important enough platform to care about. But I can also imagine there is a long tail of oddball 32-bit platforms that Git does run on (like small ARM chips), and it's nice to at least have some coverage. Possibly there's an ARM image we could use (looks like armhf?).
We also seem to use 20.04 for linux-TEST-vars. On the surface there's no reason it couldn't be using ubuntu-latest, though I think this may be one of those cases where it's doing double duty as "test exotic configs" and "test on an older platform". But might be worth bumping to the oldest in-scope LTS.
All out of scope for this patch, and mostly I'm inclined to ignore it for now until we hit problems (and then decide if it's worth accommodating or if old systems are too old).
-Peff
Quoted 11 lines · Jeff King
Quoted 4 lines · Jeff King
I started looking at this because I got an apt failure on a debian-11 job today. It might have just been a transient mirror failure (although it reproduced for several minutes afterwards). But this seems like the right step forward anyway.
BTW, I noticed that the linux32 build is using ubuntu 20.04, which has been out of LTS for a year. But bumping isn't really an option; they dropped i386 platform support, and so has Debian.
Quoted 7 lines
I'm mostly inclined to leave it unless/until it starts creating headaches. To some degree, if we cannot even find an image to test again, it might not be an important enough platform to care about. But I can also imagine there is a long tail of oddball 32-bit platforms that Git does run on (like small ARM chips), and it's nice to at least have some coverage. Possibly there's an ARM image we could use (looks like armhf?).
I agree that in the best case we'd find an alternative that works on 32 bit. But as you say, the list of x86 distros that still have support for 32 bit is shrinking quite a bit these days.
One of the bigger distros that still supports it properly is Alpine Linux. We already support it via linux-musl-meson, so it should be easy enough to extend. In theory, we could even merge these two jobs into a single job. We'd of course lose 32 bit glibc support, but that might be fine.
Quoted 5 lines
We also seem to use 20.04 for linux-TEST-vars. On the surface there's no reason it couldn't be using ubuntu-latest, though I think this may be one of those cases where it's doing double duty as "test exotic configs" and "test on an older platform". But might be worth bumping to the oldest in-scope LTS.
Yeah, might be worth it. It would've been great if they had a tag for this so we odn't have to bump ourselves, but on the other hand it's only a small bit of churn.
Patrick
Quoted 18 lines · Jeff King
BTW, I noticed that the linux32 build is using ubuntu 20.04, which has been out of LTS for a year. But bumping isn't really an option; they dropped i386 platform support, and so has Debian.
I'm mostly inclined to leave it unless/until it starts creating headaches. To some degree, if we cannot even find an image to test again, it might not be an important enough platform to care about. But I can also imagine there is a long tail of oddball 32-bit platforms that Git does run on (like small ARM chips), and it's nice to at least have some coverage. Possibly there's an ARM image we could use (looks like armhf?).
We also seem to use 20.04 for linux-TEST-vars. On the surface there's no reason it couldn't be using ubuntu-latest, though I think this may be one of those cases where it's doing double duty as "test exotic configs" and "test on an older platform". But might be worth bumping to the oldest in-scope LTS.
Quoted 3 lines
All out of scope for this patch, and mostly I'm inclined to ignore it for now until we hit problems (and then decide if it's worth accommodating or if old systems are too old).
I am getting annoyed enough to see that the lack of 20.04 is finally giving failures more often than it used to. And am planning to suggest to:
* drop linux32 job
* update linux-TEST-vars to run with ubuntu:rolling like everybody else with the default version of gcc
I personally do not see much value in the test-vars job in that enabling all exotic configs all at once would not match use patterns of any real world users, which may likely to enable only some but not all of them, and for that reason am also tempted to propose to just remove it at the same time as we remove linux32 job.
.github/workflows/main.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
.github/workflows/main.yml +1 -5
@@ -409,9 +409,8 @@ jobs: image: ubuntu:rolling cc: clang - jobname: linux-TEST-vars - image: ubuntu:20.04 + image: ubuntu:rolling cc: gcc - cc_package: gcc-8 - jobname: linux-breaking-changes cc: gcc image: ubuntu:rolling
@@ -431,9 +430,6 @@ jobs: cc: gcc - jobname: linux-musl-meson image: alpine:latest - # Supported until 2025-04-02. - - jobname: linux32 - image: i386/ubuntu:20.04 # A RHEL 8 compatible distro. Supported until 2029-05-31. - jobname: almalinux-8 image: almalinux:8
Quoted 30 lines · Junio C Hamano
Quoted 18 lines · Jeff King
BTW, I noticed that the linux32 build is using ubuntu 20.04, which has been out of LTS for a year. But bumping isn't really an option; they dropped i386 platform support, and so has Debian.
I'm mostly inclined to leave it unless/until it starts creating headaches. To some degree, if we cannot even find an image to test again, it might not be an important enough platform to care about. But I can also imagine there is a long tail of oddball 32-bit platforms that Git does run on (like small ARM chips), and it's nice to at least have some coverage. Possibly there's an ARM image we could use (looks like armhf?).
We also seem to use 20.04 for linux-TEST-vars. On the surface there's no reason it couldn't be using ubuntu-latest, though I think this may be one of those cases where it's doing double duty as "test exotic configs" and "test on an older platform". But might be worth bumping to the oldest in-scope LTS.
Quoted 3 lines
All out of scope for this patch, and mostly I'm inclined to ignore it for now until we hit problems (and then decide if it's worth accommodating or if old systems are too old).
I am getting annoyed enough to see that the lack of 20.04 is finally giving failures more often than it used to. And am planning to suggest to:
* drop linux32 job
Quoted 8 lines
* update linux-TEST-vars to run with ubuntu:rolling like everybody else with the default version of gcc
I personally do not see much value in the test-vars job in that enabling all exotic configs all at once would not match use patterns of any real world users, which may likely to enable only some but not all of them, and for that reason am also tempted to propose to just remove it at the same time as we remove linux32 job.
I think it'd be great to continue exercising i386, and Debian still has supported images for that.
Ialso think that we should keep the TEST-vars job. It has catched regressions several times for me in the past. Sure, the combination of flags in typically not exercised. But I think that by itself is not a good enough argument to drop this entirely.
But, oh well, you probably just want to snipe somebody into doing this. So fine, I'll bite and will send patches later today.
Patrick
Quoted 9 lines · Jeff King
Debian 11 just recently went out of its LTS period, and is unmaintained by the project (there is "Extended LTS", but it is a paid service provided by a third party).
The point of the debian-11 job was to cover older releases in the LTS state, per
ac112fd4f0(Add additional CI jobs to avoid accidental breakage, 2024-10-31). Bumping to debian-12 will cover us there for the next 2 years.
Quoted 6 lines
Signed-off-by Jeff King <[email protected]>---
I started looking at this because I got an apt failure on a debian-11 job today. It might have just been a transient mirror failure (although it reproduced for several minutes afterwards). But this seems like the right step forward anyway.
I noticed that the Debian jobs became flaky lately, too.
Quoted 2 lines
I tested the GitHub job, but not the GitLab one. They should be pulling the same docker images, though, so I would expect it to Just Work.
Yeah, same.
Quoted 24 lines
.github/workflows/main.yml +3
-3@@ -411,9 +411,9 @@ jobs: # A RHEL 8 compatible distro. Supported until 2029-05-31. - jobname: almalinux-8 image: almalinux:8 - # Supported until 2026-08-31. - - jobname: debian-11 - image: debian:11 + # Supported until 2028-06-30. + - jobname: debian-12 + image: debian:12 env: jobname: ${{matrix.vector.jobname}} CC: ${{matrix.vector.cc}}.gitlab-ci.yml +0
-0@@ -71,9 +71,9 @@ test:linux: # A RHEL 8 compatible distro. Supported until 2029-05-31. - jobname: almalinux-8
.gitlab-ci.yml test:linux: · line 79
Quoted 10 lines
.gitlab-ci.yml +3
-3image: almalinux:8 - # Supported until 2026-08-31. - - jobname: debian-11 - image: debian:11 + # Supported until 2028-06-30. + - jobname: debian-12 + image: debian:12 artifacts: paths: - t/failed-test-artifacts
The changes look good, but I wonder whether we want to swap to the "oldstable" tag instead. That points to debian-12, too, and might result in less churn going forward.
Patrick
Quoted 10 lines · Patrick Steinhardt
.gitlab-ci.yml test:linux: · line 79
Quoted 6 lines
.gitlab-ci.yml +3
-0+ # Supported until 2028-06-30. + - jobname: debian-12 + image: debian:12 artifacts: paths: - t/failed-test-artifactsThe changes look good, but I wonder whether we want to swap to the "oldstable" tag instead. That points to debian-12, too, and might result in less churn going forward.
I was all ready to agree and propose a patch, but I think it might be more complicated. The "old" flags flip when a new stable version is released, but what we really care about is things leaving LTS. And the two are not really aligned.
So if we wanted the oldest supported Debian release, that would have been "oldoldstable" (debian-11) until August 31st of this year. But after that, we want "oldstable" (debian-12), which is now the oldest thing under LTS. And that will be true until probably next summer, when debian-14 is released, at which point we'd want to stay on it by switching to "oldoldstable" again for another year.
The offset comes from the fact that Debian releases approximately every 2 years, but with a 5-year LTS, and they never align.
If we track oldstable, then every other year we're not using the oldest supported release (because the prior release is still in LTS). Or we track oldoldstable, which means every other year we're using a release that's no longer supported. Or we flip-flop between them once a year, when oldoldstable goes out of support.
Which makes me inclined to just keep the current scheme: use the numeric codes and just bump them every 2 years or so when they go out of support. And we can even put it off until the out-of-support release starts causing problems like it did here.
-Peff
Quoted 34 lines · Jeff King
Quoted 10 lines · Patrick Steinhardt
.gitlab-ci.yml test:linux: · line 79
Quoted 6 lines
.gitlab-ci.yml +3
-0+ # Supported until 2028-06-30. + - jobname: debian-12 + image: debian:12 artifacts: paths: - t/failed-test-artifactsThe changes look good, but I wonder whether we want to swap to the "oldstable" tag instead. That points to debian-12, too, and might result in less churn going forward.
I was all ready to agree and propose a patch, but I think it might be more complicated. The "old" flags flip when a new stable version is released, but what we really care about is things leaving LTS. And the two are not really aligned.
So if we wanted the oldest supported Debian release, that would have been "oldoldstable" (debian-11) until August 31st of this year. But after that, we want "oldstable" (debian-12), which is now the oldest thing under LTS. And that will be true until probably next summer, when debian-14 is released, at which point we'd want to stay on it by switching to "oldoldstable" again for another year.
The offset comes from the fact that Debian releases approximately every 2 years, but with a 5-year LTS, and they never align.
If we track oldstable, then every other year we're not using the oldest supported release (because the prior release is still in LTS). Or we track oldoldstable, which means every other year we're using a release that's no longer supported. Or we flip-flop between them once a year, when oldoldstable goes out of support.
Quoted 4 lines
Which makes me inclined to just keep the current scheme: use the numeric codes and just bump them every 2 years or so when they go out of support. And we can even put it off until the out-of-support release starts causing problems like it did here.
Sounds good, let's stick with the current patch then. Thanks!
Patrick
Quoted 10 lines · Jeff King
If we track oldstable, then every other year we're not using the oldest supported release (because the prior release is still in LTS). Or we track oldoldstable, which means every other year we're using a release that's no longer supported. Or we flip-flop between them once a year, when oldoldstable goes out of support.
Which makes me inclined to just keep the current scheme: use the numeric codes and just bump them every 2 years or so when they go out of support. And we can even put it off until the out-of-support release starts causing problems like it did here.
Sounds sensible to me. Thanks for thinking this through.