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

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


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

------------------------------------------
[...truncated 5.36 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 12.66 seconds =====================
-------

Full log written to <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-9/ws/build/meson-logs/testlog.txt>
FAILED: meson-test 
/usr/local/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.787037

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

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

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

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

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

../tests/test_connect.py ..................F................

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

self = <test_connect.TestConnect object at 0x7f37df02d320>

    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 0x7f37ded81ca8>
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 12.66 seconds =====================
-------

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

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

../tests/test_domain.py ...........

========================== 11 passed in 3.83 seconds ===========================
-------

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

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

../tests/test_snapshot.py ......

=========================== 6 passed in 1.96 seconds ===========================
-------

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

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

../tests/test_interface.py .....

=========================== 5 passed in 1.04 seconds ===========================
-------

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

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

../tests/test_network.py .......

=========================== 7 passed in 1.98 seconds ===========================
-------

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

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

../tests/test_nodedev.py ....

=========================== 4 passed in 1.37 seconds ===========================
-------

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

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

../tests/test_storage.py ................

========================== 16 passed in 3.72 seconds ===========================
-------

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

--- command ---
/usr/bin/flake8 --show-source --ignore=E501 <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-debian-9/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