Public bug reported:

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)
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)

** Affects: update-manager (Ubuntu)
     Importance: Undecided
     Assignee: Brian Murray (brian-murray)
         Status: Fix Released

** Affects: update-manager (Ubuntu Hirsute)
     Importance: Undecided
     Assignee: Brian Murray (brian-murray)
         Status: New


** Tags: block-proposed-focal block-proposed-groovy 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

Reply via email to