f = Frame 0xb662ccec, for file src/tests/test_polkitd.py, 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/test_polkitd.py:
for timeout in range(50):
try:
p = dbus.Interface(bus.get_object('org.freedesktop.DBus', '/org/freedesktop/DBus'), 'org.freedesktop.DBus').GetConnectionUnixProcessID( bus.get_name_owner('org.freedesktop.PolicyKit1'))
except dbus.exceptions.DBusException: continue
if p == pid:
break time.sleep(0.1)
else: sys.stderr.write('test polkitd failed to start up\n')
os.abort()
i. e. it timed out waiting for the mocked polkit to appear on the bus.
http:// autopkgtest. ubuntu. com/packages/ udisks2/ zesty/i386 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/ test_polkitd. py, line 184, in spawn (allowed_ actions= ['org.freedeskt op.udisks2. modify- device- system' , 'org.freedeskto p.udisks2. modify- device' ], on_bus=None, pid=18994, bus=<BusConnect ion(_signal_ recipients_ by_object_ path={} , _Connection_ _call_on_ disconnection= [], _signals_ lock=<_ thread. lock at remote 0xb6330a10>, _signal_ sender_ matches= {}, _dbus_Connectio n_initialized= 1, _bus_names= <WeakValueDicti onary(_ 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/ test_polkitd. py:
for timeout in range(50): bus.get_ object( 'org.freedeskto p.DBus' , '/org/freedeskt op/DBus' ),
'org. freedesktop. DBus'). GetConnectionUn ixProcessID(
bus.get_ name_owner( 'org.freedeskto p.PolicyKit1' )) .DBusException:
continue
time.sleep( 0.1)
sys.stderr. write(' test polkitd failed to start up\n')
try:
p = dbus.Interface(
except dbus.exceptions
if p == pid:
break
else:
os.abort()
i. e. it timed out waiting for the mocked polkit to appear on the bus.