[Executing test case: BT_SCAN] 2026-03-13 15:44:36 - 

[INFO] 2026-03-13 15:44:36 - ------------------------------------------------------------

[INFO] 2026-03-13 15:44:36 - Starting BT_SCAN Testcase

[INFO] 2026-03-13 15:44:36 - Checking dependencies: bluetoothctl pgrep

[INFO] 2026-03-13 15:44:36 - Checking if bluetoothd is running...

[INFO] 2026-03-13 15:44:36 - bluetoothd is running

[INFO] 2026-03-13 15:44:36 - Using adapter: hci0

[WARN] 2026-03-13 15:44:36 - bluetoothctl list returned no controllers in non-interactive mode.

[WARN] 2026-03-13 15:44:36 - On minimal/ramdisk images this can be normal; interactive bluetoothctl may still work.

[INFO] 2026-03-13 15:44:36 - Proceeding with interactive bluetoothctl for controller queries (non-interactive output incomplete on some images).

[PASS] 2026-03-13 15:44:39 - Power ON verified before scan.

[INFO] 2026-03-13 15:44:39 - No target MAC provided, BT_SCAN will check for generic device visibility.

[INFO] 2026-03-13 15:44:39 - Testing scan ON...

[INFO] 2026-03-13 15:44:39 - bt_set_scan(on): running 'bluetoothctl --timeout 15 scan on'

[INFO] 2026-03-13 15:44:56 - Discovering state after scan ON window: unknown

[INFO] 2026-03-13 15:44:58 - Devices seen by bluetoothctl after scan ON:

[INFO] 2026-03-13 15:44:58 -  Device 28:DE:65:7B:5D:88 28-DE-65-7B-5D-88

[INFO] 2026-03-13 15:44:58 -  Device 22:22:7B:05:EF:5F QCOM-BTD

[INFO] 2026-03-13 15:44:58 -  Device 22:22:4B:7C:FF:66 QCOM-BTD

[INFO] 2026-03-13 15:44:58 -  Device 6B:40:7E:12:F4:5C 6B-40-7E-12-F4-5C

[INFO] 2026-03-13 15:44:58 -  Device 4B:98:C7:4F:E5:C0 4B-98-C7-4F-E5-C0

[PASS] 2026-03-13 15:44:58 - At least one device discovered.

[INFO] 2026-03-13 15:44:58 - Testing scan OFF...

[INFO] 2026-03-13 15:44:58 - bt_set_scan(off): running 'bluetoothctl --timeout 5 scan off'

[WARN] 2026-03-13 15:45:03 - bt_set_scan(off): non-interactive scan off did not confirm stop; falling back to interactive bluetoothctl.

[INFO] 2026-03-13 15:45:04 - bt_set_scan(off): discovery already stopped, treating as success

[INFO] 2026-03-13 15:45:07 - Discovering state during scan OFF (iteration 1/10): no

[PASS] 2026-03-13 15:45:07 - Scan OFF cleanup completed.

[PASS] 2026-03-13 15:45:07 - BT_SCAN passed

[INFO] 2026-03-13 15:45:07 - ========== Test Summary ==========

PASSED:

BT_SCAN

FAILED:

 None

SKIPPED:

 None

[INFO] 2026-03-13 15:45:07 - ==================================