bluetooth_obex_before_suspend needs bt detect logic

Bug #921128 reported by Marc Legris
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox
Fix Released
Medium
Daniel Manrique

Bug Description

I'm seeing this test fail on systems that do not have bluetooth, where it should be skipped. hciconfig hci0 or rfkill list could be utilized to check if a system can run this test.

Related branches

Revision history for this message
Daniel Manrique (roadmr) wrote :

Hi,

There are two things to check here. First, the job definition should require device.category == 'BLUETOOTH' (which they don't, so this may be the problem). Second, udev_resource should assign category: BLUETOOTH to bluetooth devices (this part is working fine in trunk).

I'll mark as Triaged. What needs to be done: add require device.category == 'BLUETOOTH' to all bluetooth_obex jobs.

Changed in checkbox:
status: Confirmed → Triaged
milestone: none → 0.13.1
tags: added: checkbox-testsuite
visibility: private → public
Daniel Manrique (roadmr)
Changed in checkbox:
status: Triaged → In Progress
assignee: nobody → Daniel Manrique (roadmr)
Marc Tardif (cr3)
Changed in checkbox:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers