Linux bluetooth development
 help / color / mirror / Atom feed
* [bluez/bluez] ccca92: test: functional: retry pairable when Busy
@ 2026-10-10 22:46 Pauli Virtanen
  0 siblings, 0 replies; only message in thread
From: Pauli Virtanen @ 2026-10-10 22:46 UTC (permalink / raw)
  To: linux-bluetooth

  Branch: refs/heads/1183123
  Home:   https://github.com/bluez/bluez
  Commit: ccca929855e95a50928e3d6db7233b45330eb011
      https://github.com/bluez/bluez/commit/ccca929855e95a50928e3d6db7233b45330eb011
  Author: Pauli Virtanen <pav@iki.fi>
  Date:   2026-10-10 (Sat, 10 Oct 2026)

  Changed paths:
    M test/functional/test_a2dp.py
    M test/functional/test_bluetoothctl.py

  Log Message:
  -----------
  test: functional: retry pairable when Busy

bluetoothctl registers an agent on connect, which toggles bondable.
Before it completes, "pairable on" fails with org.bluez.Error.Busy.

Retry "pairable on" until accepted via a pairable_on() helper.

Fixes flaky test_bluetoothctl_pair_bredr / a2dp tests.

Log:
src/agent.c:add_default_agent() Default agent set to :1.2 /org/bluez/agent
src/adapter.c:set_mode() sending set mode command for index 0
src/agent.c:agent_ref() 0x7c1fb6700110: ref=1
src/agent.c:register_agent() agent :1.2
[:1.2:method_return] < [#22]
[:1.2:method_call] > org.freedesktop.DBus.Properties.Set [#31]
[:1.2:error] < org.bluez.Error.Busy [#31]
src/shared/mgmt.c:send_request() [0x0000] command 0x0009
src/shared/mgmt.c:can_read_data() [0x0000] command 0x0009 complete: 0x00
src/adapter.c:new_settings_callback() Settings: 0x03fc0ad1
src/adapter.c:settings_changed() Changed settings: 0x00000010
[bluetoothctl]> 	SupportedUUIDs: 0000110a-0000-1000-8000-00805f9b34fb
[bluetoothctl]> 	SupportedUUIDs: 0000110b-0000-1000-8000-00805f9b34fb
[bluetoothctl]> Agent registered
[bluetoothctl]> Failed to set pairable on: org.bluez.Error.Busy

Assisted-by: opencode:qwen3.8-flash-next



To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-10 22:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-10 22:46 [bluez/bluez] ccca92: test: functional: retry pairable when Busy Pauli Virtanen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox