bluetooth4/HOGP-keyboard has ImportError

Bug #1612080 reported by Jerry Kao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
Fix Released
High
Unassigned

Bug Description

When run test bluetooth4/HOGP-keyboard, there is a ImportError causes the test is not able to proceed. The whole terminal information is as following.

-------------[ Running job 11 / 381. Estimated time left: unknown ]-------------
--------------------------[ bluetooth4/HOGP-keyboard ]--------------------------
ID: 2013.com.canonical.certification::bluetooth4/HOGP-keyboard
Category: 2013.com.canonical.plainbox::bluetooth
Purpose:

This test will check that you can use a HID Over GATT Profile (HOGP) with your Bluetooth Smart keyboard.

Steps:

1. Enable a Bluetooth Smart keyboard, and put it into paring mode.
2. Commence the test to do the auto-pairing, you will be asked to select targeting keyboard from the list.
3. After it's paired and connected, enter some text with your keyboard and close the small input test tool.

Pick an action
    => press ENTER to continue
  c => add a comment
  s => skip this job
  q => save the session and quit
[csq]:
... 8< -------------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/nest-ut2k99td.9aa68b7380c761481e1c62f2fa18e3eb503b49384939386810061fc7dbf9ef1c/bt_connect", line 26, in <module>
    import bt_helper
ImportError: No module named 'bt_helper'
------------------------------------------------------------------------- >8 ---
Outcome: job needs verification
Verification:

Did the Bluetooth Smart keyboard work as expected?

Please decide what to do next:
  outcome: job needs verification
  comments: none
Pick an action
  c => add a comment
  p => set outcome to pass
  f => set outcome to fail
  s => set outcome to skip
  r => re-run this job
    => set suggested outcome [job failed]

Now OEM QA are testing Bluetooth4 HID manually by pairing a set BT4.0 keyboard & mouse. But when check with 'sudo service bluetooth status', some information is as following

 八 11 14:39:59 u-Inspiron-5468 bluetoothd[879]: Unable to register GATT service with handle 0x0009 for device FB:8F:9A:1B:71:F6
 八 11 14:39:59 u-Inspiron-5468 bluetoothd[879]: Unable to register GATT service with handle 0x000e for device FB:8F:9A:1B:71:F6

I was wondering whether the bluetooth connection is over GATT Profile.

Related branches

Jerry Kao (jerry.kao)
tags: added: ce-qa-concern
Changed in plainbox-provider-checkbox:
status: New → Confirmed
importance: Undecided → High
Jerry Kao (jerry.kao)
description: updated
Pierre Equoy (pieq)
Changed in plainbox-provider-checkbox:
assignee: nobody → Pierre Equoy (pierre-equoy)
status: Confirmed → In Progress
milestone: none → 0.31
Pierre Equoy (pieq)
Changed in plainbox-provider-checkbox:
status: In Progress → Fix Committed
Revision history for this message
Pierre Equoy (pieq) wrote :

The packaging process did not include copying the Python module 'bt_helper.py' along with the script 'bt_connect' that requires it.

It's been fixed and now the Python module is copied properly.

Pierre Equoy (pieq)
Changed in plainbox-provider-checkbox:
assignee: Pierre Equoy (pierre-equoy) → nobody
Pierre Equoy (pieq)
Changed in plainbox-provider-checkbox:
status: Fix Committed → Fix Released
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.