[Libvirt-ci] Build failed in Jenkins: libvirt-build » libvirt-freebsd-12 #719
by ci@centos.org
See <https://ci.centos.org/job/libvirt-build/systems=libvirt-freebsd-12/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.52 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-usb.7
GEN util/virkeycode-xtkbd.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 virtlogd.8
GEN virtlockd.8
GEN libvirtd.8
CCLD libvirt_util.la
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 virtlogd
CCLD libvirt_leaseshelper
CCLD libvirt_iohelper
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-12/ws/bui...'>
gmake[2]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-build/systems=libvirt-freebsd-12/ws/bui...'>
Making all in tools
gmake[2]: Entering directory '/usr<https://ci.centos.org/job/libvirt-build/systems=libvirt-freebsd-12/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-12/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
../../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.
CC nss/libnss_libvirt_guest_impl_la-libvirt_nss_leases.lo
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-12/ws/bui...'>
gmake[2]: *** [Makefile:2460: all] Error 2
gmake[2]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-build/systems=libvirt-freebsd-12/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-12/ws/build'>
gmake: *** [Makefile:2020: all] Error 2
Build step 'Execute shell' marked build as failure
5 years, 3 months
[Libvirt-ci] Build failed in Jenkins: libvirt+mingw64-build » libvirt-fedora-rawhide #802
by ci@centos.org
See <https://ci.centos.org/job/libvirt+mingw64-build/systems=libvirt-fedora-ra...>
Changes:
[eblake] build: Solve mingw build clash with DATADIR
------------------------------------------
[...truncated 130.62 KB...]
GEN util/virkeycodetable_linux.h
GEN util/virkeycodetable_osx.h
GEN util/virkeycodetable_atset1.h
GEN util/virkeycodetable_atset2.h
GEN util/virkeycodetable_atset3.h
GEN util/virkeycodetable_xtkbd.h
GEN util/virkeycodetable_usb.h
GEN util/virkeycodetable_win32.h
GEN util/virkeycodetable_qnum.h
GEN util/virkeynametable_linux.h
GEN util/virkeynametable_osx.h
GEN util/virkeynametable_win32.h
GEN ../../src/access/org.libvirt.api.policy
GEN access/viraccessapicheck.h
GEN access/viraccessapicheck.c
GEN access/viraccessapicheckqemu.h
GEN access/viraccessapicheckqemu.c
GEN access/viraccessapichecklxc.h
GEN access/viraccessapichecklxc.c
GEN libvirt_access.xml
GEN libvirt_access_qemu.xml
GEN libvirt_access_lxc.xml
GEN logging/log_protocol.h
GEN logging/log_daemon_dispatch_stubs.h
GEN locking/lock_protocol.h
GEN locking/lock_daemon_dispatch_stubs.h
GEN admin/admin_protocol.h
GEN admin/admin_client.h
GEN admin/admin_server_dispatch_stubs.h
GEN rpc/virnetprotocol.h
GEN rpc/virkeepaliveprotocol.h
GEN .esx_vi_generator.stamp
GEN .hyperv_wmi_generator.stamp
GEN lxc/lxc_monitor_protocol.h
GEN lxc/lxc_monitor_dispatch.h
GEN ../../src/hyperv/hyperv_wmi_classes.generated.typedef
GEN ../../src/hyperv/hyperv_wmi_classes.generated.h
GEN ../../src/hyperv/hyperv_wmi_classes.generated.c
GEN lxc/lxc_controller_dispatch.h
GEN ../../src/esx/esx_vi_types.generated.typedef
GEN ../../src/esx/esx_vi_types.generated.typeenum
GEN ../../src/esx/esx_vi_types.generated.typetostring
GEN ../../src/esx/esx_vi_types.generated.typefromstring
GEN ../../src/esx/esx_vi_types.generated.h
GEN ../../src/esx/esx_vi_types.generated.c
GEN ../../src/esx/esx_vi_methods.generated.h
GEN ../../src/esx/esx_vi_methods.generated.c
GEN ../../src/esx/esx_vi_methods.generated.macro
GEN ../../src/esx/esx_vi.generated.h
GEN ../../src/esx/esx_vi.generated.c
GEN remote/remote_protocol.h
GEN remote/remote_client_bodies.h
GEN remote/lxc_protocol.h
GEN remote/lxc_client_bodies.h
GEN remote/qemu_protocol.h
GEN remote/qemu_client_bodies.h
GEN remote/remote_daemon_dispatch_stubs.h
GEN remote/remote_daemon_dispatch_lxc_stubs.h
GEN remote/remote_daemon_dispatch_qemu_stubs.h
GEN libvirt_access.syms
GEN libvirt_access_qemu.syms
GEN libvirt_access_lxc.syms
GEN libvirt_qemu.def
GEN libvirt_lxc.def
GEN libvirt_admin.syms
GEN libvirtd.qemu.logrotate
GEN libvirtd.lxc.logrotate
GEN libvirtd.libxl.logrotate
GEN libvirtd.logrotate
GEN logging/log_protocol.c
GEN locking/lock_protocol.c
GEN admin/admin_protocol.c
GEN rpc/virnetprotocol.c
GEN rpc/virkeepaliveprotocol.c
GEN lxc/lxc_monitor_protocol.c
GEN remote/remote_protocol.c
GEN remote/lxc_protocol.c
GEN remote/qemu_protocol.c
GEN libvirt.syms
GEN libvirt_admin.def
GEN libvirt.def
/usr/bin/gmake all-am
gmake[3]: Entering directory '<https://ci.centos.org/job/libvirt+mingw64-build/systems=libvirt-fedora-ra...'>
CC libvirt_driver_la-driver.lo
CC libvirt_driver_la-datatypes.lo
CC libvirt_driver_la-libvirt.lo
CC libvirt_driver_la-libvirt-domain.lo
CC libvirt_driver_la-libvirt-domain-checkpoint.lo
CC libvirt_driver_la-libvirt-domain-snapshot.lo
CC libvirt_driver_la-libvirt-host.lo
CC libvirt_driver_la-libvirt-interface.lo
CC libvirt_driver_la-libvirt-network.lo
CC libvirt_driver_la-libvirt-nodedev.lo
CC libvirt_driver_la-libvirt-nwfilter.lo
CC libvirt_driver_la-libvirt-secret.lo
CC libvirt_driver_la-libvirt-storage.lo
CC libvirt_driver_la-libvirt-stream.lo
CC libvirt_qemu_la-libvirt-qemu.lo
CC libvirt_lxc_la-libvirt-lxc.lo
CC libvirt_admin_la-libvirt-admin.lo
CC libvirt_admin_la-datatypes.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
GEN util/virkeycode-linux.pod
GEN util/virkeycode-osx.pod
GEN util/virkeycode-atset1.pod
GEN util/virkeycode-atset2.pod
GEN util/virkeycode-atset3.pod
GEN util/virkeycode-xtkbd.pod
GEN util/virkeycode-usb.pod
GEN util/virkeycode-win32.pod
GEN util/virkeycode-qnum.pod
GEN util/virkeyname-linux.pod
GEN util/virkeyname-osx.pod
GEN util/virkeyname-win32.pod
CC util/libvirt_util_la-viralloc.lo
CC util/libvirt_util_la-virarch.lo
CC util/libvirt_util_la-virarptable.lo
CC util/libvirt_util_la-viratomic.lo
CC util/libvirt_util_la-viraudit.lo
CC util/libvirt_util_la-virauth.lo
CC util/libvirt_util_la-virauthconfig.lo
CC util/libvirt_util_la-virbitmap.lo
CC util/libvirt_util_la-virbuffer.lo
CC util/libvirt_util_la-virperf.lo
CC util/libvirt_util_la-vircgroup.lo
CC util/libvirt_util_la-vircgroupbackend.lo
CC util/libvirt_util_la-vircgroupv1.lo
CC util/libvirt_util_la-vircgroupv2.lo
CC util/libvirt_util_la-virclosecallbacks.lo
CC util/libvirt_util_la-vircommand.lo
CC util/libvirt_util_la-virconf.lo
CC util/libvirt_util_la-vircrypto.lo
CC util/libvirt_util_la-virdbus.lo
CC util/libvirt_util_la-virdevmapper.lo
CC util/libvirt_util_la-virdnsmasq.lo
CC util/libvirt_util_la-virebtables.lo
CC util/libvirt_util_la-virenum.lo
CC util/libvirt_util_la-virerror.lo
CC util/libvirt_util_la-virevent.lo
CC util/libvirt_util_la-vireventpoll.lo
CC util/libvirt_util_la-virfcp.lo
CC util/libvirt_util_la-virfdstream.lo
CC util/libvirt_util_la-virfile.lo
CC util/libvirt_util_la-virfirewall.lo
CC util/libvirt_util_la-virfirewalld.lo
CC util/libvirt_util_la-virfirmware.lo
CC util/libvirt_util_la-virgettext.lo
CC util/libvirt_util_la-virgic.lo
CC util/libvirt_util_la-virhash.lo
CC util/libvirt_util_la-virhashcode.lo
CC util/libvirt_util_la-virhook.lo
CC util/libvirt_util_la-virhostcpu.lo
CC util/libvirt_util_la-virhostdev.lo
CC util/libvirt_util_la-virhostmem.lo
CC util/libvirt_util_la-viridentity.lo
CC util/libvirt_util_la-virinitctl.lo
CC util/libvirt_util_la-viriptables.lo
CC util/libvirt_util_la-viriscsi.lo
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-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 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-virnetworkportdef.lo
CC conf/libvirt_conf_la-capabilities.lo
CC conf/libvirt_conf_la-checkpoint_conf.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-moment_conf.lo
CC conf/libvirt_conf_la-snapshot_conf.lo
In file included from ../../src/conf/checkpoint_conf.c:24:
../gnulib/lib/configmake.h:8:17: error: expected identifier or '(' before string constant
8 | #define DATADIR "/home/jenkins/build/libvirt/x86_64-w64-mingw32/sys-root/mingw/share"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gmake[3]: *** [Makefile:8803: conf/libvirt_conf_la-checkpoint_conf.lo] Error 1
gmake[3]: *** Waiting for unfinished jobs....
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 '<https://ci.centos.org/job/libvirt+mingw64-build/systems=libvirt-fedora-ra...'>
gmake[2]: *** [Makefile:6669: all] Error 2
gmake[2]: Leaving directory '<https://ci.centos.org/job/libvirt+mingw64-build/systems=libvirt-fedora-ra...'>
gmake[1]: *** [Makefile:2127: all-recursive] Error 1
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt+mingw64-build/systems=libvirt-fedora-ra...'>
gmake: *** [Makefile:2020: all] Error 2
Build step 'Execute shell' marked build as failure
5 years, 3 months
[Libvirt-ci] Build failed in Jenkins: libvirt+mingw32-build » libvirt-fedora-rawhide #802
by ci@centos.org
See <https://ci.centos.org/job/libvirt+mingw32-build/systems=libvirt-fedora-ra...>
Changes:
[eblake] build: Solve mingw build clash with DATADIR
------------------------------------------
[...truncated 128.71 KB...]
gmake[2]: Entering directory '<https://ci.centos.org/job/libvirt+mingw32-build/systems=libvirt-fedora-ra...'>
GEN util/virkeycodetable_linux.h
GEN util/virkeycodetable_osx.h
GEN util/virkeycodetable_atset1.h
GEN util/virkeycodetable_atset2.h
GEN util/virkeycodetable_atset3.h
GEN util/virkeycodetable_xtkbd.h
GEN util/virkeycodetable_usb.h
GEN util/virkeycodetable_win32.h
GEN util/virkeycodetable_qnum.h
GEN util/virkeynametable_linux.h
GEN util/virkeynametable_osx.h
GEN util/virkeynametable_win32.h
GEN ../../src/access/org.libvirt.api.policy
GEN access/viraccessapicheck.h
GEN access/viraccessapicheck.c
GEN access/viraccessapicheckqemu.h
GEN access/viraccessapicheckqemu.c
GEN access/viraccessapichecklxc.h
GEN access/viraccessapichecklxc.c
GEN libvirt_access.xml
GEN libvirt_access_qemu.xml
GEN libvirt_access_lxc.xml
GEN logging/log_protocol.h
GEN logging/log_daemon_dispatch_stubs.h
GEN locking/lock_protocol.h
GEN locking/lock_daemon_dispatch_stubs.h
GEN admin/admin_protocol.h
GEN admin/admin_client.h
GEN admin/admin_server_dispatch_stubs.h
GEN rpc/virnetprotocol.h
GEN rpc/virkeepaliveprotocol.h
GEN .esx_vi_generator.stamp
GEN .hyperv_wmi_generator.stamp
GEN lxc/lxc_monitor_protocol.h
GEN lxc/lxc_monitor_dispatch.h
GEN ../../src/hyperv/hyperv_wmi_classes.generated.typedef
GEN ../../src/hyperv/hyperv_wmi_classes.generated.h
GEN ../../src/hyperv/hyperv_wmi_classes.generated.c
GEN lxc/lxc_controller_dispatch.h
GEN remote/remote_protocol.h
GEN ../../src/esx/esx_vi_types.generated.typedef
GEN ../../src/esx/esx_vi_types.generated.typeenum
GEN ../../src/esx/esx_vi_types.generated.typetostring
GEN ../../src/esx/esx_vi_types.generated.typefromstring
GEN ../../src/esx/esx_vi_types.generated.h
GEN ../../src/esx/esx_vi_types.generated.c
GEN ../../src/esx/esx_vi_methods.generated.h
GEN ../../src/esx/esx_vi_methods.generated.c
GEN ../../src/esx/esx_vi_methods.generated.macro
GEN ../../src/esx/esx_vi.generated.h
GEN ../../src/esx/esx_vi.generated.c
GEN remote/remote_client_bodies.h
GEN remote/lxc_protocol.h
GEN remote/lxc_client_bodies.h
GEN remote/qemu_protocol.h
GEN remote/qemu_client_bodies.h
GEN remote/remote_daemon_dispatch_stubs.h
GEN remote/remote_daemon_dispatch_lxc_stubs.h
GEN remote/remote_daemon_dispatch_qemu_stubs.h
GEN libvirt_access.syms
GEN libvirt_access_qemu.syms
GEN libvirt_access_lxc.syms
GEN libvirt_qemu.def
GEN libvirt_lxc.def
GEN libvirt_admin.syms
GEN libvirtd.qemu.logrotate
GEN libvirtd.lxc.logrotate
GEN libvirtd.libxl.logrotate
GEN libvirtd.logrotate
GEN logging/log_protocol.c
GEN locking/lock_protocol.c
GEN admin/admin_protocol.c
GEN rpc/virnetprotocol.c
GEN rpc/virkeepaliveprotocol.c
GEN remote/remote_protocol.c
GEN remote/lxc_protocol.c
GEN lxc/lxc_monitor_protocol.c
GEN remote/qemu_protocol.c
GEN libvirt.syms
GEN libvirt_admin.def
GEN libvirt.def
/usr/bin/gmake all-am
gmake[3]: Entering directory '<https://ci.centos.org/job/libvirt+mingw32-build/systems=libvirt-fedora-ra...'>
CC libvirt_driver_la-driver.lo
CC libvirt_driver_la-datatypes.lo
CC libvirt_driver_la-libvirt.lo
CC libvirt_driver_la-libvirt-domain.lo
CC libvirt_driver_la-libvirt-domain-checkpoint.lo
CC libvirt_driver_la-libvirt-domain-snapshot.lo
CC libvirt_driver_la-libvirt-host.lo
CC libvirt_driver_la-libvirt-interface.lo
CC libvirt_driver_la-libvirt-network.lo
CC libvirt_driver_la-libvirt-nodedev.lo
CC libvirt_driver_la-libvirt-nwfilter.lo
CC libvirt_driver_la-libvirt-secret.lo
CC libvirt_driver_la-libvirt-storage.lo
CC libvirt_driver_la-libvirt-stream.lo
CC libvirt_qemu_la-libvirt-qemu.lo
CC libvirt_lxc_la-libvirt-lxc.lo
CC libvirt_admin_la-libvirt-admin.lo
CC libvirt_admin_la-datatypes.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
GEN util/virkeycode-linux.pod
GEN util/virkeycode-osx.pod
GEN util/virkeycode-atset1.pod
GEN util/virkeycode-atset2.pod
GEN util/virkeycode-atset3.pod
GEN util/virkeycode-xtkbd.pod
GEN util/virkeycode-usb.pod
GEN util/virkeycode-win32.pod
GEN util/virkeycode-qnum.pod
GEN util/virkeyname-linux.pod
GEN util/virkeyname-osx.pod
GEN util/virkeyname-win32.pod
CC util/libvirt_util_la-viralloc.lo
CC util/libvirt_util_la-virarch.lo
CC util/libvirt_util_la-virarptable.lo
CC util/libvirt_util_la-viratomic.lo
CC util/libvirt_util_la-viraudit.lo
CC util/libvirt_util_la-virauth.lo
CC util/libvirt_util_la-virauthconfig.lo
CC util/libvirt_util_la-virbitmap.lo
CC util/libvirt_util_la-virbuffer.lo
CC util/libvirt_util_la-virperf.lo
CC util/libvirt_util_la-vircgroup.lo
CC util/libvirt_util_la-vircgroupbackend.lo
CC util/libvirt_util_la-vircgroupv1.lo
CC util/libvirt_util_la-vircgroupv2.lo
CC util/libvirt_util_la-virclosecallbacks.lo
CC util/libvirt_util_la-vircommand.lo
CC util/libvirt_util_la-virconf.lo
CC util/libvirt_util_la-vircrypto.lo
CC util/libvirt_util_la-virdbus.lo
CC util/libvirt_util_la-virdevmapper.lo
CC util/libvirt_util_la-virdnsmasq.lo
CC util/libvirt_util_la-virebtables.lo
CC util/libvirt_util_la-virenum.lo
CC util/libvirt_util_la-virerror.lo
CC util/libvirt_util_la-virevent.lo
CC util/libvirt_util_la-vireventpoll.lo
CC util/libvirt_util_la-virfcp.lo
CC util/libvirt_util_la-virfdstream.lo
CC util/libvirt_util_la-virfile.lo
CC util/libvirt_util_la-virfirewall.lo
CC util/libvirt_util_la-virfirewalld.lo
CC util/libvirt_util_la-virfirmware.lo
CC util/libvirt_util_la-virgettext.lo
CC util/libvirt_util_la-virgic.lo
CC util/libvirt_util_la-virhash.lo
CC util/libvirt_util_la-virhashcode.lo
CC util/libvirt_util_la-virhook.lo
CC util/libvirt_util_la-virhostcpu.lo
CC util/libvirt_util_la-virhostdev.lo
CC util/libvirt_util_la-virhostmem.lo
CC util/libvirt_util_la-viridentity.lo
CC util/libvirt_util_la-virinitctl.lo
CC util/libvirt_util_la-viriptables.lo
CC util/libvirt_util_la-viriscsi.lo
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-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 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-virnetworkportdef.lo
CC conf/libvirt_conf_la-capabilities.lo
CC conf/libvirt_conf_la-checkpoint_conf.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-moment_conf.lo
In file included from ../../src/conf/checkpoint_conf.c:24:
../gnulib/lib/configmake.h:8:17: error: expected identifier or '(' before string constant
8 | #define DATADIR "/home/jenkins/build/libvirt/i686-w64-mingw32/sys-root/mingw/share"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gmake[3]: *** [Makefile:8803: conf/libvirt_conf_la-checkpoint_conf.lo] Error 1
gmake[3]: *** Waiting for unfinished jobs....
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 '<https://ci.centos.org/job/libvirt+mingw32-build/systems=libvirt-fedora-ra...'>
gmake[2]: *** [Makefile:6669: all] Error 2
gmake[2]: Leaving directory '<https://ci.centos.org/job/libvirt+mingw32-build/systems=libvirt-fedora-ra...'>
gmake[1]: *** [Makefile:2127: all-recursive] Error 1
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt+mingw32-build/systems=libvirt-fedora-ra...'>
gmake: *** [Makefile:2020: all] Error 2
Build step 'Execute shell' marked build as failure
5 years, 3 months
[Libvirt-ci] Build failed in Jenkins: libvirt-dbus-check » libvirt-fedora-29 #531
by ci@centos.org
See <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-29/53...>
------------------------------------------
[...truncated 4.48 KB...]
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.....F........E..................E [100%]
==================================== ERRORS ====================================
_________ ERROR at setup of TestConnect.test_connect_domain_create_xml _________
self = <test_connect.TestConnect object at 0x7fd13080c6d0>
request = <SubRequest 'libvirt_dbus_setup' for <Function 'test_connect_domain_create_xml'>>
@pytest.fixture(autouse=True)
def libvirt_dbus_setup(self, request):
"""Start libvirt-dbus for each test function
"""
os.environ['LIBVIRT_DEBUG'] = '3'
self.libvirt_dbus = subprocess.Popen([exe, '--session'])
self.bus = dbus.SessionBus()
for i in range(10):
if self.bus.name_has_owner('org.libvirt'):
break
time.sleep(0.1)
else:
> raise TimeoutError('error starting libvirt-dbus')
E TimeoutError: error starting libvirt-dbus
../../tests/libvirttest.py:44: TimeoutError
---------------------------- Captured stderr setup -----------------------------
dbus-daemon[7337]: Cannot setup inotify for '/home/jenkins/.local/share/dbus-1/services'; error 'Permission denied'
ERROR at setup of TestConnect.test_connect_interface_lookup_by_property[InterfaceLookupByMAC-MAC]
self = <test_connect.TestConnect object at 0x7fd1307dbb90>
@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 0x7fd1308d41d0>
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 TestConnect.test_connect_storage_vol_lookup_by_property[StorageVolLookupByPath-Path]
self = <test_connect.TestConnect object at 0x7fd13082ff90>
@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 0x7fd1308d41d0>
bus_name = dbus.String(':1.1')
object_path = dbus.ObjectPath('/org/libvirt/Test/storagepool/_dfe224cb_28fb_8dd0_c4b2_64eb3f0f4566')
dbus_interface = 'org.libvirt.StoragePool', method = 'StorageVolCreateXML'
signature = 'su'
args = ('\n<volume>\n <name>sparse.img</name>\n <capacity unit="G">2</capacity>\n <target>\n <path>/var/lib/virt/images/sparse.img</path>\n </target>\n</volume>\n', 0)
timeout = -1.0, byte_arrays = False, kwargs = {}
get_args_opts = {'byte_arrays': False}
message = <dbus.lowlevel.MethodCallMessage path: /org/libvirt/Test/storagepool/_dfe224cb_28fb_8dd0_c4b2_64eb3f0f4566, iface: org.libvirt.StoragePool, member: StorageVolCreateXML dest: :1.1>
def call_blocking(self, bus_name, object_path, dbus_interface, method,
signature, args, timeout=-1.0,
byte_arrays=False, **kwargs):
"""Call the given method, synchronously.
:Since: 0.81.0
"""
if object_path == LOCAL_PATH:
raise DBusException('Methods may not be called on the reserved '
'path %s' % LOCAL_PATH)
if dbus_interface == LOCAL_IFACE:
raise DBusException('Methods may not be called on the reserved '
'interface %s' % LOCAL_IFACE)
# no need to validate other args - MethodCallMessage ctor will do
get_args_opts = dict(byte_arrays=byte_arrays)
if is_py2:
get_args_opts['utf8_strings'] = kwargs.get('utf8_strings', False)
elif 'utf8_strings' in kwargs:
raise TypeError("unexpected keyword argument 'utf8_strings'")
message = MethodCallMessage(destination=bus_name,
path=object_path,
interface=dbus_interface,
method=method)
# Add the arguments to the function
try:
message.append(signature=signature, *args)
except Exception as e:
logging.basicConfig()
_logger.error('Unable to set arguments %r according to '
'signature %r: %s: %s',
args, signature, e.__class__, e)
raise
# make a blocking call
reply_message = self.send_message_with_reply_and_block(
> message, timeout)
E dbus.exceptions.DBusException: org.libvirt.Error: operation failed: storage vol already exists
/usr/lib64/python3.7/site-packages/dbus/connection.py:651: DBusException
=================================== FAILURES ===================================
____________________ TestConnect.test_connect_list_domains _____________________
self = <test_connect.TestConnect object at 0x7fd1307ef590>
def test_connect_list_domains(self):
domains = self.connect.ListDomains(0)
assert isinstance(domains, dbus.Array)
> assert len(domains) == 1
E AssertionError: assert 2 == 1
E + where 2 = len(dbus.Array([dbus.ObjectPath('/org/libvirt/Test/domain/_6695eb01_f6a4_8304_79aa_97f2502e193f'), dbus.ObjectPath('/org/libvirt/Test/domain/_235599b4_fe3c_4071_8dfb_3d69201f1335')], signature=dbus.Signature('o')))
../../tests/test_connect.py:62: AssertionError
================ 1 failed, 31 passed, 3 error in 10.88 seconds =================
FAIL test_connect.py (exit status: 1)
+ exit 1
Build step 'Execute shell' marked build as failure
5 years, 3 months
[Libvirt-ci] Build failed in Jenkins: libvirt-dbus-check » libvirt-fedora-30 #532
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 532
originally caused by:
Started by upstream project "libvirt-dbus-syntax-check" build number 575
originally caused by:
Started by upstream project "libvirt-dbus-build" build number 582
originally caused by:
Started by upstream project "libvirt-glib-build" build number 585
originally caused by:
Started by upstream project "libvirt-build" build number 716
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/jenkins9633712348528412091.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
PASS: test_network.py
FAIL: test_connect.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-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_connect.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 35 items
../../tests/test_connect.py ..................E...............E [100%]
==================================== ERRORS ====================================
________ ERROR at setup of TestConnect.test_connect_get_cpu_model_names ________
self = <test_connect.TestConnect object at 0x7f47a2605b90>
request = <SubRequest 'libvirt_dbus_setup' for <Function 'test_connect_get_cpu_model_names'>>
@pytest.fixture(autouse=True)
def libvirt_dbus_setup(self, request):
"""Start libvirt-dbus for each test function
"""
os.environ['LIBVIRT_DEBUG'] = '3'
self.libvirt_dbus = subprocess.Popen([exe, '--session'])
self.bus = dbus.SessionBus()
for i in range(10):
if self.bus.name_has_owner('org.libvirt'):
break
time.sleep(0.1)
else:
> raise TimeoutError('error starting libvirt-dbus')
E TimeoutError: error starting libvirt-dbus
../../tests/libvirttest.py:44: TimeoutError
ERROR at setup of TestConnect.test_connect_storage_vol_lookup_by_property[StorageVolLookupByPath-Path]
self = <test_connect.TestConnect object at 0x7f47a2662350>
@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 0x7f47a26338f0>
bus_name = dbus.String(':1.19')
object_path = dbus.ObjectPath('/org/libvirt/Test/storagepool/_35bb2ad9_388a_cdfe_461a_b8907f6e53fe')
dbus_interface = 'org.libvirt.StoragePool', method = 'StorageVolCreateXML'
signature = 'su'
args = ('\n<volume>\n <name>sparse.img</name>\n <capacity unit="G">2</capacity>\n <target>\n <path>/var/lib/virt/images/sparse.img</path>\n </target>\n</volume>\n', 0)
timeout = -1.0, byte_arrays = False, kwargs = {}
get_args_opts = {'byte_arrays': False}
message = <dbus.lowlevel.MethodCallMessage path: /org/libvirt/Test/storagepool/_35bb2ad9_388a_cdfe_461a_b8907f6e53fe, iface: org.libvirt.StoragePool, member: StorageVolCreateXML dest: :1.19>
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_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
=============== 33 passed, 2 warnings, 2 error in 20.31 seconds ================
FAIL test_connect.py (exit status: 1)
+ exit 1
Build step 'Execute shell' marked build as failure
5 years, 3 months
[Libvirt-ci] Build failed in Jenkins: libvirt-dbus-check » libvirt-fedora-29 #525
by ci@centos.org
See <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-29/52...>
------------------------------------------
[...truncated 3.90 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.3, 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_domain_lookup_by_id[DomainLookupByUUID-UUID]
self = <test_connect.TestConnect object at 0x7f76cfc02550>
request = <SubRequest 'libvirt_dbus_setup' for <Function 'test_connect_domain_lookup_by_id[DomainLookupByUUID-UUID]'>>
@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 0x7f76cfc1e0b8>
@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 0x7f76cfc65678>
bus_name = dbus.String(':1.5')
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.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: 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 0x7f76cfbbfbe0>
@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 0x7f76cfc65678>
bus_name = dbus.String(':1.5')
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.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: operation failed: storage vol already exists
/usr/lib64/python3.7/site-packages/dbus/connection.py:651: DBusException
===================== 32 passed, 3 error in 11.73 seconds ======================
FAIL test_connect.py (exit status: 1)
+ exit 1
Build step 'Execute shell' marked build as failure
5 years, 3 months