[Libvirt-ci] Build failed in Jenkins: libvirt-dbus-master-check » libvirt-fedora-27 #350
by ci@centos.org
See <https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...>
------------------------------------------
[...truncated 7.25 KB...]
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
---------------------------- Captured stderr setup -----------------------------
dbus-daemon[27782]: Cannot setup inotify for '/home/jenkins/.local/share/dbus-1/services'; error 'Permission denied'
ERROR at setup of TestConnect.test_connect_interface_lookup_by_property[InterfaceLookupByMAC-MAC]
self = <test_connect.TestConnect object at 0x7efee821c320>
@pytest.fixture
def interface_create(self):
""" Fixture to define dummy interface on the test driver
This fixture should be used in the setup of every test manipulating
with interfaces.
"""
path = self.connect.InterfaceDefineXML(xmldata.minimal_interface_xml, 0)
obj = self.bus.get_object('org.libvirt', path)
interface_obj = dbus.Interface(obj, 'org.libvirt.Interface')
> interface_obj.Create(0)
../../tests/libvirttest.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib64/python3.6/site-packages/dbus/proxies.py:70: in __call__
return self._proxy_method(*args, **keywords)
/usr/lib64/python3.6/site-packages/dbus/proxies.py:145: in __call__
**keywords)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dbus._dbus.SessionBus (session) at 0x7efee86b9938>
bus_name = dbus.String(':1.1')
object_path = dbus.ObjectPath('/org/libvirt/Test/interface/11_3a22_3a33_3a44_3a55_3a66')
dbus_interface = 'org.libvirt.Interface', method = 'Create', signature = 'u'
args = (0,), timeout = -1.0, byte_arrays = False, kwargs = {}
get_args_opts = {'byte_arrays': False}
message = <dbus.lowlevel.MethodCallMessage path: /org/libvirt/Test/interface/11_3a22_3a33_3a44_3a55_3a66, iface: org.libvirt.Interface, member: Create dest: :1.1>
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
/usr/lib64/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 0x7efee823c630>
@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/lib64/python3.6/site-packages/dbus/proxies.py:70: in __call__
return self._proxy_method(*args, **keywords)
/usr/lib64/python3.6/site-packages/dbus/proxies.py:145: in __call__
**keywords)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dbus._dbus.SessionBus (session) at 0x7efee86b9938>
bus_name = dbus.String(':1.1')
object_path = dbus.ObjectPath('/org/libvirt/Test/storagepool/_dfe224cb_28fb_8dd0_c4b2_64eb3f0f4566')
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/_dfe224cb_28fb_8dd0_c4b2_64eb3f0f4566, iface: org.libvirt.StoragePool, member: StorageVolCreateXML dest: :1.1>
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: operation failed: storage vol already exists
/usr/lib64/python3.6/site-packages/dbus/connection.py:651: DBusException
=================================== FAILURES ===================================
______ TestConnect.test_connect_domain_lookup_by_id[DomainLookupByID-Id] _______
self = <test_connect.TestConnect object at 0x7efee81c8e48>
lookup_method_name = 'DomainLookupByID', lookup_item = 'Id'
@pytest.mark.parametrize("lookup_method_name,lookup_item", [
("DomainLookupByID", 'Id'),
("DomainLookupByName", 'Name'),
("DomainLookupByUUID", 'UUID'),
])
def test_connect_domain_lookup_by_id(self, lookup_method_name, lookup_item):
"""Parameterized test for all DomainLookupBy* API calls of Connect interface
"""
original_path = self.connect.ListDomains(0)[0]
obj, _ = self.get_test_domain()
props = obj.GetAll('org.libvirt.Domain', dbus_interface=dbus.PROPERTIES_IFACE)
> path = getattr(self.connect, lookup_method_name)(props[lookup_item])
../../tests/test_connect.py:51:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib64/python3.6/site-packages/dbus/proxies.py:145: in __call__
**keywords)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dbus._dbus.SessionBus (session) at 0x7efee86b9938>
bus_name = dbus.String(':1.1'), object_path = '/org/libvirt/Test'
dbus_interface = 'org.libvirt.Connect', method = 'DomainLookupByID'
signature = 'i', args = (dbus.UInt32(0, variant_level=2),), timeout = -1.0
byte_arrays = False, kwargs = {}, get_args_opts = {'byte_arrays': False}
message = <dbus.lowlevel.MethodCallMessage path: /org/libvirt/Test, iface: org.libvirt.Connect, member: DomainLookupByID dest: :1.1>
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: Domain not found
/usr/lib64/python3.6/site-packages/dbus/connection.py:651: DBusException
--------------------------- Captured stderr teardown ---------------------------
Disconnected from D-Bus.
____________________ TestConnect.test_connect_list_domains _____________________
self = <test_connect.TestConnect object at 0x7efee822e2b0>
def test_connect_list_domains(self):
domains = self.connect.ListDomains(0)
assert isinstance(domains, dbus.Array)
> assert len(domains) == 1
E AssertionError: assert 2 == 1
E + where 2 = len(dbus.Array([dbus.ObjectPath('/org/libvirt/Test/domain/_9a3b9042_d93c_4567_9e55_6d5cf8676716'), dbus.ObjectPath('/org/libvirt/Test/domain/_6695eb01_f6a4_8304_79aa_97f2502e193f')], signature=dbus.Signature('o')))
../../tests/test_connect.py:62: AssertionError
================ 2 failed, 30 passed, 3 error in 12.12 seconds =================
FAIL test_connect.py (exit status: 1)
+ exit 1
Build step 'Execute shell' marked build as failure
6 years, 4 months
[Libvirt-ci] Build failed in Jenkins: libvirt-dbus-master-check » libvirt-freebsd-11 #348
by ci@centos.org
See <https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-freeb...>
------------------------------------------
Started by upstream project "libvirt-dbus-master-check" build number 348
originally caused by:
Started by upstream project "libvirt-dbus-master-syntax-check" build number 11
originally caused by:
Started by upstream project "libvirt-dbus-master-build" build number 383
originally caused by:
Started by upstream project "libvirt-glib-master-build" build number 1355
originally caused by:
Started by upstream project "libvirt-master-build" build number 1699
originally caused by:
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on libvirt-freebsd-11 (libvirt) in workspace <https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-freeb...>
[libvirt-dbus-master] $ /bin/sh -xe /tmp/jenkins2980802086048546005.sh
+ cd build
+ /usr/local/bin/gmake check
Making check in data
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 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
FAIL: test_network.py
PASS: test_nodedev.py
PASS: 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:766: 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:874: check-TESTS] Error 2
gmake[2]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-freeb...'>
gmake[1]: *** [Makefile:990: check-am] Error 2
gmake[1]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-freeb...'>
gmake: *** [Makefile:460: 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_network.py
=====================
============================= test session starts ==============================
platform freebsd11 -- 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 7 items
../../tests/test_network.py E.....F [100%]
==================================== ERRORS ====================================
__________ ERROR at setup of TestNetwork.test_network_properties_type __________
self = <test_network.TestNetwork object at 0x8094484e0>
request = <SubRequest 'libvirt_dbus_setup' for <Function 'test_network_properties_type'>>
@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
=================================== FAILURES ===================================
TestNetwork.test_network_update[4-4-0-\n <host mac='00:16:3e:77:e2:ed' name='foo.example.com' ip='192.168.122.10'/>\n -0]
self = <test_network.TestNetwork object at 0x8094357b8>, command = '4'
section = '4', parentIndex = 0
xml_str = "\n <host mac='00:16:3e:77:e2:ed' name='foo.example.com' ip='192.168.122.10'/>\n "
flags = 0
@pytest.mark.parametrize("command, section, parentIndex, xml_str, flags", [
('4', '4', 0, ip_dhcp_host_xml, 0), # add-first, ip-dhcp-host
])
def test_network_update(self, command, section, parentIndex, xml_str, flags):
> _, test_network = self.get_test_network()
../../tests/test_network.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <test_network.TestNetwork object at 0x8094357b8>
def get_test_network(self):
"""Fetch information for the test network from test driver
Returns:
(dbus.proxies.ProxyObject, dbus.proxies.ProxyObject):
Test Network Object, Local proxy for the test Network Object.
"""
> path = self.connect.ListNetworks(0)[0]
E IndexError: list index out of range
../../tests/libvirttest.py:138: IndexError
--------------------------- Captured stderr teardown ---------------------------
Disconnected from D-Bus.
================= 1 failed, 5 passed, 1 error in 6.36 seconds ==================
FAIL test_network.py (exit status: 1)
+ exit 1
Build step 'Execute shell' marked build as failure
6 years, 4 months
[Libvirt-ci] Build failed in Jenkins: libvirt-sandbox-master-build » libvirt-fedora-rawhide #1315
by ci@centos.org
See <https://ci.centos.org/job/libvirt-sandbox-master-build/systems=libvirt-fe...>
------------------------------------------
[...truncated 7.90 KB...]
checking whether C compiler handles -Wcpp... yes
checking whether C compiler handles -Wdate-time... yes
checking whether C compiler handles -Wdeprecated-declarations... yes
checking whether C compiler handles -Wdisabled-optimization... yes
checking whether C compiler handles -Wdiv-by-zero... yes
checking whether C compiler handles -Wdouble-promotion... yes
checking whether C compiler handles -Wempty-body... yes
checking whether C compiler handles -Wendif-labels... yes
checking whether C compiler handles -Wenum-compare... yes
checking whether C compiler handles -Wextra... yes
checking whether C compiler handles -Wformat-contains-nul... yes
checking whether C compiler handles -Wformat-extra-args... yes
checking whether C compiler handles -Wformat-nonliteral... yes
checking whether C compiler handles -Wformat-security... yes
checking whether C compiler handles -Wformat-y2k... yes
checking whether C compiler handles -Wformat-zero-length... yes
checking whether C compiler handles -Wfree-nonheap-object... yes
checking whether C compiler handles -Wignored-qualifiers... yes
checking whether C compiler handles -Wimplicit... yes
checking whether C compiler handles -Wimplicit-function-declaration... yes
checking whether C compiler handles -Wimplicit-int... yes
checking whether C compiler handles -Winit-self... yes
checking whether C compiler handles -Winline... yes
checking whether C compiler handles -Wint-to-pointer-cast... yes
checking whether C compiler handles -Winvalid-memory-model... yes
checking whether C compiler handles -Winvalid-pch... yes
checking whether C compiler handles -Wjump-misses-init... yes
checking whether C compiler handles -Wlogical-op... yes
checking whether C compiler handles -Wmain... yes
checking whether C compiler handles -Wmaybe-uninitialized... yes
checking whether C compiler handles -Wmissing-braces... yes
checking whether C compiler handles -Wmissing-declarations... yes
checking whether C compiler handles -Wmissing-field-initializers... yes
checking whether C compiler handles -Wmissing-include-dirs... yes
checking whether C compiler handles -Wmissing-parameter-type... yes
checking whether C compiler handles -Wmissing-prototypes... yes
checking whether C compiler handles -Wmultichar... yes
checking whether C compiler handles -Wnarrowing... yes
checking whether C compiler handles -Wnested-externs... yes
checking whether C compiler handles -Wnonnull... yes
checking whether C compiler handles -Wold-style-declaration... yes
checking whether C compiler handles -Wold-style-definition... yes
checking whether C compiler handles -Wopenmp-simd... yes
checking whether C compiler handles -Woverflow... yes
checking whether C compiler handles -Woverlength-strings... yes
checking whether C compiler handles -Woverride-init... yes
checking whether C compiler handles -Wpacked... yes
checking whether C compiler handles -Wpacked-bitfield-compat... yes
checking whether C compiler handles -Wparentheses... yes
checking whether C compiler handles -Wpointer-arith... yes
checking whether C compiler handles -Wpointer-sign... yes
checking whether C compiler handles -Wpointer-to-int-cast... yes
checking whether C compiler handles -Wpragmas... yes
checking whether C compiler handles -Wreturn-local-addr... yes
checking whether C compiler handles -Wreturn-type... yes
checking whether C compiler handles -Wsequence-point... yes
checking whether C compiler handles -Wshadow... yes
checking whether C compiler handles -Wsizeof-pointer-memaccess... yes
checking whether C compiler handles -Wstack-protector... yes
checking whether C compiler handles -Wstrict-aliasing... yes
checking whether C compiler handles -Wstrict-overflow... yes
checking whether C compiler handles -Wstrict-prototypes... yes
checking whether C compiler handles -Wsuggest-attribute=const... yes
checking whether C compiler handles -Wsuggest-attribute=format... yes
checking whether C compiler handles -Wsuggest-attribute=noreturn... yes
checking whether C compiler handles -Wsuggest-attribute=pure... yes
checking whether C compiler handles -Wswitch... yes
checking whether C compiler handles -Wswitch-default... yes
checking whether C compiler handles -Wsync-nand... yes
checking whether C compiler handles -Wtrampolines... yes
checking whether C compiler handles -Wtrigraphs... yes
checking whether C compiler handles -Wtype-limits... yes
checking whether C compiler handles -Wuninitialized... yes
checking whether C compiler handles -Wunknown-pragmas... yes
checking whether C compiler handles -Wunsafe-loop-optimizations... yes
checking whether C compiler handles -Wunused... yes
checking whether C compiler handles -Wunused-but-set-parameter... yes
checking whether C compiler handles -Wunused-but-set-variable... yes
checking whether C compiler handles -Wunused-function... yes
checking whether C compiler handles -Wunused-label... yes
checking whether C compiler handles -Wunused-local-typedefs... yes
checking whether C compiler handles -Wunused-parameter... yes
checking whether C compiler handles -Wunused-result... yes
checking whether C compiler handles -Wunused-value... yes
checking whether C compiler handles -Wunused-variable... yes
checking whether C compiler handles -Wvarargs... yes
checking whether C compiler handles -Wvariadic-macros... yes
checking whether C compiler handles -Wvector-operation-performance... yes
checking whether C compiler handles -Wvla... yes
checking whether C compiler handles -Wvolatile-register-var... yes
checking whether C compiler handles -Wwrite-strings... yes
checking whether C compiler handles -Wnormalized=nfc... yes
checking whether C compiler handles -Wno-sign-compare... yes
checking whether C compiler handles -Wno-sign-conversion... yes
checking whether C compiler handles -Wno-conversion... yes
checking whether C compiler handles -Wno-unused-parameter... yes
checking whether C compiler handles -Wno-format-nonliteral... yes
checking whether C compiler handles -Wno-cast-function-type... yes
checking whether C compiler handles -Wjump-misses-init... (cached) yes
checking whether C compiler handles -Wframe-larger-than=4096... yes
checking whether C compiler handles -fstack-protector-all... yes
checking whether C compiler handles --param=ssp-buffer-size=4... yes
checking whether C compiler handles -fexceptions... yes
checking whether C compiler handles -fasynchronous-unwind-tables... yes
checking whether C compiler handles -fdiagnostics-show-option... yes
checking whether C compiler handles -funit-at-a-time... yes
checking whether C compiler handles -fipa-pure-const... yes
checking whether C compiler handles -Wno-suggest-attribute=pure... yes
checking whether C compiler handles -Wno-suggest-attribute=const... yes
checking whether C compiler handles -Werror... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GIO_UNIX... yes
checking for GOBJECT... yes
checking for LIBVIRT... yes
checking for LIBVIRT_GLIB... yes
checking for LIBVIRT_GOBJECT... yes
checking for LIBVIRT_GCONFIG... yes
checking for ZLIB... yes
checking for LZMA... yes
checking cap-ng.h usability... yes
checking cap-ng.h presence... yes
checking for cap-ng.h... yes
checking for capng_updatev in -lcap-ng... yes
checking for gtk-doc... yes
checking for gtkdoc-check... gtkdoc-check.test
checking for gtkdoc-check... /usr/bin/gtkdoc-check
checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf
checking whether to build gtk-doc documentation... yes
checking for GTKDOC_DEPS... yes
checking for perl... /usr/bin/perl
checking for rpcgen... /usr/bin/rpcgen
checking selinux/selinux.h usability... yes
checking selinux/selinux.h presence... yes
checking for selinux/selinux.h... yes
checking for fgetfilecon in -lselinux... yes
checking for library containing xdrmem_create... -ltirpc
checking where to find <rpc/rpc.h>... -I/usr/include/tirpc
checking for static LIBC... yes
checking for static LZMA... yes
checking for static ZLIB... yes
checking for ldd... /usr/bin/ldd
checking for gobject-introspection... yes
checking whether NLS is requested... yes
checking for intltool >= 0.35.0... 0.51.0 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.28.0
checking for XML::Parser... ok
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libvirt-sandbox/Makefile
config.status: creating libvirt-sandbox/tests/Makefile
config.status: creating bin/Makefile
config.status: creating examples/Makefile
config.status: creating docs/Makefile
config.status: creating docs/libvirt-sandbox/Makefile
config.status: creating po/Makefile.in
config.status: creating libvirt-sandbox.spec
config.status: creating libvirt-sandbox-1.0.pc
config.status: creating config.h
config.status: linking ../GNUmakefile to GNUmakefile
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po/stamp-it commands
configure:
configure: Configuration summary
configure: =====================
configure:
configure:
configure: Libraries:
configure:
configure: LZMA: -llzma -pthread
configure: ZLIB: -lz
configure: GOBJECT: -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -lgobject-2.0 -lglib-2.0
configure: LIBVIRT_GOBJECT: -I/home/jenkins/build/libvirt/include/libvirt-gobject-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/home/jenkins/build/libvirt/include/libvirt-gconfig-1.0 -I/usr/include/libxml2 -pthread -L/home/jenkins/build/libvirt/lib -lvirt-gobject-1.0 -lgio-2.0 -lvirt-gconfig-1.0 -lgobject-2.0 -lglib-2.0 -lxml2 -lvirt
configure:
Now type 'make' to compile libvirt-sandbox.
+ /usr/bin/gmake
/usr/bin/gmake all-recursive
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-sandbox-master-build/systems=libvirt-fe...'>
Making all in libvirt-sandbox
gmake[2]: Entering directory '<https://ci.centos.org/job/libvirt-sandbox-master-build/systems=libvirt-fe...'>
GEN libvirt-sandbox-enum-types.h
GEN libvirt-sandbox-enum-types.c
GEN libvirt-sandbox-protocol.h
GEN libvirt-sandbox-protocol.c
/usr/bin/gmake all-recursive
gmake[3]: Entering directory '<https://ci.centos.org/job/libvirt-sandbox-master-build/systems=libvirt-fe...'>
Making all in tests
gmake[4]: Entering directory '<https://ci.centos.org/job/libvirt-sandbox-master-build/systems=libvirt-fe...'>
gmake[4]: Nothing to be done for 'all'.
gmake[4]: Leaving directory '<https://ci.centos.org/job/libvirt-sandbox-master-build/systems=libvirt-fe...'>
gmake[4]: Entering directory '<https://ci.centos.org/job/libvirt-sandbox-master-build/systems=libvirt-fe...'>
CC libvirt_sandbox_init_common-libvirt-sandbox-init-common.o
CC libvirt_sandbox_init_common-libvirt-sandbox-protocol.o
CC libvirt_sandbox_init_common-libvirt-sandbox-rpcpacket.o
CC libvirt_sandbox_init_common-libvirt-sandbox-util.o
CC libvirt_sandbox_init_common-libvirt-sandbox-config.o
CC libvirt_sandbox_init_common-libvirt-sandbox-config-disk.o
../../libvirt-sandbox/libvirt-sandbox-config-disk.c: In function ‘gvir_sandbox_config_disk_class_init’:
../../libvirt-sandbox/libvirt-sandbox-config-disk.c:198:5: error: ‘g_type_class_add_private’ is deprecated [-Werror=deprecated-declarations]
g_type_class_add_private(klass, sizeof(GVirSandboxConfigDiskPrivate));
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
from /usr/include/glib-2.0/gobject/gbinding.h:29,
from /usr/include/glib-2.0/glib-object.h:23,
from /home/jenkins/build/libvirt/include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig.h:26,
from ../../libvirt-sandbox/libvirt-sandbox-config-all.h:27,
from ../../libvirt-sandbox/libvirt-sandbox-config-disk.c:26:
/usr/include/glib-2.0/gobject/gtype.h:1303:10: note: declared here
void g_type_class_add_private (gpointer g_class,
^~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
gmake[4]: *** [Makefile:1413: libvirt_sandbox_init_common-libvirt-sandbox-config-disk.o] Error 1
gmake[4]: *** Waiting for unfinished jobs....
../../libvirt-sandbox/libvirt-sandbox-config.c: In function ‘gvir_sandbox_config_class_init’:
../../libvirt-sandbox/libvirt-sandbox-config.c:474:5: error: ‘g_type_class_add_private’ is deprecated [-Werror=deprecated-declarations]
g_type_class_add_private(klass, sizeof(GVirSandboxConfigPrivate));
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
from /usr/include/glib-2.0/gobject/gbinding.h:29,
from /usr/include/glib-2.0/glib-object.h:23,
from /home/jenkins/build/libvirt/include/libvirt-gconfig-1.0/libvirt-gconfig/libvirt-gconfig.h:26,
from ../../libvirt-sandbox/libvirt-sandbox-config-all.h:27,
from ../../libvirt-sandbox/libvirt-sandbox-config.c:29:
/usr/include/glib-2.0/gobject/gtype.h:1303:10: note: declared here
void g_type_class_add_private (gpointer g_class,
^~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
gmake[4]: *** [Makefile:1399: libvirt_sandbox_init_common-libvirt-sandbox-config.o] Error 1
gmake[4]: Leaving directory '<https://ci.centos.org/job/libvirt-sandbox-master-build/systems=libvirt-fe...'>
gmake[3]: *** [Makefile:1796: all-recursive] Error 1
gmake[3]: Leaving directory '<https://ci.centos.org/job/libvirt-sandbox-master-build/systems=libvirt-fe...'>
gmake[2]: *** [Makefile:887: all] Error 2
gmake[2]: Leaving directory '<https://ci.centos.org/job/libvirt-sandbox-master-build/systems=libvirt-fe...'>
gmake[1]: *** [Makefile:556: all-recursive] Error 1
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-sandbox-master-build/systems=libvirt-fe...'>
gmake: *** [Makefile:463: 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-fedora-28 #343
by ci@centos.org
See <https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...>
------------------------------------------
Started by upstream project "libvirt-dbus-master-check" build number 343
originally caused by:
Started by upstream project "libvirt-dbus-master-syntax-check" build number 6
originally caused by:
Started by upstream project "libvirt-dbus-master-build" build number 378
originally caused by:
Started by upstream project "libvirt-glib-master-build" build number 1350
originally caused by:
Started by upstream project "libvirt-master-build" build number 1694
originally caused by:
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on libvirt-fedora-28 (libvirt) in workspace <https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...>
[libvirt-dbus-master] $ /bin/sh -xe /tmp/jenkins8454314223099356449.sh
+ cd build
+ /usr/bin/gmake check
Making check in data
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
Making check in docs
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
Making check in src
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
Making check in tests
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
/usr/bin/gmake test_util
gmake[2]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
CC test_util-test_util.o
CCLD test_util
gmake[2]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
/usr/bin/gmake check-TESTS
gmake[2]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
gmake[3]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
PASS: test_util
PASS: test_interface.py
PASS: test_domain.py
FAIL: test_network.py
FAIL: test_nodedev.py
PASS: test_connect.py
PASS: test_storage.py
============================================================================
Testsuite summary for libvirt-dbus 1.3.0
============================================================================
# TOTAL: 7
# PASS: 5
# SKIP: 0
# XFAIL: 0
# FAIL: 2
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to libvir-list(a)redhat.com
============================================================================
gmake[3]: *** [Makefile:759: test-suite.log] Error 1
gmake[3]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
gmake[2]: *** [Makefile:867: check-TESTS] Error 2
gmake[2]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
gmake[1]: *** [Makefile:980: check-am] Error 2
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
gmake: *** [Makefile:460: check-recursive] Error 1
+ cat tests/test-suite.log
==============================================
libvirt-dbus 1.3.0: tests/test-suite.log
==============================================
# TOTAL: 7
# PASS: 5
# SKIP: 0
# XFAIL: 0
# FAIL: 2
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: test_network.py
=====================
============================= test session starts ==============================
platform linux -- Python 3.6.6, pytest-3.4.2, py-1.5.4, pluggy-0.6.0
rootdir: <https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...,> inifile:
collected 7 items
../../tests/test_network.py .E....F [100%]
==================================== ERRORS ====================================
_____________ ERROR at setup of TestNetwork.test_network_autostart _____________
self = <test_network.TestNetwork object at 0x7efcd1c8b7f0>
request = <SubRequest 'libvirt_dbus_setup' for <Function 'test_network_autostart'>>
@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
=================================== FAILURES ===================================
TestNetwork.test_network_update[4-4-0-\n <host mac='00:16:3e:77:e2:ed' name='foo.example.com' ip='192.168.122.10'/>\n -0]
self = <test_network.TestNetwork object at 0x7efcd1c84eb8>, command = '4'
section = '4', parentIndex = 0
xml_str = "\n <host mac='00:16:3e:77:e2:ed' name='foo.example.com' ip='192.168.122.10'/>\n "
flags = 0
@pytest.mark.parametrize("command, section, parentIndex, xml_str, flags", [
('4', '4', 0, ip_dhcp_host_xml, 0), # add-first, ip-dhcp-host
])
def test_network_update(self, command, section, parentIndex, xml_str, flags):
> _, test_network = self.get_test_network()
../../tests/test_network.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <test_network.TestNetwork object at 0x7efcd1c84eb8>
def get_test_network(self):
"""Fetch information for the test network from test driver
Returns:
(dbus.proxies.ProxyObject, dbus.proxies.ProxyObject):
Test Network Object, Local proxy for the test Network Object.
"""
> path = self.connect.ListNetworks(0)[0]
E IndexError: list index out of range
../../tests/libvirttest.py:138: IndexError
--------------------------- Captured stderr teardown ---------------------------
Disconnected from D-Bus.
================= 1 failed, 5 passed, 1 error in 4.18 seconds ==================
FAIL test_network.py (exit status: 1)
FAIL: test_nodedev.py
=====================
============================= test session starts ==============================
platform linux -- Python 3.6.6, pytest-3.4.2, py-1.5.4, pluggy-0.6.0
rootdir: <https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...,> inifile:
collected 4 items
../../tests/test_nodedev.py E... [100%]
==================================== ERRORS ====================================
__________ ERROR at setup of TestNodeDevice.test_node_device_destroy ___________
self = <test_nodedev.TestNodeDevice object at 0x7ff4bb73eba8>
request = <SubRequest 'libvirt_dbus_setup' for <Function 'test_node_device_destroy'>>
@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
---------------------------- Captured stderr setup -----------------------------
dbus-daemon[24006]: Cannot setup inotify for '/home/jenkins/.local/share/dbus-1/services'; error 'Permission denied'
====================== 3 passed, 1 error in 3.04 seconds =======================
FAIL test_nodedev.py (exit status: 1)
+ exit 1
Build step 'Execute shell' marked build as failure
6 years, 4 months
[Libvirt-ci] Build failed in Jenkins: libvirt-dbus-master-check » libvirt-fedora-27 #343
by ci@centos.org
See <https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...>
------------------------------------------
Started by upstream project "libvirt-dbus-master-check" build number 343
originally caused by:
Started by upstream project "libvirt-dbus-master-syntax-check" build number 6
originally caused by:
Started by upstream project "libvirt-dbus-master-build" build number 378
originally caused by:
Started by upstream project "libvirt-glib-master-build" build number 1350
originally caused by:
Started by upstream project "libvirt-master-build" build number 1694
originally caused by:
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on libvirt-fedora-27 (libvirt) in workspace <https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...>
[libvirt-dbus-master] $ /bin/sh -xe /tmp/jenkins4215196661670112304.sh
+ cd build
+ /usr/bin/gmake check
Making check in data
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
Making check in docs
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
Making check in src
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
Making check in tests
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
/usr/bin/gmake test_util
gmake[2]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
CC test_util-test_util.o
CCLD test_util
gmake[2]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
/usr/bin/gmake check-TESTS
gmake[2]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
gmake[3]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
PASS: test_util
PASS: test_interface.py
PASS: test_domain.py
PASS: test_network.py
FAIL: test_nodedev.py
FAIL: test_connect.py
PASS: test_storage.py
============================================================================
Testsuite summary for libvirt-dbus 1.3.0
============================================================================
# TOTAL: 7
# PASS: 5
# SKIP: 0
# XFAIL: 0
# FAIL: 2
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to libvir-list(a)redhat.com
============================================================================
gmake[3]: *** [Makefile:759: test-suite.log] Error 1
gmake[3]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
gmake[2]: *** [Makefile:867: check-TESTS] Error 2
gmake[2]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
gmake[1]: *** [Makefile:980: check-am] Error 2
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
gmake: *** [Makefile:460: check-recursive] Error 1
+ cat tests/test-suite.log
==============================================
libvirt-dbus 1.3.0: tests/test-suite.log
==============================================
# TOTAL: 7
# PASS: 5
# SKIP: 0
# XFAIL: 0
# FAIL: 2
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: test_connect.py
=====================
============================= test session starts ==============================
platform linux -- Python 3.6.6, pytest-3.2.3, py-1.4.34, pluggy-0.4.0
rootdir: <https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...,> inifile:
collected 35 items
../../tests/test_connect.py .................E................E
==================================== ERRORS ====================================
_________ ERROR at setup of TestConnect.test_connect_get_capabilities __________
self = <test_connect.TestConnect object at 0x7fd8b32d6c88>
request = <SubRequest 'libvirt_dbus_setup' for <Function 'test_connect_get_capabilities'>>
@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[StorageVolLookupByPath-Path]
self = <test_connect.TestConnect object at 0x7fd8b3322240>
@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/lib64/python3.6/site-packages/dbus/proxies.py:70: in __call__
return self._proxy_method(*args, **keywords)
/usr/lib64/python3.6/site-packages/dbus/proxies.py:145: in __call__
**keywords)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dbus._dbus.SessionBus (session) at 0x7fd8b3780938>
bus_name = dbus.String(':1.18')
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.18>
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: operation failed: storage vol already exists
/usr/lib64/python3.6/site-packages/dbus/connection.py:651: DBusException
===================== 33 passed, 2 error in 17.58 seconds ======================
FAIL test_connect.py (exit status: 1)
FAIL: test_nodedev.py
=====================
============================= test session starts ==============================
platform linux -- Python 3.6.6, pytest-3.2.3, py-1.4.34, pluggy-0.4.0
rootdir: <https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...,> inifile:
collected 4 items
../../tests/test_nodedev.py .E..
==================================== ERRORS ====================================
____ ERROR at setup of TestNodeDevice.test_node_device_get_xml_description _____
self = <test_nodedev.TestNodeDevice object at 0x7ff70c2cf780>
request = <SubRequest 'libvirt_dbus_setup' for <Function 'test_node_device_get_xml_description'>>
@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
====================== 3 passed, 1 error in 3.25 seconds =======================
FAIL test_nodedev.py (exit status: 1)
+ exit 1
Build step 'Execute shell' marked build as failure
6 years, 4 months
[Libvirt-ci] Passed: libvirt/libvirt#1598 (master - 77f51ab)
by Travis CI
Build Update for libvirt/libvirt
-------------------------------------
Build: #1598
Status: Passed
Duration: 19 mins and 22 secs
Commit: 77f51ab (master)
Author: Erik Skultety
Message: qemu: caps: Format SEV platform data into qemuCaps cache
Since we're not saving the platform-specific data into a cache, we're
not going to populate the structure, which in turn will cause a crash
upon calling virNodeGetSEVInfo because of a NULL pointer dereference.
Ultimately, we should start caching this data along with host-specific
capabilities like NUMA and SELinux stuff into a separate cache, but for
the time being, this is a semi-proper fix for a potential crash.
Backtrace (requires libvirtd restart to load qemu caps from cache):
#0 qemuGetSEVInfoToParams
#1 qemuNodeGetSEVInfo
#2 virNodeGetSEVInfo
#3 remoteDispatchNodeGetSevInfo
#4 remoteDispatchNodeGetSevInfoHelper
#5 virNetServerProgramDispatchCall
#6 virNetServerProgramDispatch
#7 virNetServerProcessMsg
#8 virNetServerHandleJob
#9 virThreadPoolWorker
#10 virThreadHelper
https: //bugzilla.redhat.com/show_bug.cgi?id=1612009
Signed-off-by: Erik Skultety <eskultet(a)redhat.com>
Acked-by: Peter Krempa <pkrempa(a)redhat.com>
Tested-by: Brijesh Singh <brijesh.singh(a)amd.com>
View the changeset: https://github.com/libvirt/libvirt/compare/69c20e109005...77f51ab52049
View the full build log and details: https://travis-ci.org/libvirt/libvirt/builds/418079381?utm_source=email&u...
--
You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications
This email was sent to libvirt-ci(a)redhat.com (mailto:libvirt-ci@redhat.com)
unsubscribe from this list (http://clicks.travis-ci.com/track/unsub.php?u=14313403&id=2d6a7c181529466...)
6 years, 4 months