This has been fixed in impish by switching to use python3-distro-info
but for any stable releases let's just change the release name in the
test.
update-manager (1:21.10.2) impish; urgency=medium
* debian/changelog: Fix the date in an old changelog entry. (LP: #1927850)
* tests/test_meta_release_core.py: use distro_info to determine a supported
release to test instead of Lucid which was hardcoded.
** Also affects: update-manager (Ubuntu Hirsute)
Importance: Undecided
Status: New
** Changed in: update-manager (Ubuntu Hirsute)
Assignee: (unassigned) => Brian Murray (brian-murray)
** Changed in: update-manager (Ubuntu)
Status: New => Fix Released
** Changed in: update-manager (Ubuntu)
Assignee: (unassigned) => Brian Murray (brian-murray)
** Description changed:
+ The autopkgtests for update-manager are failing on stable releases. The
+ test is checking for an upgrade from Lucid to Precise but Precise has
+ been removed from the archive. This change updates the test so it uses
+ Bionic and Focal both of which will be supported longer than Hirsute.
+
+ [Test Case]
+ verify the autopkgtest passes
+
ERROR: test_html_uri_real (test_meta_release_core.TestMetaReleaseCore)
----------------------------------------------------------------------
Traceback (most recent call last):
- File
"/tmp/autopkgtest.uS0Qrh/build.YA2/src/tests/test_meta_release_core.py", line
186, in test_html_uri_real
- f = urlopen(uri)
- File "/usr/lib/python3.9/urllib/request.py", line 214, in urlopen
- return opener.open(url, data, timeout)
- File "/usr/lib/python3.9/urllib/request.py", line 523, in open
- response = meth(req, response)
- File "/usr/lib/python3.9/urllib/request.py", line 632, in http_response
- response = self.parent.error(
- File "/usr/lib/python3.9/urllib/request.py", line 561, in error
- return self._call_chain(*args)
- File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain
- result = func(*args)
- File "/usr/lib/python3.9/urllib/request.py", line 641, in http_error_default
- raise HTTPError(req.full_url, code, msg, hdrs, fp)
+ File
"/tmp/autopkgtest.uS0Qrh/build.YA2/src/tests/test_meta_release_core.py", line
186, in test_html_uri_real
+ f = urlopen(uri)
+ File "/usr/lib/python3.9/urllib/request.py", line 214, in urlopen
+ return opener.open(url, data, timeout)
+ File "/usr/lib/python3.9/urllib/request.py", line 523, in open
+ response = meth(req, response)
+ File "/usr/lib/python3.9/urllib/request.py", line 632, in http_response
+ response = self.parent.error(
+ File "/usr/lib/python3.9/urllib/request.py", line 561, in error
+ return self._call_chain(*args)
+ File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain
+ result = func(*args)
+ File "/usr/lib/python3.9/urllib/request.py", line 641, in http_error_default
+ raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
- -------------------- >> begin captured logging << --------------------
- root: WARNING: using fake release name 'lucid' (because of
META_RELEASE_FAKE_CODENAME environment)
+ -------------------- >> begin captured logging << --------------------root:
WARNING: using fake release name 'lucid' (because of META_RELEASE_FAKE_CODENAME
environment)
** Tags added: block-proposed-hirsute
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1929865
Title:
autopkgtests fail due to precise being removed from the archive
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1929865/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs