[Libvirt-ci] Passed: libvirt/libvirt#1295 (master - 105bcdd)
by Travis CI
Build Update for libvirt/libvirt
-------------------------------------
Build: #1295
Status: Passed
Duration: 20 mins and 1 sec
Commit: 105bcdd (master)
Author: Peter Krempa
Message: qemu: hotplug: Fix detach of disk with managed persistent reservations
In commit 8bebb2b735d I've refactored how the detach of disk with a
managed persistent reservations object is handled. After the commit if
any disk with a managed PR object would be removed libvirt would also
attempt to remove the shared 'pr-manager-helper' object potentially used
by other disks.
Thankfully this should not have practical impact as qemu should reject
deletion of the object if it was still used and the rest of the code is
correct.
Fix this by removing the disk from the definition earlier and checking
if the shared/managed pr-manager-helper object is still needed.
This basically splits the detach code for the managed PR object from the
unmanaged ones. The same separation will follow for the attachment code
as well as it greatly simplifies -blockdev support for this.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
View the changeset: https://github.com/libvirt/libvirt/compare/5276ec712a44...105bcdde76bc
View the full build log and details: https://travis-ci.org/libvirt/libvirt/builds/386221506?utm_source=email&u...
--
You can configure recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications
This email was sent to libvirt-ci(a)redhat.com (mailto:libvirt-ci@redhat.com)
unsubscribe from this list (http://clicks.travis-ci.com/track/unsub.php?u=14313403&id=3c28d0febe53407...)
6 years, 11 months
[Libvirt-ci] Build failed in Jenkins: libvirt-dbus-master-check » libvirt-fedora-rawhide #136
by ci@centos.org
See <https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...>
------------------------------------------
Started by upstream project "libvirt-dbus-master-check" build number 136
originally caused by:
Started by upstream project "libvirt-dbus-master-build" build number 169
originally caused by:
Started by upstream project "libvirt-glib-master-build" build number 1150
originally caused by:
Started by upstream project "libvirt-master-build" build number 1472
originally caused by:
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on libvirt-fedora-rawhide (libvirt) in workspace <https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...>
[libvirt-dbus-master] $ /bin/sh -xe /tmp/jenkins3868013670875513181.sh
+ cd build
+ /usr/bin/gmake -j3 check
Making check in data
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
Making check in docs
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
Making check in src
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
Making check in tests
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
/usr/bin/gmake check-TESTS
gmake[2]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
gmake[3]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
PASS: test_network.py
PASS: test_domain.py
PASS: test_connect.py
FAIL: test_storage.py
============================================================================
Testsuite summary for libvirt-dbus 1.0.0
============================================================================
# TOTAL: 4
# PASS: 3
# 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:534: test-suite.log] Error 1
gmake[3]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
gmake[2]: *** [Makefile:642: check-TESTS] Error 2
gmake[2]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
gmake[1]: *** [Makefile:736: check-am] Error 2
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
gmake: *** [Makefile:417: check-recursive] Error 1
+ cat tests/test-suite.log
==============================================
libvirt-dbus 1.0.0: tests/test-suite.log
==============================================
# TOTAL: 4
# PASS: 3
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: test_storage.py
=====================
============================= test session starts ==============================
platform linux -- Python 3.6.5, pytest-3.5.1, py-1.5.3, pluggy-0.6.0
rootdir: <https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...,> inifile:
collected 12 items
../../tests/test_storage.py ........E..F [100%]
==================================== ERRORS ====================================
___ ERROR at setup of TestStoragePool.test_storage_pool_get_xml_description ____
self = <test_storage.TestStoragePool object at 0x7fae9ce95b70>
request = <SubRequest 'libvirt_dbus_setup' for <Function 'test_storage_pool_get_xml_description'>>
@pytest.fixture(autouse=True)
def libvirt_dbus_setup(self, request):
"""Start libvirt-dbus for each test function
"""
os.environ['LIBVIRT_DEBUG'] = '3'
self.libvirt_dbus = subprocess.Popen([exe])
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:43: TimeoutError
=================================== FAILURES ===================================
__________________ TestStoragePool.test_storage_pool_refresh ___________________
self = <test_storage.TestStoragePool object at 0x7fae9ce4ae80>
def test_storage_pool_refresh(self):
> _, test_storage_pool = self.test_storage_pool()
../../tests/test_storage.py:112:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <test_storage.TestStoragePool object at 0x7fae9ce4ae80>
def test_storage_pool(self):
"""Fetch information for the test storage pool from test driver
Returns:
(dbus.proxies.ProxyObject, dbus.proxies.ProxyObject):
Test StoragePool Object, Local proxy for the test StoragePool
Object.
"""
> path = self.connect.ListStoragePools(0)[0]
E IndexError: list index out of range
../../tests/libvirttest.py:99: IndexError
--------------------------- Captured stderr teardown ---------------------------
Disconnected from D-Bus.
================= 1 failed, 10 passed, 1 error in 8.54 seconds =================
FAIL test_storage.py (exit status: 1)
+ exit 1
Build step 'Execute shell' marked build as failure
6 years, 11 months
[Libvirt-ci] Build failed in Jenkins: libvirt-master-check » libvirt-freebsd-11 #1119
by ci@centos.org
See <https://ci.centos.org/job/libvirt-master-check/systems=libvirt-freebsd-11...>
------------------------------------------
[...truncated 24.72 KB...]
gmake[3]: Entering directory '/usr<https://ci.centos.org/job/libvirt-master-check/systems=libvirt-freebsd-11...'>
PASS: sockettest
SKIP: virhostcputest
PASS: virbuftest
PASS: seclabeltest
PASS: virhashtest
PASS: virconftest
PASS: viratomictest
PASS: utiltest
SKIP: shunloadtest
PASS: virtimetest
PASS: viruritest
PASS: commandtest
PASS: virkeyfiletest
PASS: viralloctest
PASS: virauthconfigtest
PASS: virbitmaptest
SKIP: vircgrouptest
PASS: vircryptotest
SKIP: virpcitest
PASS: virendiantest
PASS: virfilecachetest
PASS: virfiletest
SKIP: virfirewalltest
PASS: viriscsitest
PASS: virkeycodetest
PASS: virlockspacetest
PASS: virlogtest
PASS: virrotatingfiletest
PASS: virstringtest
SKIP: virportallocatortest
PASS: sysinfotest
SKIP: virkmodtest
PASS: vircapstest
PASS: domaincapstest
PASS: domainconftest
SKIP: virhostdevtest
SKIP: virnetdevtest
PASS: virtypedparamtest
PASS: virnetmessagetest
FAIL: virnetsockettest
PASS: virschematest
PASS: virnetserverclienttest
SKIP: virnettlscontexttest
PASS: virnetdaemontest
SKIP: virnettlssessiontest
PASS: fdstreamtest
PASS: virdbustest
SKIP: virsystemdtest
PASS: virpolkittest
PASS: qemuxml2xmltest
PASS: qemuxml2argvtest
PASS: qemuargv2xmltest
PASS: domainsnapshotxml2xmltest
PASS: qemumonitorjsontest
PASS: qemuagenttest
PASS: qemuhotplugtest
PASS: qemucaps2xmltest
PASS: qemumemlocktest
PASS: qemucommandutiltest
PASS: qemublocktest
PASS: qemumigparamstest
PASS: esxutilstest
PASS: vboxsnapshotxmltest
PASS: vmx2xmltest
PASS: xml2vmxtest
PASS: vmwarevertest
PASS: bhyvexml2argvtest
PASS: bhyvexml2xmltest
PASS: qemucapabilitiestest
PASS: bhyveargv2xmltest
PASS: virjsontest
PASS: networkxml2xmltest
PASS: networkxml2xmlupdatetest
PASS: networkxml2conftest
SKIP: networkxml2firewalltest
PASS: storagevolxml2argvtest
PASS: nwfilterxml2xmltest
PASS: virstorageutiltest
PASS: nsstest
PASS: nssguesttest
PASS: storagevolxml2xmltest
PASS: storagepoolxml2xmltest
PASS: nodedevxml2xmltest
PASS: interfacexml2xmltest
PASS: metadatatest
PASS: secretxml2xmltest
PASS: genericxml2xmltest
PASS: eventtest
PASS: virdrivermoduletest
PASS: objecteventtest
PASS: virmacmaptest
PASS: cputest
PASS: libvirtd-fail
PASS: libvirtd-pool
PASS: virsh-cpuset
PASS: virsh-define-dev-segfault
PASS: virsh-int-overflow
SKIP: virsh-optparse
PASS: virsh-read-bufsiz
PASS: virsh-read-non-seekable
PASS: virsh-self-test
PASS: virsh-schedinfo
PASS: virt-admin-self-test
PASS: virsh-start
PASS: virsh-undefine
PASS: virsh-uriprecedence
PASS: virsh-vcpupin
PASS: virshtest
============================================================================
Testsuite summary for libvirt 4.4.0
============================================================================
# TOTAL: 108
# PASS: 93
# SKIP: 14
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to libvir-list(a)redhat.com
============================================================================
gmake[3]: *** [Makefile:5690: test-suite.log] Error 1
gmake[3]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-master-check/systems=libvirt-freebsd-11...'>
gmake[2]: *** [Makefile:5798: check-TESTS] Error 2
gmake[2]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-master-check/systems=libvirt-freebsd-11...'>
gmake[1]: *** [Makefile:6786: check-am] Error 2
gmake[1]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-master-check/systems=libvirt-freebsd-11...'>
gmake: *** [Makefile:2105: check-recursive] Error 1
+ cat tests/test-suite.log
=========================================
libvirt 4.4.0: tests/test-suite.log
=========================================
# TOTAL: 108
# PASS: 93
# SKIP: 14
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
SKIP: virhostcputest
====================
SKIP virhostcputest (exit status: 77)
SKIP: shunloadtest
==================
SKIP shunloadtest (exit status: 77)
SKIP: vircgrouptest
===================
SKIP vircgrouptest (exit status: 77)
SKIP: virpcitest
================
SKIP virpcitest (exit status: 77)
SKIP: virfirewalltest
=====================
SKIP virfirewalltest (exit status: 77)
SKIP: virportallocatortest
==========================
SKIP virportallocatortest (exit status: 77)
SKIP: virkmodtest
=================
SKIP virkmodtest (exit status: 77)
SKIP: virhostdevtest
====================
SKIP virhostdevtest (exit status: 77)
SKIP: virnetdevtest
===================
SKIP virnetdevtest (exit status: 77)
FAIL: virnetsockettest
======================
TEST: virnetsockettest
1) Socket TCP/IPv4 Accept ... FAILED
2) Socket TCP/IPv6 Accept ... libvirt: XML-RPC error : End of file while reading data: Input/output error
OK
3) Socket TCP/IPv4+IPv6 Accept ... libvirt: XML-RPC error : End of file while reading data: Input/output error
OK
4) Socket TCP/IPv4+IPv6 Accept ... libvirt: XML-RPC error : End of file while reading data: Input/output error
OK
5) Socket UNIX Accept ... libvirt: XML-RPC error : Cannot write data: Broken pipe
OK
6) Socket UNIX Addrs ... OK
7) Socket External Command /dev/zero ... OK
8) Socket External Command /dev/does-not-exist ... libvirt: XML-RPC error : End of file while reading data: cat: /dev/does-not-exist: No such file or directory: Input/output error
OK
9) SSH test 1 ... OK
10) SSH test 2 ... OK
11) SSH test 3 ... OK
12) SSH test 4 ... libvirt: XML-RPC error : End of file while reading data: Cannot connect to host nosuchhost: Input/output error
OK
13) SSH test 5 ... libvirt: XML-RPC error : End of file while reading data: : Input/output error
OK
14) SSH test 6 ... OK
15) SSH test 7 ... OK
FAIL virnetsockettest (exit status: 1)
SKIP: virnettlscontexttest
==========================
SKIP virnettlscontexttest (exit status: 77)
SKIP: virnettlssessiontest
==========================
SKIP virnettlssessiontest (exit status: 77)
SKIP: virsystemdtest
====================
SKIP virsystemdtest (exit status: 77)
SKIP: networkxml2firewalltest
=============================
SKIP networkxml2firewalltest (exit status: 77)
SKIP: virsh-optparse
====================
../../tests/virsh-optparse: skipping test:
This test is very expensive, so it is disabled by default.
To run it anyway, rerun: make check VIR_TEST_EXPENSIVE=1
SKIP virsh-optparse (exit status: 77)
+ exit 1
Build step 'Execute shell' marked build as failure
6 years, 11 months
[Libvirt-ci] Build failed in Jenkins: libvirt-master-check » libvirt-freebsd-11 #1113
by ci@centos.org
See <https://ci.centos.org/job/libvirt-master-check/systems=libvirt-freebsd-11...>
------------------------------------------
[...truncated 24.61 KB...]
/usr/local/bin/gmake check-TESTS
gmake[2]: Entering directory '/usr<https://ci.centos.org/job/libvirt-master-check/systems=libvirt-freebsd-11...'>
gmake[3]: Entering directory '/usr<https://ci.centos.org/job/libvirt-master-check/systems=libvirt-freebsd-11...'>
PASS: sockettest
SKIP: virhostcputest
PASS: virbuftest
PASS: seclabeltest
PASS: virhashtest
PASS: virconftest
PASS: viratomictest
PASS: utiltest
SKIP: shunloadtest
PASS: virtimetest
PASS: viruritest
PASS: virkeyfiletest
PASS: commandtest
PASS: viralloctest
PASS: virbitmaptest
PASS: virauthconfigtest
SKIP: vircgrouptest
PASS: vircryptotest
SKIP: virpcitest
PASS: virfiletest
PASS: virendiantest
SKIP: virfirewalltest
PASS: virfilecachetest
PASS: viriscsitest
PASS: virkeycodetest
PASS: virlockspacetest
PASS: virlogtest
PASS: virrotatingfiletest
PASS: virstringtest
SKIP: virportallocatortest
PASS: sysinfotest
SKIP: virkmodtest
PASS: vircapstest
PASS: domaincapstest
PASS: domainconftest
SKIP: virhostdevtest
SKIP: virnetdevtest
PASS: virschematest
PASS: virtypedparamtest
PASS: virnetmessagetest
FAIL: virnetsockettest
PASS: virnetdaemontest
PASS: virnetserverclienttest
SKIP: virnettlscontexttest
SKIP: virnettlssessiontest
PASS: virdbustest
PASS: fdstreamtest
SKIP: virsystemdtest
PASS: virpolkittest
PASS: qemuxml2argvtest
PASS: qemuargv2xmltest
PASS: domainsnapshotxml2xmltest
PASS: qemuxml2xmltest
PASS: qemumonitorjsontest
PASS: qemuagenttest
PASS: qemuhotplugtest
PASS: qemucaps2xmltest
PASS: qemumemlocktest
PASS: qemucommandutiltest
PASS: qemublocktest
PASS: qemumigparamstest
PASS: esxutilstest
PASS: vboxsnapshotxmltest
PASS: vmx2xmltest
PASS: xml2vmxtest
PASS: qemucapabilitiestest
PASS: vmwarevertest
PASS: bhyvexml2argvtest
PASS: bhyvexml2xmltest
PASS: virjsontest
PASS: bhyveargv2xmltest
PASS: networkxml2xmltest
PASS: networkxml2xmlupdatetest
PASS: networkxml2conftest
SKIP: networkxml2firewalltest
PASS: storagevolxml2argvtest
PASS: nwfilterxml2xmltest
PASS: virstorageutiltest
PASS: nsstest
PASS: nssguesttest
PASS: storagevolxml2xmltest
PASS: storagepoolxml2xmltest
PASS: nodedevxml2xmltest
PASS: interfacexml2xmltest
PASS: metadatatest
PASS: secretxml2xmltest
PASS: genericxml2xmltest
PASS: eventtest
PASS: virdrivermoduletest
PASS: objecteventtest
PASS: cputest
PASS: virmacmaptest
PASS: libvirtd-fail
PASS: libvirtd-pool
PASS: virsh-cpuset
PASS: virsh-define-dev-segfault
SKIP: virsh-optparse
PASS: virsh-int-overflow
PASS: virsh-read-non-seekable
PASS: virsh-read-bufsiz
PASS: virsh-schedinfo
PASS: virsh-self-test
PASS: virt-admin-self-test
PASS: virsh-start
PASS: virsh-undefine
PASS: virsh-uriprecedence
PASS: virsh-vcpupin
PASS: virshtest
============================================================================
Testsuite summary for libvirt 4.4.0
============================================================================
# TOTAL: 108
# PASS: 93
# SKIP: 14
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to libvir-list(a)redhat.com
============================================================================
gmake[3]: *** [Makefile:5690: test-suite.log] Error 1
gmake[3]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-master-check/systems=libvirt-freebsd-11...'>
gmake[2]: *** [Makefile:5798: check-TESTS] Error 2
gmake[2]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-master-check/systems=libvirt-freebsd-11...'>
gmake[1]: *** [Makefile:6786: check-am] Error 2
gmake[1]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-master-check/systems=libvirt-freebsd-11...'>
gmake: *** [Makefile:2105: check-recursive] Error 1
+ cat tests/test-suite.log
=========================================
libvirt 4.4.0: tests/test-suite.log
=========================================
# TOTAL: 108
# PASS: 93
# SKIP: 14
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
SKIP: virhostcputest
====================
SKIP virhostcputest (exit status: 77)
SKIP: shunloadtest
==================
SKIP shunloadtest (exit status: 77)
SKIP: vircgrouptest
===================
SKIP vircgrouptest (exit status: 77)
SKIP: virpcitest
================
SKIP virpcitest (exit status: 77)
SKIP: virfirewalltest
=====================
SKIP virfirewalltest (exit status: 77)
SKIP: virportallocatortest
==========================
SKIP virportallocatortest (exit status: 77)
SKIP: virkmodtest
=================
SKIP virkmodtest (exit status: 77)
SKIP: virhostdevtest
====================
SKIP virhostdevtest (exit status: 77)
SKIP: virnetdevtest
===================
SKIP virnetdevtest (exit status: 77)
FAIL: virnetsockettest
======================
TEST: virnetsockettest
1) Socket TCP/IPv4 Accept ... FAILED
2) Socket TCP/IPv6 Accept ... FAILED
3) Socket TCP/IPv4+IPv6 Accept ... FAILED
4) Socket TCP/IPv4+IPv6 Accept ... libvirt: XML-RPC error : End of file while reading data: Input/output error
OK
5) Socket UNIX Accept ... libvirt: XML-RPC error : Cannot write data: Broken pipe
OK
6) Socket UNIX Addrs ... OK
7) Socket External Command /dev/zero ... OK
8) Socket External Command /dev/does-not-exist ... libvirt: XML-RPC error : End of file while reading data: cat: /dev/does-not-exist: No such file or directory: Input/output error
OK
9) SSH test 1 ... OK
10) SSH test 2 ... OK
11) SSH test 3 ... OK
12) SSH test 4 ... libvirt: XML-RPC error : End of file while reading data: Cannot connect to host nosuchhost: Input/output error
OK
13) SSH test 5 ... libvirt: XML-RPC error : End of file while reading data: : Input/output error
OK
14) SSH test 6 ... OK
15) SSH test 7 ... OK
FAIL virnetsockettest (exit status: 1)
SKIP: virnettlscontexttest
==========================
SKIP virnettlscontexttest (exit status: 77)
SKIP: virnettlssessiontest
==========================
SKIP virnettlssessiontest (exit status: 77)
SKIP: virsystemdtest
====================
SKIP virsystemdtest (exit status: 77)
SKIP: networkxml2firewalltest
=============================
SKIP networkxml2firewalltest (exit status: 77)
SKIP: virsh-optparse
====================
../../tests/virsh-optparse: skipping test:
This test is very expensive, so it is disabled by default.
To run it anyway, rerun: make check VIR_TEST_EXPENSIVE=1
SKIP virsh-optparse (exit status: 77)
+ exit 1
Build step 'Execute shell' marked build as failure
6 years, 11 months
[Libvirt-ci] Build failed in Jenkins: libvirt-dbus-master-check » libvirt-fedora-rawhide #117
by ci@centos.org
See <https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...>
------------------------------------------
[...truncated 2.78 KB...]
[libvirt-dbus-master] $ /bin/sh -xe /tmp/jenkins1546338692879202267.sh
+ cd build
+ /usr/bin/gmake -j3 check
Making check in data
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
Making check in docs
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
Making check in src
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
Making check in tests
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
/usr/bin/gmake check-TESTS
gmake[2]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
gmake[3]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
PASS: test_network.py
FAIL: test_domain.py
PASS: test_storage.py
PASS: test_connect.py
============================================================================
Testsuite summary for libvirt-dbus 1.0.0
============================================================================
# TOTAL: 4
# PASS: 3
# 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:534: test-suite.log] Error 1
gmake[3]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
gmake[2]: *** [Makefile:642: check-TESTS] Error 2
gmake[2]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
gmake[1]: *** [Makefile:736: check-am] Error 2
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...'>
gmake: *** [Makefile:417: check-recursive] Error 1
+ cat tests/test-suite.log
==============================================
libvirt-dbus 1.0.0: tests/test-suite.log
==============================================
# TOTAL: 4
# PASS: 3
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: test_domain.py
====================
============================= test session starts ==============================
platform linux -- Python 3.6.5, pytest-3.5.1, py-1.5.3, pluggy-0.6.0
rootdir: <https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedor...,> inifile:
collected 12 items
../../tests/test_domain.py .....E..FF.. [100%]
==================================== ERRORS ====================================
______________ ERROR at setup of TestDomain.test_domain_metadata _______________
self = <test_domain.TestDomain object at 0x7f29954325c0>
request = <SubRequest 'libvirt_dbus_setup' for <Function 'test_domain_metadata'>>
@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])
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:43: TimeoutError
=================================== FAILURES ===================================
___________________________ TestDomain.test_suspend ____________________________
self = <test_domain.TestDomain object at 0x7f29955024a8>
def test_suspend(self):
def domain_suspended(path, event, detail):
if event != libvirttest.DomainEvent.SUSPENDED:
return
assert detail == libvirttest.DomainEventSuspendedDetailType.PAUSED
assert isinstance(path, dbus.ObjectPath)
self.loop.quit()
self.connect.connect_to_signal('DomainEvent', domain_suspended)
obj, domain = self.domain()
> domain.Suspend()
../../tests/test_domain.py:124:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib64/python3.6/site-packages/dbus/proxies.py:70: in __call__
return self._proxy_method(*args, **keywords)
/usr/lib64/python3.6/site-packages/dbus/proxies.py:145: in __call__
**keywords)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dbus._dbus.SessionBus (session) at 0x7f2995507518>
bus_name = dbus.String(':1.6')
object_path = dbus.ObjectPath('/org/libvirt/Test/domain/_6695eb01_f6a4_8304_79aa_97f2502e193f')
dbus_interface = 'org.libvirt.Domain', method = 'Suspend', signature = ''
args = (), timeout = -1.0, byte_arrays = False, kwargs = {}
get_args_opts = {'byte_arrays': False}
message = <dbus.lowlevel.MethodCallMessage path: /org/libvirt/Test/domain/_6695eb01_f6a4_8304_79aa_97f2502e193f, iface: org.libvirt.Domain, member: Suspend dest: :1.6>
def call_blocking(self, bus_name, object_path, dbus_interface, method,
signature, args, timeout=-1.0,
byte_arrays=False, **kwargs):
"""Call the given method, synchronously.
:Since: 0.81.0
"""
if object_path == LOCAL_PATH:
raise DBusException('Methods may not be called on the reserved '
'path %s' % LOCAL_PATH)
if dbus_interface == LOCAL_IFACE:
raise DBusException('Methods may not be called on the reserved '
'interface %s' % LOCAL_IFACE)
# no need to validate other args - MethodCallMessage ctor will do
get_args_opts = dict(byte_arrays=byte_arrays)
if is_py2:
get_args_opts['utf8_strings'] = kwargs.get('utf8_strings', False)
elif 'utf8_strings' in kwargs:
raise TypeError("unexpected keyword argument 'utf8_strings'")
message = MethodCallMessage(destination=bus_name,
path=object_path,
interface=dbus_interface,
method=method)
# Add the arguments to the function
try:
message.append(signature=signature, *args)
except Exception as e:
logging.basicConfig()
_logger.error('Unable to set arguments %r according to '
'signature %r: %s: %s',
args, signature, e.__class__, e)
raise
# make a blocking call
reply_message = self.send_message_with_reply_and_block(
> message, timeout)
E dbus.exceptions.DBusException: org.libvirt.Error: internal error: domain 'test' not running
/usr/lib64/python3.6/site-packages/dbus/connection.py:651: DBusException
--------------------------- Captured stderr teardown ---------------------------
Disconnected from D-Bus.
___________________________ TestDomain.test_undefine ___________________________
self = <test_domain.TestDomain object at 0x7f29954e6a20>
def test_undefine(self):
def domain_undefined(path, event, detail):
if event != libvirttest.DomainEvent.UNDEFINED:
return
assert detail == libvirttest.DomainEventUndefinedDetailType.REMOVED
assert isinstance(path, dbus.ObjectPath)
self.loop.quit()
self.connect.connect_to_signal('DomainEvent', domain_undefined)
_, domain = self.domain()
> domain.Shutdown(0)
../../tests/test_domain.py:142:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib64/python3.6/site-packages/dbus/proxies.py:70: in __call__
return self._proxy_method(*args, **keywords)
/usr/lib64/python3.6/site-packages/dbus/proxies.py:145: in __call__
**keywords)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <dbus._dbus.SessionBus (session) at 0x7f2995507518>
bus_name = dbus.String(':1.6')
object_path = dbus.ObjectPath('/org/libvirt/Test/domain/_6695eb01_f6a4_8304_79aa_97f2502e193f')
dbus_interface = 'org.libvirt.Domain', method = 'Shutdown', signature = 'u'
args = (0,), timeout = -1.0, byte_arrays = False, kwargs = {}
get_args_opts = {'byte_arrays': False}
message = <dbus.lowlevel.MethodCallMessage path: /org/libvirt/Test/domain/_6695eb01_f6a4_8304_79aa_97f2502e193f, iface: org.libvirt.Domain, member: Shutdown dest: :1.6>
def call_blocking(self, bus_name, object_path, dbus_interface, method,
signature, args, timeout=-1.0,
byte_arrays=False, **kwargs):
"""Call the given method, synchronously.
:Since: 0.81.0
"""
if object_path == LOCAL_PATH:
raise DBusException('Methods may not be called on the reserved '
'path %s' % LOCAL_PATH)
if dbus_interface == LOCAL_IFACE:
raise DBusException('Methods may not be called on the reserved '
'interface %s' % LOCAL_IFACE)
# no need to validate other args - MethodCallMessage ctor will do
get_args_opts = dict(byte_arrays=byte_arrays)
if is_py2:
get_args_opts['utf8_strings'] = kwargs.get('utf8_strings', False)
elif 'utf8_strings' in kwargs:
raise TypeError("unexpected keyword argument 'utf8_strings'")
message = MethodCallMessage(destination=bus_name,
path=object_path,
interface=dbus_interface,
method=method)
# Add the arguments to the function
try:
message.append(signature=signature, *args)
except Exception as e:
logging.basicConfig()
_logger.error('Unable to set arguments %r according to '
'signature %r: %s: %s',
args, signature, e.__class__, e)
raise
# make a blocking call
reply_message = self.send_message_with_reply_and_block(
> message, timeout)
E dbus.exceptions.DBusException: org.libvirt.Error: internal error: domain 'test' not running
/usr/lib64/python3.6/site-packages/dbus/connection.py:651: DBusException
--------------------------- Captured stderr teardown ---------------------------
Disconnected from D-Bus.
================= 2 failed, 9 passed, 1 error in 9.13 seconds ==================
FAIL test_domain.py (exit status: 1)
+ exit 1
Build step 'Execute shell' marked build as failure
6 years, 12 months