[bluetooth/detect] test should not report a fail and trigger apport when run

Bug #874512 reported by Jeff Lane 
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
checkbox (Ubuntu)
New
Undecided
Unassigned

Bug Description

Doing a cert run and discovered that when bluetooth/detect fails (because no bluetooth device is found) it causes a failure and allows the user to fire apport.

This behaviour needs to be changed, and is a good example of why I would prefer checkbox be able to handle more than just pass and fail return codes. If we had another return code, we could have checkbox mark this and NOT fire apport_prompt and just go on.

Ultimately, with Ubuntu Friendly in mind, I think this is going to be confusing to users and aggravating to bug triagers as it will prompt users to unnecessarily file bugs (against bluez in this case)

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: bluez 4.96-0ubuntu3
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic i686
ApportVersion: 1.23-0ubuntu3
Architecture: i386
CheckboxCommand: hcitool dev | tail -n+2 | awk '{print $2}' |grep -E "^([0-9a-fA-F]{2}\:){5}[0-9a-fA-F]{2}$"
CheckboxDescription: Output address of detected Bluetooth device, if any, or exits with error if none is found.
CheckboxTest: bluetooth/detect
Date: Fri Oct 14 14:32:22 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
InterestingModules: bnep rfcomm bluetooth
MachineType: Dell Inc. Inspiron 1122
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=en_US.UTF-8
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-12-generic root=UUID=3a0b73b1-ff32-4b04-9cc5-ff4f60969990 ro quiet splash initcall_debug vt.handoff=7
SourcePackage: bluez
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/02/2010
dmi.bios.vendor: Dell Inc.
dmi.bios.version: X09
dmi.board.name: 0XDYKV
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: X09
dmi.modalias: dmi:bvnDellInc.:bvrX09:bd12/02/2010:svnDellInc.:pnInspiron1122:pvrX09:rvnDellInc.:rn0XDYKV:rvr:cvnDellInc.:ct8:cvrX09:
dmi.product.name: Inspiron 1122
dmi.product.version: X09
dmi.sys.vendor: Dell Inc.
hciconfig:

Revision history for this message
Jeff Lane  (bladernr) wrote :
affects: bluez (Ubuntu) → checkbox (Ubuntu)
Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

Hi Jeff,

Yeah, we should really be checking for a BLUETOOTH category device before running this. We had a bug before anyway, so I marked this as a dupe.

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.