Merge autopkgtest-cloud:dbconfig-common-psql into autopkgtest-cloud:master

Proposed by Brian Murray
Status: Merged
Merged at revision: ec9b5d0220b602cb55b3c0f4861bebc2da145aa3
Proposed branch: autopkgtest-cloud:dbconfig-common-psql
Merge into: autopkgtest-cloud:master
Diff against target: 12 lines (+1/-0)
1 file modified
charms/focal/autopkgtest-cloud-worker/autopkgtest-cloud/worker/worker (+1/-0)
Reviewer Review Type Date Requested Status
Paride Legovini Approve
Ubuntu Release Team Pending
Review via email: mp+435081@code.launchpad.net

Description of the change

The dbconfig-common autopkgtest is logging the following in it's log:

dbconfig-common: dumping pgsql database fefifofum to /var/tmp/db-test-pgsql-migration.fefifofum.2023-01> runuser --user root -- /bin/sh -c "env HOME='/tmp/dbconfig-common.psql_home.3mDyrc' PGPASSFILE='/tmp/db> unable to connect to postgresql server.
error encountered dumping database:
psql: error: could not translate host name "someserver" to address: Temporary failure in name resolution

The test may be failing for due to this or other reasons. Either way the failure is considered a temporary one because the string "Temporary failure in name resolution" is treated to be an infrastructure issue e.g. the archive mirror being down. The tests are continuing to loop and this change seems like the most expedient way to break the loop.

To post a comment you must log in.
Revision history for this message
Paride Legovini (paride) wrote :

Looks good and safe, thanks!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/charms/focal/autopkgtest-cloud-worker/autopkgtest-cloud/worker/worker b/charms/focal/autopkgtest-cloud-worker/autopkgtest-cloud/worker/worker
2index 471ce53..4fea11f 100755
3--- a/charms/focal/autopkgtest-cloud-worker/autopkgtest-cloud/worker/worker
4+++ b/charms/focal/autopkgtest-cloud-worker/autopkgtest-cloud/worker/worker
5@@ -137,6 +137,7 @@ FAIL_PKG_STRINGS = {'systemd*': ['timed out waiting for testbed to reboot',
6
7 # Exemptions from TEMPORARY_TEST_FAIL_STRINGS / FAIL_{PKG_,}STRINGS
8 OK_PKG_STRINGS = {
9+ 'dbconfig-common': ['Temporary failure in name resolution'],
10 'debspawn': ['Temporary failure resolving \'archive.ubuntu.com\'',
11 'Temporary failure resolving \'ports.ubuntu.com\'',
12 'Temporary failure resolving \'ftpmaster.internal\''],

Subscribers

People subscribed via source and target branches