FAIL_PKG_STRINGS not considered in temp_fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Auto Package Testing |
Expired
|
Medium
|
Unassigned |
Bug Description
106 # Some packages can provoke specific breakage. For most packages, this would be
107 # a sign of infrastructure trouble, but for these we should play it safe and
108 # consider these to be regressions. If they *are* infrastructure problems,
109 # we'll have to retry them.
110 FAIL_PKG_STRINGS = {'systemd*': ['timed out waiting for testbed to reboot',
111 'Timed out on waiting for ssh connection',
112 'Temporary failure resolving',
113 'VirtSubproc.
114 'ERROR: testbed failure: testbed auxverb failed with exit code 255'],
FAIL_PKG_STRINGS isn't used when constructing temp_fails
799 elif is_failure:
800 contents = log_contents(
801 temp_fails = [s for s in (set(TEMPORARY_
802 - set(getglob(
803 if s in contents]
804 if temp_fails:
805 logging.
806 ' and '.join(temp_fails))
807 logging.
808 logging.
809 if retry < 2:
810 submit_
811 cleanup_
812 else:
813 break
I noticed this because we ended up in a situation where systemd was in fact failing to resolve ftpmaster.internal and the tests were continuously retried.
E: Failed to fetch http://
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
autopkgtest [15:09:55]: ERROR: testbed failure: apt repeatedly failed to download packages
autopkgtest [15:09:56]: test tests-in-lxd: -------
autopkgtest [15:09:57]: test tests-in-lxd: - - - - - - - - - - results - - - - - - - - - -
tests-in-lxd FAIL non-zero exit status
tags: | added: adt-56 |
Changed in auto-package-testing: | |
importance: | Undecided → High |
Changed in auto-package-testing: | |
importance: | High → Medium |
Changed in auto-package-testing: | |
status: | New → Incomplete |
And the log from the journal on the cloud-worker:
Jun 14 10:35:04 juju-4d1272- prod-proposed- migration- 4 /home/ubuntu/ autopkgtest- cloud/worker/ worker[ 1026698] : WARNING: Saw Temporary failure resolving 'ftpmaster. internal' and Failed to fetch http:// ftpmaster. internal/ in log, which is a sign of a temporary failure. prod-proposed- migration- 4 /home/ubuntu/ autopkgtest- cloud/worker/ worker[ 1026698] : WARNING: Retrying in 5 minutes... Log follows:
Jun 14 10:35:04 juju-4d1272-
This should not have been considered a "Temporary failure" given the string in FAIL_PKG_STRINGS.