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.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.

** Attachment added: "stack trace"
   
https://bugs.launchpad.net/ubuntu/+source/udisks2/+bug/1585382/+attachment/4786287/+files/stacktrace.txt

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to udisks2 in Ubuntu.
https://bugs.launchpad.net/bugs/1585382

Title:
  test_internal_fs_allowed crashes with SIGABRT

Status in udisks2 package in Ubuntu:
  Fix Committed

Bug description:
  udisks2's tests now often fail with

  test_internal_fs_allowed (__main__.Polkit)
  Create FS on internal drive (allowed) ... Aborted (core dumped)

  See http://autopkgtest.ubuntu.com/packages/u/udisks2/yakkety/amd64/

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udisks2/+bug/1585382/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to