← Back to team overview

sts-sponsors team mailing list archive

[Bug 1822331] [NEW] autopkgtest-buildvm-ubuntu-cloud no longer works with precise or trusty

 

You have been subscribed to a public bug by Dan Streetman (ddstreet):

[impact]

creation of qemu imgs for use with autopkgtest-virt-qemu is done with
the autopkgtest-buildvm-ubuntu-cloud program.  This was dropped in
version 5.6:

      [ Martin Pitt ]
      * autopkgtest-buildvm-ubuntu-cloud: Drop obsolete Ubuntu release names

diff --git a/tools/autopkgtest-buildvm-ubuntu-cloud b/tools/autopkgtest-buildvm-ubuntu-cloud
index 2ff475c..81b4304 100755
--- a/tools/autopkgtest-buildvm-ubuntu-cloud
+++ b/tools/autopkgtest-buildvm-ubuntu-cloud
@@ -150,7 +150,7 @@ def parse_args():
 
 
 def download_image(cloud_img_url, release, arch):
-    if release in ['precise', 'trusty', 'wily', 'xenial']:
+    if release in ['xenial']:
         diskname = '%s-server-cloudimg-%s-disk1.img' % (release, arch)
     else:
         # images were renamed in Ubuntu 16.10


however, precise and trusty are not 'obsolete Ubuntu release names' just yet.

[test case]

run autopkgtest-buildvm-ubuntu-cloud with either -r precise or -r
trusty:

$ autopkgtest-buildvm-ubuntu-cloud -r trusty
Downloading https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64.img...

No image exists for this release/architecture
$ autopkgtest-buildvm-ubuntu-cloud -r precise
Downloading https://cloud-images.ubuntu.com/precise/current/precise-server-cloudimg-amd64.img...

No image exists for this release/architecture

[regression potential]

very little, as this is a simple change and using precise or trusty with
the script does not work at all currrently.  any regression would be
around downloading the ubuntu-cloud image.

** Affects: autopkgtest (Ubuntu)
     Importance: Low
     Assignee: Dan Streetman (ddstreet)
         Status: In Progress

** Affects: autopkgtest (Ubuntu Disco)
     Importance: Low
     Assignee: Dan Streetman (ddstreet)
         Status: In Progress


** Tags: sts sts-sponsor
-- 
autopkgtest-buildvm-ubuntu-cloud no longer works with precise or trusty
https://bugs.launchpad.net/bugs/1822331
You received this bug notification because you are a member of STS Sponsors, which is subscribed to the bug report.