[Libvirt-ci] Build failed in Jenkins: libvirt-dbus-master-check » libvirt-fedora-rawhide #30

See <https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-fedora-rawhide/30/display/redirect> ------------------------------------------ [...truncated 18.78 KB...] 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.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. /usr/lib64/python3.6/site-packages/dbus/connection.py:651: DBusException ----------------------------- Captured stderr call ----------------------------- (libvirt-dbus:23244): GLib-GIO-WARNING **: 09:26:29.832: Type of return value is incorrect: expected '(ao)', got '()'' Disconnected from D-Bus. ___________________________ TestDomain.test_suspend ____________________________ self = <test_domain.TestDomain object at 0x7f8a4abdb320> def test_suspend(self): def domain_suspended(path, _event): assert isinstance(path, dbus.ObjectPath) self.loop.quit() self.connect.connect_to_signal('DomainEvent', domain_suspended, arg1='Suspended')
obj, domain = self.domain()
../../tests/test_domain.py:104: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../tests/libvirttest.py:73: in domain path = self.connect.ListDomains(0)[0] /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 0x7f8a4b0e3af0> bus_name = dbus.String(':1.1'), object_path = '/org/libvirt/Test' dbus_interface = 'org.libvirt.Connect', method = 'ListDomains', 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, iface: org.libvirt.Connect, member: ListDomains dest: :1.1> 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.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. /usr/lib64/python3.6/site-packages/dbus/connection.py:651: DBusException ----------------------------- Captured stderr call ----------------------------- (libvirt-dbus:23244): GLib-GIO-WARNING **: 09:26:56.317: Type of return value is incorrect: expected '(ao)', got '()'' Disconnected from D-Bus. ___________________________ TestDomain.test_undefine ___________________________ self = <test_domain.TestDomain object at 0x7f8a4aafa588> def test_undefine(self): def domain_undefined(path, _event): assert isinstance(path, dbus.ObjectPath) self.loop.quit() self.connect.connect_to_signal('DomainEvent', domain_undefined, arg1='Undefined')
_, domain = self.domain()
../../tests/test_domain.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../tests/libvirttest.py:73: in domain path = self.connect.ListDomains(0)[0] /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 0x7f8a4b0e3af0> bus_name = dbus.String(':1.1'), object_path = '/org/libvirt/Test' dbus_interface = 'org.libvirt.Connect', method = 'ListDomains', 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, iface: org.libvirt.Connect, member: ListDomains dest: :1.1> 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.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. /usr/lib64/python3.6/site-packages/dbus/connection.py:651: DBusException ----------------------------- Captured stderr call ----------------------------- (libvirt-dbus:23244): GLib-GIO-WARNING **: 09:27:21.925: Type of return value is incorrect: expected '(ao)', got '()'' Disconnected from D-Bus. _________________________ TestDomain.test_domain_vcpus _________________________ self = <test_domain.TestDomain object at 0x7f8a4ab62908> def test_domain_vcpus(self):
obj, domain = self.domain()
../../tests/test_domain.py:126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../tests/libvirttest.py:73: in domain path = self.connect.ListDomains(0)[0] /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 0x7f8a4b0e3af0> bus_name = dbus.String(':1.1'), object_path = '/org/libvirt/Test' dbus_interface = 'org.libvirt.Connect', method = 'ListDomains', 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, iface: org.libvirt.Connect, member: ListDomains dest: :1.1> 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.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. /usr/lib64/python3.6/site-packages/dbus/connection.py:651: DBusException ----------------------------- Captured stderr call ----------------------------- (libvirt-dbus:23244): GLib-GIO-WARNING **: 09:27:47.231: Type of return value is incorrect: expected '(ao)', got '()'' Disconnected from D-Bus. --------------------------- Captured stderr teardown --------------------------- Disconnected from D-Bus. ================ 7 failed, 1 passed, 1 error in 183.68 seconds ================= FAIL test_domain.py (exit status: 1) + exit 1 Build step 'Execute shell' marked build as failure

participants (1)
-
ci@centos.org