Package: autopkgtest
Version: 5.10
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu disco ubuntu-patch

Dear Maintainer,

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

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

In Ubuntu, the attached patch was applied to achieve the following:

  * autopkgtest-buildvm-ubuntu-cloud: work with precise and trusty;
    they aren't dead yet!
    (LP: #1822331)


Thanks for considering the patch.


-- System Information:
Debian Release: buster/sid
  APT prefers disco
  APT policy: (500, 'disco')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-13-generic (SMP w/24 CPU cores)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Binary files 
/tmp/E_Ri6gEHkY/autopkgtest-5.10/lib/__pycache__/adtlog.cpython-37.pyc and 
/tmp/mRDDcPm7fM/autopkgtest-5.10ubuntu0+bug1822331v20190329b1/lib/__pycache__/adtlog.cpython-37.pyc
 differ
Binary files 
/tmp/E_Ri6gEHkY/autopkgtest-5.10/lib/__pycache__/VirtSubproc.cpython-37.pyc and 
/tmp/mRDDcPm7fM/autopkgtest-5.10ubuntu0+bug1822331v20190329b1/lib/__pycache__/VirtSubproc.cpython-37.pyc
 differ
diff -Nru autopkgtest-5.10/tools/autopkgtest-buildvm-ubuntu-cloud 
autopkgtest-5.10ubuntu0+bug1822331v20190329b1/tools/autopkgtest-buildvm-ubuntu-cloud
--- autopkgtest-5.10/tools/autopkgtest-buildvm-ubuntu-cloud     2019-02-25 
09:05:15.000000000 -0500
+++ 
autopkgtest-5.10ubuntu0+bug1822331v20190329b1/tools/autopkgtest-buildvm-ubuntu-cloud
        2019-03-29 10:19:14.000000000 -0400
@@ -150,7 +150,7 @@
 
 
 def download_image(cloud_img_url, release, arch):
-    if release in ['xenial']:
+    if release in ['precise', 'trusty', 'xenial']:
         diskname = '%s-server-cloudimg-%s-disk1.img' % (release, arch)
     else:
         # images were renamed in Ubuntu 16.10

Reply via email to