[Libvirt-ci] Build failed in Jenkins: libvirt-dbus-check » libvirt-fedora-30 #550
by ci@centos.org
See <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-30/55...>
------------------------------------------
[...truncated 8.30 KB...]
**keywords)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dbus._dbus.SessionBus (session) at 0x7f0202ca7830>
bus_name = dbus.String(':1.3')
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.3>
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.7/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 0x7f0202d81190>
@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:125:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib64/python3.7/site-packages/dbus/proxies.py:70: in __call__
return self._proxy_method(*args, **keywords)
/usr/lib64/python3.7/site-packages/dbus/proxies.py:145: in __call__
**keywords)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dbus._dbus.SessionBus (session) at 0x7f0202ca7830>
bus_name = dbus.String(':1.3')
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.3>
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.7/site-packages/dbus/connection.py:651: DBusException
=============================== warnings summary ===============================
tests/test_connect.py::TestConnect::()::test_connect_interface_lookup_by_property[InterfaceLookupByMAC-MAC]
source:362: DeprecationWarning: invalid escape sequence \
source:399: DeprecationWarning: invalid escape sequence \
tests/test_connect.py::TestConnect::()::test_connect_storage_vol_lookup_by_property[StorageVolLookupByPath-Path]
source:362: DeprecationWarning: invalid escape sequence \
source:399: DeprecationWarning: invalid escape sequence \
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 32 passed, 4 warnings, 3 error in 14.79 seconds ================
FAIL test_connect.py (exit status: 1)
FAIL: test_domain.py
====================
============================= test session starts ==============================
platform linux -- Python 3.7.4, pytest-3.9.3, py-1.7.0, pluggy-0.8.1
rootdir: <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-30/ws/,> inifile:
collected 10 items
../../tests/test_domain.py ......E.FF [100%]
==================================== ERRORS ====================================
__________________ ERROR at setup of TestDomain.test_suspend ___________________
self = <test_domain.TestDomain object at 0x7eff7fb37e10>
request = <SubRequest 'libvirt_dbus_setup' for <Function 'test_suspend'>>
@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 ===================================
_________________________ TestDomain.test_domain_vcpus _________________________
self = <test_domain.TestDomain object at 0x7eff7fb35cd0>
def test_domain_vcpus(self):
> obj, domain = self.get_test_domain()
../../tests/test_domain.py:149:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <test_domain.TestDomain object at 0x7eff7fb35cd0>
def get_test_domain(self):
> path = self.connect.ListDomains(0)[0]
E IndexError: list index out of range
../../tests/libvirttest.py:129: IndexError
_____________________ TestDomain.test_domain_vcpu_pin_info _____________________
self = <test_domain.TestDomain object at 0x7eff7fb581d0>
def test_domain_vcpu_pin_info(self):
> obj, domain = self.get_test_domain()
../../tests/test_domain.py:155:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <test_domain.TestDomain object at 0x7eff7fb581d0>
def get_test_domain(self):
> path = self.connect.ListDomains(0)[0]
E IndexError: list index out of range
../../tests/libvirttest.py:129: IndexError
--------------------------- Captured stderr teardown ---------------------------
Disconnected from D-Bus.
================= 2 failed, 7 passed, 1 error in 13.28 seconds =================
FAIL test_domain.py (exit status: 1)
FAIL: test_interface.py
=======================
============================= test session starts ==============================
platform linux -- Python 3.7.4, pytest-3.9.3, py-1.7.0, pluggy-0.8.1
rootdir: <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-30/ws/,> inifile:
collected 5 items
../../tests/test_interface.py ...E. [100%]
==================================== ERRORS ====================================
______ ERROR at setup of TestInterface.test_interface_get_xml_description ______
self = <test_interface.TestInterface object at 0x7f23dcd4e890>
request = <SubRequest 'libvirt_dbus_setup' for <Function 'test_interface_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
====================== 4 passed, 1 error in 6.84 seconds =======================
FAIL test_interface.py (exit status: 1)
+ exit 1
Build step 'Execute shell' marked build as failure
5 years, 4 months
[Libvirt-ci] Build failed in Jenkins: libvirt-dbus-check » libvirt-freebsd-11 #548
by ci@centos.org
See <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-freebsd-11/5...>
------------------------------------------
[...truncated 3.79 KB...]
Making check in data
gmake[1]: Entering directory '/usr<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-freebsd-11/w...'>
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-freebsd-11/w...'>
Making check in docs
gmake[1]: Entering directory '/usr<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-freebsd-11/w...'>
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-freebsd-11/w...'>
Making check in src
gmake[1]: Entering directory '/usr<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-freebsd-11/w...'>
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-freebsd-11/w...'>
Making check in tests
gmake[1]: Entering directory '/usr<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-freebsd-11/w...'>
/usr/local/bin/gmake test_util
gmake[2]: Entering directory '/usr<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-freebsd-11/w...'>
CC test_util-test_util.o
CCLD test_util
gmake[2]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-freebsd-11/w...'>
/usr/local/bin/gmake check-TESTS
gmake[2]: Entering directory '/usr<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-freebsd-11/w...'>
gmake[3]: Entering directory '/usr<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-freebsd-11/w...'>
PASS: test_util
PASS: test_interface.py
PASS: test_domain.py
PASS: test_network.py
PASS: test_nodedev.py
FAIL: test_connect.py
PASS: test_storage.py
============================================================================
Testsuite summary for libvirt-dbus 1.4.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-check/systems=libvirt-freebsd-11/w...'>
gmake[2]: *** [Makefile:874: check-TESTS] Error 2
gmake[2]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-freebsd-11/w...'>
gmake[1]: *** [Makefile:990: check-am] Error 2
gmake[1]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-freebsd-11/w...'>
gmake: *** [Makefile:460: check-recursive] Error 1
+ cat tests/test-suite.log
==============================================
libvirt-dbus 1.4.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 freebsd11 -- Python 3.6.9, pytest-4.5.0, py-1.8.0, pluggy-0.12.0
rootdir: /usr<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-freebsd-11/ws/>
collected 35 items
../../tests/test_connect.py ............E..E..................E [100%]
==================================== ERRORS ====================================
____________ ERROR at setup of TestConnect.test_connect_get_sysinfo ____________
self = <test_connect.TestConnect object at 0x8096ea860>
request = <SubRequest 'libvirt_dbus_setup' for <Function test_connect_get_sysinfo>>
@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_interface_lookup_by_property[InterfaceLookupByMAC-MAC] _
self = <test_connect.TestConnect object at 0x80969a128>
@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/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 0x809374678>
bus_name = dbus.String(':1.13')
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.13>
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/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 0x809344e48>
@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:125:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/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 0x809374678>
bus_name = dbus.String(':1.13')
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.13>
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/local/lib/python3.6/site-packages/dbus/connection.py:651: DBusException
===================== 32 passed, 3 error in 18.45 seconds ======================
FAIL test_connect.py (exit status: 1)
+ exit 1
Build step 'Execute shell' marked build as failure
5 years, 4 months
[Libvirt-ci] Build failed in Jenkins: libvirt-dbus-check » libvirt-fedora-30 #546
by ci@centos.org
See <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-30/54...>
------------------------------------------
[...truncated 12.69 KB...]
"""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.7/site-packages/dbus/connection.py:651: DBusException
=============================== warnings summary ===============================
tests/test_connect.py::TestConnect::()::test_connect_interface_lookup_by_property[InterfaceLookupByMAC-MAC]
source:362: DeprecationWarning: invalid escape sequence \
source:399: DeprecationWarning: invalid escape sequence \
tests/test_connect.py::TestConnect::()::test_connect_storage_vol_lookup_by_property[StorageVolLookupByPath-Path]
source:362: DeprecationWarning: invalid escape sequence \
source:399: DeprecationWarning: invalid escape sequence \
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 32 passed, 4 warnings, 3 error in 13.89 seconds ================
FAIL test_connect.py (exit status: 1)
FAIL: test_domain.py
====================
============================= test session starts ==============================
platform linux -- Python 3.7.4, pytest-3.9.3, py-1.7.0, pluggy-0.8.1
rootdir: <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-30/ws/,> inifile:
collected 10 items
../../tests/test_domain.py ....E.FF.. [100%]
==================================== ERRORS ====================================
___________________ ERROR at setup of TestDomain.test_resume ___________________
self = <test_domain.TestDomain object at 0x7f303ad54e90>
request = <SubRequest 'libvirt_dbus_setup' for <Function 'test_resume'>>
@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 ===================================
___________________________ TestDomain.test_suspend ____________________________
self = <test_domain.TestDomain object at 0x7f303ab99110>
def test_suspend(self):
def domain_suspended(path, event, detail):
if event != libvirttest.DomainEvent.SUSPENDED:
return
assert detail == libvirttest.DomainEventSuspendedDetailType.PAUSED
assert isinstance(path, dbus.ObjectPath)
self.loop.quit()
self.connect.connect_to_signal('DomainEvent', domain_suspended)
obj, domain = self.get_test_domain()
> domain.Suspend()
../../tests/test_domain.py:125:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib64/python3.7/site-packages/dbus/proxies.py:70: in __call__
return self._proxy_method(*args, **keywords)
/usr/lib64/python3.7/site-packages/dbus/proxies.py:145: in __call__
**keywords)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dbus._dbus.SessionBus (session) at 0x7f303ad93950>
bus_name = dbus.String(':1.5')
object_path = dbus.ObjectPath('/org/libvirt/Test/domain/_6695eb01_f6a4_8304_79aa_97f2502e193f')
dbus_interface = 'org.libvirt.Domain', method = 'Suspend', signature = ''
args = (), timeout = -1.0, byte_arrays = False, kwargs = {}
get_args_opts = {'byte_arrays': False}
message = <dbus.lowlevel.MethodCallMessage path: /org/libvirt/Test/domain/_6695eb01_f6a4_8304_79aa_97f2502e193f, iface: org.libvirt.Domain, member: Suspend dest: :1.5>
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: internal error: domain 'test' not running
/usr/lib64/python3.7/site-packages/dbus/connection.py:651: DBusException
--------------------------- Captured stderr teardown ---------------------------
Disconnected from D-Bus.
___________________________ TestDomain.test_undefine ___________________________
self = <test_domain.TestDomain object at 0x7f303ab5dfd0>
def test_undefine(self):
def domain_undefined(path, event, detail):
if event != libvirttest.DomainEvent.UNDEFINED:
return
assert detail == libvirttest.DomainEventUndefinedDetailType.REMOVED
assert isinstance(path, dbus.ObjectPath)
self.loop.quit()
self.connect.connect_to_signal('DomainEvent', domain_undefined)
_, domain = self.get_test_domain()
> domain.Shutdown(0)
../../tests/test_domain.py:143:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib64/python3.7/site-packages/dbus/proxies.py:70: in __call__
return self._proxy_method(*args, **keywords)
/usr/lib64/python3.7/site-packages/dbus/proxies.py:145: in __call__
**keywords)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dbus._dbus.SessionBus (session) at 0x7f303ad93950>
bus_name = dbus.String(':1.5')
object_path = dbus.ObjectPath('/org/libvirt/Test/domain/_6695eb01_f6a4_8304_79aa_97f2502e193f')
dbus_interface = 'org.libvirt.Domain', method = 'Shutdown', 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/domain/_6695eb01_f6a4_8304_79aa_97f2502e193f, iface: org.libvirt.Domain, member: Shutdown dest: :1.5>
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: internal error: domain 'test' not running
/usr/lib64/python3.7/site-packages/dbus/connection.py:651: DBusException
--------------------------- Captured stderr teardown ---------------------------
Disconnected from D-Bus.
=============================== warnings summary ===============================
tests/test_domain.py::TestDomain::()::test_suspend
source:362: DeprecationWarning: invalid escape sequence \
source:399: DeprecationWarning: invalid escape sequence \
tests/test_domain.py::TestDomain::()::test_undefine
source:362: DeprecationWarning: invalid escape sequence \
source:399: DeprecationWarning: invalid escape sequence \
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=========== 2 failed, 7 passed, 4 warnings, 1 error in 10.87 seconds ===========
FAIL test_domain.py (exit status: 1)
+ exit 1
Build step 'Execute shell' marked build as failure
5 years, 4 months
[Libvirt-ci] Build failed in Jenkins: libvirt-dbus-check » libvirt-fedora-29 #542
by ci@centos.org
See <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-29/54...>
------------------------------------------
[...truncated 3.78 KB...]
Making check in data
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-29/ws...'>
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-29/ws...'>
Making check in docs
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-29/ws...'>
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-29/ws...'>
Making check in src
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-29/ws...'>
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-29/ws...'>
Making check in tests
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-29/ws...'>
/usr/bin/gmake test_util
gmake[2]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-29/ws...'>
CC test_util-test_util.o
CCLD test_util
gmake[2]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-29/ws...'>
/usr/bin/gmake check-TESTS
gmake[2]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-29/ws...'>
gmake[3]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-29/ws...'>
PASS: test_util
PASS: test_interface.py
PASS: test_domain.py
FAIL: test_connect.py
PASS: test_network.py
PASS: test_nodedev.py
PASS: test_storage.py
============================================================================
Testsuite summary for libvirt-dbus 1.4.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 '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-29/ws...'>
gmake[2]: *** [Makefile:874: check-TESTS] Error 2
gmake[2]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-29/ws...'>
gmake[1]: *** [Makefile:990: check-am] Error 2
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-29/ws...'>
gmake: *** [Makefile:460: check-recursive] Error 1
+ cat tests/test-suite.log
==============================================
libvirt-dbus 1.4.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 linux -- Python 3.7.4, pytest-3.6.4, py-1.5.4, pluggy-0.6.0
rootdir: <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-29/ws/,> inifile:
collected 35 items
../../tests/test_connect.py ..........E....E..................E [100%]
==================================== ERRORS ====================================
ERROR at setup of TestConnect.test_connect_properties_return_type[Secure-Boolean]
self = <test_connect.TestConnect object at 0x7fa979248390>
request = <SubRequest 'libvirt_dbus_setup' for <Function 'test_connect_properties_return_type[Secure-Boolean]'>>
@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_interface_lookup_by_property[InterfaceLookupByMAC-MAC]
self = <test_connect.TestConnect object at 0x7fa9792eae50>
@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.7/site-packages/dbus/proxies.py:70: in __call__
return self._proxy_method(*args, **keywords)
/usr/lib64/python3.7/site-packages/dbus/proxies.py:145: in __call__
**keywords)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dbus._dbus.SessionBus (session) at 0x7fa97932d230>
bus_name = dbus.String(':1.11')
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.11>
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.7/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 0x7fa979304050>
@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:125:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib64/python3.7/site-packages/dbus/proxies.py:70: in __call__
return self._proxy_method(*args, **keywords)
/usr/lib64/python3.7/site-packages/dbus/proxies.py:145: in __call__
**keywords)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dbus._dbus.SessionBus (session) at 0x7fa97932d230>
bus_name = dbus.String(':1.11')
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.11>
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.7/site-packages/dbus/connection.py:651: DBusException
===================== 32 passed, 3 error in 15.75 seconds ======================
FAIL test_connect.py (exit status: 1)
+ exit 1
Build step 'Execute shell' marked build as failure
5 years, 4 months
[Libvirt-ci] Build failed in Jenkins: libvirt-dbus-check » libvirt-freebsd-11 #542
by ci@centos.org
See <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-freebsd-11/5...>
------------------------------------------
[...truncated 6.55 KB...]
==================================== ERRORS ====================================
_____ ERROR at setup of TestConnect.test_connect_find_storage_pool_sources _____
self = <test_connect.TestConnect object at 0x8096f89b0>
request = <SubRequest 'libvirt_dbus_setup' for <Function test_connect_find_storage_pool_sources>>
@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_interface_lookup_by_property[InterfaceLookupByMAC-MAC] _
self = <test_connect.TestConnect object at 0x80969e9b0>
@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/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 0x80937f678>
bus_name = dbus.String(':1.6')
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.6>
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/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 0x8096792b0>
@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:125:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/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 0x80937f678>
bus_name = dbus.String(':1.6')
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.6>
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/local/lib/python3.6/site-packages/dbus/connection.py:651: DBusException
---------------------------- Captured stderr setup -----------------------------
Disconnected from D-Bus.
===================== 32 passed, 3 error in 17.76 seconds ======================
FAIL test_connect.py (exit status: 1)
FAIL: test_domain.py
====================
============================= test session starts ==============================
platform freebsd11 -- Python 3.6.9, pytest-4.5.0, py-1.8.0, pluggy-0.12.0
rootdir: /usr<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-freebsd-11/ws/>
collected 10 items
../../tests/test_domain.py ......E.FF [100%]
==================================== ERRORS ====================================
__________________ ERROR at setup of TestDomain.test_suspend ___________________
self = <test_domain.TestDomain object at 0x80935eda0>
request = <SubRequest 'libvirt_dbus_setup' for <Function test_suspend>>
@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 ===================================
_________________________ TestDomain.test_domain_vcpus _________________________
self = <test_domain.TestDomain object at 0x8093627f0>
def test_domain_vcpus(self):
> obj, domain = self.get_test_domain()
../../tests/test_domain.py:149:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <test_domain.TestDomain object at 0x8093627f0>
def get_test_domain(self):
> path = self.connect.ListDomains(0)[0]
E IndexError: list index out of range
../../tests/libvirttest.py:129: IndexError
_____________________ TestDomain.test_domain_vcpu_pin_info _____________________
self = <test_domain.TestDomain object at 0x80937b9e8>
def test_domain_vcpu_pin_info(self):
> obj, domain = self.get_test_domain()
../../tests/test_domain.py:155:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <test_domain.TestDomain object at 0x80937b9e8>
def get_test_domain(self):
> path = self.connect.ListDomains(0)[0]
E IndexError: list index out of range
../../tests/libvirttest.py:129: IndexError
--------------------------- Captured stderr teardown ---------------------------
Disconnected from D-Bus.
================= 2 failed, 7 passed, 1 error in 10.60 seconds =================
FAIL test_domain.py (exit status: 1)
+ exit 1
Build step 'Execute shell' marked build as failure
5 years, 4 months
[Libvirt-ci] Build failed in Jenkins: libvirt-dbus-check » libvirt-fedora-30 #535
by ci@centos.org
See <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-30/53...>
------------------------------------------
Started by upstream project "libvirt-dbus-check" build number 535
originally caused by:
Started by upstream project "libvirt-dbus-syntax-check" build number 578
originally caused by:
Started by upstream project "libvirt-dbus-build" build number 585
originally caused by:
Started by upstream project "libvirt-glib-build" build number 588
originally caused by:
Started by upstream project "libvirt-build" build number 723
originally caused by:
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on libvirt-fedora-30 (libvirt) in workspace <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-30/ws/>
[libvirt-dbus] $ /bin/sh -xe /tmp/jenkins14649994590487243309.sh
+ cd build
+ /usr/bin/gmake check
Making check in data
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-30/ws...'>
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-30/ws...'>
Making check in docs
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-30/ws...'>
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-30/ws...'>
Making check in src
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-30/ws...'>
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-30/ws...'>
Making check in tests
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-30/ws...'>
/usr/bin/gmake test_util
gmake[2]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-30/ws...'>
CC test_util-test_util.o
CCLD test_util
gmake[2]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-30/ws...'>
/usr/bin/gmake check-TESTS
gmake[2]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-30/ws...'>
gmake[3]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-30/ws...'>
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.4.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 '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-30/ws...'>
gmake[2]: *** [Makefile:874: check-TESTS] Error 2
gmake[2]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-30/ws...'>
gmake[1]: *** [Makefile:990: check-am] Error 2
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-30/ws...'>
gmake: *** [Makefile:460: check-recursive] Error 1
+ cat tests/test-suite.log
==============================================
libvirt-dbus 1.4.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 linux -- Python 3.7.4, pytest-3.9.3, py-1.7.0, pluggy-0.8.1
rootdir: <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-30/ws/,> inifile:
collected 7 items
../../tests/test_network.py ....E.F [100%]
==================================== ERRORS ====================================
________ ERROR at setup of TestNetwork.test_network_get_xml_description ________
self = <test_network.TestNetwork object at 0x7fa16d92ee10>
request = <SubRequest 'libvirt_dbus_setup' for <Function 'test_network_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
=================================== 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 0x7fa16d91a1d0>, 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 0x7fa16d91a1d0>
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:141: IndexError
--------------------------- Captured stderr teardown ---------------------------
Disconnected from D-Bus.
================= 1 failed, 5 passed, 1 error in 5.27 seconds ==================
FAIL test_network.py (exit status: 1)
+ exit 1
Build step 'Execute shell' marked build as failure
5 years, 4 months
[Libvirt-ci] Build failed in Jenkins: libvirt-build » libvirt-freebsd-11 #719
by ci@centos.org
See <https://ci.centos.org/job/libvirt-build/systems=libvirt-freebsd-11/719/di...>
Changes:
[jferlan] qemu: Fix possible NULL deref in qemuDomainGetResctrlMonData
[jferlan] tests: Fix memory leak in mymain
[berrange] tools: fix crash in virt-login-shell if config doesn't exist
[berrange] tools: fix double error reporting in virt-login-shell
[berrange] tools: rename source for virt-login-shell
[berrange] tools: split virt-login-shell into two binaries
[berrange] build: drop libvirt setuid library build
[berrange] util: get rid of virIsSUID method
[berrange] util: simplify virCommand APIs for env passthrough.
[berrange] util: get rid of virGetEnv{Allow,Block}SUID functions
[berrange] nss: remove use for virDir helper APIs
[berrange] nss: remove use for virString helper APIs
[berrange] nss: remove use for virFile helper APIs
[berrange] nss: refactor code for processing mac addresses
[berrange] nss: custom parser for loading .macs file
[berrange] nss: custom parser for loading .leases file
[berrange] nss: directly use getnameinfo/getaddrinfo
[berrange] nss: remove last usages of libvirt headers
[berrange] nss: only link to yajl library and nothing else
[berrange] nss: fix indentation in aiforaf() method
------------------------------------------
[...truncated 139.59 KB...]
CC security/libvirt_security_manager_la-security_nop.lo
CC security/libvirt_security_manager_la-security_stack.lo
CC security/libvirt_security_manager_la-security_dac.lo
CC security/libvirt_security_manager_la-security_manager.lo
CC security/libvirt_security_manager_la-security_util.lo
CC access/libvirt_driver_access_la-viraccessperm.lo
CC access/libvirt_driver_access_la-viraccessmanager.lo
CC access/libvirt_driver_access_la-viraccessdrivernop.lo
CC access/libvirt_driver_access_la-viraccessdriverstack.lo
CC access/libvirt_driver_access_la-viraccessapicheck.lo
CC access/libvirt_driver_access_la-viraccessapicheckqemu.lo
CC access/libvirt_driver_access_la-viraccessapichecklxc.lo
CC access/libvirt_driver_access_la-viraccessdriverpolkit.lo
CC rpc/libvirt_net_rpc_la-virnetmessage.lo
CC rpc/libvirt_net_rpc_la-virnettlscontext.lo
CC rpc/libvirt_net_rpc_la-virnetsocket.lo
CC rpc/libvirt_net_rpc_la-virkeepalive.lo
CC rpc/libvirt_net_rpc_la-virnetprotocol.lo
CC rpc/libvirt_net_rpc_la-virkeepaliveprotocol.lo
CC rpc/libvirt_net_rpc_la-virnetsshsession.lo
CC rpc/libvirt_net_rpc_la-virnetsaslcontext.lo
CC rpc/libvirt_net_rpc_la-virnetlibsshsession.lo
CC rpc/libvirt_net_rpc_server_la-virnetserverprogram.lo
CC rpc/libvirt_net_rpc_server_la-virnetserverservice.lo
CC rpc/libvirt_net_rpc_server_la-virnetserverclient.lo
CC rpc/libvirt_net_rpc_server_la-virnetdaemon.lo
CC rpc/libvirt_net_rpc_server_la-virnetserver.lo
CC rpc/libvirt_net_rpc_client_la-virnetclientprogram.lo
CC rpc/libvirt_net_rpc_client_la-virnetclientstream.lo
CC rpc/libvirt_net_rpc_client_la-virnetclient.lo
CC phyp/libvirt_driver_phyp_la-phyp_driver.lo
CC test/libvirt_driver_test_la-test_driver.lo
CC esx/libvirt_driver_esx_la-esx_driver.lo
CC esx/libvirt_driver_esx_la-esx_interface_driver.lo
CC esx/libvirt_driver_esx_la-esx_network_driver.lo
CC esx/libvirt_driver_esx_la-esx_storage_driver.lo
CC esx/libvirt_driver_esx_la-esx_storage_backend_vmfs.lo
CC esx/libvirt_driver_esx_la-esx_storage_backend_iscsi.lo
CC esx/libvirt_driver_esx_la-esx_stream.lo
CC esx/libvirt_driver_esx_la-esx_util.lo
CC esx/libvirt_driver_esx_la-esx_vi.lo
CC esx/libvirt_driver_esx_la-esx_vi_methods.lo
CC esx/libvirt_driver_esx_la-esx_vi_types.lo
CC vmx/libvirt_vmx_la-vmx.lo
CC vmware/libvirt_driver_vmware_la-vmware_driver.lo
CC vmware/libvirt_driver_vmware_la-vmware_conf.lo
CC secret/libvirt_secret_la-secret_util.lo
CC remote/libvirt_driver_remote_la-remote_driver.lo
CC remote/libvirt_driver_remote_la-remote_protocol.lo
CC remote/libvirt_driver_remote_la-lxc_protocol.lo
CC remote/libvirt_driver_remote_la-qemu_protocol.lo
CC logging/libvirt_driver_la-log_protocol.lo
CC logging/libvirt_driver_la-log_manager.lo
CC locking/libvirt_driver_la-lock_manager.lo
CC locking/libvirt_driver_la-lock_driver_nop.lo
CC locking/libvirt_driver_la-domain_lock.lo
CC admin/libvirt_driver_admin_la-admin_protocol.lo
CC admin/libvirt_driver_admin_la-admin_server.lo
CC admin/libvirt_driver_admin_la-admin_server_dispatch.lo
CC vbox/libvirt_driver_vbox_impl_la-vbox_glue.lo
CC vbox/libvirt_driver_vbox_impl_la-vbox_driver.lo
CC vbox/libvirt_driver_vbox_impl_la-vbox_snapshot_conf.lo
CC vbox/libvirt_driver_vbox_impl_la-vbox_V5_0.lo
CC vbox/libvirt_driver_vbox_impl_la-vbox_V5_1.lo
CC vbox/libvirt_driver_vbox_impl_la-vbox_V5_2.lo
CC vbox/libvirt_driver_vbox_impl_la-vbox_common.lo
CC vbox/libvirt_driver_vbox_impl_la-vbox_network.lo
CC vbox/libvirt_driver_vbox_impl_la-vbox_storage.lo
CC qemu/libvirt_driver_qemu_impl_la-qemu_agent.lo
CC qemu/libvirt_driver_qemu_impl_la-qemu_alias.lo
CC qemu/libvirt_driver_qemu_impl_la-qemu_block.lo
CC qemu/libvirt_driver_qemu_impl_la-qemu_blockjob.lo
CC qemu/libvirt_driver_qemu_impl_la-qemu_capabilities.lo
CC qemu/libvirt_driver_qemu_impl_la-qemu_command.lo
CC qemu/libvirt_driver_qemu_impl_la-qemu_domain.lo
CC qemu/libvirt_driver_qemu_impl_la-qemu_domain_address.lo
CC qemu/libvirt_driver_qemu_impl_la-qemu_cgroup.lo
CC qemu/libvirt_driver_qemu_impl_la-qemu_extdevice.lo
CC qemu/libvirt_driver_qemu_impl_la-qemu_firmware.lo
CC qemu/libvirt_driver_qemu_impl_la-qemu_hostdev.lo
CC qemu/libvirt_driver_qemu_impl_la-qemu_hotplug.lo
CC qemu/libvirt_driver_qemu_impl_la-qemu_conf.lo
CC qemu/libvirt_driver_qemu_impl_la-qemu_process.lo
CC qemu/libvirt_driver_qemu_impl_la-qemu_migration.lo
CC qemu/libvirt_driver_qemu_impl_la-qemu_migration_cookie.lo
CC qemu/libvirt_driver_qemu_impl_la-qemu_migration_params.lo
CC qemu/libvirt_driver_qemu_impl_la-qemu_monitor.lo
CC qemu/libvirt_driver_qemu_impl_la-qemu_monitor_text.lo
CC qemu/libvirt_driver_qemu_impl_la-qemu_monitor_json.lo
CC qemu/libvirt_driver_qemu_impl_la-qemu_driver.lo
CC qemu/libvirt_driver_qemu_impl_la-qemu_interface.lo
CC qemu/libvirt_driver_qemu_impl_la-qemu_security.lo
CC qemu/libvirt_driver_qemu_impl_la-qemu_qapi.lo
CC qemu/libvirt_driver_qemu_impl_la-qemu_tpm.lo
CC bhyve/libvirt_driver_bhyve_impl_la-bhyve_capabilities.lo
CC bhyve/libvirt_driver_bhyve_impl_la-bhyve_command.lo
CC bhyve/libvirt_driver_bhyve_impl_la-bhyve_conf.lo
CC bhyve/libvirt_driver_bhyve_impl_la-bhyve_parse_command.lo
CC bhyve/libvirt_driver_bhyve_impl_la-bhyve_device.lo
CC bhyve/libvirt_driver_bhyve_impl_la-bhyve_domain.lo
CC bhyve/libvirt_driver_bhyve_impl_la-bhyve_driver.lo
CC bhyve/libvirt_driver_bhyve_impl_la-bhyve_monitor.lo
CC bhyve/libvirt_driver_bhyve_impl_la-bhyve_process.lo
CCLD libvirt_driver_network_impl.la
CC node_device/libvirt_driver_nodedev_la-node_device_driver.lo
CC node_device/libvirt_driver_nodedev_la-node_device_hal.lo
CC storage/libvirt_driver_storage_impl_la-storage_driver.lo
CC storage/libvirt_driver_storage_impl_la-storage_backend.lo
CC storage/libvirt_driver_storage_impl_la-storage_util.lo
CC storage/libvirt_storage_backend_fs_la-storage_backend_fs.lo
CC storage/libvirt_storage_backend_zfs_la-storage_backend_zfs.lo
CC storage/libvirt_storage_file_fs_la-storage_file_fs.lo
GEN util/virkeycode-linux.7
GEN util/virkeycode-osx.7
GEN util/virkeycode-atset1.7
GEN util/virkeycode-atset2.7
GEN util/virkeycode-atset3.7
GEN util/virkeycode-xtkbd.7
GEN util/virkeycode-usb.7
GEN util/virkeycode-win32.7
GEN util/virkeycode-qnum.7
GEN util/virkeyname-linux.7
GEN util/virkeyname-osx.7
GEN util/virkeyname-win32.7
GEN virtlockd.8
GEN libvirtd.8
CCLD libvirt_util.la
GEN virtlogd.8
CCLD libvirt_conf.la
CCLD libvirt_cpu.la
CCLD libvirt_security_manager.la
CCLD libvirt_driver_access.la
CCLD libvirt-net-rpc.la
CCLD libvirt-net-rpc-server.la
CCLD libvirt-net-rpc-client.la
CCLD libvirt_driver_phyp.la
CCLD libvirt_driver_test.la
CCLD libvirt_driver_esx.la
CCLD libvirt_vmx.la
CCLD libvirt_driver_vmware.la
CCLD libvirt_secret.la
CCLD libvirt_driver_remote.la
CCLD libvirt_driver.la
CCLD libvirt_driver_admin.la
CCLD libvirt_driver_vbox_impl.la
CCLD libvirt_driver_qemu_impl.la
CCLD libvirt_driver_bhyve_impl.la
CCLD libvirt_driver_storage_impl.la
CCLD libvirt.la
CCLD libvirt_leaseshelper
CCLD libvirt_iohelper
CCLD virtlogd
CCLD virtlockd
CCLD libvirt-lxc.la
CCLD libvirt-qemu.la
CCLD libvirt-admin.la
CCLD lockd.la
CCLD libvirt_driver_vbox.la
CCLD libvirt_driver_qemu.la
CCLD libvirt_driver_bhyve.la
CCLD libvirt_driver_network.la
CCLD libvirt_driver_nodedev.la
CCLD libvirt_driver_secret.la
CCLD libvirt_driver_storage.la
CCLD libvirt_storage_backend_fs.la
CCLD libvirt_storage_backend_zfs.la
CCLD libvirt_storage_file_fs.la
CCLD libvirtd
rm util/virkeycode-atset3.pod util/virkeycode-usb.pod util/virkeycode-xtkbd.pod util/virkeycode-qnum.pod util/virkeycode-win32.pod util/virkeyname-linux.pod util/virkeycode-osx.pod util/virkeycode-linux.pod util/virkeyname-osx.pod util/virkeycode-atset1.pod util/virkeyname-win32.pod util/virkeycode-atset2.pod
gmake[3]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-build/systems=libvirt-freebsd-11/ws/bui...'>
gmake[2]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-build/systems=libvirt-freebsd-11/ws/bui...'>
Making all in tools
gmake[2]: Entering directory '/usr<https://ci.centos.org/job/libvirt-build/systems=libvirt-freebsd-11/ws/bui...'>
GEN libvirt-guests.sh
/usr/local/bin/gmake all-am
gmake[3]: Entering directory '/usr<https://ci.centos.org/job/libvirt-build/systems=libvirt-freebsd-11/ws/bui...'>
CC virsh-virsh.o
CC virsh-virsh-checkpoint.o
CC virsh-virsh-completer.o
CC virsh-virsh-console.o
CC virsh-virsh-domain.o
CC virsh-virsh-domain-monitor.o
CC virsh-virsh-host.o
CC virsh-virsh-interface.o
CC virsh-virsh-network.o
CC virsh-virsh-nodedev.o
CC virsh-virsh-nwfilter.o
CC virsh-virsh-pool.o
CC virsh-virsh-secret.o
CC virsh-virsh-snapshot.o
CC virsh-virsh-util.o
CC virsh-virsh-volume.o
CC libvirt_shell_la-vsh.lo
CC libvirt_shell_la-vsh-table.lo
CC virt_admin-virt-admin.o
CC virt_admin-virt-admin-completer.o
CC virt_host_validate-virt-host-validate.o
CC virt_host_validate-virt-host-validate-common.o
CC virt_host_validate-virt-host-validate-qemu.o
CC virt_host_validate-virt-host-validate-bhyve.o
GEN virt-xml-validate
GEN virt-pki-validate
GEN virt-pki-validate.1.in
GEN virt-xml-validate.1.in
GEN virsh.1.in
GEN virt-admin.1.in
GEN virt-host-validate.1.in
CCLD libvirt_shell.la
CCLD virt-host-validate
CC nss/libnss_libvirt_impl_la-libvirt_nss.lo
CC nss/libnss_libvirt_impl_la-libvirt_nss_leases.lo
CC nss/libnss_libvirt_guest_impl_la-libvirt_nss.lo
CC nss/libnss_libvirt_guest_impl_la-libvirt_nss_leases.lo
../../tools/nss/libvirt_nss_leases.c:76:28: error: field has incomplete type 'struct sockaddr_in'
struct sockaddr_in sin;
^
../../tools/nss/libvirt_nss_leases.c:76:16: note: forward declaration of 'struct sockaddr_in'
struct sockaddr_in sin;
^
../../tools/nss/libvirt_nss_leases.c:77:29: error: field has incomplete type 'struct sockaddr_in6'
struct sockaddr_in6 sin6;
^
../../tools/nss/libvirt_nss_leases.c:77:16: note: forward declaration of 'struct sockaddr_in6'
struct sockaddr_in6 sin6;
^
2 errors generated.
gmake[3]: *** [Makefile:2961: nss/libnss_libvirt_impl_la-libvirt_nss_leases.lo] Error 1
gmake[3]: *** Waiting for unfinished jobs....
../../tools/nss/libvirt_nss_leases.c:76:28: error: field has incomplete type 'struct sockaddr_in'
struct sockaddr_in sin;
^
../../tools/nss/libvirt_nss_leases.c:76:16: note: forward declaration of 'struct sockaddr_in'
struct sockaddr_in sin;
^
../../tools/nss/libvirt_nss_leases.c:77:29: error: field has incomplete type 'struct sockaddr_in6'
struct sockaddr_in6 sin6;
^
../../tools/nss/libvirt_nss_leases.c:77:16: note: forward declaration of 'struct sockaddr_in6'
struct sockaddr_in6 sin6;
^
2 errors generated.
gmake[3]: *** [Makefile:2940: nss/libnss_libvirt_guest_impl_la-libvirt_nss_leases.lo] Error 1
gmake[3]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-build/systems=libvirt-freebsd-11/ws/bui...'>
gmake[2]: *** [Makefile:2460: all] Error 2
gmake[2]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-build/systems=libvirt-freebsd-11/ws/bui...'>
gmake[1]: *** [Makefile:2127: all-recursive] Error 1
gmake[1]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-build/systems=libvirt-freebsd-11/ws/build'>
gmake: *** [Makefile:2020: all] Error 2
Build step 'Execute shell' marked build as failure
5 years, 4 months