Linux bluetooth development
 help / color / mirror / Atom feed
From: Michal Dzik <michal.dzik@streamunlimited.com>
To: Luiz Augusto von Dentz <luiz.dentz@gmail.com>,
	linux-bluetooth@vger.kernel.org
Subject: Re: [BlueZ] adapter: remove bondable mode hijacking when setting IO capabilities
Date: Wed, 23 Sep 2026 17:19:53 +0200	[thread overview]
Message-ID: <0667c660-e0ad-4aba-a4de-947cb54bd204@streamunlimited.com> (raw)
In-Reply-To: <CABBYNZJd83=-_a8=LPvfKSoRWZ_bYEDAYu1nXVrnDr4ezyAMtg@mail.gmail.com>

Hi Luiz,
The worst part is that those two tests 
(test_bap_unicast_set_transport_created, 
test_bap_unicast_set_transport_acquire) are always failing on my PC. 
Every time, even on clean master branch. I guess I have to hold this for 
now and get back when I have more time to dig deeper into those bap tests.
Michal

On 22/09/2026 17:12, Luiz Augusto von Dentz wrote:
> Hi Michal,
>
> On Tue, Sep 22, 2026 at 8:34 AM <bluez.test.bot@gmail.com> wrote:
>> This is automated email and please do not reply to this email!
>>
>> Dear submitter,
>>
>> Thank you for submitting the patches to the linux bluetooth mailing list.
>> This is a CI test results with your patch series:
>> PW Link:https://patchwork.kernel.org/series/1171262/
>>
>> ---Test result---
>>
>> Test Summary:
>> CheckPatch                    PASS      0.34 seconds
>> GitLint                       PASS      0.26 seconds
>> BuildEll                      PASS      14.57 seconds
>> BluezMake                     PASS      228.44 seconds
>> CheckSmatch                   PASS      176.03 seconds
>> bluezmakeextell               PASS      65.22 seconds
>> TestFunctional                FAIL      909.09 seconds
>> IncrementalBuild              PASS      224.88 seconds
>> ScanBuild                     PASS      635.16 seconds
>>
>> Details
>> ##############################
>> Test: TestFunctional - FAIL
>> Desc: Run test-functional
>> Output:
>> FAIL functional.test_bap::test_bap_unicast_set_transport_created[hosts8-vm3-sc]: failed on setup with "pytest_bluezenv.rpc.RemoteError: <pexpect.popen_spawn.PopenSpawn object at 0x7f83a2bc2a50>
>>      searcher: searcher_re:
>>          0: re.compile(b'(Failed to \\w+[^\\r\\n]*)')
>>          1: re.compile(b'(Device \\S+ not available)')
>>          2: re.compile(b'DeviceSet /org/bluez/hci0/set_fb34645b15340bc5f081d63e70ae1f86')
>>          3: re.compile(b'Device 00:AA:01:02:00:42 Bonded: yes')
>>          4: re.compile(b'Transport (/org/bluez/hci0/dev_00_AA_01_02_00_42/pac_sink\\d+/fd\\d+)')
>>      <pexpect.popen_spawn.PopenSpawn object at 0x7f83a2bc2a50>
>>      searcher: searcher_re:
>>          0: re.compile(b'(Failed to \\w+[^\\r\\n]*)')
>>          1: re.compile(b'(Device \\S+ not available)')
>>          2: re.compile(b'DeviceSet /org/bluez/hci0/set_fb34645b15340bc5f081d63e70ae1f86')
>>          3: re.compile(b'Device 00:AA:01:02:00:42 Bonded: yes')
>>          4: re.compile(b'Transport (/org/bluez/hci0/dev_00_AA_01_02_00_42/pac_sink\\d+/fd\\d+)')
>>      Remote traceback:
>>          Traceback (most recent call last):
>>            File "/usr/local/lib/python3.14/dist-packages/pytest_bluezenv/../pytest_bluezenv/rpc.py", line 102, in server_stream
>>              result = method(*msg["a"], **msg["kw"])
>>            File "/usr/local/lib/python3.14/dist-packages/pytest_bluezenv/../pytest_bluezenv/env.py", line 256, in call_plugin
>>              return getattr(self.plugins[name], method)(*a, **kw)
>>                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
>>            File "/usr/local/lib/python3.14/dist-packages/pytest_bluezenv/../pytest_bluezenv/host_plugins.py", line 441, in expect
>>              ret = ctl.expect(*a, **kw)
>>            File "/usr/lib/python3/dist-packages/pexpect/spawnbase.py", line 354, in expect
>>              return self.expect_list(compiled_pattern_list,
>>                     ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
>>                      timeout, searchwindowsize, async_)
>>                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>            File "/usr/lib/python3/dist-packages/pexpect/spawnbase.py", line 383, in expect_list
>>              return exp.expect_loop(timeout)
>>                     ~~~~~~~~~~~~~~~^^^^^^^^^
>>            File "/usr/lib/python3/dist-packages/pexpect/expect.py", line 181, in expect_loop
>>              return self.timeout(e)
>>                     ~~~~~~~~~~~~^^^
>>            File "/usr/lib/python3/dist-packages/pexpect/expect.py", line 144, in timeout
>>              raise exc
>>          pexpect.exceptions.TIMEOUT: <pexpect.popen_spawn.PopenSpawn object at 0x7f83a2bc2a50>
>>          searcher: searcher_re:
>>              0: re.compile(b'(Failed to \\w+[^\\r\\n]*)')
>>              1: re.compile(b'(Device \\S+ not available)')
>>              2: re.compile(b'DeviceSet /org/bluez/hci0/set_fb34645b15340bc5f081d63e70ae1f86')
>>              3: re.compile(b'Device 00:AA:01:02:00:42 Bonded: yes')
>>              4: re.compile(b'Transport (/org/bluez/hci0/dev_00_AA_01_02_00_42/pac_sink\\d+/fd\\d+)')
>>          <pexpect.popen_spawn.PopenSpawn object at 0x7f83a2bc2a50>
>>          searcher: searcher_re:
>>              0: re.compile(b'(Failed to \\w+[^\\r\\n]*)')
>>              1: re.compile(b'(Device \\S+ not available)')
>>              2: re.compile(b'DeviceSet /org/bluez/hci0/set_fb34645b15340bc5f081d63e70ae1f86')
>>              3: re.compile(b'Device 00:AA:01:02:00:42 Bonded: yes')
>>              4: re.compile(b'Transport (/org/bluez/hci0/dev_00_AA_01_02_00_42/pac_sink\\d+/fd\\d+)')"
>> FAIL functional.test_bap::test_bap_unicast_set_transport_created[hosts8-vm3-legacy]: failed on setup with "pytest_bluezenv.rpc.RemoteError: <pexpect.popen_spawn.PopenSpawn object at 0x7f83a2bc2a50>
>>      searcher: searcher_re:
>>          0: re.compile(b'(Failed to \\w+[^\\r\\n]*)')
>>          1: re.compile(b'(Device \\S+ not available)')
>>          2: re.compile(b'DeviceSet /org/bluez/hci0/set_fb34645b15340bc5f081d63e70ae1f86')
>>          3: re.compile(b'Device 00:AA:01:02:00:42 Bonded: yes')
>>          4: re.compile(b'Transport (/org/bluez/hci0/dev_00_AA_01_02_00_42/pac_sink\\d+/fd\\d+)')
>>      <pexpect.popen_spawn.PopenSpawn object at 0x7f83a2bc2a50>
>>      searcher: searcher_re:
>>          0: re.compile(b'(Failed to \\w+[^\\r\\n]*)')
>>          1: re.compile(b'(Device \\S+ not available)')
>>          2: re.compile(b'DeviceSet /org/bluez/hci0/set_fb34645b15340bc5f081d63e70ae1f86')
>>          3: re.compile(b'Device 00:AA:01:02:00:42 Bonded: yes')
>>          4: re.compile(b'Transport (/org/bluez/hci0/dev_00_AA_01_02_00_42/pac_sink\\d+/fd\\d+)')
>>      Remote traceback:
>>          Traceback (most recent call last):
>>            File "/usr/local/lib/python3.14/dist-packages/pytest_bluezenv/../pytest_bluezenv/rpc.py", line 102, in server_stream
>>              result = method(*msg["a"], **msg["kw"])
>>            File "/usr/local/lib/python3.14/dist-packages/pytest_bluezenv/../pytest_bluezenv/env.py", line 256, in call_plugin
>>              return getattr(self.plugins[name], method)(*a, **kw)
>>                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
>>            File "/usr/local/lib/python3.14/dist-packages/pytest_bluezenv/../pytest_bluezenv/host_plugins.py", line 441, in expect
>>              ret = ctl.expect(*a, **kw)
>>            File "/usr/lib/python3/dist-packages/pexpect/spawnbase.py", line 354, in expect
>>              return self.expect_list(compiled_pattern_list,
>>                     ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
>>                      timeout, searchwindowsize, async_)
>>                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>            File "/usr/lib/python3/dist-packages/pexpect/spawnbase.py", line 383, in expect_list
>>              return exp.expect_loop(timeout)
>>                     ~~~~~~~~~~~~~~~^^^^^^^^^
>>            File "/usr/lib/python3/dist-packages/pexpect/expect.py", line 181, in expect_loop
>>              return self.timeout(e)
>>                     ~~~~~~~~~~~~^^^
>>            File "/usr/lib/python3/dist-packages/pexpect/expect.py", line 144, in timeout
>>              raise exc
>>          pexpect.exceptions.TIMEOUT: <pexpect.popen_spawn.PopenSpawn object at 0x7f83a2bc2a50>
>>          searcher: searcher_re:
>>              0: re.compile(b'(Failed to \\w+[^\\r\\n]*)')
>>              1: re.compile(b'(Device \\S+ not available)')
>>              2: re.compile(b'DeviceSet /org/bluez/hci0/set_fb34645b15340bc5f081d63e70ae1f86')
>>              3: re.compile(b'Device 00:AA:01:02:00:42 Bonded: yes')
>>              4: re.compile(b'Transport (/org/bluez/hci0/dev_00_AA_01_02_00_42/pac_sink\\d+/fd\\d+)')
>>          <pexpect.popen_spawn.PopenSpawn object at 0x7f83a2bc2a50>
>>          searcher: searcher_re:
>>              0: re.compile(b'(Failed to \\w+[^\\r\\n]*)')
>>              1: re.compile(b'(Device \\S+ not available)')
>>              2: re.compile(b'DeviceSet /org/bluez/hci0/set_fb34645b15340bc5f081d63e70ae1f86')
>>              3: re.compile(b'Device 00:AA:01:02:00:42 Bonded: yes')
>>              4: re.compile(b'Transport (/org/bluez/hci0/dev_00_AA_01_02_00_42/pac_sink\\d+/fd\\d+)')"
>> FAIL functional.test_bap::test_bap_unicast_set_transport_acquire[hosts8-vm3]: failed on setup with "pytest_bluezenv.rpc.RemoteError: <pexpect.popen_spawn.PopenSpawn object at 0x7f83a2bc2a50>
>>      searcher: searcher_re:
>>          0: re.compile(b'(Failed to \\w+[^\\r\\n]*)')
>>          1: re.compile(b'(Device \\S+ not available)')
>>          2: re.compile(b'DeviceSet /org/bluez/hci0/set_fb34645b15340bc5f081d63e70ae1f86')
>>          3: re.compile(b'Device 00:AA:01:02:00:42 Bonded: yes')
>>          4: re.compile(b'Transport (/org/bluez/hci0/dev_00_AA_01_02_00_42/pac_sink\\d+/fd\\d+)')
>>      <pexpect.popen_spawn.PopenSpawn object at 0x7f83a2bc2a50>
>>      searcher: searcher_re:
>>          0: re.compile(b'(Failed to \\w+[^\\r\\n]*)')
>>          1: re.compile(b'(Device \\S+ not available)')
>>          2: re.compile(b'DeviceSet /org/bluez/hci0/set_fb34645b15340bc5f081d63e70ae1f86')
>>          3: re.compile(b'Device 00:AA:01:02:00:42 Bonded: yes')
>>          4: re.compile(b'Transport (/org/bluez/hci0/dev_00_AA_01_02_00_42/pac_sink\\d+/fd\\d+)')
>>      Remote traceback:
>>          Traceback (most recent call last):
>>            File "/usr/local/lib/python3.14/dist-packages/pytest_bluezenv/../pytest_bluezenv/rpc.py", line 102, in server_stream
>>              result = method(*msg["a"], **msg["kw"])
>>            File "/usr/local/lib/python3.14/dist-packages/pytest_bluezenv/../pytest_bluezenv/env.py", line 256, in call_plugin
>>              return getattr(self.plugins[name], method)(*a, **kw)
>>                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
>>            File "/usr/local/lib/python3.14/dist-packages/pytest_bluezenv/../pytest_bluezenv/host_plugins.py", line 441, in expect
>>              ret = ctl.expect(*a, **kw)
>>            File "/usr/lib/python3/dist-packages/pexpect/spawnbase.py", line 354, in expect
>>              return self.expect_list(compiled_pattern_list,
>>                     ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
>>                      timeout, searchwindowsize, async_)
>>                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>            File "/usr/lib/python3/dist-packages/pexpect/spawnbase.py", line 383, in expect_list
>>              return exp.expect_loop(timeout)
>>                     ~~~~~~~~~~~~~~~^^^^^^^^^
>>            File "/usr/lib/python3/dist-packages/pexpect/expect.py", line 181, in expect_loop
>>              return self.timeout(e)
>>                     ~~~~~~~~~~~~^^^
>>            File "/usr/lib/python3/dist-packages/pexpect/expect.py", line 144, in timeout
>>              raise exc
>>          pexpect.exceptions.TIMEOUT: <pexpect.popen_spawn.PopenSpawn object at 0x7f83a2bc2a50>
>>          searcher: searcher_re:
>>              0: re.compile(b'(Failed to \\w+[^\\r\\n]*)')
>>              1: re.compile(b'(Device \\S+ not available)')
>>              2: re.compile(b'DeviceSet /org/bluez/hci0/set_fb34645b15340bc5f081d63e70ae1f86')
>>              3: re.compile(b'Device 00:AA:01:02:00:42 Bonded: yes')
>>              4: re.compile(b'Transport (/org/bluez/hci0/dev_00_AA_01_02_00_42/pac_sink\\d+/fd\\d+)')
>>          <pexpect.popen_spawn.PopenSpawn object at 0x7f83a2bc2a50>
>>          searcher: searcher_re:
>>              0: re.compile(b'(Failed to \\w+[^\\r\\n]*)')
>>              1: re.compile(b'(Device \\S+ not available)')
>>              2: re.compile(b'DeviceSet /org/bluez/hci0/set_fb34645b15340bc5f081d63e70ae1f86')
>>              3: re.compile(b'Device 00:AA:01:02:00:42 Bonded: yes')
>>              4: re.compile(b'Transport (/org/bluez/hci0/dev_00_AA_01_02_00_42/pac_sink\\d+/fd\\d+)')"
>>
>>
>> https://github.com/bluez/bluez/pull/2566
> This one seems to be causing some instability on test-functional. I'm
> not quite sure why but I'm afraid it is related to changing the
> bonding behavior.
>
>
-- 
Michał Dzik
Software Engineer

StreamUnlimited Engineering GmbH - part of Bose Audio Technology
High Tech Campus Vienna, Gutheil-Schoder-Gasse 10, 1100 Vienna, Austria

michal.dzik@streamunlimited.com, www.streamunlimited.com
Offices: Vienna | Bratislava | Shenzhen | Osaka | Boston


  reply	other threads:[~2026-09-23 15:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-22 11:12 [PATCH BlueZ] adapter: remove bondable mode hijacking when setting IO capabilities Michal Dzik
2026-09-22 12:24 ` [BlueZ] " bluez.test.bot
2026-09-22 15:12   ` Luiz Augusto von Dentz
2026-09-23 15:19     ` Michal Dzik [this message]
2026-09-23 15:52       ` Luiz Augusto von Dentz
2026-10-07 12:05 ` bluez.test.bot

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=0667c660-e0ad-4aba-a4de-947cb54bd204@streamunlimited.com \
    --to=michal.dzik@streamunlimited.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=luiz.dentz@gmail.com \
    /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