Build failed in Jenkins: libvirt-dbus-check » libvirt-fedora-32 #1158

ci at centos.org ci at centos.org
Tue May 26 07:45:17 UTC 2020


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

------------------------------------------
[...truncated 5.45 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/lib64/python3.8/site-packages/dbus/connection.py:652: 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.58 seconds ======================
-------

Full log written to <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-32/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:45:01.949897

Inherited environment: SHELL='/bin/bash' ROOT_BUILD_CAUSE_SCMTRIGGER='true' HISTCONTROL='ignoredups' CCACHE_MAXSIZE='2G' OSINFO_SYSTEM_DIR='/home/jenkins/build/libvirt/share/osinfo' PKG_CONFIG_PATH='/home/jenkins/build/libvirt/lib64/pkgconfig:/home/jenkins/build/libvirt/lib/pkgconfig' HISTSIZE='1000' HOSTNAME='libvirt-fedora-32' JENKINS_SERVER_COOKIE='f4d3a7a925dabf8a' BUILD_CAUSE='UPSTREAMTRIGGER' RUN_CHANGES_DISPLAY_URL='https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-32/1158/display/redirect?page=changes' HUDSON_HOME='/var/lib/jenkins' PWD='<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-32/ws/build'> LOGNAME='jenkins' BUILD_URL='https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-32/1158/' BUILD_CAUSE_UPSTREAMTRIGGER='true' JOB_URL='https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-32/' BUILD_NUMBER='1158' _='/usr/bin/meson' BUILD_DISPLAY_NAME='#1158' GI_TYPELIB_PATH='/home/jenkins/build/libvirt/lib64/girepository-1.0:/home/jenkins/build/libvirt/lib/girepository-1.0' HOME='/home/jenkins' LANG='en_US.UTF-8' JENKINS_URL='https://ci.centos.org/' JOB_BASE_NAME='systems=libvirt-fedora-32' JOB_NAME='libvirt-dbus-check/systems=libvirt-fedora-32' PERL5LIB='/home/jenkins/build/libvirt/lib/perl5/x86_64-linux-thread-multi' INVOCATION_ID='4e0e2ac70edf42ee9910d1754a0d7bb3' RUN_DISPLAY_URL='https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-32/1158/display/redirect' VIRT_PREFIX='/home/jenkins/build/libvirt' JOB_DISPLAY_URL='https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-32/display/redirect' WORKSPACE='<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-32/ws/'> HUDSON_URL='https://ci.centos.org/' MAKEFLAGS='-j3' PYTHONPATH='/home/jenkins/build/libvirt/lib64/python3.8/site-packages' NODE_NAME='libvirt-fedora-32' LESSOPEN='||/usr/bin/lesspipe.sh %s' USER='jenkins' PYTHON='/usr/bin/python3' HUDSON_SERVER_COOKIE='f4d3a7a925dabf8a' SHLVL='1' BUILD_TAG='jenkins-libvirt-dbus-check-systems=libvirt-fedora-32-1158' EXECUTOR_NUMBER='3' HUDSON_COOKIE='1990c12f-8f08-42b8-9407-12e2fb6c90bb' CCACHE_WRAPPERSDIR='/usr/libexec/ccache-wrappers' JENKINS_HOME='/var/lib/jenkins' systems='libvirt-fedora-32' LD_LIBRARY_PATH='/home/jenkins/build/libvirt/lib64:/home/jenkins/build/libvirt/lib' ROOT_BUILD_CAUSE='SCMTRIGGER' MAKE='/usr/bin/make' NODE_LABELS='libvirt libvirt-fedora-32' JOURNAL_STREAM='9:19050' XDG_DATA_DIRS='/home/jenkins/build/libvirt/share:/usr/share:/usr/local/share' PATH='/usr/libexec/ccache-wrappers:/home/jenkins/build/libvirt/bin:/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin' C_INCLUDE_PATH='/home/jenkins/build/libvirt/include' MAIL='/var/spool/mail/jenkins' BUILD_ID='1158' NINJA='/usr/bin/ninja' OLDPWD='<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-32/ws/'> 

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

--- command ---
07:45:01 <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-32/ws/build/tests/test_util>
-------

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

--- command ---
07:45:02 VIRT_DBUS_INTERFACES_DIR='<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-32/ws/data'> abs_top_builddir='<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-32/ws/build'> <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-32/ws/tests/test_connect.py>
--- stdout ---
============================= test session starts ==============================
platform linux -- Python 3.8.2, pytest-4.6.9, py-1.8.0, pluggy-0.13.0
rootdir: <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-32/ws/>
collected 35 items

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

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

self = <test_connect.TestConnect object at 0x7fd0b4b7b460>

    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/lib64/python3.8/site-packages/dbus/proxies.py:72: in __call__
    return self._proxy_method(*args, **keywords)
/usr/lib64/python3.8/site-packages/dbus/proxies.py:141: in __call__
    return self._connection.call_blocking(self._named_service,
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <dbus._dbus.SessionBus (session) at 0x7fd0b4df8d10>
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/lib64/python3.8/site-packages/dbus/connection.py:652: 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.58 seconds ======================
-------

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

--- command ---
07:45:02 VIRT_DBUS_INTERFACES_DIR='<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-32/ws/data'> abs_top_builddir='<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-32/ws/build'> <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-32/ws/tests/test_domain.py>
--- stdout ---
============================= test session starts ==============================
platform linux -- Python 3.8.2, pytest-4.6.9, py-1.8.0, pluggy-0.13.0
rootdir: <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-32/ws/>
collected 11 items

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

========================== 11 passed in 2.46 seconds ===========================
-------

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

--- command ---
07:45:05 VIRT_DBUS_INTERFACES_DIR='<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-32/ws/data'> abs_top_builddir='<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-32/ws/build'> <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-32/ws/tests/test_snapshot.py>
--- stdout ---
============================= test session starts ==============================
platform linux -- Python 3.8.2, pytest-4.6.9, py-1.8.0, pluggy-0.13.0
rootdir: <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-32/ws/>
collected 6 items

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

=========================== 6 passed in 1.45 seconds ===========================
-------

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

--- command ---
07:45:08 VIRT_DBUS_INTERFACES_DIR='<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-32/ws/data'> abs_top_builddir='<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-32/ws/build'> <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-32/ws/tests/test_interface.py>
--- stdout ---
============================= test session starts ==============================
platform linux -- Python 3.8.2, pytest-4.6.9, py-1.8.0, pluggy-0.13.0
rootdir: <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-32/ws/>
collected 5 items

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

=========================== 5 passed in 0.96 seconds ===========================
-------

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

--- command ---
07:45:10 VIRT_DBUS_INTERFACES_DIR='<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-32/ws/data'> abs_top_builddir='<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-32/ws/build'> <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-32/ws/tests/test_network.py>
--- stdout ---
============================= test session starts ==============================
platform linux -- Python 3.8.2, pytest-4.6.9, py-1.8.0, pluggy-0.13.0
rootdir: <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-32/ws/>
collected 7 items

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

=========================== 7 passed in 1.34 seconds ===========================
-------

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

--- command ---
07:45:11 VIRT_DBUS_INTERFACES_DIR='<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-32/ws/data'> abs_top_builddir='<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-32/ws/build'> <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-32/ws/tests/test_nodedev.py>
--- stdout ---
============================= test session starts ==============================
platform linux -- Python 3.8.2, pytest-4.6.9, py-1.8.0, pluggy-0.13.0
rootdir: <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-32/ws/>
collected 4 items

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

=========================== 4 passed in 0.81 seconds ===========================
-------

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

--- command ---
07:45:13 VIRT_DBUS_INTERFACES_DIR='<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-32/ws/data'> abs_top_builddir='<https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-32/ws/build'> <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-32/ws/tests/test_storage.py>
--- stdout ---
============================= test session starts ==============================
platform linux -- Python 3.8.2, pytest-4.6.9, py-1.8.0, pluggy-0.13.0
rootdir: <https://ci.centos.org/job/libvirt-dbus-check/systems=libvirt-fedora-32/ws/>
collected 16 items

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

========================== 16 passed in 3.16 seconds ===========================
-------

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

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