[Bug 1704395] Re: some cloud images no longer have the -disk1 suffix

Martin Pitt martin.pitt at ubuntu.com
Fri Jul 14 14:12:18 UTC 2017


Right, that was fixed long ago. Use autopkgtest from xenial-backports to
run tests for newer Ubuntu releases.

** Changed in: autopkgtest (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/1704395

Title:
  some cloud images no longer have the -disk1 suffix

Status in autopkgtest package in Ubuntu:
  Fix Released

Bug description:
  autopkgtest 3.20.4ubuntu1 on xenial amd64

  When trying to build an artful adt qemu image, I got this error:
  Downloading https://cloud-images.ubuntu.com/artful/current/artful-server-cloudimg-amd64-disk1.img...
  Traceback (most recent call last):
    File "/usr/bin/adt-buildvm-ubuntu-cloud", line 344, in <module>
      image = download_image(args.cloud_image_url, args.release, args.arch)
    File "/usr/bin/adt-buildvm-ubuntu-cloud", line 180, in download_image
      headers = urllib.request.urlretrieve(image_url, local_image, report)[1]
    File "/usr/lib/python3.5/urllib/request.py", line 188, in urlretrieve
      with contextlib.closing(urlopen(url, data)) as fp:
    File "/usr/lib/python3.5/urllib/request.py", line 163, in urlopen
      return opener.open(url, data, timeout)
    File "/usr/lib/python3.5/urllib/request.py", line 472, in open
      response = meth(req, response)
    File "/usr/lib/python3.5/urllib/request.py", line 582, in http_response
      'http', request, response, code, msg, hdrs)
    File "/usr/lib/python3.5/urllib/request.py", line 510, in error
      return self._call_chain(*args)
    File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain
      result = func(*args)
    File "/usr/lib/python3.5/urllib/request.py", line 590, in http_error_default
      raise HTTPError(req.full_url, code, msg, hdrs, fp)
  urllib.error.HTTPError: HTTP Error 404: Not Found

  Turns out that for images later than xenial, the -disk1 suffix was
  removed. The correct artful image URL is:

  https://cloud-images.ubuntu.com/artful/current/artful-server-cloudimg-
  amd64.img

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1704395/+subscriptions



More information about the foundations-bugs mailing list