Build failed in Jenkins: libvirt-dbus-check » libvirt-debian-10 #1158

ci at centos.org ci at centos.org
Tue May 26 07:42:38 UTC 2020


See <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/1158/display/redirect>

------------------------------------------
[...truncated 5.38 KB...]
kwargs = {}, get_args_opts = {'byte_arrays': False}
message = <dbus.lowlevel.MethodCallMessage path: /org/libvirt/Test, iface: org.libvirt.Connect, member: GetCPUModelNames 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: XML error: failed to parse xml document '/home/jenkins/build/libvirt/share/libvirt/cpu_map/x86_Cooperlake.xml'

/usr/lib/python3/dist-packages/dbus/connection.py:651: DBusException
----------------------------- Captured stderr call -----------------------------
I/O warning : failed to load external entity "/home/jenkins/build/libvirt/share/libvirt/cpu_map/x86_Cooperlake.xml"
===================== 1 failed, 34 passed in 7.46 seconds ======================
-------

Full log written to <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/ws/build/meson-logs/testlog.txt>
FAILED: meson-test 
/usr/bin/meson test --no-rebuild --print-errorlogs
ninja: build stopped: subcommand failed.
+ cat meson-logs/testlog.txt
Log of Meson test suite run on 2020-05-26T07:42:22.485561

Inherited environment: JENKINS_HOME='/var/lib/jenkins' C_INCLUDE_PATH='/home/jenkins/build/libvirt/include' USER='jenkins' RUN_CHANGES_DISPLAY_URL='https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/1158/display/redirect?page=changes' LD_LIBRARY_PATH='/home/jenkins/build/libvirt/lib/x86_64-linux-gnu:/home/jenkins/build/libvirt/lib' SHLVL='0' NODE_LABELS='libvirt libvirt-debian-10' HUDSON_URL='https://ci.centos.org/' HOME='/home/jenkins' OLDPWD='<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/ws/'> PYTHON='/usr/bin/python3' GI_TYPELIB_PATH='/home/jenkins/build/libvirt/lib/x86_64-linux-gnu/girepository-1.0:/home/jenkins/build/libvirt/lib/girepository-1.0' CCACHE_WRAPPERSDIR='/usr/libexec/ccache-wrappers' BUILD_URL='https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/1158/' HUDSON_COOKIE='1e8f3e46-b957-4b42-81df-90b52b3a2c77' JENKINS_SERVER_COOKIE='f4d3a7a925dabf8a' PS1='[\u@\h \w]$ ' OSINFO_SYSTEM_DIR='/home/jenkins/build/libvirt/share/osinfo' MAKEFLAGS='-j3' WORKSPACE='<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/ws/'> CCACHE_MAXSIZE='2G' LOGNAME='jenkins' NODE_NAME='libvirt-debian-10' JOURNAL_STREAM='9:13962' BUILD_CAUSE='UPSTREAMTRIGGER' _='/usr/bin/java' PKG_CONFIG_PATH='/home/jenkins/build/libvirt/lib/x86_64-linux-gnu/pkgconfig:/home/jenkins/build/libvirt/lib/pkgconfig' NINJA='/usr/bin/ninja' EXECUTOR_NUMBER='2' BUILD_DISPLAY_NAME='#1158' systems='libvirt-debian-10' BUILD_CAUSE_UPSTREAMTRIGGER='true' HUDSON_HOME='/var/lib/jenkins' JOB_BASE_NAME='systems=libvirt-debian-10' PATH='/usr/libexec/ccache-wrappers:/home/jenkins/build/libvirt/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games' INVOCATION_ID='e3afabfea91142e397ba00457937b0e6' BUILD_ID='1158' PERL5LIB='/home/jenkins/build/libvirt/lib/perl5/x86_64-linux-gnu-thread-multi' BUILD_TAG='jenkins-libvirt-dbus-check-systems=libvirt-debian-10-1158' ROOT_BUILD_CAUSE_SCMTRIGGER='true' JENKINS_URL='https://ci.centos.org/' LANG='en_US.UTF-8' JOB_URL='https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/' BUILD_NUMBER='1158' SHELL='/bin/bash' RUN_DISPLAY_URL='https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/1158/display/redirect' ROOT_BUILD_CAUSE='SCMTRIGGER' HUDSON_SERVER_COOKIE='f4d3a7a925dabf8a' JOB_DISPLAY_URL='https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/display/redirect' JOB_NAME='libvirt-dbus-check/systems=libvirt-debian-10' PWD='<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/ws/build'> XDG_DATA_DIRS='/home/jenkins/build/libvirt/share:/usr/share:/usr/local/share' PYTHONPATH='/home/jenkins/build/libvirt/lib/python3.7/site-packages' VIRT_PREFIX='/home/jenkins/build/libvirt' MAKE='/usr/bin/make' 

1/9 libvirt-dbus:unit / test_util           OK       0.07 s 

--- command ---
<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/ws/build/tests/test_util>
-------

2/9 libvirt-dbus:unit / test_connect.py     FAIL     9.11 s (exit status 1)

--- command ---
VIRT_DBUS_INTERFACES_DIR='<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/ws/data'> abs_top_builddir='<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/ws/build'> <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/ws/tests/test_connect.py>
--- stdout ---
============================= test session starts ==============================
platform linux -- Python 3.7.3, pytest-3.10.1, py-1.7.0, pluggy-0.8.0
rootdir: <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/ws/,> inifile:
collected 35 items

../tests/test_connect.py ..................F................             [100%]

=================================== FAILURES ===================================
_________________ TestConnect.test_connect_get_cpu_model_names _________________

self = <test_connect.TestConnect object at 0x7f0dc4a40d68>

    def test_connect_get_cpu_model_names(self):
        arch = "x86_64"
>       assert isinstance(self.connect.GetCPUModelNames(arch, 0), dbus.Array)

../tests/test_connect.py:122: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3/dist-packages/dbus/proxies.py:70: in __call__
    return self._proxy_method(*args, **keywords)
/usr/lib/python3/dist-packages/dbus/proxies.py:145: in __call__
    **keywords)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <dbus._dbus.SessionBus (session) at 0x7f0dc499ddb0>
bus_name = dbus.String(':1.19'), object_path = '/org/libvirt/Test'
dbus_interface = 'org.libvirt.Connect', method = 'GetCPUModelNames'
signature = 'su', args = ('x86_64', 0), timeout = -1.0, byte_arrays = False
kwargs = {}, get_args_opts = {'byte_arrays': False}
message = <dbus.lowlevel.MethodCallMessage path: /org/libvirt/Test, iface: org.libvirt.Connect, member: GetCPUModelNames 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: XML error: failed to parse xml document '/home/jenkins/build/libvirt/share/libvirt/cpu_map/x86_Cooperlake.xml'

/usr/lib/python3/dist-packages/dbus/connection.py:651: DBusException
----------------------------- Captured stderr call -----------------------------
I/O warning : failed to load external entity "/home/jenkins/build/libvirt/share/libvirt/cpu_map/x86_Cooperlake.xml"
===================== 1 failed, 34 passed in 7.46 seconds ======================
-------

3/9 libvirt-dbus:unit / test_domain.py      OK       4.03 s 

--- command ---
VIRT_DBUS_INTERFACES_DIR='<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/ws/data'> abs_top_builddir='<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/ws/build'> <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/ws/tests/test_domain.py>
--- stdout ---
============================= test session starts ==============================
platform linux -- Python 3.7.3, pytest-3.10.1, py-1.7.0, pluggy-0.8.0
rootdir: <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/ws/,> inifile:
collected 11 items

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

========================== 11 passed in 2.54 seconds ===========================
-------

4/9 libvirt-dbus:unit / test_snapshot.py    OK       2.26 s 

--- command ---
VIRT_DBUS_INTERFACES_DIR='<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/ws/data'> abs_top_builddir='<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/ws/build'> <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/ws/tests/test_snapshot.py>
--- stdout ---
============================= test session starts ==============================
platform linux -- Python 3.7.3, pytest-3.10.1, py-1.7.0, pluggy-0.8.0
rootdir: <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/ws/,> inifile:
collected 6 items

../tests/test_snapshot.py ......                                         [100%]

=========================== 6 passed in 1.31 seconds ===========================
-------

5/9 libvirt-dbus:unit / test_interface.py   OK       2.10 s 

--- command ---
VIRT_DBUS_INTERFACES_DIR='<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/ws/data'> abs_top_builddir='<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/ws/build'> <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/ws/tests/test_interface.py>
--- stdout ---
============================= test session starts ==============================
platform linux -- Python 3.7.3, pytest-3.10.1, py-1.7.0, pluggy-0.8.0
rootdir: <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/ws/,> inifile:
collected 5 items

../tests/test_interface.py .....                                         [100%]

=========================== 5 passed in 1.18 seconds ===========================
-------

6/9 libvirt-dbus:unit / test_network.py     OK       2.59 s 

--- command ---
VIRT_DBUS_INTERFACES_DIR='<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/ws/data'> abs_top_builddir='<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/ws/build'> <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/ws/tests/test_network.py>
--- stdout ---
============================= test session starts ==============================
platform linux -- Python 3.7.3, pytest-3.10.1, py-1.7.0, pluggy-0.8.0
rootdir: <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/ws/,> inifile:
collected 7 items

../tests/test_network.py .......                                         [100%]

=========================== 7 passed in 1.23 seconds ===========================
-------

7/9 libvirt-dbus:unit / test_nodedev.py     OK       1.63 s 

--- command ---
VIRT_DBUS_INTERFACES_DIR='<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/ws/data'> abs_top_builddir='<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/ws/build'> <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/ws/tests/test_nodedev.py>
--- stdout ---
============================= test session starts ==============================
platform linux -- Python 3.7.3, pytest-3.10.1, py-1.7.0, pluggy-0.8.0
rootdir: <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/ws/,> inifile:
collected 4 items

../tests/test_nodedev.py ....                                            [100%]

=========================== 4 passed in 0.66 seconds ===========================
-------

8/9 libvirt-dbus:unit / test_storage.py     OK       4.79 s 

--- command ---
VIRT_DBUS_INTERFACES_DIR='<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/ws/data'> abs_top_builddir='<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/ws/build'> <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/ws/tests/test_storage.py>
--- stdout ---
============================= test session starts ==============================
platform linux -- Python 3.7.3, pytest-3.10.1, py-1.7.0, pluggy-0.8.0
rootdir: <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/ws/,> inifile:
collected 16 items

../tests/test_storage.py ................                                [100%]

========================== 16 passed in 3.73 seconds ===========================
-------

9/9 libvirt-dbus:style / flake8             OK       2.31 s 

--- command ---
/usr/bin/flake8 --show-source --ignore=E501 <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-10/ws/>
-------


Ok:                    8
Expected Fail:         0
Fail:                  1
Unexpected Pass:       0
Skipped:               0
Timeout:               0
+ exit 1
Build step 'Execute shell' marked build as failure





More information about the Libvirt-ci mailing list