Source: oz
Version: 0.17.0-2
Severity: serious
X-Debbugs-CC: debian-ci@lists.debian.org
User: debian-ci@lists.debian.org
Usertags: regression
Dear maintainers,
You package has an autopkgtest, great. However, it fails on arm64. I
copied some of the output at the bottom of this report.
Currently this regression is blocking the migration to testing [1]. Can
you please investigate the situation and fix it? If you upload the fix,
make sure you upload source only, we don't allow binaries built by the
maintainer to migrate to testing and arch:all can't be binNMU'ed.
More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation
Paul
[1] https://qa.debian.org/excuses.php?package=oz
https://ci.debian.net/data/autopkgtest/testing/arm64/o/oz/3457325/log.gz
=================================== FAILURES
===================================
_______________________________ test_fedora_core
_______________________________
def test_fedora_core():
for version in ["1", "2", "3", "4", "5", "6"]:
for arch in ["i386", "x86_64"]:
for installtype in ["url", "iso"]:
runtest(distro='FedoraCore', version=version, arch=arch,
> installtype=installtype, expect_success=True)
tests/factory/test_factory.py:122:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
tests/factory/test_factory.py:98: in runtest
oz.GuestFactory.guest_factory(tdl, config, None)
/usr/lib/python3/dist-packages/oz/GuestFactory.py:103: in guest_factory
diskbus, macaddress)
/usr/lib/python3/dist-packages/oz/FedoraCore.py:97: in get_class
macaddress)
/usr/lib/python3/dist-packages/oz/FedoraCore.py:65: in __init__
macaddress)
/usr/lib/python3/dist-packages/oz/RedHat.py:46: in __init__
url_allowed, macaddress)
/usr/lib/python3/dist-packages/oz/Linux.py:39: in __init__
url_allowed, macaddress)
/usr/lib/python3/dist-packages/oz/Guest.py:1315: in __init__
url_allowed, macaddress)
/usr/lib/python3/dist-packages/oz/Guest.py:248: in __init__
self.connect_to_libvirt()
/usr/lib/python3/dist-packages/oz/Guest.py:129: in connect_to_libvirt
self._discover_libvirt_type()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
self = <oz.FedoraCore.FedoraCoreGuest object at 0xffff91fef310>
def _discover_libvirt_type(self):
"""
Internal method to discover the libvirt type (qemu, kvm, etc) that
we should use, if not specified by the user.
"""
if self.libvirt_type is None:
doc = lxml.etree.fromstring(self.libvirt_conn.getCapabilities())
# Libvirt calls the old intel 32-bit architecture i686, while we
# refer to it as i386. Do the mapping here, since we need
to look
# up the libvirt name.
libvirtarch = self.tdl.arch
if libvirtarch == 'i386':
libvirtarch = 'i686'
if
len(doc.xpath("/capabilities/guest/arch[@name='%s']/domain[@type='kvm']"
% (libvirtarch))) > 0:
self.libvirt_type = 'kvm'
elif
len(doc.xpath("/capabilities/guest/arch[@name='%s']/domain[@type='qemu']"
% (libvirtarch))) > 0:
self.libvirt_type = 'qemu'
else:
> raise oz.OzException.OzException("This host does not
support virtualization type kvm or qemu for TDL arch (%s)" % (libvirtarch))
E oz.OzException.OzException: This host does not support
virtualization type kvm or qemu for TDL arch (i686)
/usr/lib/python3/dist-packages/oz/Guest.py:78: OzException
----------------------------- Captured stdout call
-----------------------------
Testing FedoraCore-1-i386-url
_________________________________ test_fedora
__________________________________
def test_fedora():
for version in ["7", "8", "9", "10", "11", "12", "13", "14",
"15", "16",
"17", "18", "19", "20", "21", "22", "23", "24",
"25", "26",
"27", "28"]:
for arch in ["i386", "x86_64"]:
for installtype in ["url", "iso"]:
runtest(distro='Fedora', version=version, arch=arch,
> installtype=installtype, expect_success=True)
tests/factory/test_factory.py:137:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
tests/factory/test_factory.py:98: in runtest
oz.GuestFactory.guest_factory(tdl, config, None)
/usr/lib/python3/dist-packages/oz/GuestFactory.py:103: in guest_factory
diskbus, macaddress)
/usr/lib/python3/dist-packages/oz/Fedora.py:323: in get_class
output_disk, macaddress, None)
/usr/lib/python3/dist-packages/oz/Fedora.py:250: in __init__
macaddress, self.config.use_yum)
/usr/lib/python3/dist-packages/oz/RedHat.py:729: in __init__
initrdtype, macaddress)
/usr/lib/python3/dist-packages/oz/RedHat.py:46: in __init__
url_allowed, macaddress)
/usr/lib/python3/dist-packages/oz/Linux.py:39: in __init__
url_allowed, macaddress)
/usr/lib/python3/dist-packages/oz/Guest.py:1315: in __init__
url_allowed, macaddress)
/usr/lib/python3/dist-packages/oz/Guest.py:248: in __init__
self.connect_to_libvirt()
/usr/lib/python3/dist-packages/oz/Guest.py:129: in connect_to_libvirt
self._discover_libvirt_type()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
self = <oz.Fedora.FedoraGuest object at 0xffff90233390>
def _discover_libvirt_type(self):
"""
Internal method to discover the libvirt type (qemu, kvm, etc) that
we should use, if not specified by the user.
"""
if self.libvirt_type is None:
doc = lxml.etree.fromstring(self.libvirt_conn.getCapabilities())
# Libvirt calls the old intel 32-bit architecture i686, while we
# refer to it as i386. Do the mapping here, since we need
to look
# up the libvirt name.
libvirtarch = self.tdl.arch
if libvirtarch == 'i386':
libvirtarch = 'i686'
if
len(doc.xpath("/capabilities/guest/arch[@name='%s']/domain[@type='kvm']"
% (libvirtarch))) > 0:
self.libvirt_type = 'kvm'
elif
len(doc.xpath("/capabilities/guest/arch[@name='%s']/domain[@type='qemu']"
% (libvirtarch))) > 0:
self.libvirt_type = 'qemu'
else:
> raise oz.OzException.OzException("This host does not
support virtualization type kvm or qemu for TDL arch (%s)" % (libvirtarch))
E oz.OzException.OzException: This host does not support
virtualization type kvm or qemu for TDL arch (i686)
/usr/lib/python3/dist-packages/oz/Guest.py:78: OzException
----------------------------- Captured stdout call
-----------------------------
Testing Fedora-7-i386-url
___________________________________ test_rhl
___________________________________
def test_rhl():
for version in ["7.0", "7.1", "7.2", "7.3", "8", "9"]:
runtest(distro='RHL', version=version, arch='i386',
installtype='url',
> expect_success=True)
[...]
loads more
Attachment:
signature.asc
Description: OpenPGP digital signature