[Libvirt-ci] Build failed in Jenkins: libvirt-dbus-master-check » libvirt-freebsd-11 #43

See <https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-freebsd-11/43/display/redirect> ------------------------------------------ Started by upstream project "libvirt-dbus-master-check" build number 43 originally caused by: Started by upstream project "libvirt-dbus-master-build" build number 46 originally caused by: Started by an SCM change [EnvInject] - Loading node environment variables. Building remotely on libvirt-freebsd-11 (libvirt) in workspace <https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-freebsd-11/ws/> [libvirt-dbus-master] $ /bin/sh -xe /tmp/jenkins7044303377880478502.sh + cd build + gmake -j3 check Making check in data gmake[1]: Entering directory '/usr<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-freebsd-11/ws/build/data'> gmake[1]: Nothing to be done for 'check'. gmake[1]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-freebsd-11/ws/build/data'> Making check in src gmake[1]: Entering directory '/usr<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-freebsd-11/ws/build/src'> gmake[1]: Nothing to be done for 'check'. gmake[1]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-freebsd-11/ws/build/src'> Making check in tests gmake[1]: Entering directory '/usr<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-freebsd-11/ws/build/tests'> gmake check-TESTS gmake[2]: Entering directory '/usr<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-freebsd-11/ws/build/tests'> gmake[3]: Entering directory '/usr<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-freebsd-11/ws/build/tests'> PASS: test_domain.py PASS: test_connect.py FAIL: test_network.py ============================================================================ Testsuite summary for libvirt-dbus 0.0.1 ============================================================================ # TOTAL: 3 # PASS: 2 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 ============================================================================ See tests/test-suite.log Please report to libvir-list@redhat.com ============================================================================ gmake[3]: *** [Makefile:533: test-suite.log] Error 1 gmake[3]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-freebsd-11/ws/build/tests'> gmake[2]: *** [Makefile:641: check-TESTS] Error 2 gmake[2]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-freebsd-11/ws/build/tests'> gmake[1]: *** [Makefile:725: check-am] Error 2 gmake[1]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-freebsd-11/ws/build/tests'> gmake: *** [Makefile:417: check-recursive] Error 1 + cat tests/test-suite.log ============================================== libvirt-dbus 0.0.1: tests/test-suite.log ============================================== # TOTAL: 3 # PASS: 2 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: test_network.py ===================== ============================= test session starts ============================== platform freebsd11 -- Python 3.6.4, pytest-3.4.2, py-1.5.3, pluggy-0.6.0 rootdir: /usr<https://ci.centos.org/job/libvirt-dbus-master-check/systems=libvirt-freebsd-11/ws/,> inifile: collected 8 items ../../tests/test_network.py ....E..F [100%] ==================================== ERRORS ==================================== ______________ ERROR at setup of TestNetwork.test_network_destroy ______________ self = <test_network.TestNetwork object at 0x808d9ba58> request = <SubRequest 'libvirt_dbus_setup' for <Function 'test_network_destroy'>> @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]) 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:42: TimeoutError =================================== FAILURES =================================== TestNetwork.test_network_update[add-first-ip-dhcp-host-0-\n <host mac='00:16:3e:77:e2:ed' name='foo.example.com' ip='192.168.122.10'/>\n -0] self = <test_network.TestNetwork object at 0x808d95630>, command = 'add-first' section = 'ip-dhcp-host', parentIndex = 0 xml_str = "\n <host mac='00:16:3e:77:e2:ed' name='foo.example.com' ip='192.168.122.10'/>\n " flags = 0 @pytest.mark.parametrize("command, section, parentIndex, xml_str, flags", [ ('add-first', 'ip-dhcp-host', 0, ip_dhcp_host_xml, 0), ]) def test_network_update(self, command, section, parentIndex, xml_str, flags):
_, test_network = self.test_network()
../../tests/test_network.py:86: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../tests/libvirttest.py:85: in test_network path = self.connect.ListNetworks(0)[0] /usr/local/lib/python3.6/site-packages/dbus/proxies.py:70: in __call__ return self._proxy_method(*args, **keywords) /usr/local/lib/python3.6/site-packages/dbus/proxies.py:145: in __call__ **keywords) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <dbus._dbus.SessionBus (session) at 0x808d9ca40> bus_name = dbus.String(':1.5'), object_path = '/org/libvirt/Test' dbus_interface = 'org.libvirt.Connect', method = 'ListNetworks', 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: ListNetworks dest: :1.5> 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/local/lib/python3.6/site-packages/dbus/connection.py:651: DBusException ----------------------------- Captured stderr call ----------------------------- (libvirt-dbus:51061): GLib-GIO-WARNING **: Type of return value is incorrect: expected '(ao)', got '()'' Disconnected from D-Bus. --------------------------- Captured stderr teardown --------------------------- Disconnected from D-Bus. ================= 1 failed, 6 passed, 1 error in 32.57 seconds ================= FAIL test_network.py (exit status: 1) + exit 1 Build step 'Execute shell' marked build as failure

participants (1)
-
ci@centos.org