[Bug 1931112] Re: Apple vendor quirk check for LP#1928434 incorrectly fails on all non-DMI hardware

Steve Langasek 1931112 at bugs.launchpad.net
Mon Jun 7 20:00:18 UTC 2021


Hello Alyssa, or anyone else affected,

Accepted ubuntu-release-upgrader into hirsute-proposed. The package will
build now and be available at https://launchpad.net/ubuntu/+source
/ubuntu-release-upgrader/1:21.04.13 in a few hours, and then in the
-proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
hirsute to verification-done-hirsute. If it does not fix the bug for
you, please add a comment stating that, and change the tag to
verification-failed-hirsute. In either case, without details of your
testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: ubuntu-release-upgrader (Ubuntu Hirsute)
       Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-hirsute

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1931112

Title:
  Apple vendor quirk check for LP#1928434 incorrectly fails on all non-
  DMI hardware

Status in ubuntu-release-upgrader package in Ubuntu:
  Fix Released
Status in ubuntu-release-upgrader source package in Hirsute:
  Fix Committed

Bug description:
  Test Case
  ---------
  1) On an Ubuntu 20.10 system which does not have /sys/class/dmi run do-release-upgrade
  2) Observe a message saying that release upgrades are not allowed

  With the version of the release upgrader from -proposed upgrades will
  be allowed.

  Regression Test Case
  --------------------
  This test is to ensure that the quirk for bug 1929449 still works
  1) On Apple hardware running Ubuntu 20.10 run do-release-upgrade -p
  2) Observe a message regarding upgrades not being enabled for Apple hardware and the upgrade exit

  Regression Potential
  --------------------
  Its possible that the quirk won't run any more on Apple hardware but we've created a separate test case for that to ensure that it is still working. Additionally, a check has been added to see if '/sys/firmware/efi' exists before running the quirk. Testing that is covered by the regression test case.

  Original Description
  --------------------
  v 1:20.10.16

  DistUpgradeQuirks.py, in _test_and_fail_on_apple fails if
  _readDMIVendor() returns null i.e. if /sys/class/dmi/id/sys_vendor is
  unknown.

  However, this is a very common case - it means almost all non-x86
  hardware and many VMs (including my test case, WSL2 20.10 -> 21.04)
  cannot at the time of writing currently upgrade to 21.04.

  This was noted in "Where problems could occur" on
  https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-
  upgrader/+bug/1929449 where the root cause of this bug was introduced,
  but seems to have been an intentional emergency 'safe' choice while
  the shim bug is fixed.

  This emergency patch has been in place for 2 weeks now, blocking
  updates, however the shim-signed bug appears to be fixed now but the
  quirk is still in place - perhaps the "system vendor is unknown" check
  should be removed for now, and once verified the quirk removed
  altogether?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1931112/+subscriptions



More information about the foundations-bugs mailing list