[Merge] ~bamf0/ubuntu-release-upgrader:ibm-prevent-z13-26-04-update into ubuntu-release-upgrader:ubuntu/main

Simon Johnsson mp+499739 at code.launchpad.net
Tue Feb 3 14:22:31 UTC 2026


Simon Johnsson has proposed merging ~bamf0/ubuntu-release-upgrader:ibm-prevent-z13-26-04-update into ubuntu-release-upgrader:ubuntu/main.

Requested reviews:
  git-ubuntu import (git-ubuntu-import)
  Nick Rosbrook (enr0n)

For more details, see:
https://code.launchpad.net/~bamf0/ubuntu-release-upgrader/+git/ubuntu-release-upgrader/+merge/499739

This merge request will introduce a quirk that prevents s390x systems below the z15 generation to upgrade beyond 25.10, since 26.04 LTS will introduce a requirement of z15 or higher.

Changed files:
* DistUpgrade/DistUpgradeQuirks.py - Introduce a PostInitialUpdate fail check that aborts
  upgrades on s390x generations below z15.

Added files:
* DistUpgrade/S390xGeneration.py - Ordered enum constants representing s390x generations and
  function for parsing the system's generation from /proc/cpuinfo.
* tests/test_s390x_generation.py - Unit tests for the S390xGeneration module verifying parsing
  and known machine types.

---

Local autopkgtest results on amd64:

Ran 66 tests in 5.865s

OK (SKIP=1)
autopkgtest [14:30:11]: test nose-tests: -----------------------]
autopkgtest [14:30:12]: test nose-tests:  - - - - - - - - - - results - - - - - - - - - -
nose-tests           PASS
autopkgtest [14:30:13]: @@@@@@@@@@@@@@@@@@@@ summary
nose-tests           PASS
qemu-system-x86_64: terminating on signal 15 from pid 150998 (/usr/bin/python3)
-- 
Your team Ubuntu Core Development Team is subscribed to branch ubuntu-release-upgrader:ubuntu/main.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: review-diff.txt
Type: text/x-diff
Size: 8328 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-reviews/attachments/20260203/89017b2e/attachment.diff>


More information about the Ubuntu-reviews mailing list