bluetooth_obex tests using obexftp output invalid characters

Bug #1060332 reported by Brendan Donegan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox
Fix Released
Medium
Brendan Donegan

Bug Description

The jobs suspend/bluetooth_obex_send/browse/get_before/after_suspend use the commands from the obexftp package. These commands display a spinner which end up as invalid characters in the command output - looking like '^H'. The output of these commands needs to be piped through ansi_parser to remove these characters.

Related branches

Changed in checkbox:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Brendan Donegan (brendan-donegan)
Revision history for this message
Jeffrey Chang (modern911) wrote :

I'm running checkbox 0.14.6+bzr1740+201210070858~precise1,
with only bluetooth_obex automatic test cases in whitelist, and other dependency of course.
I still see some error when generating test report,
 like "The generated report seems to have validation errors, so it might not be processed by Launchpad."
And no xls report generated.

BTW, I found all these test were failed with "dpkg-query: error: error writing to '<standard output>': Broken pipe Usage: bt_send.sh <file to send> <bluetooth mac address> <send|browse|get|remove> "
When I manually run the command, they were all pass without problem.

Please see attached for ~/.cache/checkbox data.

Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

For me there are no validation errors, however the reason the tests are failing is because the BTDEVADDR environment variable needs to be set through the checkbox.ini file with a line like:

'btdevaddr = <BT HW Address>'

in the section 'checkbox/plugins/environment_info'

Changed in checkbox:
status: In Progress → Fix Committed
Changed in 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.