Package: autopkgtest
Version: 3.20.1
Severity: normal
Tags: patch
autopkgtest script adt-buildvm-ubuntu-cloud does not support ppc64el platform,
causing the following 'crash':
WARNING: python-distro-info not installed, falling back to determining
default release from currently installed release
Traceback (most recent call last):
File "/usr/bin/adt-buildvm-ubuntu-cloud", line 336, in <module>
args = parse_args()
File "/usr/bin/adt-buildvm-ubuntu-cloud", line 106, in parse_args
default=qemu_default_cmds[default_arch],
KeyError: 'ppc64el'
I just created a patch that seems to solve the problem.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: ppc64el (ppc64le)
Kernel: Linux 4.4.0-1-powerpc64le (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages autopkgtest depends on:
ii apt-utils 1.2.7
ii libdpkg-perl 1.18.4
ii procps 2:3.3.11-3
ii python3 3.5.1-2
ii python3-debian 0.1.27
Versions of packages autopkgtest recommends:
ii autodep8 0.3
Versions of packages autopkgtest suggests:
pn lxc <none>
pn lxd-client <none>
ii qemu-system 1:2.5+dfsg-5
ii qemu-utils 1:2.5+dfsg-5
pn schroot <none>
-- no debconf information
Index: debian/source/new/autopkgtest-3.20.1/tools/adt-buildvm-ubuntu-cloud
===================================================================
--- debian.orig/source/new/autopkgtest-3.20.1/tools/adt-buildvm-ubuntu-cloud
+++ debian/source/new/autopkgtest-3.20.1/tools/adt-buildvm-ubuntu-cloud
@@ -83,7 +83,8 @@ def parse_args():
default_arch = subprocess.check_output(['dpkg', '--print-architecture'],
universal_newlines=True).strip()
qemu_default_cmds = {'i386': 'qemu-system-i386',
- 'amd64': 'qemu-system-x86_64'}
+ 'amd64': 'qemu-system-x86_64',
+ 'ppc64el': 'qemu-system-ppc64'}
parser.add_argument('-a', '--arch', default=default_arch,
help='Ubuntu architecture (default: %(default)s)')