[Libvirt-ci] Build failed in Jenkins: libvirt-master-build » libvirt-fedora-rawhide #1648
by ci@centos.org
See <https://ci.centos.org/job/libvirt-master-build/systems=libvirt-fedora-raw...>
Changes:
[pkrempa] util: jsoncompat: Stub out virJSONInitialize when compiling without
[pkrempa] remote: daemon: Make sure that JSON symbols are properly loaded at
[mprivozn] util: Don't overflow in virRandomBits
[mprivozn] viriscsi: Request more random bits for interface name
------------------------------------------
[...truncated 173.24 KB...]
gmake[3]: Entering directory '<https://ci.centos.org/job/libvirt-master-build/systems=libvirt-fedora-raw...'>
Making all in .
gmake[4]: Entering directory '<https://ci.centos.org/job/libvirt-master-build/systems=libvirt-fedora-raw...'>
CC test-localcharset.o
CC exitfail.o
CC fatal-signal.o
CC getprogname.o
CC math.o
CC localename.o
CC wait-process.o
CC xmalloc.o
CC xalloc-die.o
CC nanosleep.o
CC glthread/thread.o
AR libtests.a
CCLD test-localcharset
gmake[4]: Leaving directory '<https://ci.centos.org/job/libvirt-master-build/systems=libvirt-fedora-raw...'>
gmake[3]: Leaving directory '<https://ci.centos.org/job/libvirt-master-build/systems=libvirt-fedora-raw...'>
gmake[2]: Leaving directory '<https://ci.centos.org/job/libvirt-master-build/systems=libvirt-fedora-raw...'>
Making all in tests
gmake[2]: Entering directory '<https://ci.centos.org/job/libvirt-master-build/systems=libvirt-fedora-raw...'>
CC virshtest.o
CC testutils.o
CC sockettest.o
CC virhostcputest.o
CC virfilewrapper.o
CC virbuftest.o
CC commandtest.o
CC seclabeltest.o
CC virhashtest.o
CC virconftest.o
CC viratomictest.o
CC utiltest.o
CC shunloadtest.o
CC shunloadhelper.lo
CC virtimetest.o
CC viruritest.o
CC virkeyfiletest.o
CC viralloctest.o
CC virauthconfigtest.o
CC virbitmaptest.o
CC vircgrouptest.o
CC vircryptotest.o
CC virpcitest.o
CC virendiantest.o
CC virfiletest.o
CC virfilecachetest.o
CC virfirewalltest-virfirewalltest.o
CC virfirewalltest-testutils.o
CC viriscsitest.o
CC virkeycodetest.o
CC virlockspacetest.o
CC virlogtest.o
CC virrotatingfiletest.o
CC virschematest.o
CC virstringtest.o
CC virportallocatortest.o
CC sysinfotest.o
CC virkmodtest.o
CC vircapstest.o
CC testutilslxc.o
CC testutilsqemu.o
CC domaincapstest.o
CC testutilsxen.o
CCLD libqemutestdriver.la
CC domainconftest.o
CC virhostdevtest.o
CC virnetdevtest-virnetdevtest.o
CC virnetdevtest-testutils.o
CC virtypedparamtest.o
CC virnetmessagetest.o
CC virnetsockettest.o
CC virnetdaemontest.o
CC virnetserverclienttest.o
CC virnettlscontexttest.o
CC virnettlshelpers.o
CC pkix_asn1_tab.o
CC virnettlssessiontest.o
CC fchosttest.o
CC scsihosttest.o
CC vircaps2xmltest.o
CC virresctrltest.o
CC fdstreamtest.o
CC virdbustest-virdbustest.o
CC virdbustest-testutils.o
CC virsystemdtest-virsystemdtest.o
CC virsystemdtest-testutils.o
CC virpolkittest-virpolkittest.o
CC virpolkittest-testutils.o
CC securityselinuxtest.o
CC securityselinuxhelper.lo
CC viridentitytest.o
CC securityselinuxlabeltest.o
CC xlconfigtest.o
CC xml2sexprtest.o
CC sexpr2xmltest.o
CC xmconfigtest.o
CC libxlxml2domconfigtest.o
CC qemuxml2argvtest.o
CC qemuxml2xmltest.o
CC qemuargv2xmltest.o
CC domainsnapshotxml2xmltest.o
CC qemumonitorjsontest.o
CC qemumonitortestutils.lo
CC testutilsqemuschema.lo
CC qemuhotplugtest.o
CC qemuagenttest.o
CC qemucapabilitiestest.o
CC qemucaps2xmltest.o
CC qemumemlocktest.o
CC qemucommandutiltest.o
CC qemublocktest.o
CC qemumigparamstest.o
CC lxcxml2xmltest.o
CC lxcconf2xmltest.o
CC openvzutilstest.o
CC esxutilstest.o
CC vboxsnapshotxmltest.o
CC vmx2xmltest.o
CC xml2vmxtest.o
CC vmwarevertest.o
CC virjsontest.o
CC networkxml2xmltest.o
CC networkxml2xmlupdatetest.o
CC networkxml2conftest.o
CC networkxml2firewalltest.o
CC storagebackendsheepdogtest.o
CC nwfilterxml2xmltest.o
CC virnwfilterbindingxml2xmltest.o
CC nwfilterebiptablestest.o
CC nwfilterxml2firewalltest.o
CC storagevolxml2argvtest.o
CC virstorageutiltest.o
CC virstoragetest.o
CC virscsitest.o
CC nsstest-nsstest.o
CC nsstest-testutils.o
CC nssguesttest-nsstest.o
CC nssguesttest-testutils.o
CC storagevolxml2xmltest.o
CC storagepoolxml2xmltest.o
CC nodedevxml2xmltest.o
CC interfacexml2xmltest.o
CC cputest.o
CC metadatatest.o
CC secretxml2xmltest.o
CC genericxml2xmltest.o
CC virusbtest.o
CC virnetdevbandwidthtest.o
CC eventtest.o
CC virdrivermoduletest.o
CC objecteventtest.o
CC virmacmaptest.o
CC commandhelper.o
CC ssh.o
CC qemucapsprobe.o
CC nsslinktest-nsslinktest.o
CC nssguestlinktest-nsslinktest.o
CC virportallocatormock.lo
CC virnetdaemonmock.lo
CC virnetserverclientmock.lo
CC vircgroupmock.lo
CC virpcimock.lo
CC virnetdevmock_la-virnetdevmock.lo
CC virrandommock.lo
CC virhostcpumock.lo
CC domaincapsmock.lo
CC virfilecachemock.lo
CC virusbmock.lo
CC virnetdevbandwidthmock.lo
CC virnumamock.lo
CC virtestmock.lo
CC virdbusmock_la-virdbusmock.lo
CC virmocklibxl_la-virmocklibxl.lo
CC qemuxml2argvmock.lo
CC qemucaps2xmlmock.lo
CC qemucapsprobemock.lo
CC qemucpumock.lo
CC nssmock.lo
CC virdeterministichashmock.lo
CCLD virshtest
CCLD sockettest
CCLD virhostcputest
CCLD virbuftest
CCLD commandtest
CCLD seclabeltest
CCLD virhashtest
CCLD virconftest
CCLD viratomictest
CCLD utiltest
CCLD libshunload.la
CCLD virtimetest
CCLD viruritest
CCLD virkeyfiletest
CCLD viralloctest
CCLD virauthconfigtest
CCLD virbitmaptest
CCLD vircgrouptest
CCLD vircryptotest
CCLD virpcitest
CCLD virendiantest
CCLD virfiletest
CCLD virfilecachetest
CCLD virfirewalltest
CCLD viriscsitest
CCLD virkeycodetest
CCLD virlockspacetest
CCLD virlogtest
CCLD virrotatingfiletest
CCLD virschematest
CCLD virstringtest
CCLD virportallocatortest
CCLD sysinfotest
CCLD virkmodtest
CCLD vircapstest
CCLD domaincapstest
CCLD domainconftest
CCLD virhostdevtest
CCLD virnetdevtest
CCLD virtypedparamtest
CCLD virnetmessagetest
CCLD virnetsockettest
CCLD virnetdaemontest
CCLD virnetserverclienttest
CCLD virnettlscontexttest
CCLD virnettlssessiontest
CCLD fchosttest
CCLD scsihosttest
CCLD vircaps2xmltest
CCLD virresctrltest
CCLD fdstreamtest
CCLD virdbustest
CCLD virsystemdtest
CCLD virpolkittest
CCLD libsecurityselinuxhelper.la
CCLD xlconfigtest
CCLD xml2sexprtest
CCLD sexpr2xmltest
CCLD xmconfigtest
CCLD libxlxml2domconfigtest
/usr/bin/ld: error while loading shared libraries: libbfd-2.31.1-8.fc29.so: cannot open shared object file: No such file or directory
collect2: error: ld returned 127 exit status
gmake[2]: *** [Makefile:5021: sexpr2xmltest] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory '<https://ci.centos.org/job/libvirt-master-build/systems=libvirt-fedora-raw...'>
gmake[1]: *** [Makefile:2106: all-recursive] Error 1
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-master-build/systems=libvirt-fedora-raw...'>
gmake: *** [Makefile:1999: all] Error 2
Build step 'Execute shell' marked build as failure
6 years, 4 months
[Libvirt-ci] Build failed in Jenkins: libvirt-dbus-master-check » libvirt-freebsd-10 #322
by ci@centos.org
See <https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-freeb...>
------------------------------------------
[...truncated 3.26 KB...]
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-freeb...'>
Making check in docs
gmake[1]: Entering directory '/usr<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-freeb...'>
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-freeb...'>
Making check in src
gmake[1]: Entering directory '/usr<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-freeb...'>
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-freeb...'>
Making check in tests
gmake[1]: Entering directory '/usr<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-freeb...'>
/usr/local/bin/gmake test_util
gmake[2]: Entering directory '/usr<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-freeb...'>
CC test_util-test_util.o
CCLD test_util
gmake[2]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-freeb...'>
/usr/local/bin/gmake check-TESTS
gmake[2]: Entering directory '/usr<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-freeb...'>
gmake[3]: Entering directory '/usr<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-freeb...'>
PASS: test_util
PASS: test_interface.py
PASS: test_domain.py
PASS: test_nodedev.py
PASS: test_network.py
FAIL: test_connect.py
PASS: test_storage.py
============================================================================
Testsuite summary for libvirt-dbus 1.3.0
============================================================================
# TOTAL: 7
# PASS: 6
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to libvir-list(a)redhat.com
============================================================================
gmake[3]: *** [Makefile:765: test-suite.log] Error 1
gmake[3]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-freeb...'>
gmake[2]: *** [Makefile:873: check-TESTS] Error 2
gmake[2]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-freeb...'>
gmake[1]: *** [Makefile:989: check-am] Error 2
gmake[1]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-freeb...'>
gmake: *** [Makefile:459: check-recursive] Error 1
+ cat tests/test-suite.log
==============================================
libvirt-dbus 1.3.0: tests/test-suite.log
==============================================
# TOTAL: 7
# PASS: 6
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: test_connect.py
=====================
============================= test session starts ==============================
platform freebsd10 -- Python 3.6.5, pytest-3.4.2, py-1.5.3, pluggy-0.6.0
rootdir: /usr<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-freeb...,> inifile:
collected 35 items
../../tests/test_connect.py .............................E...EE [100%]
==================================== ERRORS ====================================
______ ERROR at setup of TestConnect.test_connect_storage_pool_create_xml ______
self = <test_connect.TestConnect object at 0x8094ef358>
request = <SubRequest 'libvirt_dbus_setup' for <Function 'test_connect_storage_pool_create_xml'>>
@pytest.fixture(autouse=True)
def libvirt_dbus_setup(self, request):
"""Start libvirt-dbus for each test function
"""
os.environ['LIBVIRT_DEBUG'] = '3'
self.libvirt_dbus = subprocess.Popen([exe, '--session'])
self.bus = dbus.SessionBus()
for i in range(10):
if self.bus.name_has_owner('org.libvirt'):
break
time.sleep(0.1)
else:
> raise TimeoutError('error starting libvirt-dbus')
E TimeoutError: error starting libvirt-dbus
../../tests/libvirttest.py:44: TimeoutError
ERROR at setup of TestConnect.test_connect_storage_vol_lookup_by_property[StorageVolLookupByKey-Key]
self = <test_connect.TestConnect object at 0x80909eb00>
@pytest.fixture
def storage_volume_create(self):
""" Fixture to create dummy storage volume on the test driver
This fixture should be used in the setup of every test manipulating
with test volume.
"""
_, test_storage_pool = self.get_test_storage_pool()
interface_obj = dbus.Interface(test_storage_pool,
'org.libvirt.StoragePool')
> path = interface_obj.StorageVolCreateXML(xmldata.minimal_storage_vol_xml, 0)
../../tests/libvirttest.py:122:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/dbus/proxies.py:70: in __call__
return self._proxy_method(*args, **keywords)
/usr/local/lib/python3.6/site-packages/dbus/proxies.py:145: in __call__
**keywords)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dbus._dbus.SessionBus (session) at 0x8095bff10>
bus_name = dbus.String(':1.30')
object_path = dbus.ObjectPath('/org/libvirt/Test/storagepool/_35bb2ad9_388a_cdfe_461a_b8907f6e53fe')
dbus_interface = 'org.libvirt.StoragePool', method = 'StorageVolCreateXML'
signature = 'su'
args = ('\n<volume>\n <name>sparse.img</name>\n <capacity unit="G">2</capacity>\n <target>\n <path>/var/lib/virt/images/sparse.img</path>\n </target>\n</volume>\n', 0)
timeout = -1.0, byte_arrays = False, kwargs = {}
get_args_opts = {'byte_arrays': False}
message = <dbus.lowlevel.MethodCallMessage path: /org/libvirt/Test/storagepool/_35bb2ad9_388a_cdfe_461a_b8907f6e53fe, iface: org.libvirt.StoragePool, member: StorageVolCreateXML dest: :1.30>
def call_blocking(self, bus_name, object_path, dbus_interface, method,
signature, args, timeout=-1.0,
byte_arrays=False, **kwargs):
"""Call the given method, synchronously.
:Since: 0.81.0
"""
if object_path == LOCAL_PATH:
raise DBusException('Methods may not be called on the reserved '
'path %s' % LOCAL_PATH)
if dbus_interface == LOCAL_IFACE:
raise DBusException('Methods may not be called on the reserved '
'interface %s' % LOCAL_IFACE)
# no need to validate other args - MethodCallMessage ctor will do
get_args_opts = dict(byte_arrays=byte_arrays)
if is_py2:
get_args_opts['utf8_strings'] = kwargs.get('utf8_strings', False)
elif 'utf8_strings' in kwargs:
raise TypeError("unexpected keyword argument 'utf8_strings'")
message = MethodCallMessage(destination=bus_name,
path=object_path,
interface=dbus_interface,
method=method)
# Add the arguments to the function
try:
message.append(signature=signature, *args)
except Exception as e:
logging.basicConfig()
_logger.error('Unable to set arguments %r according to '
'signature %r: %s: %s',
args, signature, e.__class__, e)
raise
# make a blocking call
reply_message = self.send_message_with_reply_and_block(
> message, timeout)
E dbus.exceptions.DBusException: org.libvirt.Error: Requested operation is not valid: storage pool 'foo' is not active
/usr/local/lib/python3.6/site-packages/dbus/connection.py:651: DBusException
ERROR at setup of TestConnect.test_connect_storage_vol_lookup_by_property[StorageVolLookupByPath-Path]
self = <test_connect.TestConnect object at 0x80964a5c0>
@pytest.fixture
def storage_volume_create(self):
""" Fixture to create dummy storage volume on the test driver
This fixture should be used in the setup of every test manipulating
with test volume.
"""
_, test_storage_pool = self.get_test_storage_pool()
interface_obj = dbus.Interface(test_storage_pool,
'org.libvirt.StoragePool')
> path = interface_obj.StorageVolCreateXML(xmldata.minimal_storage_vol_xml, 0)
../../tests/libvirttest.py:122:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.6/site-packages/dbus/proxies.py:70: in __call__
return self._proxy_method(*args, **keywords)
/usr/local/lib/python3.6/site-packages/dbus/proxies.py:145: in __call__
**keywords)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dbus._dbus.SessionBus (session) at 0x8095bff10>
bus_name = dbus.String(':1.30')
object_path = dbus.ObjectPath('/org/libvirt/Test/storagepool/_35bb2ad9_388a_cdfe_461a_b8907f6e53fe')
dbus_interface = 'org.libvirt.StoragePool', method = 'StorageVolCreateXML'
signature = 'su'
args = ('\n<volume>\n <name>sparse.img</name>\n <capacity unit="G">2</capacity>\n <target>\n <path>/var/lib/virt/images/sparse.img</path>\n </target>\n</volume>\n', 0)
timeout = -1.0, byte_arrays = False, kwargs = {}
get_args_opts = {'byte_arrays': False}
message = <dbus.lowlevel.MethodCallMessage path: /org/libvirt/Test/storagepool/_35bb2ad9_388a_cdfe_461a_b8907f6e53fe, iface: org.libvirt.StoragePool, member: StorageVolCreateXML dest: :1.30>
def call_blocking(self, bus_name, object_path, dbus_interface, method,
signature, args, timeout=-1.0,
byte_arrays=False, **kwargs):
"""Call the given method, synchronously.
:Since: 0.81.0
"""
if object_path == LOCAL_PATH:
raise DBusException('Methods may not be called on the reserved '
'path %s' % LOCAL_PATH)
if dbus_interface == LOCAL_IFACE:
raise DBusException('Methods may not be called on the reserved '
'interface %s' % LOCAL_IFACE)
# no need to validate other args - MethodCallMessage ctor will do
get_args_opts = dict(byte_arrays=byte_arrays)
if is_py2:
get_args_opts['utf8_strings'] = kwargs.get('utf8_strings', False)
elif 'utf8_strings' in kwargs:
raise TypeError("unexpected keyword argument 'utf8_strings'")
message = MethodCallMessage(destination=bus_name,
path=object_path,
interface=dbus_interface,
method=method)
# Add the arguments to the function
try:
message.append(signature=signature, *args)
except Exception as e:
logging.basicConfig()
_logger.error('Unable to set arguments %r according to '
'signature %r: %s: %s',
args, signature, e.__class__, e)
raise
# make a blocking call
reply_message = self.send_message_with_reply_and_block(
> message, timeout)
E dbus.exceptions.DBusException: org.libvirt.Error: Requested operation is not valid: storage pool 'foo' is not active
/usr/local/lib/python3.6/site-packages/dbus/connection.py:651: DBusException
===================== 32 passed, 3 error in 16.83 seconds ======================
FAIL test_connect.py (exit status: 1)
+ exit 1
Build step 'Execute shell' marked build as failure
6 years, 4 months