[Libvirt-ci] Build failed in Jenkins: libvirt-dbus-check » libvirt-fedora-28 #11

ci at centos.org ci at centos.org
Mon Sep 10 14:35:43 UTC 2018


See <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-28/11/display/redirect>

------------------------------------------
Started by upstream project "libvirt-dbus-check" build number 11
originally caused by:
 Started by upstream project "libvirt-dbus-syntax-check" build number 11
 originally caused by:
  Started by upstream project "libvirt-dbus-build" build number 11
  originally caused by:
   Started by upstream project "libvirt-glib-build" build number 11
   originally caused by:
    Started by upstream project "libvirt-build" build number 11
    originally caused by:
     Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on libvirt-fedora-28 (libvirt) in workspace <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-28/ws/>
[libvirt-dbus] $ /bin/sh -xe /tmp/jenkins699061547189850841.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-28/ws/build/data'>
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-28/ws/build/data'>
Making check in docs
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-28/ws/build/docs'>
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-28/ws/build/docs'>
Making check in src
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-28/ws/build/src'>
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-28/ws/build/src'>
Making check in tests
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-28/ws/build/tests'>
/usr/bin/gmake  test_util
gmake[2]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-28/ws/build/tests'>
  CC       test_util-test_util.o
  CCLD     test_util
gmake[2]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-28/ws/build/tests'>
/usr/bin/gmake  check-TESTS
gmake[2]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-28/ws/build/tests'>
gmake[3]: Entering directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-28/ws/build/tests'>
PASS: test_util
PASS: test_interface.py
FAIL: test_domain.py
PASS: test_network.py
PASS: test_nodedev.py
PASS: test_connect.py
PASS: test_storage.py
============================================================================
Testsuite summary for libvirt-dbus 1.3.0
============================================================================
# TOTAL: 7
# PASS:  6
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to libvir-list at redhat.com
============================================================================
gmake[3]: *** [Makefile:759: test-suite.log] Error 1
gmake[3]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-28/ws/build/tests'>
gmake[2]: *** [Makefile:867: check-TESTS] Error 2
gmake[2]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-28/ws/build/tests'>
gmake[1]: *** [Makefile:980: check-am] Error 2
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-28/ws/build/tests'>
gmake: *** [Makefile:460: check-recursive] Error 1
+ cat tests/test-suite.log
==============================================
   libvirt-dbus 1.3.0: tests/test-suite.log
==============================================

# TOTAL: 7
# PASS:  6
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: test_domain.py
====================

============================= test session starts ==============================
platform linux -- Python 3.6.6, pytest-3.4.2, py-1.5.4, pluggy-0.6.0
rootdir: <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-28/ws/,> inifile:
collected 10 items

../../tests/test_domain.py ......E.FF                                    [100%]

==================================== ERRORS ====================================
__________________ ERROR at setup of TestDomain.test_suspend ___________________

self = <test_domain.TestDomain object at 0x7fab704405f8>
request = <SubRequest 'libvirt_dbus_setup' for <Function 'test_suspend'>>

    @pytest.fixture(autouse=True)
    def libvirt_dbus_setup(self, request):
        """Start libvirt-dbus for each test function
            """
        os.environ['LIBVIRT_DEBUG'] = '3'
        self.libvirt_dbus = subprocess.Popen([exe, '--session'])
        self.bus = dbus.SessionBus()
    
        for i in range(10):
            if self.bus.name_has_owner('org.libvirt'):
                break
            time.sleep(0.1)
        else:
>           raise TimeoutError('error starting libvirt-dbus')
E           TimeoutError: error starting libvirt-dbus

../../tests/libvirttest.py:44: TimeoutError
=================================== FAILURES ===================================
_________________________ TestDomain.test_domain_vcpus _________________________

self = <test_domain.TestDomain object at 0x7fab6ffc7438>

    def test_domain_vcpus(self):
>       obj, domain = self.get_test_domain()

../../tests/test_domain.py:149: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <test_domain.TestDomain object at 0x7fab6ffc7438>

    def get_test_domain(self):
>       path = self.connect.ListDomains(0)[0]
E       IndexError: list index out of range

../../tests/libvirttest.py:126: IndexError
_____________________ TestDomain.test_domain_vcpu_pin_info _____________________

self = <test_domain.TestDomain object at 0x7fab6ff9f470>

    def test_domain_vcpu_pin_info(self):
>       obj, domain = self.get_test_domain()

../../tests/test_domain.py:155: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <test_domain.TestDomain object at 0x7fab6ff9f470>

    def get_test_domain(self):
>       path = self.connect.ListDomains(0)[0]
E       IndexError: list index out of range

../../tests/libvirttest.py:126: IndexError
--------------------------- Captured stderr teardown ---------------------------
Disconnected from D-Bus.
================= 2 failed, 7 passed, 1 error in 10.05 seconds =================
FAIL test_domain.py (exit status: 1)

+ exit 1
Build step 'Execute shell' marked build as failure




More information about the Libvirt-ci mailing list