Merge autopkgtest-cloud:more-fail-strings into autopkgtest-cloud:master
Status: | Merged |
---|---|
Merge reported by: | Brian Murray |
Merged at revision: | 88b314fa4018c70cfb455938ef2d5f7e73538b05 |
Proposed branch: | autopkgtest-cloud:more-fail-strings |
Merge into: | autopkgtest-cloud:master |
Diff against target: |
14 lines (+2/-1) 1 file modified
charms/focal/autopkgtest-cloud-worker/autopkgtest-cloud/worker/worker (+2/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Paride Legovini | Approve | ||
Iain Lane | Approve | ||
Review via email: mp+428883@code.launchpad.net |
Description of the change
The systemd autopkgtests installs the new version systemd, reboots and then tries to 'apt-get source systemd'. Getting the source will fail if name resolution is broken with the new version of systemd and this ended up causing the autopkgtest-cloud worker code to continually retry the tests. This resolves the issue by considering a failure to extract the source code a regression. Then if the test fails in the same way 3 times in a row it will be marked as a failure.
I cowboy'ed this change in staging and ran it with the systemd package version from https:/
Aug 24 20:52:04 juju-806ee7-
...
Creating nova instance adt-kinetic-
Aug 24 20:52:04 juju-806ee7-
Aug 24 20:52:04 juju-806ee7-
Aug 24 20:52:05 juju-806ee7-
Aug 24 20:52:05 juju-806ee7-
Running the autopkgtest with --shell-fail these are the actual errors seen:
Err:1 https:/ /ppa.launchpadc ontent. net/enr0n/ systemd- broken/ ubuntu kinetic/main systemd 251.4-1ubuntu1~ppa6 (tar) ontent. net' /ppa.launchpadc ontent. net/enr0n/ systemd- broken/ ubuntu kinetic/main systemd 251.4-1ubuntu1~ppa6 (diff) ontent. net' /ppa.launchpadc ontent. net/enr0n/ systemd- broken/ ubuntu kinetic/main systemd 251.4-1ubuntu1~ppa6 (dsc) ontent. net' /ppa.launchpadc ontent. net/enr0n/ systemd- broken/ ubuntu/ pool/main/ s/systemd/ systemd_ 251.4.orig. tar.gz Temporary failure resolving 'ppa.launchpadc ontent. net' /ppa.launchpadc ontent. net/enr0n/ systemd- broken/ ubuntu/ pool/main/ s/systemd/ systemd_ 251.4-1ubuntu1% 7eppa6. debian. tar.xz Temporary failure resolving 'ppa.launchpadc ontent. net' /ppa.launchpadc ontent. net/enr0n/ systemd- broken/ ubuntu/ pool/main/ s/systemd/ systemd_ 251.4-1ubuntu1% 7eppa6. dsc Temporary failure resolving 'ppa.launchpadc ontent. net'
Temporary failure resolving 'ppa.launchpadc
Err:2 https:/
Temporary failure resolving 'ppa.launchpadc
Err:3 https:/
Temporary failure resolving 'ppa.launchpadc
E: Failed to fetch https:/
E: Failed to fetch https:/
E: Failed to fetch https:/
E: Failed to fetch some archives.
Which makes we wonder if we should update the 'Cannot initiate the connection to ppa.launchpad. net:80' string, not because it'll help here but because the domain name has changed.