Comment 0 for bug 2003231

Revision history for this message
Sebastien Bacher (seb128) wrote :

* Impact

The livepatch service is part of Ubuntu Pro now, the change integrate the desktop with the new service

* Test case

- log in an Ubuntu session

- ensure that the machine isn't attached to ubuntu pro (otherwise the screen would not be displayed)
$ pro status
and `$ pro deteach` if needed

- start the wizard
$ rm ~/.config/gnome-initial-setup-done
$ /usr/libexec/gnome-initial-setup --existing-user

the second step should be 'Enable Ubuntu Pro'

- Let Skip selected and click 'Next'
-> verify that it moves to the next page

- Click 'Previous'
-> it goes back to 'Enable Ubuntu Pro'

- Select 'Enable Ubuntu Pro' and click 'Next'
-> the first option 'Enter code on ubuntu.com/pro/attach' is selected and a PIN is display

- go to http://ubuntu.com/pro/attach and enter the PIN
-> the UI should update to display 'Valid token' nex to the PIN

- click 'Next'
a password prompt is displayed which is required to attach the machine
then a spinner is activated while the machine is behind attached to the service
once the registration is done it's moving to the 'Ubuntu Pro Services' page
-> enabled services should list ESM infra/ESM apps/livepatch

- go to a cmdline and do
$ pro status
the machine should be listed as attached

- check the top panel, the livepatch indicator should be displayed

- click 'Next'
-> it moves to the next page 'Help Improve Ubuntu'

go through the remaining wizard steps

* Regression Potential

There could be problems in the UI
The new service could be not working as expected
Strings are new and currently have no translations

Note that the changes aren't available in Lunar since the feature is going to be provided by the new subiquity based desktop installer going forward (gnome-inital-setup got ported from GTK3 to GTK4 in Kinetic so we can't simply use the current changeset until that point)