SRU test verification results: TLDR: bionic, focal and groovy successes.
Not posting xenial results until upload of 3.168.13 is accepted into
-proposed.


--- BEGIN bionic update-notifier testing
--- Launch cloud-init with ppa:ua-client/proposed enabled
Creating test-sru-bionic
Starting test-sru-bionic
--- Wait for cloud-init to finish
...................................................................................................................
status: done
time: Fri, 18 Dec 2020 23:14:50 +0000
detail:
DataSourceNoCloud [seed=/var/lib/cloud/seed/nocloud-net][dsmode=net]
--- Attach Ubuntu-Advantage, enabling services
Enabling default service esm-infra
Updating package lists
ESM Infra enabled
A reboot is required to complete install
This machine is now attached to '[email protected]'

SERVICE       ENTITLED  STATUS    DESCRIPTION
esm-infra     yes       enabled   UA Infra: Extended Security Maintenance (ESM)
livepatch     yes       n/a       Canonical Livepatch service

Enable services with: ua enable <service>

     Account: [email protected]
Subscription: [email protected]
-- Downgrading esm package to stable ubuntu release ver libkrad0=1.16-2build1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  libfreetype6
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
  libverto-libevent1 libverto1
The following NEW packages will be installed:
  libkrad0 libverto-libevent1 libverto1
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 36.3 kB of archives.
After this operation, 214 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libverto-libevent1 
amd64 0.2.4-2.1ubuntu3 [5796 B]
Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 libverto1 amd64 
0.2.4-2.1ubuntu3 [9090 B]
Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libkrad0 amd64 
1.16-2build1 [21.4 kB]
Fetched 36.3 kB in 1s (57.1 kB/s)  
Selecting previously unselected package libverto-libevent1:amd64.
(Reading database ... 28800 files and directories currently installed.)
Preparing to unpack .../libverto-libevent1_0.2.4-2.1ubuntu3_amd64.deb ...
Unpacking libverto-libevent1:amd64 (0.2.4-2.1ubuntu3) ...
Selecting previously unselected package libverto1:amd64.
Preparing to unpack .../libverto1_0.2.4-2.1ubuntu3_amd64.deb ...
Unpacking libverto1:amd64 (0.2.4-2.1ubuntu3) ...
Selecting previously unselected package libkrad0:amd64.
Preparing to unpack .../libkrad0_1.16-2build1_amd64.deb ...
Unpacking libkrad0:amd64 (1.16-2build1) ...
Setting up libverto-libevent1:amd64 (0.2.4-2.1ubuntu3) ...
Setting up libverto1:amd64 (0.2.4-2.1ubuntu3) ...
Setting up libkrad0:amd64 (1.16-2build1) ...
Processing triggers for libc-bin (2.27-3ubuntu1.4) ...
update-notifier 
--- Expect 0 upgradable packages for MOTD from apt_check before upgrade
1 package can be updated.
1 update is a security update.
FAILURE: did not find expected 0 ESM security updates
--- Upgrade update-notifier from -proposed
  update-notifier-common
Get:1 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 
update-notifier-common all 3.192.1.9 [132 kB]
dpkg-preconfigure: unable to re-open stdin: No such file or directory
Preparing to unpack .../update-notifier-common_3.192.1.9_all.deb ...
Unpacking update-notifier-common (3.192.1.9) over (3.192.1.7) ...
Setting up update-notifier-common (3.192.1.9) ...
update-notifier 
--- Expect non-zero upgradable packages for MOTD from apt_check AFTER upgrade
1 of these updates is a security update.
SUCCESS: found 1 ESM security updates pre-upgrade


--- BEGIN focal update-notifier testing
--- Launch cloud-init with ppa:ua-client/proposed enabled
Creating test-sru-focal
Starting test-sru-focal
--- Wait for cloud-init to finish
........................................................................................................................................
status: done
time: Fri, 18 Dec 2020 23:12:22 +0000
detail:
DataSourceNoCloud [seed=/var/lib/cloud/seed/nocloud-net][dsmode=net]
--- Attach Ubuntu-Advantage, enabling services
Enabling default service esm-infra
Updating package lists
ESM Infra enabled
This machine is now attached to '[email protected]'

SERVICE       ENTITLED  STATUS    DESCRIPTION
esm-infra     yes       enabled   UA Infra: Extended Security Maintenance (ESM)
livepatch     yes       n/a       Canonical Livepatch service

Enable services with: ua enable <service>

     Account: [email protected]
Subscription: [email protected]
-- Downgrading esm package to stable ubuntu release ver hello=2.10-2ubuntu2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  libfreetype6
Use 'apt autoremove' to remove it.
The following NEW packages will be installed:
  hello
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 28.2 kB of archives.
After this operation, 115 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 hello amd64 
2.10-2ubuntu2 [28.2 kB]
Fetched 28.2 kB in 1s (43.1 kB/s)
Selecting previously unselected package hello.
(Reading database ... 31579 files and directories currently installed.)
Preparing to unpack .../hello_2.10-2ubuntu2_amd64.deb ...
Unpacking hello (2.10-2ubuntu2) ...
Setting up hello (2.10-2ubuntu2) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for install-info (6.7.0.dfsg.2-5) ...
update-notifier 
--- Expect 0 upgradable packages for MOTD from apt_check before upgrade
UA Infrastructure Extended Security Maintenance (ESM) is enabled.

1 update can be installed immediately.
1 of these updates is provided through UA Infrastructure ESM.
0 of these updates are security updates.
To see these additional updates run: apt list --upgradable
0 of these updates are security updates.
SUCCESS: found 0 ESM security updates pre-upgrade
--- Upgrade update-notifier from -proposed
  update-notifier-common
Get:1 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 
update-notifier-common all 3.192.30.3 [130 kB]
Preparing to unpack .../update-notifier-common_3.192.30.3_all.deb ...
Unpacking update-notifier-common (3.192.30.3) over (3.192.30) ...
Setting up update-notifier-common (3.192.30.3) ...
update-notifier 
--- Expect non-zero upgradable packages for MOTD from apt_check AFTER upgrade
1 of these updates is a security update.
SUCCESS: found 1 ESM security updates pre-upgrade

--- BEGIN groovy update-notifier testing
--- Launch cloud-init with ppa:ua-client/proposed enabled
Creating test-sru-groovy
Starting test-sru-groovy
--- Wait for cloud-init to finish
.........................................................................................................
status: done
time: Fri, 18 Dec 2020 23:37:30 +0000
detail:
DataSourceNoCloud [seed=/var/lib/cloud/seed/nocloud-net][dsmode=net]
--- Attach Ubuntu-Advantage, enabling services
This machine is now attached to '[email protected]'

SERVICE       ENTITLED  STATUS    DESCRIPTION
esm-infra     yes       n/a       UA Infra: Extended Security Maintenance (ESM)
livepatch     yes       n/a       Canonical Livepatch service

Enable services with: ua enable <service>

     Account: [email protected]
Subscription: [email protected]
-- Downgrading esm package to stable ubuntu release ver 
apport-retrace=2.20.11-0ubuntu50
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  libfreetype6
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu build-essential cpp
  cpp-10 dpkg-dev fakeroot g++ g++-10 gcc gcc-10 gdb gdbserver
  libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
  libasan6 libatomic1 libbabeltrace1 libbinutils libc-dev-bin libc6-dbg
  libc6-dev libcc1-0 libcrypt-dev libctf-nobfd0 libctf0 libdpkg-perl
  libfakeroot libfile-fcntllock-perl libgcc-10-dev libgomp1 libisl22 libitm1
  liblsan0 libmpc3 libnsl-dev libquadmath0 libstdc++-10-dev libtirpc-dev
  libtsan0 libubsan1 linux-libc-dev make manpages-dev rpcsvc-proto
Suggested packages:
  gdb-multiarch binutils-doc cpp-doc gcc-10-locales debian-keyring
  g++-multilib g++-10-multilib gcc-10-doc gcc-multilib autoconf automake
  libtool flex bison gcc-doc gcc-10-multilib gdb-doc glibc-doc bzr
  libstdc++-10-doc make-doc
The following NEW packages will be installed:
  apport-retrace binutils binutils-common binutils-x86-64-linux-gnu
  build-essential cpp cpp-10 dpkg-dev fakeroot g++ g++-10 gcc gcc-10 gdb
  gdbserver libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libasan6 libatomic1 libbabeltrace1 libbinutils
  libc-dev-bin libc6-dbg libc6-dev libcc1-0 libcrypt-dev libctf-nobfd0 libctf0
  libdpkg-perl libfakeroot libfile-fcntllock-perl libgcc-10-dev libgomp1
  libisl22 libitm1 liblsan0 libmpc3 libnsl-dev libquadmath0 libstdc++-10-dev
  libtirpc-dev libtsan0 libubsan1 linux-libc-dev make manpages-dev
  rpcsvc-proto
0 upgraded, 48 newly installed, 0 to remove and 0 not upgraded.
Need to get 57.5 MB of archives.
After this operation, 250 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu groovy/main amd64 binutils-common amd64 
2.35.1-1ubuntu1 [212 kB]
Get:2 http://archive.ubuntu.com/ubuntu groovy/main amd64 libbinutils amd64 
2.35.1-1ubuntu1 [481 kB]
Get:3 http://archive.ubuntu.com/ubuntu groovy/main amd64 libctf-nobfd0 amd64 
2.35.1-1ubuntu1 [48.1 kB]
Get:4 http://archive.ubuntu.com/ubuntu groovy/main amd64 libctf0 amd64 
2.35.1-1ubuntu1 [47.6 kB]
Get:5 http://archive.ubuntu.com/ubuntu groovy/main amd64 
binutils-x86-64-linux-gnu amd64 2.35.1-1ubuntu1 [1645 kB]
Get:6 http://archive.ubuntu.com/ubuntu groovy/main amd64 binutils amd64 
2.35.1-1ubuntu1 [3380 B]
Get:7 http://archive.ubuntu.com/ubuntu groovy/main amd64 libdpkg-perl all 
1.20.5ubuntu2 [232 kB]
Get:8 http://archive.ubuntu.com/ubuntu groovy/main amd64 make amd64 
4.3-4ubuntu1 [167 kB]
Get:9 http://archive.ubuntu.com/ubuntu groovy/main amd64 dpkg-dev all 
1.20.5ubuntu2 [758 kB]
Get:10 http://archive.ubuntu.com/ubuntu groovy/main amd64 libbabeltrace1 amd64 
1.5.8-1build1 [156 kB]
Get:11 http://archive.ubuntu.com/ubuntu groovy/main amd64 gdb amd64 
9.2-0ubuntu2 [3286 kB]
Get:12 http://archive.ubuntu.com/ubuntu groovy/main amd64 libc6-dbg amd64 
2.32-0ubuntu3 [4561 kB]
Get:13 http://archive.ubuntu.com/ubuntu groovy/main amd64 apport-retrace all 
2.20.11-0ubuntu50 [13.1 kB]
Get:14 http://archive.ubuntu.com/ubuntu groovy/main amd64 libc-dev-bin amd64 
2.32-0ubuntu3 [30.9 kB]
Get:15 http://archive.ubuntu.com/ubuntu groovy-updates/main amd64 
linux-libc-dev amd64 5.8.0-33.36 [1136 kB]
Get:16 http://archive.ubuntu.com/ubuntu groovy/main amd64 libcrypt-dev amd64 
1:4.4.16-1ubuntu1 [104 kB]
Get:17 http://archive.ubuntu.com/ubuntu groovy/main amd64 rpcsvc-proto amd64 
1.4.2-0ubuntu4 [62.8 kB]
Get:18 http://archive.ubuntu.com/ubuntu groovy/main amd64 libtirpc-dev amd64 
1.2.6-1build1 [184 kB]
Get:19 http://archive.ubuntu.com/ubuntu groovy/main amd64 libnsl-dev amd64 
1.3.0-0ubuntu3 [66.4 kB]
Get:20 http://archive.ubuntu.com/ubuntu groovy/main amd64 libc6-dev amd64 
2.32-0ubuntu3 [2130 kB]
Get:21 http://archive.ubuntu.com/ubuntu groovy/main amd64 libisl22 amd64 
0.22.1-1 [592 kB]
Get:22 http://archive.ubuntu.com/ubuntu groovy/main amd64 libmpc3 amd64 
1.2.0~rc1-1 [44.3 kB]
Get:23 http://archive.ubuntu.com/ubuntu groovy/main amd64 cpp-10 amd64 
10.2.0-13ubuntu1 [8059 kB]
Get:24 http://archive.ubuntu.com/ubuntu groovy/main amd64 cpp amd64 
4:10.2.0-1ubuntu1 [27.7 kB]
Get:25 http://archive.ubuntu.com/ubuntu groovy/main amd64 libcc1-0 amd64 
10.2.0-13ubuntu1 [41.2 kB]
Get:26 http://archive.ubuntu.com/ubuntu groovy/main amd64 libgomp1 amd64 
10.2.0-13ubuntu1 [102 kB]
Get:27 http://archive.ubuntu.com/ubuntu groovy/main amd64 libitm1 amd64 
10.2.0-13ubuntu1 [26.3 kB]
Get:28 http://archive.ubuntu.com/ubuntu groovy/main amd64 libatomic1 amd64 
10.2.0-13ubuntu1 [9288 B]
Get:29 http://archive.ubuntu.com/ubuntu groovy/main amd64 libasan6 amd64 
10.2.0-13ubuntu1 [344 kB]
Get:30 http://archive.ubuntu.com/ubuntu groovy/main amd64 liblsan0 amd64 
10.2.0-13ubuntu1 [144 kB]
Get:31 http://archive.ubuntu.com/ubuntu groovy/main amd64 libtsan0 amd64 
10.2.0-13ubuntu1 [319 kB]
Get:32 http://archive.ubuntu.com/ubuntu groovy/main amd64 libubsan1 amd64 
10.2.0-13ubuntu1 [136 kB]
Get:33 http://archive.ubuntu.com/ubuntu groovy/main amd64 libquadmath0 amd64 
10.2.0-13ubuntu1 [146 kB]
Get:34 http://archive.ubuntu.com/ubuntu groovy/main amd64 libgcc-10-dev amd64 
10.2.0-13ubuntu1 [2341 kB]
Get:35 http://archive.ubuntu.com/ubuntu groovy/main amd64 gcc-10 amd64 
10.2.0-13ubuntu1 [16.3 MB]
Get:36 http://archive.ubuntu.com/ubuntu groovy/main amd64 gcc amd64 
4:10.2.0-1ubuntu1 [5208 B]
Get:37 http://archive.ubuntu.com/ubuntu groovy/main amd64 libstdc++-10-dev 
amd64 10.2.0-13ubuntu1 [1750 kB]
Get:38 http://archive.ubuntu.com/ubuntu groovy/main amd64 g++-10 amd64 
10.2.0-13ubuntu1 [9061 kB]
Get:39 http://archive.ubuntu.com/ubuntu groovy/main amd64 g++ amd64 
4:10.2.0-1ubuntu1 [1608 B]
Get:40 http://archive.ubuntu.com/ubuntu groovy/main amd64 build-essential amd64 
12.8ubuntu3 [4640 B]
Get:41 http://archive.ubuntu.com/ubuntu groovy/main amd64 libfakeroot amd64 
1.25.2-1 [26.6 kB]
Get:42 http://archive.ubuntu.com/ubuntu groovy/main amd64 fakeroot amd64 
1.25.2-1 [62.8 kB]
Get:43 http://archive.ubuntu.com/ubuntu groovy/main amd64 gdbserver amd64 
9.2-0ubuntu2 [227 kB]
Get:44 http://archive.ubuntu.com/ubuntu groovy/main amd64 
libalgorithm-diff-perl all 1.19.03-2 [46.6 kB]
Get:45 http://archive.ubuntu.com/ubuntu groovy/main amd64 
libalgorithm-diff-xs-perl amd64 0.04-6 [11.3 kB]
Get:46 http://archive.ubuntu.com/ubuntu groovy/main amd64 
libalgorithm-merge-perl all 0.08-3 [12.0 kB]
Get:47 http://archive.ubuntu.com/ubuntu groovy/main amd64 
libfile-fcntllock-perl amd64 0.22-3build4 [33.1 kB]
Get:48 http://archive.ubuntu.com/ubuntu groovy/main amd64 manpages-dev all 
5.08-1 [2290 kB]
Fetched 57.5 MB in 7s (7722 kB/s)                                              
Extracting templates from packages: 100%
Selecting previously unselected package binutils-common:amd64.
(Reading database ... 31789 files and directories currently installed.)
Preparing to unpack .../00-binutils-common_2.35.1-1ubuntu1_amd64.deb ...
Unpacking binutils-common:amd64 (2.35.1-1ubuntu1) ...
Selecting previously unselected package libbinutils:amd64.
Preparing to unpack .../01-libbinutils_2.35.1-1ubuntu1_amd64.deb ...
Unpacking libbinutils:amd64 (2.35.1-1ubuntu1) ...
Selecting previously unselected package libctf-nobfd0:amd64.
Preparing to unpack .../02-libctf-nobfd0_2.35.1-1ubuntu1_amd64.deb ...
Unpacking libctf-nobfd0:amd64 (2.35.1-1ubuntu1) ...
Selecting previously unselected package libctf0:amd64.
Preparing to unpack .../03-libctf0_2.35.1-1ubuntu1_amd64.deb ...
Unpacking libctf0:amd64 (2.35.1-1ubuntu1) ...
Selecting previously unselected package binutils-x86-64-linux-gnu.
Preparing to unpack .../04-binutils-x86-64-linux-gnu_2.35.1-1ubuntu1_amd64.deb 
...
Unpacking binutils-x86-64-linux-gnu (2.35.1-1ubuntu1) ...
Selecting previously unselected package binutils.
Preparing to unpack .../05-binutils_2.35.1-1ubuntu1_amd64.deb ...
Unpacking binutils (2.35.1-1ubuntu1) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../06-libdpkg-perl_1.20.5ubuntu2_all.deb ...
Unpacking libdpkg-perl (1.20.5ubuntu2) ...
Selecting previously unselected package make.
Preparing to unpack .../07-make_4.3-4ubuntu1_amd64.deb ...
Unpacking make (4.3-4ubuntu1) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../08-dpkg-dev_1.20.5ubuntu2_all.deb ...
Unpacking dpkg-dev (1.20.5ubuntu2) ...
Selecting previously unselected package libbabeltrace1:amd64.
Preparing to unpack .../09-libbabeltrace1_1.5.8-1build1_amd64.deb ...
Unpacking libbabeltrace1:amd64 (1.5.8-1build1) ...
Selecting previously unselected package gdb.
Preparing to unpack .../10-gdb_9.2-0ubuntu2_amd64.deb ...
Unpacking gdb (9.2-0ubuntu2) ...
Selecting previously unselected package libc6-dbg:amd64.
Preparing to unpack .../11-libc6-dbg_2.32-0ubuntu3_amd64.deb ...
Unpacking libc6-dbg:amd64 (2.32-0ubuntu3) ...
Selecting previously unselected package apport-retrace.
Preparing to unpack .../12-apport-retrace_2.20.11-0ubuntu50_all.deb ...
Unpacking apport-retrace (2.20.11-0ubuntu50) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../13-libc-dev-bin_2.32-0ubuntu3_amd64.deb ...
Unpacking libc-dev-bin (2.32-0ubuntu3) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../14-linux-libc-dev_5.8.0-33.36_amd64.deb ...
Unpacking linux-libc-dev:amd64 (5.8.0-33.36) ...
Selecting previously unselected package libcrypt-dev:amd64.
Preparing to unpack .../15-libcrypt-dev_1%3a4.4.16-1ubuntu1_amd64.deb ...
Unpacking libcrypt-dev:amd64 (1:4.4.16-1ubuntu1) ...
Selecting previously unselected package rpcsvc-proto.
Preparing to unpack .../16-rpcsvc-proto_1.4.2-0ubuntu4_amd64.deb ...
Unpacking rpcsvc-proto (1.4.2-0ubuntu4) ...
Selecting previously unselected package libtirpc-dev:amd64.
Preparing to unpack .../17-libtirpc-dev_1.2.6-1build1_amd64.deb ...
Unpacking libtirpc-dev:amd64 (1.2.6-1build1) ...
Selecting previously unselected package libnsl-dev:amd64.
Preparing to unpack .../18-libnsl-dev_1.3.0-0ubuntu3_amd64.deb ...
Unpacking libnsl-dev:amd64 (1.3.0-0ubuntu3) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../19-libc6-dev_2.32-0ubuntu3_amd64.deb ...
Unpacking libc6-dev:amd64 (2.32-0ubuntu3) ...
Selecting previously unselected package libisl22:amd64.
Preparing to unpack .../20-libisl22_0.22.1-1_amd64.deb ...
Unpacking libisl22:amd64 (0.22.1-1) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../21-libmpc3_1.2.0~rc1-1_amd64.deb ...
Unpacking libmpc3:amd64 (1.2.0~rc1-1) ...
Selecting previously unselected package cpp-10.
Preparing to unpack .../22-cpp-10_10.2.0-13ubuntu1_amd64.deb ...
Unpacking cpp-10 (10.2.0-13ubuntu1) ...
Selecting previously unselected package cpp.
Preparing to unpack .../23-cpp_4%3a10.2.0-1ubuntu1_amd64.deb ...
Unpacking cpp (4:10.2.0-1ubuntu1) ...
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack .../24-libcc1-0_10.2.0-13ubuntu1_amd64.deb ...
Unpacking libcc1-0:amd64 (10.2.0-13ubuntu1) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../25-libgomp1_10.2.0-13ubuntu1_amd64.deb ...
Unpacking libgomp1:amd64 (10.2.0-13ubuntu1) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../26-libitm1_10.2.0-13ubuntu1_amd64.deb ...
Unpacking libitm1:amd64 (10.2.0-13ubuntu1) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../27-libatomic1_10.2.0-13ubuntu1_amd64.deb ...
Unpacking libatomic1:amd64 (10.2.0-13ubuntu1) ...
Selecting previously unselected package libasan6:amd64.
Preparing to unpack .../28-libasan6_10.2.0-13ubuntu1_amd64.deb ...
Unpacking libasan6:amd64 (10.2.0-13ubuntu1) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../29-liblsan0_10.2.0-13ubuntu1_amd64.deb ...
Unpacking liblsan0:amd64 (10.2.0-13ubuntu1) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../30-libtsan0_10.2.0-13ubuntu1_amd64.deb ...
Unpacking libtsan0:amd64 (10.2.0-13ubuntu1) ...
Selecting previously unselected package libubsan1:amd64.
Preparing to unpack .../31-libubsan1_10.2.0-13ubuntu1_amd64.deb ...
Unpacking libubsan1:amd64 (10.2.0-13ubuntu1) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../32-libquadmath0_10.2.0-13ubuntu1_amd64.deb ...
Unpacking libquadmath0:amd64 (10.2.0-13ubuntu1) ...
Selecting previously unselected package libgcc-10-dev:amd64.
Preparing to unpack .../33-libgcc-10-dev_10.2.0-13ubuntu1_amd64.deb ...
Unpacking libgcc-10-dev:amd64 (10.2.0-13ubuntu1) ...
Selecting previously unselected package gcc-10.
Preparing to unpack .../34-gcc-10_10.2.0-13ubuntu1_amd64.deb ...
Unpacking gcc-10 (10.2.0-13ubuntu1) ...
Selecting previously unselected package gcc.
Preparing to unpack .../35-gcc_4%3a10.2.0-1ubuntu1_amd64.deb ...
Unpacking gcc (4:10.2.0-1ubuntu1) ...
Selecting previously unselected package libstdc++-10-dev:amd64.
Preparing to unpack .../36-libstdc++-10-dev_10.2.0-13ubuntu1_amd64.deb ...
Unpacking libstdc++-10-dev:amd64 (10.2.0-13ubuntu1) ...
Selecting previously unselected package g++-10.
Preparing to unpack .../37-g++-10_10.2.0-13ubuntu1_amd64.deb ...
Unpacking g++-10 (10.2.0-13ubuntu1) ...
Selecting previously unselected package g++.
Preparing to unpack .../38-g++_4%3a10.2.0-1ubuntu1_amd64.deb ...
Unpacking g++ (4:10.2.0-1ubuntu1) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../39-build-essential_12.8ubuntu3_amd64.deb ...
Unpacking build-essential (12.8ubuntu3) ...
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack .../40-libfakeroot_1.25.2-1_amd64.deb ...
Unpacking libfakeroot:amd64 (1.25.2-1) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../41-fakeroot_1.25.2-1_amd64.deb ...
Unpacking fakeroot (1.25.2-1) ...
Selecting previously unselected package gdbserver.
Preparing to unpack .../42-gdbserver_9.2-0ubuntu2_amd64.deb ...
Unpacking gdbserver (9.2-0ubuntu2) ...
Selecting previously unselected package libalgorithm-diff-perl.
Preparing to unpack .../43-libalgorithm-diff-perl_1.19.03-2_all.deb ...
Unpacking libalgorithm-diff-perl (1.19.03-2) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Preparing to unpack .../44-libalgorithm-diff-xs-perl_0.04-6_amd64.deb ...
Unpacking libalgorithm-diff-xs-perl (0.04-6) ...
Selecting previously unselected package libalgorithm-merge-perl.
Preparing to unpack .../45-libalgorithm-merge-perl_0.08-3_all.deb ...
Unpacking libalgorithm-merge-perl (0.08-3) ...
Selecting previously unselected package libfile-fcntllock-perl.
Preparing to unpack .../46-libfile-fcntllock-perl_0.22-3build4_amd64.deb ...
Unpacking libfile-fcntllock-perl (0.22-3build4) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../47-manpages-dev_5.08-1_all.deb ...
Unpacking manpages-dev (5.08-1) ...
Setting up manpages-dev (5.08-1) ...
Setting up libfile-fcntllock-perl (0.22-3build4) ...
Setting up libalgorithm-diff-perl (1.19.03-2) ...
Setting up binutils-common:amd64 (2.35.1-1ubuntu1) ...
Setting up linux-libc-dev:amd64 (5.8.0-33.36) ...
Setting up libctf-nobfd0:amd64 (2.35.1-1ubuntu1) ...
Setting up libgomp1:amd64 (10.2.0-13ubuntu1) ...
Setting up libfakeroot:amd64 (1.25.2-1) ...
Setting up libasan6:amd64 (10.2.0-13ubuntu1) ...
Setting up libc6-dbg:amd64 (2.32-0ubuntu3) ...
Setting up fakeroot (1.25.2-1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot 
(fakeroot) in auto mode
Setting up libtirpc-dev:amd64 (1.2.6-1build1) ...
Setting up rpcsvc-proto (1.4.2-0ubuntu4) ...
Setting up make (4.3-4ubuntu1) ...
Setting up libquadmath0:amd64 (10.2.0-13ubuntu1) ...
Setting up libmpc3:amd64 (1.2.0~rc1-1) ...
Setting up libatomic1:amd64 (10.2.0-13ubuntu1) ...
Setting up libbabeltrace1:amd64 (1.5.8-1build1) ...
Setting up libdpkg-perl (1.20.5ubuntu2) ...
Setting up libubsan1:amd64 (10.2.0-13ubuntu1) ...
Setting up libnsl-dev:amd64 (1.3.0-0ubuntu3) ...
Setting up libcrypt-dev:amd64 (1:4.4.16-1ubuntu1) ...
Setting up gdbserver (9.2-0ubuntu2) ...
Setting up libisl22:amd64 (0.22.1-1) ...
Setting up libbinutils:amd64 (2.35.1-1ubuntu1) ...
Setting up libc-dev-bin (2.32-0ubuntu3) ...
Setting up libalgorithm-diff-xs-perl (0.04-6) ...
Setting up libcc1-0:amd64 (10.2.0-13ubuntu1) ...
Setting up liblsan0:amd64 (10.2.0-13ubuntu1) ...
Setting up cpp-10 (10.2.0-13ubuntu1) ...
Setting up libitm1:amd64 (10.2.0-13ubuntu1) ...
Setting up libalgorithm-merge-perl (0.08-3) ...
Setting up libtsan0:amd64 (10.2.0-13ubuntu1) ...
Setting up libctf0:amd64 (2.35.1-1ubuntu1) ...
Setting up libgcc-10-dev:amd64 (10.2.0-13ubuntu1) ...
Setting up gdb (9.2-0ubuntu2) ...
Setting up cpp (4:10.2.0-1ubuntu1) ...
Setting up libc6-dev:amd64 (2.32-0ubuntu3) ...
Setting up binutils-x86-64-linux-gnu (2.35.1-1ubuntu1) ...
Setting up libstdc++-10-dev:amd64 (10.2.0-13ubuntu1) ...
Setting up binutils (2.35.1-1ubuntu1) ...
Setting up dpkg-dev (1.20.5ubuntu2) ...
Setting up gcc-10 (10.2.0-13ubuntu1) ...
Setting up g++-10 (10.2.0-13ubuntu1) ...
Setting up apport-retrace (2.20.11-0ubuntu50) ...
Setting up gcc (4:10.2.0-1ubuntu1) ...
Setting up g++ (4:10.2.0-1ubuntu1) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto 
mode
Setting up build-essential (12.8ubuntu3) ...
Processing triggers for man-db (2.9.3-2) ...
Processing triggers for libc-bin (2.32-0ubuntu3) ...
update-notifier 
1 update can be installed immediately.
1 of these updates is a security update.
To see these additional updates run: apt list --upgradable
Expect 1 upgradable package due to downgrade of non-esm pkg 
apport-retrace=2.20.11-0ubuntu50
1 update can be installed immediately.
1 of these updates is a security update.
To see these additional updates run: apt list --upgradable
1 of these updates is a security update.
SUCCESS: found  security updates pre-upgrade
--- Upgrade update-notifier from -proposed
  update-notifier-common
Get:1 http://archive.ubuntu.com/ubuntu groovy-proposed/main amd64 
update-notifier-common all 3.192.34.1 [125 kB]
dpkg-preconfigure: unable to re-open stdin: No such file or directory
Preparing to unpack .../update-notifier-common_3.192.34.1_all.deb ...
Unpacking update-notifier-common (3.192.34.1) over (3.192.34) ...
Setting up update-notifier-common (3.192.34.1) ...
update-notifier-download.service is a disabled or a static unit not running, 
not starting it.
update-notifier-motd.service is a disabled or a static unit not running, not 
starting it.
update-notifier 
--- Expect non-zero upgradable packages for MOTD from apt_check AFTER upgrade
9 updates can be installed immediately.
1 of these updates is a security update.
To see these additional updates run: apt list --upgradable
1 of these updates is a security update.
SUCCESS: found 1 ESM security updates pre-upgrade


** Description changed:

  [Impact]
  
   The product names and product URLs of Ubuntu Advantage Extended
  Security Maintenance offerings have been rebranded prior to an official
  launch of the product ESM product in Ubuntu Xenial, Bionic and Focal.
  MOTD messages reference the old product name UA Infrastructure: Extended
  Security Maintenance as well as an invalid product URL
  https://ubuntu.com/esm.
  
  Correct both the product name "UA Infra: ESM" and the apt URL message
  See https://ubuntu.com/security/esm.
  
  Because these text messages are translated using gettext, translations
  will need to be updated as well.
  
  [Test Case]
  
   * Install unreleased ubuntu-advantage-tools from a PPA
   * Run: ua enable <yourToken> to activate UA apt repositories
   * Check MOTD messaging related to UA Infra: ESM prior to upgrade to 
-proposed update-notifier via /usr/lib/update-notifier/apt-check 
--human-readable
  
   * Upgrade update-notifier to -proposed
   * Re-check MOTD messaging related to UA Infra: ESM to see expected messages 
(not on groovy as there are no esm repos)
  
  #!/bin/bash
  #
  # SRU Verification update-notifier + ubuntu=advantage-tools
  # Test procedure:
  # - launch container Trusty, Xenial or Bionic
  # - Install ubuntu-advantage-tools from 
https://launchpad.net/~ua-client/+archive/ubuntu/proposed which supports esm on 
trusty, xenial, bionic, and focal
  # - Attach container to UA subscription (which activates the ESM APT repos
  # - run apt_check --human-readable to assert ESM pkg counts ARE NOT reported
  # - Upgrade update-notifier to -proposed
  # - re-run apt_check --human-readable to assert ESM pkg counts ARE reported
  
  set -e
  UA_TOKEN=$1
  if [ -z "$1" ]; then
   echo "Usage: $0 <contractTOKEN>"
   exit 1
  fi
  
  cat > test-un.yaml <<EOF
  #cloud-config
  ssh_import_id: [chad.smith]
  package_update: true
  package_upgrade: true
  apt:
    sources:
        ua.proposed:
            source: deb http://ppa.launchpad.net/ua-client/staging/ubuntu 
\$RELEASE main
            keyid: 6E34E7116C0BC933
  EOF
  
  cat > setup_proposed.sh <<EOF
  #/bin/bash
  mirror=http://archive.ubuntu.com/ubuntu
  echo deb \$mirror \$(lsb_release -sc)-proposed main | tee 
/etc/apt/sources.list.d/proposed.list
  apt-get update -q
  apt-get install -qy update-notifier-common
  EOF
  
  wait_for_boot() {
    local vm=$1 release=$2
    echo "--- Wait for cloud-init to finish"
    sleep 5
      lxc exec ${vm} -- cloud-init status --wait --long
  }
  
- for release in focal; do
+ for release in groovy; do
    echo "--- BEGIN $release update-notifier testing"
    vm=test-sru-$release
    echo "--- Launch cloud-init with ppa:ua-client/proposed enabled"
    lxc launch ubuntu-daily:${release} ${vm} -c user.user-data="$(cat 
test-un.yaml)"
    wait_for_boot ${vm} ${release}
    echo "--- Attach Ubuntu-Advantage, enabling services"
    lxc exec ${vm} -- ua attach ${UA_TOKEN}
    case "$release" in
          xenial) downrev_pkg="libkrad0=1.13.2+dfsg-5";;
          bionic) downrev_pkg="libkrad0=1.16-2build1";;
          focal) downrev_pkg="hello=2.10-2ubuntu2";;
          groovy) downrev_pkg="apport-retrace=2.20.11-0ubuntu50";;
    esac
    echo "-- Downgrading esm package to stable ubuntu release ver $downrev_pkg"
    lxc exec ${vm} -- apt-get install $downrev_pkg --yes
    lxc exec ${vm} -- dpkg-query --show update-notifier
-   echo "--- Expect 0 upgradable packages for MOTD from apt_check before 
upgrade"
    lxc exec ${vm} -- /usr/lib/update-notifier/apt-check --human-readable
-   lxc exec ${vm} -- /usr/lib/update-notifier/apt-check --human-readable | 
grep '0 of these updates are security updates' && echo "SUCCESS: found 0 ESM 
security updates pre-upgrade" || echo "FAILURE: did not find expected 0 ESM 
security updates"
+   if [ "$release" = "groovy" ]; then
+       UPGRADE_MATCH="1 of these updates is a security update"
+       echo "Expect 1 upgradable package due to downgrade of non-esm pkg 
$downrev_pkg"
+   else
+       UPGRADE_MATCH="0 of these updates are security updates"
+       UPGRADE_COUNT=0
+        
+     echo "--- Expect 0 upgradable packages for MOTD from apt_check before 
upgrade"
+   fi
+    lxc exec ${vm} -- /usr/lib/update-notifier/apt-check --human-readable
+    lxc exec ${vm} -- /usr/lib/update-notifier/apt-check --human-readable | 
grep "${UPGRADE_MATCH}" && echo "SUCCESS: found ${UPGRADE_COUNT} security 
updates pre-upgrade" || echo "FAILURE: did not find expected ${UPGRADE_COUNT} 
ESM security updates"
    echo "--- Upgrade update-notifier from -proposed"
    lxc file push setup_proposed.sh ${vm}/
    lxc exec ${vm} -- bash /setup_proposed.sh | grep update-notifier
    lxc exec ${vm} -- dpkg-query --show update-notifier
    echo "--- Expect non-zero upgradable packages for MOTD from apt_check AFTER 
upgrade"
+   lxc exec ${vm} -- /usr/lib/update-notifier/apt-check --human-readable
    lxc exec ${vm} -- /usr/lib/update-notifier/apt-check --human-readable | 
grep '1 of these updates is a security update' && echo "SUCCESS: found 1 ESM 
security updates pre-upgrade" || echo "FAILURE: did not find expected 1 ESM 
security updates"
  done
- 
  
  [Where problems could occur]
  
   *  Low risk:
      pep8 lint fixes plus MOTD text changes here. Minor logic changes in 
supplemental MOTD messaging for a product (ESM) that is not yet released and 
active in the wild on Xenial -> Focal. If messaging falls over the result is a 
lack of MOTD information about ESM package updates in motd, which is not yet 
released. If we can ensure we receive MOTD messaging about both ESM and non-ESM 
package updates without error, then risk of regression is minimal.
  
  [Other Info]
  
  [Original Description]
  
  MOTD text should align with the messaging that is being surfaced by
  ubuntu-advantage-tools and apt command line hook messaging.
  
  Current ESM product name is represented in MOTD as the following when
  logging into a VM:
  
  ### Current ESM-relatedMOTD messaging
  
  # When ESM is disabled:
  UA Infrastructure Extended Security Maintenance \(ESM\) is not enabled.
  
  Enable UA Infrastructure ESM to receive 14 additional security updates.
  
  # When ESM is enabled:
  UA Infrastructure Extended Security Maintenance \(ESM\) is enabled.
  
  14 of these updates are provided through UA Infrastructure ESM.
  
  #### Expected new ESM messaging:
  # When ESM is disabled:
  UA Infra: Extended Security Maintenance \(ESM\) is not enabled.
  
  Enable UA Infra: ESM to receive 14 additional security updates.
  
  # When ESM is enabled:
  UA Infra: Extended Security Maintenance \(ESM\) is enabled.
  
  14 of these updates are provided through UA Infrastructure
  
  UA Infra: Extended Security Maintenance \(ESM\) is not enabled.
  
  Enable UA Infra: ESM to receive 14 additional security updates.
  
  This request for product naming changes and standardization is also
  represented as a request against UA-Client tooling/apt-hooks/status
  messaging.
  
  https://github.com/canonical/ubuntu-advantage-
  client/issues/1212#issuecomment-713735291
  
  Additionally documentation URLs for esm are updated from ubuntu.com/esm
  -> ubuntu.com/security/esm.

** Tags removed: verification-needed-bionic verification-needed-focal 
verification-needed-groovy
** Tags added: verification-done-bionic verification-done-focal 
verification-done-groovy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1901627

Title:
  Update product naming: Simplify UA Infrastructure ESM to UA Infra: ESM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1901627/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to