Comment 3 for bug 1585382

Martin Pitt (pitti) wrote : now has two failures with core dumps. I extracted the stack trace from the topmost one.

This one is interesting:

        f = Frame 0xb662ccec, for file src/tests/, line 184, in spawn (allowed_actions=['org.freedesktop.udisks2.modify-device-system', 'org.freedesktop.udisks2.modify-device'], on_bus=None, pid=18994, bus=<BusConnection(_signal_recipients_by_object_path={}, _Connection__call_on_disconnection=[], _signals_lock=<_thread.lock at remote 0xb6330a10>, _signal_sender_matches={}, _dbus_Connection_initialized=1, _bus_names=<WeakValueDictionary(_iterating=set(), _remove=<function at remote 0xb633a4f4>, data={}, _pending_removals=[]) at remote 0xb50c038c>) at remote 0xb634683c>, timeout=49)

that suggests it hits this code path in src/tests/

    for timeout in range(50):
            p = dbus.Interface(bus.get_object('org.freedesktop.DBus', '/org/freedesktop/DBus'),
        except dbus.exceptions.DBusException:
        if p == pid:
        sys.stderr.write('test polkitd failed to start up\n')

i. e. it timed out waiting for the mocked polkit to appear on the bus.