# Redacted SRU Verification of Xenil ubuntu-release-upgrader from trusty upgrade # Look for SUCCESS|FAILURE markers --- Launch cloud-init with ua-client-trusty-daily enabled Creating test-sru-trusty Starting test-sru-trusty --- Wait for cloud-init to finish ......--- Attach Ubuntu-Advantage, enabling services Enabling default service esm-infra Updating package lists ESM Infra enabled This machine is now attached to 'chad.smith@canonical.com' SERVICE ENTITLED STATUS DESCRIPTION esm-apps no — UA Apps: Extended Security Maintenance esm-infra yes enabled UA Infra: Extended Security Maintenance livepatch yes n/a Canonical Livepatch service Enable services with: ua enable Account: chad.smith@canonical.com Subscription: chad.smith@canonical.com ++ lsb_release -sc + RELEASE=trusty + echo -n 'Current release: ' + echo 'Assert no disabled valid mirrors in /eta/apt/sources.list' + grep disable /etc/apt/sources.list + echo 'Checking commercial Ubuntu Advantage PPAs apt policy and config' + apt-cache policy + grep esm.ubuntu.com ++ ls /etc/apt/sources.list.d/ubuntu-esm-infra.list + for file in '`ls /etc/apt/sources.list.d/ubuntu-*.list`' + echo '--- file: /etc/apt/sources.list.d/ubuntu-esm-infra.list' + cat /etc/apt/sources.list.d/ubuntu-esm-infra.list --2020-10-10 17:55:06-- http://archive.ubuntu.com/ubuntu/dists/xenial-proposed/main/dist-upgrader-all/current/xenial.tar.gz Resolving archive.ubuntu.com (archive.ubuntu.com)... 91.189.88.142, 91.189.88.152, 2001:67c:1562::18, ... Connecting to archive.ubuntu.com (archive.ubuntu.com)|91.189.88.142|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1253836 (1.2M) [application/x-gzip] Saving to: ‘xenial.tar.gz’ 100%[======================================>] 1,253,836 1.49MB/s in 0.8s 2020-10-10 17:55:07 (1.49 MB/s) - ‘xenial.tar.gz’ saved [1253836/1253836] ./Changelog ... ./DistUpgrade --- Add proposed PPA to valid mirrors to exercise ua-tools do-release-upgrade MarkInstall bind9 [ amd64 ] < none -> 1:9.10.3.dfsg.P4-8ubuntu1.17 > ( net ) FU=1 Installing libirs141 as Depends of bind9 MarkInstall libirs141 [ amd64 ] < none -> 1:9.10.3.dfsg.P4-8ubuntu1.17 > ( libs ) FU=0 Installing bind9utils as Depends of bind9 MarkInstall bind9utils [ amd64 ] < none -> 1:9.10.3.dfsg.P4-8ubuntu1.17 > ( net ) FU=0 MarkInstall bind9-doc [ amd64 ] < none -> 1:9.10.3.dfsg.P4-8ubuntu1.17 > ( doc ) FU=1 MarkInstall libatm1 [ amd64 ] < none -> 1:2.5.1-1.5 > ( libs ) FU=1 Preparing to unpack .../ubuntu-advantage-tools_26.0+202010082323-823~g1e96e3c~ubuntu16.04.1_amd64.deb ... Unpacking ubuntu-advantage-tools (26.0+202010082323-823~g1e96e3c~ubuntu16.04.1) over (26.0+202010082323-823~g1e96e3c~ubuntu14.04.1) ... Updating 'esm-infra' apt sources list on changed directives. Failed to start reboot.target: Connection timed out See system logs and 'systemctl status reboot.target' for details. SUCCESS: no valid mirrors disabled SERVICE ENTITLED STATUS DESCRIPTION esm-apps no — UA Apps: Extended Security Maintenance esm-infra yes enabled UA Infra: Extended Security Maintenance livepatch yes n/a Canonical Livepatch service Enable services with: ua enable Account: chad.smith@canonical.com Subscription: chad.smith@canonical.com --- Expect no diffs from original and upgraded ua status SUCCESS: no diff --- Ensure UA re-enabled esm across upgrade 2020-10-10 18:00:13,608 - upgrade_lts_contract.py:(57) [DEBUG]: Starting upgrade-lts-contract. 2020-10-10 18:00:13,617 - upgrade_lts_contract.py:(84) [DEBUG]: upgrade-lts-contract processing contract deltas: trusty -> xenial 2020-10-10 18:00:13,617 - util.py:(282) [DEBUG]: Contract value for 'entitlement.directives.suites' changed to '['xenial-infra-security', 'xenial-infra-updates']' 2020-10-10 18:00:13,617 - util.py:(282) [DEBUG]: Contract value for 'entitlement.directives.aptURL' changed to 'https://esm.ubuntu.com/infra' 2020-10-10 18:00:14,812 - repo.py:(224) [INFO]: Updating 'esm-infra' apt sources list on changed directives. 2020-10-10 18:00:29,208 - util.py:(282) [DEBUG]: Contract value for 'entitlement.obligations.enableByDefault' changed to 'True' 2020-10-10 18:00:29,392 - upgrade_lts_contract.py:(94) [DEBUG]: upgrade-lts-contract succeeded after 0 retries # SUCCESS: completed upgrade-lts-contract during do-release-upgrade without retries on apt lock --- Ensure UA status reports ESM enabled after upgrade esm-infra yes enabled UA Infra: Extended Security Maintenance # SUCCESS: ESM-infra remains enabled after upgrade