[Libvirt-ci] Build failed in Jenkins: libvirt-build » libvirt-freebsd-11 #178
by ci@centos.org
See <https://ci.centos.org/job/libvirt-build/systems=libvirt-freebsd-11/178/di...>
Changes:
[jferlan] storage: Extract out mount command creation for FS Backend
[jferlan] storage: Move FS backend mount creation command helper
[jferlan] storage: Move virStorageBackendFileSystemGetPoolSource
[jferlan] tests: Introduce tests for storage pool xml to argv checks
[jferlan] tests: Add storagepool xml test for netfs-auto
[jferlan] storage: Rework virStorageBackendFileSystemMountCmd
[jferlan] logical: Fix @on argument type
[jferlan] storage: Add tests for logical backend startup
------------------------------------------
[...truncated 136.80 KB...]
CC util/libvirt_util_la-virjson.lo
CC util/libvirt_util_la-virkeycode.lo
CC util/libvirt_util_la-virkeyfile.lo
CC util/libvirt_util_la-virlease.lo
CC util/libvirt_util_la-virlockspace.lo
CC util/libvirt_util_la-virlog.lo
CC util/libvirt_util_la-virmacaddr.lo
CC util/libvirt_util_la-virmacmap.lo
CC util/libvirt_util_la-virmodule.lo
CC util/libvirt_util_la-virnetdev.lo
CC util/libvirt_util_la-virnetdevbandwidth.lo
CC util/libvirt_util_la-virnetdevbridge.lo
CC util/libvirt_util_la-virnetdevip.lo
CC util/libvirt_util_la-virnetdevmacvlan.lo
CC util/libvirt_util_la-virnetdevmidonet.lo
CC util/libvirt_util_la-virnetdevopenvswitch.lo
CC util/libvirt_util_la-virnetdevtap.lo
CC util/libvirt_util_la-virnetdevveth.lo
CC util/libvirt_util_la-virnetdevvlan.lo
CC util/libvirt_util_la-virnetdevvportprofile.lo
CC util/libvirt_util_la-virnetlink.lo
CC util/libvirt_util_la-virnodesuspend.lo
CC util/libvirt_util_la-virkmod.lo
CC util/libvirt_util_la-virnuma.lo
CC util/libvirt_util_la-virobject.lo
CC util/libvirt_util_la-virpci.lo
CC util/libvirt_util_la-virpidfile.lo
CC util/libvirt_util_la-virpolkit.lo
CC util/libvirt_util_la-virportallocator.lo
CC util/libvirt_util_la-virprocess.lo
CC util/libvirt_util_la-virqemu.lo
CC util/libvirt_util_la-virrandom.lo
CC util/libvirt_util_la-virresctrl.lo
CC util/libvirt_util_la-virrotatingfile.lo
CC util/libvirt_util_la-virscsi.lo
CC util/libvirt_util_la-virscsihost.lo
CC util/libvirt_util_la-virscsivhost.lo
CC util/libvirt_util_la-virseclabel.lo
CC util/libvirt_util_la-virsecret.lo
CC util/libvirt_util_la-virsexpr.lo
CC util/libvirt_util_la-virsocketaddr.lo
CC util/libvirt_util_la-virstorageencryption.lo
CC util/libvirt_util_la-virstoragefile.lo
CC util/libvirt_util_la-virstoragefilebackend.lo
CC util/libvirt_util_la-virstring.lo
CC util/libvirt_util_la-virsysinfo.lo
CC util/libvirt_util_la-virsystemd.lo
CC util/libvirt_util_la-virthread.lo
CC util/libvirt_util_la-virthreadjob.lo
CC util/libvirt_util_la-virthreadpool.lo
CC util/libvirt_util_la-virtime.lo
CC util/libvirt_util_la-virtpm.lo
CC util/libvirt_util_la-virtypedparam.lo
CC util/libvirt_util_la-virusb.lo
CC util/libvirt_util_la-viruri.lo
CC util/libvirt_util_la-virutil.lo
CC util/libvirt_util_la-viruuid.lo
CC util/libvirt_util_la-virvhba.lo
CC util/libvirt_util_la-virvsock.lo
CC util/libvirt_util_la-virxml.lo
CC util/libvirt_util_la-virmdev.lo
CC util/libvirt_util_la-virfilecache.lo
CC util/libvirt_iohelper-iohelper.o
CC logging/virtlogd-log_daemon.o
CC logging/virtlogd-log_daemon_config.o
CC logging/virtlogd-log_daemon_dispatch.o
CC logging/virtlogd-log_handler.o
CC logging/virtlogd-log_protocol.o
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 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-virnetservermdns.lo
CC rpc/libvirt_net_rpc_server_la-virnetdaemon.lo
CC rpc/libvirt_net_rpc_server_la-virnetserver.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 locking/virtlockd-lock_daemon.o
CC locking/virtlockd-lock_daemon_config.o
CC locking/virtlockd-lock_daemon_dispatch.o
CC locking/virtlockd-lock_protocol.o
CC remote/libvirtd-remote_daemon.o
CC remote/libvirtd-remote_daemon_config.o
CC remote/libvirtd-remote_daemon_dispatch.o
CC remote/libvirtd-remote_daemon_stream.o
CC conf/libvirt_conf_la-netdev_bandwidth_conf.lo
CC conf/libvirt_conf_la-netdev_vport_profile_conf.lo
CC conf/libvirt_conf_la-netdev_vlan_conf.lo
CC conf/libvirt_conf_la-capabilities.lo
CC conf/libvirt_conf_la-domain_addr.lo
CC conf/libvirt_conf_la-domain_capabilities.lo
CC conf/libvirt_conf_la-domain_conf.lo
CC conf/libvirt_conf_la-domain_audit.lo
CC conf/libvirt_conf_la-domain_nwfilter.lo
CC conf/libvirt_conf_la-virsavecookie.lo
CC conf/libvirt_conf_la-snapshot_conf.lo
CC conf/libvirt_conf_la-numa_conf.lo
CC conf/libvirt_conf_la-virdomainobjlist.lo
CC conf/libvirt_conf_la-object_event.lo
CC conf/libvirt_conf_la-domain_event.lo
CC conf/libvirt_conf_la-network_event.lo
CC conf/libvirt_conf_la-storage_event.lo
CC conf/libvirt_conf_la-node_device_event.lo
CC conf/libvirt_conf_la-secret_event.lo
CC conf/libvirt_conf_la-network_conf.lo
CC conf/libvirt_conf_la-virnetworkobj.lo
CC conf/libvirt_conf_la-networkcommon_conf.lo
CC conf/libvirt_conf_la-nwfilter_params.lo
CC conf/libvirt_conf_la-nwfilter_ipaddrmap.lo
CC conf/libvirt_conf_la-nwfilter_conf.lo
CC conf/libvirt_conf_la-virnwfilterobj.lo
CC conf/libvirt_conf_la-virnwfilterbindingdef.lo
CC conf/libvirt_conf_la-virnwfilterbindingobj.lo
CC conf/libvirt_conf_la-virnwfilterbindingobjlist.lo
CC conf/libvirt_conf_la-node_device_conf.lo
CC conf/libvirt_conf_la-node_device_util.lo
CC conf/libvirt_conf_la-virnodedeviceobj.lo
CC conf/libvirt_conf_la-storage_adapter_conf.lo
CC conf/libvirt_conf_la-storage_conf.lo
CC conf/libvirt_conf_la-virstorageobj.lo
CC conf/libvirt_conf_la-interface_conf.lo
CC conf/libvirt_conf_la-virinterfaceobj.lo
CC conf/libvirt_conf_la-secret_conf.lo
CC conf/libvirt_conf_la-virsecretobj.lo
CC conf/libvirt_conf_la-cpu_conf.lo
CC conf/libvirt_conf_la-virchrdev.lo
CC conf/libvirt_conf_la-device_conf.lo
CC cpu/libvirt_cpu_la-cpu.lo
CC cpu/libvirt_cpu_la-cpu_x86.lo
CC cpu/libvirt_cpu_la-cpu_s390.lo
CC cpu/libvirt_cpu_la-cpu_arm.lo
CC cpu/libvirt_cpu_la-cpu_ppc64.lo
CC cpu/libvirt_cpu_la-cpu_map.lo
CC security/libvirt_security_manager_la-security_driver.lo
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 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
CCLD libvirt-net-rpc-client.la
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
CCLD libvirt_driver_remote.la
CCLD libvirt_driver.la
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_V4_0.lo
CC vbox/libvirt_driver_vbox_impl_la-vbox_V4_1.lo
CC vbox/libvirt_driver_vbox_impl_la-vbox_V4_2.lo
CC vbox/libvirt_driver_vbox_impl_la-vbox_V4_2_20.lo
CC vbox/libvirt_driver_vbox_impl_la-vbox_V4_3.lo
CC vbox/libvirt_driver_vbox_impl_la-vbox_V4_3_4.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_parse_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_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
CCLD libvirt-nss.la
../../src/storage/storage_util.c:4329:25: error: use of undeclared identifier 'MOUNT'
cmd = virCommandNew(MOUNT);
^
../../src/storage/storage_util.c:4346:33: error: use of undeclared identifier 'VGCHANGE'
return virCommandNewArgList(VGCHANGE,
^
2 errors generated.
gmake[3]: *** [Makefile:11206: storage/libvirt_driver_storage_impl_la-storage_util.lo] Error 1
gmake[3]: *** Waiting for unfinished jobs....
rm util/virkeycode-xtkbd.pod util/virkeycode-atset3.pod util/virkeycode-usb.pod util/virkeycode-qnum.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 util/virkeycode-win32.pod
gmake[3]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-build/systems=libvirt-freebsd-11/ws/bui...'>
gmake[2]: *** [Makefile:7025: all] Error 2
gmake[2]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-build/systems=libvirt-freebsd-11/ws/bui...'>
gmake[1]: *** [Makefile:2111: all-recursive] Error 1
gmake[1]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-build/systems=libvirt-freebsd-11/ws/build'>
gmake: *** [Makefile:2004: all] Error 2
Build step 'Execute shell' marked build as failure
6 years
[Libvirt-ci] Still Failing: libvirt/libvirt#1864 (master - 6004628)
by Travis CI
Build Update for libvirt/libvirt
-------------------------------------
Build: #1864
Status: Still Failing
Duration: 20 mins and 21 secs
Commit: 6004628 (master)
Author: Daniel P. Berrangé
Message: Remove all Author(s): lines from source file headers
In many files there are header comments that contain an Author:
statement, supposedly reflecting who originally wrote the code.
In a large collaborative project like libvirt, any non-trivial
file will have been modified by a large number of different
contributors. IOW, the Author: comments are quickly out of date,
omitting people who have made significant contribitions.
In some places Author: lines have been added despite the person
merely being responsible for creating the file by moving existing
code out of another file. IOW, the Author: lines give an incorrect
record of authorship.
With this all in mind, the comments are useless as a means to identify
who to talk to about code in a particular file. Contributors will always
be better off using 'git log' and 'git blame' if they need to find the
author of a particular bit of code.
This commit thus deletes all Author: comments from the source and adds
a rule to prevent them reappearing.
The Copyright headers are similarly misleading and inaccurate, however,
we cannot delete these as they have legal meaning, despite being largely
inaccurate. In addition only the copyright holder is permitted to change
their respective copyright statement.
Reviewed-by: Erik Skultety <eskultet(a)redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
View the changeset: https://github.com/libvirt/libvirt/compare/b183a75319b9...600462834f4e
View the full build log and details: https://travis-ci.org/libvirt/libvirt/builds/467594344?utm_medium=notific...
--
You can unsubscribe from build emails from the libvirt/libvirt repository going to https://travis-ci.org/account/preferences/unsubscribe?repository=4872032&....
Or unsubscribe from *all* email updating your settings at https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notifica....
Or configure specific recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications.
6 years
[Libvirt-ci] Build failed in Jenkins: libvirt-dbus-check » libvirt-fedora-29 #105
by ci@centos.org
See <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-29/10...>
------------------------------------------
[...truncated 3.77 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
FAIL: test_interface.py
PASS: test_domain.py
PASS: test_nodedev.py
PASS: test_network.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 '<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.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_interface.py
=======================
============================= test session starts ==============================
platform linux -- Python 3.7.1, 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 5 items
../../tests/test_interface.py E..EE [100%]
==================================== ERRORS ====================================
___________ ERROR at setup of TestInterface.test_interface_undefine ____________
self = <test_interface.TestInterface object at 0x7f2da53f78d0>
request = <SubRequest 'libvirt_dbus_setup' for <Function 'test_interface_undefine'>>
@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[3381]: Cannot setup inotify for '/home/jenkins/.local/share/dbus-1/services'; error 'Permission denied'
______ ERROR at setup of TestInterface.test_interface_get_xml_description ______
self = <test_interface.TestInterface object at 0x7f2da534d550>
@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 0x7f2da541deb8>
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.7/site-packages/dbus/connection.py:651: DBusException
________ ERROR at setup of TestInterface.test_interface_properties_type ________
self = <test_interface.TestInterface object at 0x7f2da52f4ef0>
@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 0x7f2da541deb8>
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.7/site-packages/dbus/connection.py:651: DBusException
====================== 2 passed, 3 error in 4.98 seconds =======================
FAIL test_interface.py (exit status: 1)
+ exit 1
Build step 'Execute shell' marked build as failure
6 years
[Libvirt-ci] Build failed in Jenkins: libosinfo-build » libvirt-centos-7 #69
by ci@centos.org
See <https://ci.centos.org/job/libosinfo-build/systems=libvirt-centos-7/69/dis...>
------------------------------------------
Started by upstream project "libosinfo-build" build number 69
originally caused by:
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on libvirt-centos-7 (libvirt) in workspace <https://ci.centos.org/job/libosinfo-build/systems=libvirt-centos-7/ws/>
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://gitlab.com/libosinfo/libosinfo.git # timeout=10
Fetching upstream changes from https://gitlab.com/libosinfo/libosinfo.git
> git --version # timeout=10
> git fetch --tags --progress https://gitlab.com/libosinfo/libosinfo.git +refs/heads/*:refs/remotes/origin/*
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from https://gitlab.com/libosinfo/libosinfo.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:888)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1155)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1186)
at hudson.scm.SCM.checkout(SCM.java:504)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
at hudson.model.Run.execute(Run.java:1819)
at hudson.matrix.MatrixRun.run(MatrixRun.java:153)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --progress https://gitlab.com/libosinfo/libosinfo.git +refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout:
stderr: fatal: unable to access 'https://gitlab.com/libosinfo/libosinfo.git/': The requested URL returned error: 500
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2016)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1735)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:72)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:420)
at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
at hudson.remoting.UserRequest.perform(UserRequest.java:212)
at hudson.remoting.UserRequest.perform(UserRequest.java:54)
at hudson.remoting.Request$2.run(Request.java:369)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:93)
at java.lang.Thread.run(Thread.java:748)
Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from n64.gusty.ci.centos.org/172.19.2.192:36796
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741)
at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
at hudson.remoting.Channel.call(Channel.java:955)
at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
at sun.reflect.GeneratedMethodAccessor286.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
at com.sun.proxy.$Proxy87.execute(Unknown Source)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:886)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1155)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1186)
at hudson.scm.SCM.checkout(SCM.java:504)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
at hudson.model.Run.execute(Run.java:1819)
at hudson.matrix.MatrixRun.run(MatrixRun.java:153)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
ERROR: Error fetching remote repo 'origin'
6 years