From: Pauli Virtanen <noreply@github.com>
To: linux-bluetooth@vger.kernel.org
Subject: [bluez/bluez] ccca92: test: functional: retry pairable when Busy
Date: Sat, 10 Oct 2026 15:46:08 -0700 [thread overview]
Message-ID: <bluez/bluez/push/refs/heads/1183123/000000-ccca92@github.com> (raw)
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
reply other threads:[~2026-10-10 22:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bluez/bluez/push/refs/heads/1183123/000000-ccca92@github.com \
--to=noreply@github.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox