I installed .13 from proposed.

Ensured that the machine wasn't attached to ubuntu pro with

$ pro status

Launched software-properties-gtk, went to the Ubuntu Pro tab, which
stated 'This machine is not covered by an Ubuntu Pro subscription',
displayed a 'Enable Ubuntu Pro' button and had the service controls
inactive.

Clicked 'Enable Ubuntu Pro' and entered the PIN in
ubuntu.com/pro/attach, after some seconds the software-properties UI
updated and displayed a green mark and 'Valid token' label, I clicked
'Confirm', entered password at the prompt, the spinner showed up in
place of the mark/label, once the attachment job was done the dialog was
autoclosed.

The UI then stated 'Ubuntu Pro support is enabled' and under Security
'ESM Infra', 'ESM Apps' and 'Kernel Livepatch' were displayed an
enabled, with '$ pro status' output matching the UI.

Enabled and disabled Infra in the UI and confirmed that the 'pro status'
changed accordingly.

Clicked 'Disable Ubuntu Pro', got asked for confirmation and password,
confirmed that the UI is back to the original state and that 'pro
status' confirmed the system wasn't attached to Ubuntu Pro anymore.

The same testcase also succeeded for the 'Or add token manually' option.


** Tags removed: verification-needed verification-needed-xenial
** Tags added: verification-done verification-done-xenial

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to software-properties in
Ubuntu.
https://bugs.launchpad.net/bugs/2029473

Title:
  Backport Ubuntu Pro to Xenial

Status in software-properties package in Ubuntu:
  Fix Released
Status in software-properties source package in Xenial:
  Fix Committed

Bug description:
  * Impact

  We want desktop integration with Ubuntu Pro

  * Test case

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

  - $ software-properties-gtk
  -> the list of tabs should include an 'Ubuntu Pro' one

  The Ubuntu Pro tab should state 'This machine is not covered by an
  Ubuntu Pro subscription', display a 'Enable Ubuntu Pro' button and
  have other controls inactive

  - click 'Enable Ubuntu Pro'
  -> A dialog 'Enable Ubuntu Pro' opens
  -> the first option 'Enter code on ubuntu.com/pro/attach' is selected
  -> a pincode is displayed under the option

  - go to http//ubuntu.com/pro/attach and enter the pincode
  -> after some seconds the software-properties UI should update and display a 
green mark and 'Valid token' label on the right of the pincode

  - click 'Confirm'
  -> you should get an authentification prompt

  - enter your password
  -> a spinner starts animating instead of the 'Valid token' label
  -> once the attachment job is done the dialog is autoclosed
  -> the UI should now state 'Ubuntu Pro support is enabled', under Security 
'ESM Infra', 'ESM Apps' and 'Kernel Livepatch' should be displayed an enabled
  (or without 'ESM Apps' if you don't have the current ubuntu-advantage-tools)

  - check that the '$ pro status' output matches the UI one

  - try enabling/disable options
  -> verify that the 'pro status' change accordingly

  - Click 'Disable Ubuntu Pro'
  -> you get asked for confirmation and password
  -> confirm that the UI is back to the original state and that 'pro status' 
confirm the system isn't attached to Ubuntu Pro anymore

  - Go through the testcase again but selecting the 'Or add token
  manually' option, the steps should be similar

  * 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

  The livepatch checkbox is also inactive because the current update-
  notifier version in xenial doesn't include livepatch support

  
  -------------------------

  Ubuntu Pro enables extended support for 10 years for long term support
  Ubuntu series. Xenial is therefore currently also supported under
  Ubuntu Pro.

  Xenial's software-properties-gtk, however, doesn't have the Ubuntu Pro
  functionality that exists in Bionic, Focal etc.

  Thus this request to backport the Ubuntu Pro functionality to Xenial.

  This depends on LP:2029089.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/2029473/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to