sd_insert, usb_insert tests skipped directly on arm device (ubuntu server)

Bug #1854308 reported by Betty Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
Won't Fix
High
Unassigned

Bug Description

Platform: armv7l
Type: Freescale i.MX6 Quad/DualLite
Image: ubuntu server

Description:
sd_insert, sdhc_insert, sdxc_insert and usb_insert skipped directly when running the tests.

Logs:
-------------[ Running job 15 / 17. Estimated time left: unknown ]--------------
-----------------[ USB 2.0 storage device insertion detected ]------------------
ID: com.canonical.certification::usb/insert
Category: com.canonical.plainbox::usb
Purpose:

Check system can detect USB 2.0 storage when inserted

Steps:

1. Press continue
2. Wait until the message "INSERT NOW" is printed on the screen
3. Connect USB 2.0 storage device

Pick an action
    => press ENTER to continue
  c => add a comment
  s => skip this job
  q => save the session and quit
[csq]:
... 8< -------------------------------------------------------------------------

INSERT NOW

Traceback (most recent call last):
  File "/snap/checkbox18/current/usr/lib/python3/dist-packages/dbus/bus.py", line 175, in activate_name_owner
    return self.get_name_owner(bus_name)
  File "/snap/checkbox18/current/usr/lib/python3/dist-packages/dbus/bus.py", line 361, in get_name_owner
    's', (bus_name,), **keywords)
  File "/snap/checkbox18/current/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.freedesktop.UDisks': no such name

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/tmp/nest-55oxth43.b50eb81b62c7523b0d9abbc24851fcea6ed851ac4829567ea59a6c142f23877f/removable_storage_watcher", line 906, in <module>
    sys.exit(main())
  File "/tmp/nest-55oxth43.b50eb81b62c7523b0d9abbc24851fcea6ed851ac4829567ea59a6c142f23877f/removable_storage_watcher", line 901, in main
    return listener.check(args.timeout)
  File "/tmp/nest-55oxth43.b50eb81b62c7523b0d9abbc24851fcea6ed851ac4829567ea59a6c142f23877f/removable_storage_watcher", line 96, in check
    self._starting_devices = self.get_existing_devices()
  File "/tmp/nest-55oxth43.b50eb81b62c7523b0d9abbc24851fcea6ed851ac4829567ea59a6c142f23877f/removable_storage_watcher", line 214, in get_existing_devices
    "/org/freedesktop/UDisks")
  File "/snap/checkbox18/current/usr/lib/python3/dist-packages/dbus/bus.py", line 241, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/snap/checkbox18/current/usr/lib/python3/dist-packages/dbus/proxies.py", line 248, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/snap/checkbox18/current/usr/lib/python3/dist-packages/dbus/bus.py", line 180, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/snap/checkbox18/current/usr/lib/python3/dist-packages/dbus/bus.py", line 278, in start_service_by_name
    'su', (bus_name, flags)))
  File "/snap/checkbox18/current/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UDisks was not provided by any .service files

Revision history for this message
Betty Lin (bettyl) wrote :
Changed in plainbox-provider-checkbox:
importance: Undecided → High
Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

workaround:
$ sudo apt install udisks2

Changed in plainbox-provider-checkbox:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.