Public bug reported: 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 ** Affects: autopkgtest (Ubuntu) Importance: Undecided Status: New ** Description changed: + 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) + 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: + 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 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1704395 Title: some cloud images no longer have the -disk1 suffix To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1704395/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
