0s autopkgtest [16:55:31]: starting date and time: 2025-11-17 16:55:31+0000 0s autopkgtest [16:55:31]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [16:55:31]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.85b7v54u/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:habluetooth --apt-upgrade habluetooth --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=habluetooth/5.7.0-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-cpu2-ram4-disk20-amd64 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@sto01-3.secgroup --name adt-resolute-amd64-habluetooth-20251117-165530-juju-7f2275-prod-proposed-migration-environment-20-c96c2ee3-5df8-485f-a9f8-59e9e5baadf2 --image adt/ubuntu-resolute-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-autopkgtest-workers-amd64 -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 3s Creating nova instance adt-resolute-amd64-habluetooth-20251117-165530-juju-7f2275-prod-proposed-migration-environment-20-c96c2ee3-5df8-485f-a9f8-59e9e5baadf2 from image adt/ubuntu-resolute-amd64-server-20251117.img (UUID 9762b0cc-7c5b-4854-acd5-cc74ad0de8c6)... 39s autopkgtest [16:56:10]: testbed dpkg architecture: amd64 40s autopkgtest [16:56:11]: testbed apt version: 3.1.11 40s autopkgtest [16:56:11]: @@@@@@@@@@@@@@@@@@@@ test bed setup 40s autopkgtest [16:56:11]: testbed release detected to be: None 41s autopkgtest [16:56:12]: updating testbed package index (apt update) 41s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [87.8 kB] 41s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 41s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 41s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 41s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [73.2 kB] 41s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [779 kB] 41s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [9852 B] 41s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [22.9 kB] 41s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [153 kB] 41s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [113 kB] 41s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 c-n-f Metadata [3236 B] 42s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 Packages [64.6 kB] 42s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/restricted i386 Packages [3744 B] 42s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 c-n-f Metadata [336 B] 42s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [254 kB] 42s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [543 kB] 42s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 c-n-f Metadata [20.1 kB] 42s Get:18 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [13.4 kB] 42s Get:19 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [6516 B] 42s Get:20 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 c-n-f Metadata [680 B] 43s Fetched 2149 kB in 1s (1772 kB/s) 44s Reading package lists... 44s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 44s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 44s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 44s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 45s Reading package lists... 45s Reading package lists... 45s Building dependency tree... 45s Reading state information... 45s Calculating upgrade... 45s The following packages will be upgraded: 45s apt libapt-pkg7.0 libcrypt-dev libcrypt1 libunwind8 usbutils 45s 6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 45s Need to get 2978 kB of archives. 45s After this operation, 46.1 kB of additional disk space will be used. 45s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 libcrypt-dev amd64 1:4.5.1-1 [122 kB] 45s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 libcrypt1 amd64 1:4.5.1-1 [90.7 kB] 45s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 libapt-pkg7.0 amd64 3.1.12 [1148 kB] 46s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 apt amd64 3.1.12 [1474 kB] 46s Get:5 http://ftpmaster.internal/ubuntu resolute/main amd64 usbutils amd64 1:019-1 [83.9 kB] 46s Get:6 http://ftpmaster.internal/ubuntu resolute/main amd64 libunwind8 amd64 1.8.3-0ubuntu1 [59.6 kB] 46s dpkg-preconfigure: unable to re-open stdin: No such file or directory 46s Fetched 2978 kB in 1s (4724 kB/s) 46s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 83372 files and directories currently installed.) 46s Preparing to unpack .../libcrypt-dev_1%3a4.5.1-1_amd64.deb ... 46s Unpacking libcrypt-dev:amd64 (1:4.5.1-1) over (1:4.4.38-1build1) ... 46s Preparing to unpack .../libcrypt1_1%3a4.5.1-1_amd64.deb ... 46s Unpacking libcrypt1:amd64 (1:4.5.1-1) over (1:4.4.38-1build1) ... 46s Setting up libcrypt1:amd64 (1:4.5.1-1) ... 46s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 83372 files and directories currently installed.) 46s Preparing to unpack .../libapt-pkg7.0_3.1.12_amd64.deb ... 46s Unpacking libapt-pkg7.0:amd64 (3.1.12) over (3.1.11) ... 46s Preparing to unpack .../archives/apt_3.1.12_amd64.deb ... 46s Unpacking apt (3.1.12) over (3.1.11) ... 46s Preparing to unpack .../usbutils_1%3a019-1_amd64.deb ... 46s Unpacking usbutils (1:019-1) over (1:018-2) ... 47s Preparing to unpack .../libunwind8_1.8.3-0ubuntu1_amd64.deb ... 47s Unpacking libunwind8:amd64 (1.8.3-0ubuntu1) over (1.8.1-0.1ubuntu1) ... 47s Setting up libunwind8:amd64 (1.8.3-0ubuntu1) ... 47s Setting up usbutils (1:019-1) ... 47s Setting up libcrypt-dev:amd64 (1:4.5.1-1) ... 47s Setting up libapt-pkg7.0:amd64 (3.1.12) ... 47s Setting up apt (3.1.12) ... 47s Processing triggers for man-db (2.13.1-1) ... 48s Processing triggers for libc-bin (2.42-2ubuntu2) ... 48s autopkgtest [16:56:19]: upgrading testbed (apt dist-upgrade and autopurge) 49s Reading package lists... 49s Building dependency tree... 49s Reading state information... 49s Calculating upgrade... 49s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 49s Reading package lists... 49s Building dependency tree... 49s Reading state information... 49s Solving dependencies... 50s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 50s autopkgtest [16:56:21]: rebooting testbed after setup commands that affected boot 78s autopkgtest [16:56:49]: testbed running kernel: Linux 6.17.0-5-generic #5-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 10:00:33 UTC 2025 80s autopkgtest [16:56:51]: @@@@@@@@@@@@@@@@@@@@ apt-source habluetooth 82s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/universe habluetooth 5.7.0-1 (dsc) [2584 B] 82s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/universe habluetooth 5.7.0-1 (tar) [168 kB] 82s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/universe habluetooth 5.7.0-1 (diff) [4772 B] 82s gpgv: Signature made Sun Oct 5 08:03:02 2025 UTC 82s gpgv: using RSA key FB8ACFA78C726089C38AD0269605A1098C63B92A 82s gpgv: Can't check signature: No public key 82s dpkg-source: warning: cannot verify inline signature for ./habluetooth_5.7.0-1.dsc: no acceptable signature found 82s autopkgtest [16:56:53]: testing package habluetooth version 5.7.0-1 82s autopkgtest [16:56:53]: build not needed 82s autopkgtest [16:56:53]: test pybuild-autopkgtest: preparing testbed 83s Reading package lists... 83s Building dependency tree... 83s Reading state information... 83s Solving dependencies... 83s The following NEW packages will be installed: 83s autoconf automake autopoint autotools-dev bluez build-essential cpp cpp-15 83s cpp-15-x86-64-linux-gnu cpp-x86-64-linux-gnu debhelper debugedit 83s dh-autoreconf dh-python dh-strip-nondeterminism docutils-common dwz 83s fonts-font-awesome fonts-lato furo g++ g++-15 g++-15-x86-64-linux-gnu 83s g++-x86-64-linux-gnu gcc gcc-15 gcc-15-x86-64-linux-gnu gcc-x86-64-linux-gnu 83s gettext intltool-debian libarchive-zip-perl libasan8 libasound2-data 83s libasound2t64 libcc1-0 libdebhelper-perl libfile-stripnondeterminism-perl 83s libgcc-15-dev libgomp1 libhwasan0 libisl23 libitm1 libjs-jquery 83s libjs-jquery-hotkeys libjs-jquery-isonscreen libjs-jquery-metadata 83s libjs-jquery-tablesorter libjs-jquery-throttle-debounce libjs-sphinxdoc 83s libjs-underscore libjson-perl liblsan0 libmpc3 libquadmath0 libstdc++-15-dev 83s libtool libtsan2 libubsan1 m4 po-debconf pybuild-plugin-autopkgtest 83s pybuild-plugin-pyproject python3-accessible-pygments python3-aiooui 83s python3-alabaster python3-all python3-async-generator 83s python3-async-interrupt python3-bleak python3-bleak-retry-connector 83s python3-bluetooth-adapters python3-bluetooth-auto-recovery 83s python3-bluetooth-data-tools python3-bs4 python3-btsocket python3-build 83s python3-coverage python3-dbus-fast python3-defusedxml python3-docutils 83s python3-freezegun python3-habluetooth python3-imagesize python3-iniconfig 83s python3-installer python3-mdit-py-plugins python3-myst-parser python3-pluggy 83s python3-poetry-core python3-pyproject-hooks python3-pyric python3-pytest 83s python3-pytest-asyncio python3-pytest-cov python3-roman 83s python3-snowballstemmer python3-soupsieve python3-sphinx 83s python3-uart-devices python3-usb-devices python3-wheel sgml-base 83s sphinx-basic-ng sphinx-common sphinx-rtd-theme-common xml-core 83s 0 upgraded, 106 newly installed, 0 to remove and 0 not upgraded. 83s Need to get 87.2 MB of archives. 83s After this operation, 302 MB of additional disk space will be used. 83s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 fonts-lato all 2.015-1 [2781 kB] 84s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 m4 amd64 1.4.20-2 [217 kB] 84s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 autoconf all 2.72-3.1ubuntu1 [384 kB] 84s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 autotools-dev all 20240727.1 [43.4 kB] 84s Get:5 http://ftpmaster.internal/ubuntu resolute/main amd64 automake all 1:1.18.1-2 [581 kB] 85s Get:6 http://ftpmaster.internal/ubuntu resolute/main amd64 autopoint all 0.23.2-1 [620 kB] 85s Get:7 http://ftpmaster.internal/ubuntu resolute/main amd64 libasound2-data all 1.2.14-2ubuntu1 [21.3 kB] 85s Get:8 http://ftpmaster.internal/ubuntu resolute/main amd64 libasound2t64 amd64 1.2.14-2ubuntu1 [409 kB] 85s Get:9 http://ftpmaster.internal/ubuntu resolute/main amd64 bluez amd64 5.84-1 [1555 kB] 85s Get:10 http://ftpmaster.internal/ubuntu resolute/main amd64 libisl23 amd64 0.27-1 [685 kB] 85s Get:11 http://ftpmaster.internal/ubuntu resolute/main amd64 libmpc3 amd64 1.3.1-2 [54.8 kB] 85s Get:12 http://ftpmaster.internal/ubuntu resolute/main amd64 cpp-15-x86-64-linux-gnu amd64 15.2.0-7ubuntu1 [12.9 MB] 86s Get:13 http://ftpmaster.internal/ubuntu resolute/main amd64 cpp-15 amd64 15.2.0-7ubuntu1 [1026 B] 86s Get:14 http://ftpmaster.internal/ubuntu resolute/main amd64 cpp-x86-64-linux-gnu amd64 4:15.2.0-4ubuntu1 [5746 B] 86s Get:15 http://ftpmaster.internal/ubuntu resolute/main amd64 cpp amd64 4:15.2.0-4ubuntu1 [22.4 kB] 86s Get:16 http://ftpmaster.internal/ubuntu resolute/main amd64 libcc1-0 amd64 15.2.0-7ubuntu1 [47.4 kB] 86s Get:17 http://ftpmaster.internal/ubuntu resolute/main amd64 libgomp1 amd64 15.2.0-7ubuntu1 [151 kB] 86s Get:18 http://ftpmaster.internal/ubuntu resolute/main amd64 libitm1 amd64 15.2.0-7ubuntu1 [29.7 kB] 86s Get:19 http://ftpmaster.internal/ubuntu resolute/main amd64 libasan8 amd64 15.2.0-7ubuntu1 [3071 kB] 86s Get:20 http://ftpmaster.internal/ubuntu resolute/main amd64 liblsan0 amd64 15.2.0-7ubuntu1 [1360 kB] 86s Get:21 http://ftpmaster.internal/ubuntu resolute/main amd64 libtsan2 amd64 15.2.0-7ubuntu1 [2757 kB] 86s Get:22 http://ftpmaster.internal/ubuntu resolute/main amd64 libubsan1 amd64 15.2.0-7ubuntu1 [1210 kB] 86s Get:23 http://ftpmaster.internal/ubuntu resolute/main amd64 libhwasan0 amd64 15.2.0-7ubuntu1 [1685 kB] 86s Get:24 http://ftpmaster.internal/ubuntu resolute/main amd64 libquadmath0 amd64 15.2.0-7ubuntu1 [153 kB] 86s Get:25 http://ftpmaster.internal/ubuntu resolute/main amd64 libgcc-15-dev amd64 15.2.0-7ubuntu1 [2864 kB] 86s Get:26 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc-15-x86-64-linux-gnu amd64 15.2.0-7ubuntu1 [25.4 MB] 87s Get:27 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc-15 amd64 15.2.0-7ubuntu1 [524 kB] 87s Get:28 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc-x86-64-linux-gnu amd64 4:15.2.0-4ubuntu1 [1208 B] 87s Get:29 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc amd64 4:15.2.0-4ubuntu1 [5024 B] 87s Get:30 http://ftpmaster.internal/ubuntu resolute/main amd64 libstdc++-15-dev amd64 15.2.0-7ubuntu1 [2573 kB] 87s Get:31 http://ftpmaster.internal/ubuntu resolute/main amd64 g++-15-x86-64-linux-gnu amd64 15.2.0-7ubuntu1 [14.4 MB] 87s Get:32 http://ftpmaster.internal/ubuntu resolute/main amd64 g++-15 amd64 15.2.0-7ubuntu1 [23.7 kB] 87s Get:33 http://ftpmaster.internal/ubuntu resolute/main amd64 g++-x86-64-linux-gnu amd64 4:15.2.0-4ubuntu1 [966 B] 87s Get:34 http://ftpmaster.internal/ubuntu resolute/main amd64 g++ amd64 4:15.2.0-4ubuntu1 [1100 B] 87s Get:35 http://ftpmaster.internal/ubuntu resolute/main amd64 build-essential amd64 12.12ubuntu1 [5080 B] 87s Get:36 http://ftpmaster.internal/ubuntu resolute/main amd64 libdebhelper-perl all 13.24.2ubuntu1 [95.7 kB] 87s Get:37 http://ftpmaster.internal/ubuntu resolute/main amd64 libtool all 2.5.4-7 [169 kB] 87s Get:38 http://ftpmaster.internal/ubuntu resolute/main amd64 dh-autoreconf all 21 [12.5 kB] 87s Get:39 http://ftpmaster.internal/ubuntu resolute/main amd64 libarchive-zip-perl all 1.68-1 [90.2 kB] 87s Get:40 http://ftpmaster.internal/ubuntu resolute/main amd64 libfile-stripnondeterminism-perl all 1.15.0-1 [20.5 kB] 87s Get:41 http://ftpmaster.internal/ubuntu resolute/main amd64 dh-strip-nondeterminism all 1.15.0-1 [5090 B] 87s Get:42 http://ftpmaster.internal/ubuntu resolute/main amd64 debugedit amd64 1:5.2-3 [49.9 kB] 87s Get:43 http://ftpmaster.internal/ubuntu resolute/main amd64 dwz amd64 0.16-2 [115 kB] 87s Get:44 http://ftpmaster.internal/ubuntu resolute/main amd64 gettext amd64 0.23.2-1 [1019 kB] 87s Get:45 http://ftpmaster.internal/ubuntu resolute/main amd64 intltool-debian all 0.35.0+20060710.6 [23.2 kB] 87s Get:46 http://ftpmaster.internal/ubuntu resolute/main amd64 po-debconf all 1.0.21+nmu1 [233 kB] 87s Get:47 http://ftpmaster.internal/ubuntu resolute/main amd64 debhelper all 13.24.2ubuntu1 [896 kB] 87s Get:48 http://ftpmaster.internal/ubuntu resolute/universe amd64 dh-python all 6.20250414 [119 kB] 87s Get:49 http://ftpmaster.internal/ubuntu resolute/main amd64 sgml-base all 1.31+nmu1 [11.0 kB] 87s Get:50 http://ftpmaster.internal/ubuntu resolute/main amd64 xml-core all 0.19 [20.3 kB] 87s Get:51 http://ftpmaster.internal/ubuntu resolute/main amd64 docutils-common all 0.21.2+dfsg-2 [131 kB] 87s Get:52 http://ftpmaster.internal/ubuntu resolute/main amd64 fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [516 kB] 87s Get:53 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-accessible-pygments all 0.0.5-2 [790 kB] 87s Get:54 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-soupsieve all 2.7-2 [33.6 kB] 87s Get:55 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-bs4 all 4.13.4-3 [137 kB] 87s Get:56 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-defusedxml all 0.7.1-3 [42.2 kB] 87s Get:57 http://ftpmaster.internal/ubuntu resolute/main amd64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 87s Get:58 http://ftpmaster.internal/ubuntu resolute/main amd64 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 87s Get:59 http://ftpmaster.internal/ubuntu resolute/main amd64 libjs-sphinxdoc all 8.2.3-1ubuntu2 [28.0 kB] 87s Get:60 http://ftpmaster.internal/ubuntu resolute/main amd64 libjson-perl all 4.10000-1 [81.9 kB] 87s Get:61 http://ftpmaster.internal/ubuntu resolute/main amd64 sphinx-common all 8.2.3-1ubuntu2 [656 kB] 87s Get:62 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-alabaster all 0.7.16-0.1 [18.5 kB] 87s Get:63 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-roman all 5.1-1 [10.6 kB] 87s Get:64 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-docutils all 0.21.2+dfsg-2 [409 kB] 87s Get:65 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-imagesize all 1.4.1-1 [6844 B] 87s Get:66 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-snowballstemmer all 3.0.1-1 [65.9 kB] 87s Get:67 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-sphinx all 8.2.3-1ubuntu2 [482 kB] 87s Get:68 http://ftpmaster.internal/ubuntu resolute/universe amd64 sphinx-basic-ng all 1.0.0~beta2-1 [12.0 kB] 87s Get:69 http://ftpmaster.internal/ubuntu resolute/universe amd64 furo all 2025.09.25+dfsg-2 [53.7 kB] 87s Get:70 http://ftpmaster.internal/ubuntu resolute/universe amd64 libjs-jquery-metadata all 12-4 [6582 B] 87s Get:71 http://ftpmaster.internal/ubuntu resolute/universe amd64 libjs-jquery-tablesorter all 1:2.31.3+dfsg1-4 [192 kB] 87s Get:72 http://ftpmaster.internal/ubuntu resolute/universe amd64 libjs-jquery-throttle-debounce all 1.1+dfsg.1-2 [12.5 kB] 87s Get:73 http://ftpmaster.internal/ubuntu resolute/universe amd64 pybuild-plugin-autopkgtest all 6.20250414 [1746 B] 87s Get:74 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-pyproject-hooks all 1.2.0-1 [10.2 kB] 87s Get:75 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-wheel all 0.46.1-2 [22.1 kB] 87s Get:76 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-build all 1.2.2-4 [31.0 kB] 87s Get:77 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-installer all 0.7.0+dfsg1-3 [17.4 kB] 87s Get:78 http://ftpmaster.internal/ubuntu resolute/universe amd64 pybuild-plugin-pyproject all 6.20250414 [1728 B] 87s Get:79 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-aiooui all 0.1.9-1 [312 kB] 87s Get:80 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-all amd64 3.13.7-1 [884 B] 87s Get:81 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-async-generator all 1.10-7 [18.1 kB] 87s Get:82 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-async-interrupt all 1.2.2-1 [6604 B] 87s Get:83 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-dbus-fast amd64 2.45.1-1 [960 kB] 87s Get:84 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-bleak all 1.1.1-1 [95.0 kB] 87s Get:85 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-uart-devices all 0.1.1-1 [6742 B] 87s Get:86 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-usb-devices all 0.4.5-2 [9014 B] 87s Get:87 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-bluetooth-adapters all 2.1.1-1 [13.7 kB] 87s Get:88 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-bleak-retry-connector all 4.4.4-1 [20.1 kB] 87s Get:89 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-btsocket all 0.3.0-1 [19.0 kB] 87s Get:90 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-pyric all 0.1.6.4+git20170421.0562b17-1 [114 kB] 87s Get:91 http://ftpmaster.internal/ubuntu resolute/main amd64 sphinx-rtd-theme-common all 3.0.2+dfsg-3 [1013 kB] 87s Get:92 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-bluetooth-auto-recovery all 1.5.3-1 [29.4 kB] 87s Get:93 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-bluetooth-data-tools amd64 1.28.4-1 [11.7 kB] 87s Get:94 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-coverage amd64 7.8.2+dfsg1-1 [157 kB] 87s Get:95 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-freezegun all 1.5.1-1.2 [15.9 kB] 87s Get:96 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 python3-habluetooth amd64 5.7.0-1 [73.6 kB] 87s Get:97 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-iniconfig all 2.1.0-1 [6840 B] 87s Get:98 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-mdit-py-plugins all 0.5.0-1 [31.5 kB] 87s Get:99 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-myst-parser all 4.0.1-1 [64.9 kB] 87s Get:100 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-pluggy all 1.6.0-1 [21.0 kB] 87s Get:101 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-poetry-core all 2.2.1-2 [226 kB] 87s Get:102 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-pytest all 8.3.5-2 [252 kB] 87s Get:103 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-pytest-asyncio all 0.25.1-1 [17.0 kB] 87s Get:104 http://ftpmaster.internal/ubuntu resolute/universe amd64 libjs-jquery-hotkeys all 0.2.0-1 [13.3 kB] 87s Get:105 http://ftpmaster.internal/ubuntu resolute/universe amd64 libjs-jquery-isonscreen all 1.2.0-1.1 [3244 B] 87s Get:106 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-pytest-cov all 5.0.0-1 [21.3 kB] 88s Fetched 87.2 MB in 4s (20.0 MB/s) 88s Selecting previously unselected package fonts-lato. 88s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 83372 files and directories currently installed.) 88s Preparing to unpack .../000-fonts-lato_2.015-1_all.deb ... 88s Unpacking fonts-lato (2.015-1) ... 88s Selecting previously unselected package m4. 88s Preparing to unpack .../001-m4_1.4.20-2_amd64.deb ... 88s Unpacking m4 (1.4.20-2) ... 88s Selecting previously unselected package autoconf. 88s Preparing to unpack .../002-autoconf_2.72-3.1ubuntu1_all.deb ... 88s Unpacking autoconf (2.72-3.1ubuntu1) ... 88s Selecting previously unselected package autotools-dev. 88s Preparing to unpack .../003-autotools-dev_20240727.1_all.deb ... 88s Unpacking autotools-dev (20240727.1) ... 88s Selecting previously unselected package automake. 88s Preparing to unpack .../004-automake_1%3a1.18.1-2_all.deb ... 88s Unpacking automake (1:1.18.1-2) ... 88s Selecting previously unselected package autopoint. 88s Preparing to unpack .../005-autopoint_0.23.2-1_all.deb ... 88s Unpacking autopoint (0.23.2-1) ... 88s Selecting previously unselected package libasound2-data. 88s Preparing to unpack .../006-libasound2-data_1.2.14-2ubuntu1_all.deb ... 88s Unpacking libasound2-data (1.2.14-2ubuntu1) ... 88s Selecting previously unselected package libasound2t64:amd64. 88s Preparing to unpack .../007-libasound2t64_1.2.14-2ubuntu1_amd64.deb ... 88s Unpacking libasound2t64:amd64 (1.2.14-2ubuntu1) ... 88s Selecting previously unselected package bluez. 88s Preparing to unpack .../008-bluez_5.84-1_amd64.deb ... 88s Unpacking bluez (5.84-1) ... 88s Selecting previously unselected package libisl23:amd64. 88s Preparing to unpack .../009-libisl23_0.27-1_amd64.deb ... 88s Unpacking libisl23:amd64 (0.27-1) ... 88s Selecting previously unselected package libmpc3:amd64. 88s Preparing to unpack .../010-libmpc3_1.3.1-2_amd64.deb ... 88s Unpacking libmpc3:amd64 (1.3.1-2) ... 88s Selecting previously unselected package cpp-15-x86-64-linux-gnu. 88s Preparing to unpack .../011-cpp-15-x86-64-linux-gnu_15.2.0-7ubuntu1_amd64.deb ... 88s Unpacking cpp-15-x86-64-linux-gnu (15.2.0-7ubuntu1) ... 88s Selecting previously unselected package cpp-15. 88s Preparing to unpack .../012-cpp-15_15.2.0-7ubuntu1_amd64.deb ... 88s Unpacking cpp-15 (15.2.0-7ubuntu1) ... 88s Selecting previously unselected package cpp-x86-64-linux-gnu. 88s Preparing to unpack .../013-cpp-x86-64-linux-gnu_4%3a15.2.0-4ubuntu1_amd64.deb ... 88s Unpacking cpp-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 88s Selecting previously unselected package cpp. 88s Preparing to unpack .../014-cpp_4%3a15.2.0-4ubuntu1_amd64.deb ... 88s Unpacking cpp (4:15.2.0-4ubuntu1) ... 88s Selecting previously unselected package libcc1-0:amd64. 88s Preparing to unpack .../015-libcc1-0_15.2.0-7ubuntu1_amd64.deb ... 88s Unpacking libcc1-0:amd64 (15.2.0-7ubuntu1) ... 88s Selecting previously unselected package libgomp1:amd64. 88s Preparing to unpack .../016-libgomp1_15.2.0-7ubuntu1_amd64.deb ... 88s Unpacking libgomp1:amd64 (15.2.0-7ubuntu1) ... 88s Selecting previously unselected package libitm1:amd64. 88s Preparing to unpack .../017-libitm1_15.2.0-7ubuntu1_amd64.deb ... 88s Unpacking libitm1:amd64 (15.2.0-7ubuntu1) ... 88s Selecting previously unselected package libasan8:amd64. 88s Preparing to unpack .../018-libasan8_15.2.0-7ubuntu1_amd64.deb ... 88s Unpacking libasan8:amd64 (15.2.0-7ubuntu1) ... 88s Selecting previously unselected package liblsan0:amd64. 88s Preparing to unpack .../019-liblsan0_15.2.0-7ubuntu1_amd64.deb ... 88s Unpacking liblsan0:amd64 (15.2.0-7ubuntu1) ... 88s Selecting previously unselected package libtsan2:amd64. 88s Preparing to unpack .../020-libtsan2_15.2.0-7ubuntu1_amd64.deb ... 88s Unpacking libtsan2:amd64 (15.2.0-7ubuntu1) ... 88s Selecting previously unselected package libubsan1:amd64. 88s Preparing to unpack .../021-libubsan1_15.2.0-7ubuntu1_amd64.deb ... 88s Unpacking libubsan1:amd64 (15.2.0-7ubuntu1) ... 88s Selecting previously unselected package libhwasan0:amd64. 88s Preparing to unpack .../022-libhwasan0_15.2.0-7ubuntu1_amd64.deb ... 88s Unpacking libhwasan0:amd64 (15.2.0-7ubuntu1) ... 88s Selecting previously unselected package libquadmath0:amd64. 88s Preparing to unpack .../023-libquadmath0_15.2.0-7ubuntu1_amd64.deb ... 88s Unpacking libquadmath0:amd64 (15.2.0-7ubuntu1) ... 88s Selecting previously unselected package libgcc-15-dev:amd64. 88s Preparing to unpack .../024-libgcc-15-dev_15.2.0-7ubuntu1_amd64.deb ... 88s Unpacking libgcc-15-dev:amd64 (15.2.0-7ubuntu1) ... 88s Selecting previously unselected package gcc-15-x86-64-linux-gnu. 88s Preparing to unpack .../025-gcc-15-x86-64-linux-gnu_15.2.0-7ubuntu1_amd64.deb ... 88s Unpacking gcc-15-x86-64-linux-gnu (15.2.0-7ubuntu1) ... 89s Selecting previously unselected package gcc-15. 89s Preparing to unpack .../026-gcc-15_15.2.0-7ubuntu1_amd64.deb ... 89s Unpacking gcc-15 (15.2.0-7ubuntu1) ... 89s Selecting previously unselected package gcc-x86-64-linux-gnu. 89s Preparing to unpack .../027-gcc-x86-64-linux-gnu_4%3a15.2.0-4ubuntu1_amd64.deb ... 89s Unpacking gcc-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 89s Selecting previously unselected package gcc. 89s Preparing to unpack .../028-gcc_4%3a15.2.0-4ubuntu1_amd64.deb ... 89s Unpacking gcc (4:15.2.0-4ubuntu1) ... 89s Selecting previously unselected package libstdc++-15-dev:amd64. 89s Preparing to unpack .../029-libstdc++-15-dev_15.2.0-7ubuntu1_amd64.deb ... 89s Unpacking libstdc++-15-dev:amd64 (15.2.0-7ubuntu1) ... 89s Selecting previously unselected package g++-15-x86-64-linux-gnu. 89s Preparing to unpack .../030-g++-15-x86-64-linux-gnu_15.2.0-7ubuntu1_amd64.deb ... 89s Unpacking g++-15-x86-64-linux-gnu (15.2.0-7ubuntu1) ... 89s Selecting previously unselected package g++-15. 89s Preparing to unpack .../031-g++-15_15.2.0-7ubuntu1_amd64.deb ... 89s Unpacking g++-15 (15.2.0-7ubuntu1) ... 89s Selecting previously unselected package g++-x86-64-linux-gnu. 89s Preparing to unpack .../032-g++-x86-64-linux-gnu_4%3a15.2.0-4ubuntu1_amd64.deb ... 89s Unpacking g++-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 89s Selecting previously unselected package g++. 89s Preparing to unpack .../033-g++_4%3a15.2.0-4ubuntu1_amd64.deb ... 89s Unpacking g++ (4:15.2.0-4ubuntu1) ... 89s Selecting previously unselected package build-essential. 89s Preparing to unpack .../034-build-essential_12.12ubuntu1_amd64.deb ... 89s Unpacking build-essential (12.12ubuntu1) ... 89s Selecting previously unselected package libdebhelper-perl. 89s Preparing to unpack .../035-libdebhelper-perl_13.24.2ubuntu1_all.deb ... 89s Unpacking libdebhelper-perl (13.24.2ubuntu1) ... 89s Selecting previously unselected package libtool. 89s Preparing to unpack .../036-libtool_2.5.4-7_all.deb ... 89s Unpacking libtool (2.5.4-7) ... 89s Selecting previously unselected package dh-autoreconf. 89s Preparing to unpack .../037-dh-autoreconf_21_all.deb ... 89s Unpacking dh-autoreconf (21) ... 89s Selecting previously unselected package libarchive-zip-perl. 89s Preparing to unpack .../038-libarchive-zip-perl_1.68-1_all.deb ... 89s Unpacking libarchive-zip-perl (1.68-1) ... 89s Selecting previously unselected package libfile-stripnondeterminism-perl. 89s Preparing to unpack .../039-libfile-stripnondeterminism-perl_1.15.0-1_all.deb ... 89s Unpacking libfile-stripnondeterminism-perl (1.15.0-1) ... 89s Selecting previously unselected package dh-strip-nondeterminism. 89s Preparing to unpack .../040-dh-strip-nondeterminism_1.15.0-1_all.deb ... 89s Unpacking dh-strip-nondeterminism (1.15.0-1) ... 89s Selecting previously unselected package debugedit. 89s Preparing to unpack .../041-debugedit_1%3a5.2-3_amd64.deb ... 89s Unpacking debugedit (1:5.2-3) ... 89s Selecting previously unselected package dwz. 89s Preparing to unpack .../042-dwz_0.16-2_amd64.deb ... 89s Unpacking dwz (0.16-2) ... 89s Selecting previously unselected package gettext. 89s Preparing to unpack .../043-gettext_0.23.2-1_amd64.deb ... 89s Unpacking gettext (0.23.2-1) ... 89s Selecting previously unselected package intltool-debian. 89s Preparing to unpack .../044-intltool-debian_0.35.0+20060710.6_all.deb ... 89s Unpacking intltool-debian (0.35.0+20060710.6) ... 89s Selecting previously unselected package po-debconf. 89s Preparing to unpack .../045-po-debconf_1.0.21+nmu1_all.deb ... 89s Unpacking po-debconf (1.0.21+nmu1) ... 89s Selecting previously unselected package debhelper. 89s Preparing to unpack .../046-debhelper_13.24.2ubuntu1_all.deb ... 89s Unpacking debhelper (13.24.2ubuntu1) ... 89s Selecting previously unselected package dh-python. 89s Preparing to unpack .../047-dh-python_6.20250414_all.deb ... 89s Unpacking dh-python (6.20250414) ... 89s Selecting previously unselected package sgml-base. 89s Preparing to unpack .../048-sgml-base_1.31+nmu1_all.deb ... 89s Unpacking sgml-base (1.31+nmu1) ... 89s Selecting previously unselected package xml-core. 89s Preparing to unpack .../049-xml-core_0.19_all.deb ... 89s Unpacking xml-core (0.19) ... 89s Selecting previously unselected package docutils-common. 89s Preparing to unpack .../050-docutils-common_0.21.2+dfsg-2_all.deb ... 89s Unpacking docutils-common (0.21.2+dfsg-2) ... 89s Selecting previously unselected package fonts-font-awesome. 89s Preparing to unpack .../051-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ... 89s Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 89s Selecting previously unselected package python3-accessible-pygments. 89s Preparing to unpack .../052-python3-accessible-pygments_0.0.5-2_all.deb ... 89s Unpacking python3-accessible-pygments (0.0.5-2) ... 89s Selecting previously unselected package python3-soupsieve. 89s Preparing to unpack .../053-python3-soupsieve_2.7-2_all.deb ... 89s Unpacking python3-soupsieve (2.7-2) ... 89s Selecting previously unselected package python3-bs4. 89s Preparing to unpack .../054-python3-bs4_4.13.4-3_all.deb ... 89s Unpacking python3-bs4 (4.13.4-3) ... 89s Selecting previously unselected package python3-defusedxml. 89s Preparing to unpack .../055-python3-defusedxml_0.7.1-3_all.deb ... 89s Unpacking python3-defusedxml (0.7.1-3) ... 89s Selecting previously unselected package libjs-jquery. 89s Preparing to unpack .../056-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 89s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 89s Selecting previously unselected package libjs-underscore. 89s Preparing to unpack .../057-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 89s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 89s Selecting previously unselected package libjs-sphinxdoc. 89s Preparing to unpack .../058-libjs-sphinxdoc_8.2.3-1ubuntu2_all.deb ... 89s Unpacking libjs-sphinxdoc (8.2.3-1ubuntu2) ... 89s Selecting previously unselected package libjson-perl. 89s Preparing to unpack .../059-libjson-perl_4.10000-1_all.deb ... 89s Unpacking libjson-perl (4.10000-1) ... 89s Selecting previously unselected package sphinx-common. 89s Preparing to unpack .../060-sphinx-common_8.2.3-1ubuntu2_all.deb ... 89s Unpacking sphinx-common (8.2.3-1ubuntu2) ... 89s Selecting previously unselected package python3-alabaster. 89s Preparing to unpack .../061-python3-alabaster_0.7.16-0.1_all.deb ... 89s Unpacking python3-alabaster (0.7.16-0.1) ... 89s Selecting previously unselected package python3-roman. 89s Preparing to unpack .../062-python3-roman_5.1-1_all.deb ... 89s Unpacking python3-roman (5.1-1) ... 89s Selecting previously unselected package python3-docutils. 89s Preparing to unpack .../063-python3-docutils_0.21.2+dfsg-2_all.deb ... 89s Unpacking python3-docutils (0.21.2+dfsg-2) ... 89s Selecting previously unselected package python3-imagesize. 89s Preparing to unpack .../064-python3-imagesize_1.4.1-1_all.deb ... 89s Unpacking python3-imagesize (1.4.1-1) ... 89s Selecting previously unselected package python3-snowballstemmer. 89s Preparing to unpack .../065-python3-snowballstemmer_3.0.1-1_all.deb ... 89s Unpacking python3-snowballstemmer (3.0.1-1) ... 89s Selecting previously unselected package python3-sphinx. 89s Preparing to unpack .../066-python3-sphinx_8.2.3-1ubuntu2_all.deb ... 89s Unpacking python3-sphinx (8.2.3-1ubuntu2) ... 89s Selecting previously unselected package sphinx-basic-ng. 89s Preparing to unpack .../067-sphinx-basic-ng_1.0.0~beta2-1_all.deb ... 89s Unpacking sphinx-basic-ng (1.0.0~beta2-1) ... 89s Selecting previously unselected package furo. 89s Preparing to unpack .../068-furo_2025.09.25+dfsg-2_all.deb ... 89s Unpacking furo (2025.09.25+dfsg-2) ... 89s Selecting previously unselected package libjs-jquery-metadata. 89s Preparing to unpack .../069-libjs-jquery-metadata_12-4_all.deb ... 89s Unpacking libjs-jquery-metadata (12-4) ... 89s Selecting previously unselected package libjs-jquery-tablesorter. 89s Preparing to unpack .../070-libjs-jquery-tablesorter_1%3a2.31.3+dfsg1-4_all.deb ... 89s Unpacking libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... 89s Selecting previously unselected package libjs-jquery-throttle-debounce. 89s Preparing to unpack .../071-libjs-jquery-throttle-debounce_1.1+dfsg.1-2_all.deb ... 89s Unpacking libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 89s Selecting previously unselected package pybuild-plugin-autopkgtest. 89s Preparing to unpack .../072-pybuild-plugin-autopkgtest_6.20250414_all.deb ... 89s Unpacking pybuild-plugin-autopkgtest (6.20250414) ... 89s Selecting previously unselected package python3-pyproject-hooks. 89s Preparing to unpack .../073-python3-pyproject-hooks_1.2.0-1_all.deb ... 89s Unpacking python3-pyproject-hooks (1.2.0-1) ... 89s Selecting previously unselected package python3-wheel. 89s Preparing to unpack .../074-python3-wheel_0.46.1-2_all.deb ... 89s Unpacking python3-wheel (0.46.1-2) ... 89s Selecting previously unselected package python3-build. 90s Preparing to unpack .../075-python3-build_1.2.2-4_all.deb ... 90s Unpacking python3-build (1.2.2-4) ... 90s Selecting previously unselected package python3-installer. 90s Preparing to unpack .../076-python3-installer_0.7.0+dfsg1-3_all.deb ... 90s Unpacking python3-installer (0.7.0+dfsg1-3) ... 90s Selecting previously unselected package pybuild-plugin-pyproject. 90s Preparing to unpack .../077-pybuild-plugin-pyproject_6.20250414_all.deb ... 90s Unpacking pybuild-plugin-pyproject (6.20250414) ... 90s Selecting previously unselected package python3-aiooui. 90s Preparing to unpack .../078-python3-aiooui_0.1.9-1_all.deb ... 90s Unpacking python3-aiooui (0.1.9-1) ... 90s Selecting previously unselected package python3-all. 90s Preparing to unpack .../079-python3-all_3.13.7-1_amd64.deb ... 90s Unpacking python3-all (3.13.7-1) ... 90s Selecting previously unselected package python3-async-generator. 90s Preparing to unpack .../080-python3-async-generator_1.10-7_all.deb ... 90s Unpacking python3-async-generator (1.10-7) ... 90s Selecting previously unselected package python3-async-interrupt. 90s Preparing to unpack .../081-python3-async-interrupt_1.2.2-1_all.deb ... 90s Unpacking python3-async-interrupt (1.2.2-1) ... 90s Selecting previously unselected package python3-dbus-fast. 90s Preparing to unpack .../082-python3-dbus-fast_2.45.1-1_amd64.deb ... 90s Unpacking python3-dbus-fast (2.45.1-1) ... 90s Selecting previously unselected package python3-bleak. 90s Preparing to unpack .../083-python3-bleak_1.1.1-1_all.deb ... 90s Unpacking python3-bleak (1.1.1-1) ... 90s Selecting previously unselected package python3-uart-devices. 90s Preparing to unpack .../084-python3-uart-devices_0.1.1-1_all.deb ... 90s Unpacking python3-uart-devices (0.1.1-1) ... 90s Selecting previously unselected package python3-usb-devices. 90s Preparing to unpack .../085-python3-usb-devices_0.4.5-2_all.deb ... 90s Unpacking python3-usb-devices (0.4.5-2) ... 90s Selecting previously unselected package python3-bluetooth-adapters. 90s Preparing to unpack .../086-python3-bluetooth-adapters_2.1.1-1_all.deb ... 90s Unpacking python3-bluetooth-adapters (2.1.1-1) ... 90s Selecting previously unselected package python3-bleak-retry-connector. 90s Preparing to unpack .../087-python3-bleak-retry-connector_4.4.4-1_all.deb ... 90s Unpacking python3-bleak-retry-connector (4.4.4-1) ... 90s Selecting previously unselected package python3-btsocket. 90s Preparing to unpack .../088-python3-btsocket_0.3.0-1_all.deb ... 90s Unpacking python3-btsocket (0.3.0-1) ... 90s Selecting previously unselected package python3-pyric. 90s Preparing to unpack .../089-python3-pyric_0.1.6.4+git20170421.0562b17-1_all.deb ... 90s Unpacking python3-pyric (0.1.6.4+git20170421.0562b17-1) ... 90s Selecting previously unselected package sphinx-rtd-theme-common. 90s Preparing to unpack .../090-sphinx-rtd-theme-common_3.0.2+dfsg-3_all.deb ... 90s Unpacking sphinx-rtd-theme-common (3.0.2+dfsg-3) ... 90s Selecting previously unselected package python3-bluetooth-auto-recovery. 90s Preparing to unpack .../091-python3-bluetooth-auto-recovery_1.5.3-1_all.deb ... 90s Unpacking python3-bluetooth-auto-recovery (1.5.3-1) ... 90s Selecting previously unselected package python3-bluetooth-data-tools. 90s Preparing to unpack .../092-python3-bluetooth-data-tools_1.28.4-1_amd64.deb ... 90s Unpacking python3-bluetooth-data-tools (1.28.4-1) ... 90s Selecting previously unselected package python3-coverage. 90s Preparing to unpack .../093-python3-coverage_7.8.2+dfsg1-1_amd64.deb ... 90s Unpacking python3-coverage (7.8.2+dfsg1-1) ... 90s Selecting previously unselected package python3-freezegun. 90s Preparing to unpack .../094-python3-freezegun_1.5.1-1.2_all.deb ... 90s Unpacking python3-freezegun (1.5.1-1.2) ... 90s Selecting previously unselected package python3-habluetooth. 90s Preparing to unpack .../095-python3-habluetooth_5.7.0-1_amd64.deb ... 90s Unpacking python3-habluetooth (5.7.0-1) ... 90s Selecting previously unselected package python3-iniconfig. 90s Preparing to unpack .../096-python3-iniconfig_2.1.0-1_all.deb ... 90s Unpacking python3-iniconfig (2.1.0-1) ... 90s Selecting previously unselected package python3-mdit-py-plugins. 90s Preparing to unpack .../097-python3-mdit-py-plugins_0.5.0-1_all.deb ... 90s Unpacking python3-mdit-py-plugins (0.5.0-1) ... 90s Selecting previously unselected package python3-myst-parser. 90s Preparing to unpack .../098-python3-myst-parser_4.0.1-1_all.deb ... 90s Unpacking python3-myst-parser (4.0.1-1) ... 90s Selecting previously unselected package python3-pluggy. 90s Preparing to unpack .../099-python3-pluggy_1.6.0-1_all.deb ... 90s Unpacking python3-pluggy (1.6.0-1) ... 90s Selecting previously unselected package python3-poetry-core. 90s Preparing to unpack .../100-python3-poetry-core_2.2.1-2_all.deb ... 90s Unpacking python3-poetry-core (2.2.1-2) ... 90s Selecting previously unselected package python3-pytest. 90s Preparing to unpack .../101-python3-pytest_8.3.5-2_all.deb ... 90s Unpacking python3-pytest (8.3.5-2) ... 90s Selecting previously unselected package python3-pytest-asyncio. 90s Preparing to unpack .../102-python3-pytest-asyncio_0.25.1-1_all.deb ... 90s Unpacking python3-pytest-asyncio (0.25.1-1) ... 90s Selecting previously unselected package libjs-jquery-hotkeys. 90s Preparing to unpack .../103-libjs-jquery-hotkeys_0.2.0-1_all.deb ... 90s Unpacking libjs-jquery-hotkeys (0.2.0-1) ... 90s Selecting previously unselected package libjs-jquery-isonscreen. 90s Preparing to unpack .../104-libjs-jquery-isonscreen_1.2.0-1.1_all.deb ... 90s Unpacking libjs-jquery-isonscreen (1.2.0-1.1) ... 90s Selecting previously unselected package python3-pytest-cov. 90s Preparing to unpack .../105-python3-pytest-cov_5.0.0-1_all.deb ... 90s Unpacking python3-pytest-cov (5.0.0-1) ... 90s Setting up dh-python (6.20250414) ... 90s Setting up python3-pyric (0.1.6.4+git20170421.0562b17-1) ... 90s Setting up python3-iniconfig (2.1.0-1) ... 90s Setting up python3-aiooui (0.1.9-1) ... 90s Setting up python3-uart-devices (0.1.1-1) ... 90s Setting up fonts-lato (2.015-1) ... 90s Setting up python3-usb-devices (0.4.5-2) ... 90s Setting up python3-async-generator (1.10-7) ... 90s Setting up python3-bluetooth-data-tools (1.28.4-1) ... 90s Setting up python3-defusedxml (0.7.1-3) ... 91s Setting up libarchive-zip-perl (1.68-1) ... 91s Setting up python3-alabaster (0.7.16-0.1) ... 91s Setting up libdebhelper-perl (13.24.2ubuntu1) ... 91s Setting up python3-mdit-py-plugins (0.5.0-1) ... 91s Setting up m4 (1.4.20-2) ... 91s Setting up python3-all (3.13.7-1) ... 91s Setting up python3-coverage (7.8.2+dfsg1-1) ... 91s Setting up libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 91s Setting up libgomp1:amd64 (15.2.0-7ubuntu1) ... 91s Setting up python3-wheel (0.46.1-2) ... 91s Setting up python3-btsocket (0.3.0-1) ... 91s Setting up libasound2-data (1.2.14-2ubuntu1) ... 91s Setting up python3-roman (5.1-1) ... 91s Setting up autotools-dev (20240727.1) ... 91s Setting up libasound2t64:amd64 (1.2.14-2ubuntu1) ... 91s Setting up python3-pyproject-hooks (1.2.0-1) ... 91s Setting up python3-accessible-pygments (0.0.5-2) ... 91s Setting up python3-snowballstemmer (3.0.1-1) ... 91s Setting up python3-poetry-core (2.2.1-2) ... 91s Setting up libquadmath0:amd64 (15.2.0-7ubuntu1) ... 91s Setting up libmpc3:amd64 (1.3.1-2) ... 91s Setting up autopoint (0.23.2-1) ... 91s Setting up python3-installer (0.7.0+dfsg1-3) ... 91s Setting up autoconf (2.72-3.1ubuntu1) ... 91s Setting up python3-pluggy (1.6.0-1) ... 92s Setting up python3-async-interrupt (1.2.2-1) ... 92s Setting up libubsan1:amd64 (15.2.0-7ubuntu1) ... 92s Setting up dwz (0.16-2) ... 92s Setting up libhwasan0:amd64 (15.2.0-7ubuntu1) ... 92s Setting up libasan8:amd64 (15.2.0-7ubuntu1) ... 92s Setting up libjson-perl (4.10000-1) ... 92s Setting up debugedit (1:5.2-3) ... 92s Setting up sgml-base (1.31+nmu1) ... 92s Setting up libtsan2:amd64 (15.2.0-7ubuntu1) ... 92s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 92s Setting up libjs-jquery-hotkeys (0.2.0-1) ... 92s Setting up libisl23:amd64 (0.27-1) ... 92s Setting up python3-build (1.2.2-4) ... 92s Setting up python3-soupsieve (2.7-2) ... 92s Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 92s Setting up sphinx-rtd-theme-common (3.0.2+dfsg-3) ... 92s Setting up libcc1-0:amd64 (15.2.0-7ubuntu1) ... 92s Setting up python3-freezegun (1.5.1-1.2) ... 92s Setting up liblsan0:amd64 (15.2.0-7ubuntu1) ... 92s Setting up libitm1:amd64 (15.2.0-7ubuntu1) ... 92s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 92s Setting up python3-imagesize (1.4.1-1) ... 92s Setting up automake (1:1.18.1-2) ... 92s update-alternatives: using /usr/bin/automake-1.18 to provide /usr/bin/automake (automake) in auto mode 92s Setting up libfile-stripnondeterminism-perl (1.15.0-1) ... 92s Setting up gettext (0.23.2-1) ... 92s Setting up libgcc-15-dev:amd64 (15.2.0-7ubuntu1) ... 92s Setting up pybuild-plugin-pyproject (6.20250414) ... 92s Setting up python3-pytest (8.3.5-2) ... 92s Setting up cpp-15-x86-64-linux-gnu (15.2.0-7ubuntu1) ... 92s Setting up python3-bs4 (4.13.4-3) ... 92s Setting up intltool-debian (0.35.0+20060710.6) ... 92s Setting up gcc-15-x86-64-linux-gnu (15.2.0-7ubuntu1) ... 92s Setting up bluez (5.84-1) ... 92s Created symlink '/etc/systemd/user/default.target.wants/mpris-proxy.service' → '/usr/lib/systemd/user/mpris-proxy.service'. 93s Created symlink '/etc/systemd/system/dbus-org.bluez.service' → '/usr/lib/systemd/system/bluetooth.service'. 93s Created symlink '/etc/systemd/system/bluetooth.target.wants/bluetooth.service' → '/usr/lib/systemd/system/bluetooth.service'. 93s Setting up libstdc++-15-dev:amd64 (15.2.0-7ubuntu1) ... 93s Setting up libjs-jquery-metadata (12-4) ... 93s Setting up libjs-jquery-isonscreen (1.2.0-1.1) ... 93s Setting up libjs-sphinxdoc (8.2.3-1ubuntu2) ... 93s Setting up python3-pytest-asyncio (0.25.1-1) ... 93s Setting up dh-strip-nondeterminism (1.15.0-1) ... 93s Setting up libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... 93s Setting up cpp-15 (15.2.0-7ubuntu1) ... 93s Setting up xml-core (0.19) ... 93s Setting up cpp-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 93s Setting up g++-15-x86-64-linux-gnu (15.2.0-7ubuntu1) ... 93s Setting up python3-dbus-fast (2.45.1-1) ... 93s Setting up gcc-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 93s Setting up po-debconf (1.0.21+nmu1) ... 93s Setting up python3-pytest-cov (5.0.0-1) ... 93s Setting up gcc-15 (15.2.0-7ubuntu1) ... 93s Setting up sphinx-common (8.2.3-1ubuntu2) ... 93s Setting up cpp (4:15.2.0-4ubuntu1) ... 93s Setting up g++-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 93s Setting up g++-15 (15.2.0-7ubuntu1) ... 93s Setting up python3-bleak (1.1.1-1) ... 93s Setting up python3-bluetooth-adapters (2.1.1-1) ... 93s Setting up libtool (2.5.4-7) ... 93s Setting up python3-bleak-retry-connector (4.4.4-1) ... 93s Setting up gcc (4:15.2.0-4ubuntu1) ... 93s Setting up dh-autoreconf (21) ... 93s Setting up python3-bluetooth-auto-recovery (1.5.3-1) ... 93s Setting up python3-habluetooth (5.7.0-1) ... 94s Setting up g++ (4:15.2.0-4ubuntu1) ... 94s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 94s Setting up build-essential (12.12ubuntu1) ... 94s Setting up debhelper (13.24.2ubuntu1) ... 94s Setting up pybuild-plugin-autopkgtest (6.20250414) ... 94s Processing triggers for install-info (7.2-5) ... 94s Processing triggers for libc-bin (2.42-2ubuntu2) ... 94s Processing triggers for man-db (2.13.1-1) ... 95s Processing triggers for dbus (1.16.2-2ubuntu2) ... 95s Processing triggers for sgml-base (1.31+nmu1) ... 95s Setting up docutils-common (0.21.2+dfsg-2) ... 95s Processing triggers for sgml-base (1.31+nmu1) ... 95s Setting up python3-docutils (0.21.2+dfsg-2) ... 95s Setting up python3-sphinx (8.2.3-1ubuntu2) ... 95s Setting up python3-myst-parser (4.0.1-1) ... 95s Setting up sphinx-basic-ng (1.0.0~beta2-1) ... 96s Setting up furo (2025.09.25+dfsg-2) ... 96s autopkgtest [16:57:07]: test pybuild-autopkgtest: pybuild-autopkgtest 96s autopkgtest [16:57:07]: test pybuild-autopkgtest: [----------------------- 97s pybuild-autopkgtest 97s I: pybuild base:311: cd /tmp/autopkgtest.NsNT61/autopkgtest_tmp/build; python3.13 -m pytest --no-cov --ignore=tests/test_benchmark_base_scanner.py -k "not test_scanner_without_bluez_mgmt_side_channel" 97s /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:207: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset. 97s The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session" 97s 97s warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET)) 97s ============================= test session starts ============================== 97s platform linux -- Python 3.13.9, pytest-8.3.5, pluggy-1.6.0 -- /usr/bin/python3.13 97s cachedir: .pytest_cache 97s rootdir: /tmp/autopkgtest.NsNT61/autopkgtest_tmp/build 97s configfile: pyproject.toml 97s plugins: cov-5.0.0, asyncio-0.25.1, typeguard-4.4.2 97s asyncio: mode=Mode.STRICT, asyncio_default_fixture_loop_scope=None 97s collecting ... collected 188 items / 1 deselected / 187 selected 97s 97s tests/channels/test_bluez.py::test_connection_made 97s -------------------------------- live log setup -------------------------------- 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 97s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 97s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 97s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 97s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 97s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 97s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 97s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 97s PASSED [ 0%] 97s ------------------------------ live log teardown ------------------------------- 97s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s 97s tests/channels/test_bluez.py::test_connection_lost 97s -------------------------------- live log setup -------------------------------- 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 97s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 97s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 97s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 97s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 97s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 97s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 97s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 97s -------------------------------- live log call --------------------------------- 97s WARNING habluetooth.channels.bluez:bluez.py:276 Bluetooth management socket connection lost: Test error 97s PASSED [ 1%] 97s ------------------------------ live log teardown ------------------------------- 97s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s 97s tests/channels/test_bluez.py::test_connection_lost_no_exception 97s -------------------------------- live log setup -------------------------------- 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 97s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 97s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 97s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 97s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 97s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 97s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 97s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 97s -------------------------------- live log call --------------------------------- 97s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 97s PASSED [ 1%] 97s ------------------------------ live log teardown ------------------------------- 97s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s 97s tests/channels/test_bluez.py::test_data_received_device_found 97s -------------------------------- live log setup -------------------------------- 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 97s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 97s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 97s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 97s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 97s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 97s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 97s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 97s PASSED [ 2%] 97s ------------------------------ live log teardown ------------------------------- 97s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s 97s tests/channels/test_bluez.py::test_data_received_adv_monitor_device_found 97s -------------------------------- live log setup -------------------------------- 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 97s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 97s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 97s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 97s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 97s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 97s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 97s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 97s PASSED [ 2%] 97s ------------------------------ live log teardown ------------------------------- 97s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s 97s tests/channels/test_bluez.py::test_data_received_cmd_complete_success 97s -------------------------------- live log setup -------------------------------- 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 97s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 97s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 97s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 97s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 97s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 97s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 97s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 97s -------------------------------- live log call --------------------------------- 97s DEBUG habluetooth.channels.bluez:bluez.py:266 hci0: Connection parameters loaded successfully 97s PASSED [ 3%] 97s ------------------------------ live log teardown ------------------------------- 97s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s 97s tests/channels/test_bluez.py::test_data_received_cmd_complete_failure 97s -------------------------------- live log setup -------------------------------- 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 97s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 97s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 97s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 97s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 97s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 97s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 97s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 97s -------------------------------- live log call --------------------------------- 97s WARNING habluetooth.channels.bluez:bluez.py:260 hci1: Failed to load conn params: status=12 97s PASSED [ 3%] 97s ------------------------------ live log teardown ------------------------------- 97s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s 97s tests/channels/test_bluez.py::test_data_received_cmd_status 97s -------------------------------- live log setup -------------------------------- 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 97s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 97s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 97s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 97s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 97s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 97s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 97s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 97s -------------------------------- live log call --------------------------------- 97s WARNING habluetooth.channels.bluez:bluez.py:260 hci0: Failed to load conn params: status=1 97s PASSED [ 4%] 97s ------------------------------ live log teardown ------------------------------- 97s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s 97s tests/channels/test_bluez.py::test_data_received_partial_data 97s -------------------------------- live log setup -------------------------------- 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 97s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 97s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 97s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 97s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 97s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 97s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 97s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 97s PASSED [ 4%] 97s ------------------------------ live log teardown ------------------------------- 97s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s 97s tests/channels/test_bluez.py::test_data_received_partial_data_split_in_params 97s -------------------------------- live log setup -------------------------------- 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 97s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 97s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 97s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 97s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 97s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 97s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 97s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 97s PASSED [ 5%] 97s ------------------------------ live log teardown ------------------------------- 97s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s 97s tests/channels/test_bluez.py::test_data_received_multiple_small_chunks 97s -------------------------------- live log setup -------------------------------- 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 97s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 97s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 97s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 97s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 97s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 97s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 97s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 97s PASSED [ 5%] 97s ------------------------------ live log teardown ------------------------------- 97s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s 97s tests/channels/test_bluez.py::test_data_received_multiple_events_in_one_chunk 97s -------------------------------- live log setup -------------------------------- 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 97s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 97s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 97s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 97s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 97s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 97s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 97s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 97s -------------------------------- live log call --------------------------------- 97s DEBUG habluetooth.channels.bluez:bluez.py:266 hci0: Connection parameters loaded successfully 97s PASSED [ 6%] 97s ------------------------------ live log teardown ------------------------------- 97s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s 97s tests/channels/test_bluez.py::test_data_received_partial_then_multiple_events 97s -------------------------------- live log setup -------------------------------- 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 97s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 97s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 97s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 97s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 97s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 97s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 97s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 97s PASSED [ 6%] 97s ------------------------------ live log teardown ------------------------------- 97s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s 97s tests/channels/test_bluez.py::test_data_received_cmd_complete_different_opcode 97s -------------------------------- live log setup -------------------------------- 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 97s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 97s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 97s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 97s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 97s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 97s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 97s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 97s PASSED [ 7%] 97s ------------------------------ live log teardown ------------------------------- 97s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s 97s tests/channels/test_bluez.py::test_data_received_cmd_status_different_opcode 97s -------------------------------- live log setup -------------------------------- 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 97s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 97s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 97s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 97s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 97s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 97s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 97s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 97s PASSED [ 8%] 97s ------------------------------ live log teardown ------------------------------- 97s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s 97s tests/channels/test_bluez.py::test_data_received_cmd_complete_short_params 97s -------------------------------- live log setup -------------------------------- 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 97s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 97s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 97s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 97s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 97s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 97s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 97s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 97s PASSED [ 8%] 97s ------------------------------ live log teardown ------------------------------- 97s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s 97s tests/channels/test_bluez.py::test_data_received_cmd_status_param_len_1 97s -------------------------------- live log setup -------------------------------- 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 97s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 97s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 97s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 97s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 97s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 97s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 97s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 97s PASSED [ 9%] 97s ------------------------------ live log teardown ------------------------------- 97s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s 97s tests/channels/test_bluez.py::test_data_received_cmd_complete_param_len_0 97s -------------------------------- live log setup -------------------------------- 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 97s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 97s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 97s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 97s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 97s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 97s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 97s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 97s PASSED [ 9%] 97s ------------------------------ live log teardown ------------------------------- 97s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s 97s tests/channels/test_bluez.py::test_data_received_unknown_event 97s -------------------------------- live log setup -------------------------------- 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 97s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 97s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 97s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 97s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 97s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 97s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 97s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 97s PASSED [ 10%] 97s ------------------------------ live log teardown ------------------------------- 97s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s 97s tests/channels/test_bluez.py::test_data_received_no_scanner_for_controller 97s -------------------------------- live log setup -------------------------------- 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 97s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 97s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 97s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 97s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 97s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 97s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 97s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 97s PASSED [ 10%] 97s ------------------------------ live log teardown ------------------------------- 97s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s 97s tests/channels/test_bluez.py::test_setup_success 97s -------------------------------- live log setup -------------------------------- 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 97s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 97s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 97s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 97s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 97s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 97s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 97s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 97s -------------------------------- live log call --------------------------------- 97s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 97s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 97s PASSED [ 11%] 97s ------------------------------ live log teardown ------------------------------- 97s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s 97s tests/channels/test_bluez.py::test_setup_timeout 97s -------------------------------- live log setup -------------------------------- 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 97s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 97s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 97s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 97s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 97s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 97s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 97s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 97s -------------------------------- live log call --------------------------------- 97s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 97s PASSED [ 11%] 97s ------------------------------ live log teardown ------------------------------- 97s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s 97s tests/channels/test_bluez.py::test_load_conn_params_fast 97s -------------------------------- live log setup -------------------------------- 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 97s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 97s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 97s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 97s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 97s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 97s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 97s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 97s -------------------------------- live log call --------------------------------- 97s DEBUG habluetooth.channels.bluez:bluez.py:533 Loaded conn params for AA:BB:CC:DD:EE:FF: interval=6-6, latency=0, timeout=1000 97s PASSED [ 12%] 97s ------------------------------ live log teardown ------------------------------- 97s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s 97s tests/channels/test_bluez.py::test_load_conn_params_medium 97s -------------------------------- live log setup -------------------------------- 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 97s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 97s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 97s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 97s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 97s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 97s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 97s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 97s -------------------------------- live log call --------------------------------- 97s DEBUG habluetooth.channels.bluez:bluez.py:533 Loaded conn params for 11:22:33:44:55:66: interval=7-9, latency=0, timeout=800 97s PASSED [ 12%] 97s ------------------------------ live log teardown ------------------------------- 97s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s 97s tests/channels/test_bluez.py::test_load_conn_params_no_protocol 97s -------------------------------- live log setup -------------------------------- 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 97s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 97s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 97s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 97s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 97s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 97s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 97s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 97s -------------------------------- live log call --------------------------------- 97s ERROR habluetooth.channels.bluez:bluez.py:476 Cannot load conn params: no connection 97s PASSED [ 13%] 97s ------------------------------ live log teardown ------------------------------- 97s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s 97s tests/channels/test_bluez.py::test_load_conn_params_invalid_address 97s -------------------------------- live log setup -------------------------------- 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 97s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 97s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 97s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 97s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 97s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 97s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 97s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 97s -------------------------------- live log call --------------------------------- 97s ERROR habluetooth.channels.bluez:bluez.py:482 Invalid MAC address: AA:BB 97s PASSED [ 13%] 97s ------------------------------ live log teardown ------------------------------- 97s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s 97s tests/channels/test_bluez.py::test_load_conn_params_transport_error 97s -------------------------------- live log setup -------------------------------- 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 97s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 97s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 97s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 97s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 97s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 97s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 97s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 97s -------------------------------- live log call --------------------------------- 97s ERROR habluetooth.channels.bluez:bluez.py:543 Failed to load conn params 97s Traceback (most recent call last): 97s File "/usr/lib/python3/dist-packages/habluetooth/channels/bluez.py", line 532, in load_conn_params 97s self.protocol._write_to_socket(header + cmd_data) 97s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 97s File "/usr/lib/python3.13/unittest/mock.py", line 1169, in __call__ 97s return self._mock_call(*args, **kwargs) 97s ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 97s File "/usr/lib/python3.13/unittest/mock.py", line 1173, in _mock_call 97s return self._execute_mock_call(*args, **kwargs) 97s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 97s File "/usr/lib/python3.13/unittest/mock.py", line 1228, in _execute_mock_call 97s raise effect 97s Exception: Transport error 97s PASSED [ 14%] 97s ------------------------------ live log teardown ------------------------------- 97s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s 97s tests/channels/test_bluez.py::test_kernel_bug_workaround_send_returns_zero 97s -------------------------------- live log setup -------------------------------- 97s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 97s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 97s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 97s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 97s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 97s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 97s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 97s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 97s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 98s -------------------------------- live log call --------------------------------- 98s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 98s PASSED [ 14%] 98s ------------------------------ live log teardown ------------------------------- 98s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 98s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 98s 98s tests/channels/test_bluez.py::test_kernel_bug_workaround_send_raises_exception 98s -------------------------------- live log setup -------------------------------- 98s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 98s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 98s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 98s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 98s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 98s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 98s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 98s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 98s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 98s -------------------------------- live log call --------------------------------- 98s ERROR habluetooth.channels.bluez:bluez.py:117 Failed to write to mgmt socket: Socket error 98s PASSED [ 15%] 98s ------------------------------ live log teardown ------------------------------- 98s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 98s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 98s 98s tests/channels/test_bluez.py::test_close 98s -------------------------------- live log setup -------------------------------- 98s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 98s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 98s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 98s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 98s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 98s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 98s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 98s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 98s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 98s PASSED [ 16%] 98s ------------------------------ live log teardown ------------------------------- 98s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 98s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 98s 98s tests/channels/test_bluez.py::test_close_no_protocol 98s -------------------------------- live log setup -------------------------------- 98s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 98s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 98s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 98s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 98s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 98s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 98s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 98s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 98s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 98s PASSED [ 16%] 98s ------------------------------ live log teardown ------------------------------- 98s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 98s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 98s 98s tests/channels/test_bluez.py::test_on_connection_lost 98s -------------------------------- live log setup -------------------------------- 98s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 98s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 98s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 98s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 98s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 98s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 98s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 98s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 98s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 98s -------------------------------- live log call --------------------------------- 98s DEBUG habluetooth.channels.bluez:bluez.py:312 Bluetooth management socket connection lost, reconnecting 98s PASSED [ 17%] 98s ------------------------------ live log teardown ------------------------------- 98s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 98s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 98s 98s tests/channels/test_bluez.py::test_on_connection_lost_during_shutdown 98s -------------------------------- live log setup -------------------------------- 98s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 98s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 98s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 98s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 98s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 98s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 98s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 98s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 98s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 98s -------------------------------- live log call --------------------------------- 98s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 98s PASSED [ 17%] 98s ------------------------------ live log teardown ------------------------------- 98s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 98s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 98s 98s tests/channels/test_bluez.py::test_reconnect_task 98s -------------------------------- live log setup -------------------------------- 98s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 98s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 98s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 98s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 98s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 98s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 98s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 98s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 98s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 98s -------------------------------- live log call --------------------------------- 98s DEBUG habluetooth.channels.bluez:bluez.py:323 Reconnecting to Bluetooth management socket 98s DEBUG habluetooth.channels.bluez:bluez.py:312 Bluetooth management socket connection lost, reconnecting 98s DEBUG habluetooth.channels.bluez:bluez.py:323 Reconnecting to Bluetooth management socket 98s DEBUG habluetooth.channels.bluez:bluez.py:327 Bluetooth management socket connection timed out 99s DEBUG habluetooth.channels.bluez:bluez.py:323 Reconnecting to Bluetooth management socket 99s PASSED [ 18%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/channels/test_bluez.py::test_reconnect_task_timeout 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s -------------------------------- live log call --------------------------------- 99s DEBUG habluetooth.channels.bluez:bluez.py:323 Reconnecting to Bluetooth management socket 99s DEBUG habluetooth.channels.bluez:bluez.py:327 Bluetooth management socket connection timed out 99s PASSED [ 18%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/channels/test_bluez.py::test_reconnect_task_shutdown 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s PASSED [ 19%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/channels/test_bluez.py::test_command_response_context_manager 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s PASSED [ 19%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/channels/test_bluez.py::test_command_response_cleanup_on_exception 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s PASSED [ 20%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/channels/test_bluez.py::test_get_connections_response_handling 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s PASSED [ 20%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/channels/test_bluez.py::test_get_connections_response_with_data 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s PASSED [ 21%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/channels/test_bluez.py::test_has_mgmt_capabilities_from_status 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s -------------------------------- live log call --------------------------------- 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s DEBUG habluetooth.channels.bluez:bluez.py:384 MGMT capability check passed (status: 0x0) 99s DEBUG habluetooth.channels.bluez:bluez.py:384 MGMT capability check passed (status: 0x11) 99s DEBUG habluetooth.channels.bluez:bluez.py:387 MGMT capability check returned unexpected status 0xff - assuming missing permissions 99s DEBUG habluetooth.channels.bluez:bluez.py:387 MGMT capability check returned unexpected status 0x1 - assuming missing permissions 99s DEBUG habluetooth.channels.bluez:bluez.py:387 MGMT capability check returned unexpected status 0xd - assuming missing permissions 99s PASSED [ 21%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/channels/test_bluez.py::test_check_capabilities_success 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s -------------------------------- live log call --------------------------------- 99s DEBUG habluetooth.channels.bluez:bluez.py:384 MGMT capability check passed (status: 0x0) 99s PASSED [ 22%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/channels/test_bluez.py::test_check_capabilities_permission_denied 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s -------------------------------- live log call --------------------------------- 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s PASSED [ 22%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/channels/test_bluez.py::test_check_capabilities_invalid_index 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s -------------------------------- live log call --------------------------------- 99s DEBUG habluetooth.channels.bluez:bluez.py:384 MGMT capability check passed (status: 0x11) 99s PASSED [ 23%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/channels/test_bluez.py::test_check_capabilities_unknown_status 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s -------------------------------- live log call --------------------------------- 99s DEBUG habluetooth.channels.bluez:bluez.py:387 MGMT capability check returned unexpected status 0xff - assuming missing permissions 99s PASSED [ 24%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/channels/test_bluez.py::test_check_capabilities_timeout 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s -------------------------------- live log call --------------------------------- 99s DEBUG habluetooth.channels.bluez:bluez.py:414 MGMT capability check failed: Test timeout - likely missing NET_ADMIN/NET_RAW 99s PASSED [ 24%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/channels/test_bluez.py::test_check_capabilities_no_protocol 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s PASSED [ 25%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/channels/test_bluez.py::test_check_capabilities_no_transport 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s PASSED [ 25%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/channels/test_bluez.py::test_setup_with_failed_capabilities 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s PASSED [ 26%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_advertisement_tracker.py::test_scanner_paused_clears_timing_data 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s PASSED [ 26%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_advertisement_tracker.py::test_scanner_paused_only_affects_matching_source 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s PASSED [ 27%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_advertisement_tracker.py::test_connection_clears_timing_data 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s PASSED [ 27%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_base_scanner.py::test_remote_scanner[None] 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s -------------------------------- live log call --------------------------------- 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner esp32 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner esp32 99s PASSED [ 28%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_base_scanner.py::test_remote_scanner[w] 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s -------------------------------- live log call --------------------------------- 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner esp32 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner esp32 99s PASSED [ 28%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_base_scanner.py::test_remote_scanner_expires_connectable 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s -------------------------------- live log call --------------------------------- 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner esp32 99s DEBUG habluetooth.base_scanner:base_scanner.py:291 esp32: Scanner watchdog time_since_last_detection: 196.000691264 99s DEBUG habluetooth.base_scanner:base_scanner.py:306 esp32: Bluetooth scanner has gone quiet for 196.000691264s, check logs on the scanner device for more information 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner esp32 99s PASSED [ 29%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_base_scanner.py::test_remote_scanner_expires_non_connectable 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s -------------------------------- live log call --------------------------------- 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner esp32 99s DEBUG habluetooth.base_scanner:base_scanner.py:291 esp32: Scanner watchdog time_since_last_detection: 196.00073929400003 99s DEBUG habluetooth.base_scanner:base_scanner.py:306 esp32: Bluetooth scanner has gone quiet for 196.00073929400003s, check logs on the scanner device for more information 99s DEBUG habluetooth.base_scanner:base_scanner.py:291 esp32: Scanner watchdog time_since_last_detection: 901.0007392939999 99s DEBUG habluetooth.base_scanner:base_scanner.py:306 esp32: Bluetooth scanner has gone quiet for 901.0007392939999s, check logs on the scanner device for more information 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner esp32 99s PASSED [ 29%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_base_scanner.py::test_base_scanner_connecting_behavior 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s -------------------------------- live log call --------------------------------- 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner esp32 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner esp32 99s PASSED [ 30%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_base_scanner.py::test_scanner_stops_responding 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s -------------------------------- live log call --------------------------------- 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner esp32 99s DEBUG habluetooth.base_scanner:base_scanner.py:291 esp32: Scanner watchdog time_since_last_detection: 120.00165844 99s DEBUG habluetooth.base_scanner:base_scanner.py:306 esp32: Bluetooth scanner has gone quiet for 120.00165844s, check logs on the scanner device for more information 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner esp32 99s PASSED [ 31%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_base_scanner.py::test_merge_manufacturer_data_history_existing 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s -------------------------------- live log call --------------------------------- 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner esp32 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner esp32 99s PASSED [ 31%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_base_scanner.py::test_merge_manufacturer_data_history_new 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s -------------------------------- live log call --------------------------------- 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner esp32 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner esp32 99s PASSED [ 32%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_base_scanner.py::test_filter_apple_data 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s -------------------------------- live log call --------------------------------- 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner esp32 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner esp32 99s PASSED [ 32%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_base_scanner.py::test_connection_history_count_in_progress 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 99s PASSED [ 33%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_base_scanner.py::test_connection_history_failure_count 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 99s -------------------------------- live log call --------------------------------- 99s WARNING habluetooth.base_scanner:base_scanner.py:169 Removing a non-existing connecting hci0 (AA:BB:CC:DD:EE:00) 44:44:33:11:23:12 99s PASSED [ 33%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_base_scanner.py::test_scanner_mode_changes 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s PASSED [ 34%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_base_scanner.py::test_remote_scanner_type 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s PASSED [ 34%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_base_scanner.py::test_base_scanner_with_connector 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s PASSED [ 35%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_base_scanner.py::test_score_with_no_allocations 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s PASSED [ 35%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_base_scanner.py::test_score_with_all_slots_free 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s PASSED [ 36%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_base_scanner.py::test_score_with_one_slot_remaining 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s PASSED [ 36%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_base_scanner.py::test_score_with_no_slots_available 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s PASSED [ 37%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_base_scanner.py::test_score_comparison_with_different_slot_availability 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s PASSED [ 37%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_base_scanner.py::test_score_with_connections_in_progress_and_slots 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s PASSED [ 38%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_base_scanner.py::test_on_scanner_start_callback_remote_scanner 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s WARNING habluetooth.manager:manager.py:206 MockBluetoothManagerWithCallbacks: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s PASSED [ 39%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_base_scanner.py::test_on_scanner_start_multiple_scanners 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s WARNING habluetooth.manager:manager.py:206 MockBluetoothManagerWithCallbacks: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s PASSED [ 39%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_base_scanner.py::test_scanner_without_manager 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s -------------------------------- live log call --------------------------------- 99s WARNING habluetooth.manager:manager.py:206 BluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s PASSED [ 40%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_init.py::test_create_scanner 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s PASSED [ 40%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_init.py::test_create_remote_scanner 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s PASSED [ 41%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_init.py::test__async_on_advertisement 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s PASSED [ 41%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_init.py::test__async_on_advertisement_first 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s PASSED [ 42%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_init.py::test__async_on_advertisement_prefers_longest_local_name 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s PASSED [ 42%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_init.py::test_create_ha_scanner 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s PASSED [ 43%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_manager.py::test_async_recover_failed_adapters 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s -------------------------------- live log call --------------------------------- 99s WARNING habluetooth.manager:manager.py:206 BluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s PASSED [ 43%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_manager.py::test_create_manager 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s -------------------------------- live log call --------------------------------- 99s WARNING habluetooth.manager:manager.py:206 BluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s PASSED [ 44%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_manager.py::test_async_register_disappeared_callback 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (AA:BB:CC:DD:EE:11) 99s -------------------------------- live log call --------------------------------- 99s ERROR habluetooth.manager:manager.py:483 Error in disappeared callback 99s Traceback (most recent call last): 99s File "/usr/lib/python3/dist-packages/habluetooth/manager.py", line 481, in _async_check_unavailable 99s disappear_callback(address) 99s ~~~~~~~~~~~~~~~~~~^^^^^^^^^ 99s File "/tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_manager.py", line 190, in _failing_callback 99s raise ValueError("This is a test") 99s ValueError: This is a test 99s PASSED [ 44%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (AA:BB:CC:DD:EE:11) 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_manager.py::test_async_register_allocation_callback 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (AA:BB:CC:DD:EE:11) 99s -------------------------------- live log call --------------------------------- 99s ERROR habluetooth.manager:manager.py:922 Error in allocation callback 99s Traceback (most recent call last): 99s File "/usr/lib/python3/dist-packages/habluetooth/manager.py", line 920, in async_on_allocation_changed 99s callback_(ha_slot_allocations) 99s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 99s File "/tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_manager.py", line 261, in _failing_callback 99s raise ValueError("This is a test") 99s ValueError: This is a test 99s ERROR habluetooth.manager:manager.py:922 Error in allocation callback 99s Traceback (most recent call last): 99s File "/usr/lib/python3/dist-packages/habluetooth/manager.py", line 920, in async_on_allocation_changed 99s callback_(ha_slot_allocations) 99s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 99s File "/tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_manager.py", line 261, in _failing_callback 99s raise ValueError("This is a test") 99s ValueError: This is a test 99s PASSED [ 45%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (AA:BB:CC:DD:EE:11) 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_manager.py::test_async_register_allocation_callback_non_connectable 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner non connectable (AA:BB:CC:DD:EE:FF) 99s PASSED [ 45%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner non connectable (AA:BB:CC:DD:EE:FF) 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_manager.py::test_async_register_scanner_registration_callback 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (AA:BB:CC:DD:EE:11) 99s -------------------------------- live log call --------------------------------- 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci3 (AA:BB:CC:DD:EE:33) 99s ERROR habluetooth.manager:manager.py:939 Error in scanner callback 99s Traceback (most recent call last): 99s File "/usr/lib/python3/dist-packages/habluetooth/manager.py", line 937, in _async_on_scanner_registration 99s callback_(HaScannerRegistration(event, scanner)) 99s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 99s File "/tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_manager.py", line 383, in _failing_callback 99s raise ValueError("This is a test") 99s ValueError: This is a test 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci3 (AA:BB:CC:DD:EE:33) 99s ERROR habluetooth.manager:manager.py:939 Error in scanner callback 99s Traceback (most recent call last): 99s File "/usr/lib/python3/dist-packages/habluetooth/manager.py", line 937, in _async_on_scanner_registration 99s callback_(HaScannerRegistration(event, scanner)) 99s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 99s File "/tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_manager.py", line 383, in _failing_callback 99s raise ValueError("This is a test") 99s ValueError: This is a test 99s PASSED [ 46%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (AA:BB:CC:DD:EE:11) 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_manager.py::test_async_register_scanner_mode_change_callback 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (AA:BB:CC:DD:EE:11) 99s -------------------------------- live log call --------------------------------- 99s ERROR habluetooth.manager:manager.py:1023 Error in scanner mode change callback 99s Traceback (most recent call last): 99s File "/usr/lib/python3/dist-packages/habluetooth/manager.py", line 1021, in scanner_mode_changed 99s callback_(mode_change) 99s ~~~~~~~~~^^^^^^^^^^^^^ 99s File "/tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_manager.py", line 438, in _failing_callback 99s raise ValueError("This is a test") 99s ValueError: This is a test 99s ERROR habluetooth.manager:manager.py:1023 Error in scanner mode change callback 99s Traceback (most recent call last): 99s File "/usr/lib/python3/dist-packages/habluetooth/manager.py", line 1021, in scanner_mode_changed 99s callback_(mode_change) 99s ~~~~~~~~~^^^^^^^^^^^^^ 99s File "/tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_manager.py", line 438, in _failing_callback 99s raise ValueError("This is a test") 99s ValueError: This is a test 99s PASSED [ 47%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (AA:BB:CC:DD:EE:11) 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_manager.py::test_async_register_scanner_with_connection_slots 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s -------------------------------- live log call --------------------------------- 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci3 (AA:BB:CC:DD:EE:33) 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci3 (AA:BB:CC:DD:EE:33) 99s PASSED [ 47%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_manager.py::test_diagnostics 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 99s PASSED [ 48%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_manager.py::test_advertisements_do_not_switch_adapters_for_no_reason 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (AA:BB:CC:DD:EE:11) 99s PASSED [ 48%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (AA:BB:CC:DD:EE:11) 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_manager.py::test_switching_adapters_based_on_rssi 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (AA:BB:CC:DD:EE:11) 99s -------------------------------- live log call --------------------------------- 99s DEBUG habluetooth.manager:manager.py:538 wohand_good_signal (44:44:33:11:23:45): Switching from hci0 (AA:BB:CC:DD:EE:00) [connectable] to hci1 (AA:BB:CC:DD:EE:11) [connectable] (new rssi:-60 - threshold:16 > old rssi:-100) 99s PASSED [ 49%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (AA:BB:CC:DD:EE:11) 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_manager.py::test_switching_adapters_based_on_zero_rssi 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (AA:BB:CC:DD:EE:11) 99s -------------------------------- live log call --------------------------------- 99s DEBUG habluetooth.manager:manager.py:538 wohand_good_signal (44:44:33:11:23:45): Switching from hci0 (AA:BB:CC:DD:EE:00) [connectable] to hci1 (AA:BB:CC:DD:EE:11) [connectable] (new rssi:-60 - threshold:16 > old rssi:0) 99s PASSED [ 49%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (AA:BB:CC:DD:EE:11) 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_manager.py::test_switching_adapters_based_on_stale 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (AA:BB:CC:DD:EE:11) 99s -------------------------------- live log call --------------------------------- 99s DEBUG habluetooth.manager:manager.py:521 wohand_poor_signal_hci1 (44:44:33:11:23:41): Switching from hci0 (AA:BB:CC:DD:EE:00) [connectable] to hci1 [connectable] (time elapsed:901.0 > stale seconds:900) 99s PASSED [ 50%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (AA:BB:CC:DD:EE:11) 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_manager.py::test_switching_adapters_based_on_stale_with_discovered_interval 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (AA:BB:CC:DD:EE:11) 99s -------------------------------- live log call --------------------------------- 99s DEBUG habluetooth.manager:manager.py:521 wohand_poor_signal_hci1 (44:44:33:11:23:41): Switching from hci0 (AA:BB:CC:DD:EE:00) [connectable] to hci1 (AA:BB:CC:DD:EE:11) [connectable] (time elapsed:16.0 > stale seconds:15) 99s PASSED [ 50%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (AA:BB:CC:DD:EE:11) 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_manager.py::test_switching_adapters_based_on_rssi_connectable_to_non_connectable 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (AA:BB:CC:DD:EE:11) 99s -------------------------------- live log call --------------------------------- 99s DEBUG habluetooth.manager:manager.py:538 wohand_good_signal (44:44:33:11:23:45): Switching from hci0 (AA:BB:CC:DD:EE:00) [connectable] to hci1 (new rssi:-60 - threshold:16 > old rssi:-100) 99s PASSED [ 51%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (AA:BB:CC:DD:EE:11) 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_manager.py::test_connectable_advertisement_can_be_retrieved_best_path_is_non_connectable 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (AA:BB:CC:DD:EE:11) 99s PASSED [ 51%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (AA:BB:CC:DD:EE:11) 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_manager.py::test_switching_adapters_when_one_goes_away 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 99s -------------------------------- live log call --------------------------------- 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci2 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci2 99s PASSED [ 52%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_manager.py::test_switching_adapters_when_one_stop_scanning 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 99s -------------------------------- live log call --------------------------------- 99s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci2 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci2 99s PASSED [ 52%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_manager.py::test_set_fallback_interval_small 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s PASSED [ 53%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_manager.py::test_set_fallback_interval_big 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s PASSED [ 54%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_manager.py::test_subclassing_bluetooth_manager 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s -------------------------------- live log call --------------------------------- 99s WARNING habluetooth.manager:manager.py:206 TestBluetoothManager2: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s PASSED [ 54%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_manager.py::test_is_operating_degraded_on_linux_with_mgmt 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s -------------------------------- live log call --------------------------------- 99s WARNING habluetooth.manager:manager.py:206 BluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s PASSED [ 55%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_manager.py::test_is_operating_degraded_on_linux_without_mgmt 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s -------------------------------- live log call --------------------------------- 99s WARNING habluetooth.manager:manager.py:206 BluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s PASSED [ 55%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_manager.py::test_is_operating_degraded_on_non_linux 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s -------------------------------- live log call --------------------------------- 99s WARNING habluetooth.manager:manager.py:206 BluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s PASSED [ 56%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_manager.py::test_is_operating_degraded_after_permission_error 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s -------------------------------- live log call --------------------------------- 99s WARNING habluetooth.manager:manager.py:206 BluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: No permission. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s PASSED [ 56%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_models.py::test_model 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s PASSED [ 57%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_models.py::test_model_from_bleak 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s PASSED [ 57%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_models.py::test_model_from_scanner 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s PASSED [ 58%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_models.py::test_construct_service_info_bleak 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s PASSED [ 58%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_models.py::test_from_device_and_advertisement_data 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s PASSED [ 59%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_models.py::test_pyobjc_compat 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s PASSED [ 59%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_models.py::test_as_connectable 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 99s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 99s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 99s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 99s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 99s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 99s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 99s PASSED [ 60%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_scanner.py::test_bytes_mac_to_str 99s -------------------------------- live log setup -------------------------------- 99s WARNING habluetooth.manager:manager.py:206 BluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 99s PASSED [ 60%] 99s tests/test_scanner.py::test_make_bluez_details PASSED [ 61%] 99s tests/test_scanner.py::test_empty_data_no_scanner 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s PASSED [ 62%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_scanner.py::test_dbus_socket_missing_in_container 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s -------------------------------- live log call --------------------------------- 99s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 99s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 99s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 99s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 99s DEBUG habluetooth.scanner:scanner.py:522 hci0 (AA:BB:CC:DD:EE:FF): FileNotFoundError while starting bluetooth: 99s Traceback (most recent call last): 99s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 99s await self.scanner.start() 99s File "/usr/lib/python3.13/unittest/mock.py", line 2321, in _execute_mock_call 99s raise effect 99s FileNotFoundError 99s PASSED [ 62%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_scanner.py::test_dbus_socket_missing 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s -------------------------------- live log call --------------------------------- 99s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 99s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 99s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 99s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 99s DEBUG habluetooth.scanner:scanner.py:522 hci0 (AA:BB:CC:DD:EE:FF): FileNotFoundError while starting bluetooth: 99s Traceback (most recent call last): 99s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 99s await self.scanner.start() 99s File "/usr/lib/python3.13/unittest/mock.py", line 2321, in _execute_mock_call 99s raise effect 99s FileNotFoundError 99s PASSED [ 63%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_scanner.py::test_handle_cancellation 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s -------------------------------- live log call --------------------------------- 99s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 99s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 99s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 99s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 99s PASSED [ 63%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_scanner.py::test_handle_stop_while_starting 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s -------------------------------- live log call --------------------------------- 99s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 99s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 99s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 99s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 99s DEBUG habluetooth.scanner:scanner.py:512 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth scanner aborted: 99s Traceback (most recent call last): 99s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 99s await self.scanner.start() 99s File "/tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_scanner.py", line 209, in _start 99s await asyncio.sleep(1000) 99s File "/usr/lib/python3.13/asyncio/tasks.py", line 718, in sleep 99s return await future 99s ^^^^^^^^^^^^ 99s asyncio.exceptions.CancelledError: Interrupted by interrupt context manager 99s 99s The above exception was the direct cause of the following exception: 99s 99s Traceback (most recent call last): 99s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 401, in _async_start_attempt 99s async_interrupt.interrupt(self._start_future, _AbortStartError, None), 99s ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 99s File "/usr/lib/python3/dist-packages/async_interrupt/__init__.py", line 90, in __aexit__ 99s raise self._exception from exc_val 99s habluetooth.scanner._AbortStartError 99s DEBUG habluetooth.scanner:scanner.py:631 hci0 (AA:BB:CC:DD:EE:FF): Scanner is already stopped 99s PASSED [ 64%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_scanner.py::test_dbus_broken_pipe_in_container 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s -------------------------------- live log call --------------------------------- 99s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 99s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 99s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 99s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 99s DEBUG habluetooth.scanner:scanner.py:540 hci0 (AA:BB:CC:DD:EE:FF): DBus connection broken: 99s Traceback (most recent call last): 99s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 99s await self.scanner.start() 99s File "/usr/lib/python3.13/unittest/mock.py", line 2321, in _execute_mock_call 99s raise effect 99s BrokenPipeError 99s PASSED [ 64%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_scanner.py::test_dbus_broken_pipe 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s -------------------------------- live log call --------------------------------- 99s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 99s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 99s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 99s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 99s DEBUG habluetooth.scanner:scanner.py:540 hci0 (AA:BB:CC:DD:EE:FF): DBus connection broken: 99s Traceback (most recent call last): 99s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 99s await self.scanner.start() 99s File "/usr/lib/python3.13/unittest/mock.py", line 2321, in _execute_mock_call 99s raise effect 99s BrokenPipeError 99s PASSED [ 65%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_scanner.py::test_invalid_dbus_message 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s -------------------------------- live log call --------------------------------- 99s ERROR asyncio:base_events.py:1879 Future exception was never retrieved 99s future: 99s habluetooth.scanner._AbortStartError 99s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 99s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 99s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 99s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 99s DEBUG habluetooth.scanner:scanner.py:555 hci0 (AA:BB:CC:DD:EE:FF): Invalid DBus message received: 99s Traceback (most recent call last): 99s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 99s await self.scanner.start() 99s File "/usr/lib/python3.13/unittest/mock.py", line 2321, in _execute_mock_call 99s raise effect 99s dbus_fast.errors.InvalidMessageError 99s PASSED [ 65%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_scanner.py::test_adapter_needs_reset_at_start[org.bluez.Error.Failed] 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s -------------------------------- live log call --------------------------------- 99s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 99s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 99s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 99s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 99s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (1/4): org.bluez.Error.Failed 99s Traceback (most recent call last): 99s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 99s await self.scanner.start() 99s File "/tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 99s raise BleakError(error) 99s bleak.exc.BleakError: org.bluez.Error.Failed 99s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 99s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 99s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (2/4) 99s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 99s DEBUG habluetooth.scanner:scanner.py:615 hci0 (AA:BB:CC:DD:EE:FF): adapter stopped responding; executing reset 99s DEBUG habluetooth.scanner:scanner.py:617 hci0 (AA:BB:CC:DD:EE:FF): adapter reset result: True 99s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (2/4): org.bluez.Error.Failed 99s Traceback (most recent call last): 99s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 99s await self.scanner.start() 99s File "/tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 99s raise BleakError(error) 99s bleak.exc.BleakError: org.bluez.Error.Failed 99s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 99s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 99s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (3/4) 99s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (3/4) 99s DEBUG bleak.backends.bluezdbus.manager:manager.py:346 initial properties: {'/org/bluez': {'org.freedesktop.DBus.Introspectable': {}, 'org.bluez.AgentManager1': {}, 'org.bluez.ProfileManager1': {}, 'org.bluez.HealthManager1': {}}} 99s FAILED [ 66%] 99s ------------------------------ live log teardown ------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s 99s tests/test_scanner.py::test_adapter_needs_reset_at_start[org.bluez.Error.InProgress] 99s -------------------------------- live log setup -------------------------------- 99s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 99s -------------------------------- live log call --------------------------------- 99s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 99s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 99s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 99s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 99s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 99s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (1/4): org.bluez.Error.InProgress 99s Traceback (most recent call last): 99s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 99s await self.scanner.start() 99s File "/tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 99s raise BleakError(error) 99s bleak.exc.BleakError: org.bluez.Error.InProgress 99s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 99s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 99s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (2/4) 99s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 99s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 99s DEBUG habluetooth.scanner:scanner.py:615 hci0 (AA:BB:CC:DD:EE:FF): adapter stopped responding; executing reset 99s DEBUG habluetooth.scanner:scanner.py:617 hci0 (AA:BB:CC:DD:EE:FF): adapter reset result: True 99s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (2/4): org.bluez.Error.InProgress 99s Traceback (most recent call last): 99s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 99s await self.scanner.start() 99s File "/tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 99s raise BleakError(error) 99s bleak.exc.BleakError: org.bluez.Error.InProgress 99s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 99s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 99s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (3/4) 99s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (3/4) 99s DEBUG bleak.backends.bluezdbus.manager:manager.py:346 initial properties: {'/org/bluez': {'org.freedesktop.DBus.Introspectable': {}, 'org.bluez.AgentManager1': {}, 'org.bluez.ProfileManager1': {}, 'org.bluez.HealthManager1': {}}} 100s FAILED [ 66%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_scanner.py::test_adapter_needs_reset_at_start[org.bluez.Error.NotReady] 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s -------------------------------- live log call --------------------------------- 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 100s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (1/4): org.bluez.Error.NotReady 100s Traceback (most recent call last): 100s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 100s await self.scanner.start() 100s File "/tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 100s raise BleakError(error) 100s bleak.exc.BleakError: org.bluez.Error.NotReady 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (2/4) 100s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:615 hci0 (AA:BB:CC:DD:EE:FF): adapter stopped responding; executing reset 100s DEBUG habluetooth.scanner:scanner.py:617 hci0 (AA:BB:CC:DD:EE:FF): adapter reset result: True 100s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (2/4): org.bluez.Error.NotReady 100s Traceback (most recent call last): 100s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 100s await self.scanner.start() 100s File "/tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 100s raise BleakError(error) 100s bleak.exc.BleakError: org.bluez.Error.NotReady 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (3/4) 100s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (3/4) 100s DEBUG bleak.backends.bluezdbus.manager:manager.py:346 initial properties: {'/org/bluez': {'org.freedesktop.DBus.Introspectable': {}, 'org.bluez.AgentManager1': {}, 'org.bluez.ProfileManager1': {}, 'org.bluez.HealthManager1': {}}} 100s FAILED [ 67%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_scanner.py::test_adapter_needs_reset_at_start[not found] 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s -------------------------------- live log call --------------------------------- 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 100s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (1/4): not found 100s Traceback (most recent call last): 100s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 100s await self.scanner.start() 100s File "/tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 100s raise BleakError(error) 100s bleak.exc.BleakError: not found 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (2/4) 100s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:615 hci0 (AA:BB:CC:DD:EE:FF): adapter stopped responding; executing reset 100s DEBUG habluetooth.scanner:scanner.py:617 hci0 (AA:BB:CC:DD:EE:FF): adapter reset result: True 100s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (2/4): not found 100s Traceback (most recent call last): 100s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 100s await self.scanner.start() 100s File "/tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 100s raise BleakError(error) 100s bleak.exc.BleakError: not found 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (3/4) 100s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (3/4) 100s DEBUG bleak.backends.bluezdbus.manager:manager.py:346 initial properties: {'/org/bluez': {'org.freedesktop.DBus.Introspectable': {}, 'org.bluez.AgentManager1': {}, 'org.bluez.ProfileManager1': {}, 'org.bluez.HealthManager1': {}}} 100s FAILED [ 67%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_scanner.py::test_recovery_from_dbus_restart 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s -------------------------------- live log call --------------------------------- 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 100s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (1/4) 100s DEBUG bleak.backends.bluezdbus.manager:manager.py:346 initial properties: {'/org/bluez': {'org.freedesktop.DBus.Introspectable': {}, 'org.bluez.AgentManager1': {}, 'org.bluez.ProfileManager1': {}, 'org.bluez.HealthManager1': {}}} 100s FAILED [ 68%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_scanner.py::test_adapter_recovery 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s -------------------------------- live log call --------------------------------- 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 100s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (1/4) 100s DEBUG bleak.backends.bluezdbus.manager:manager.py:346 initial properties: {'/org/bluez': {'org.freedesktop.DBus.Introspectable': {}, 'org.bluez.AgentManager1': {}, 'org.bluez.ProfileManager1': {}, 'org.bluez.HealthManager1': {}}} 100s FAILED [ 68%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_scanner.py::test_adapter_scanner_fails_to_start_first_time 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s -------------------------------- live log call --------------------------------- 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 100s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (1/4) 100s DEBUG bleak.backends.bluezdbus.manager:manager.py:346 initial properties: {'/org/bluez': {'org.freedesktop.DBus.Introspectable': {}, 'org.bluez.AgentManager1': {}, 'org.bluez.ProfileManager1': {}, 'org.bluez.HealthManager1': {}}} 100s FAILED [ 69%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_scanner.py::test_adapter_fails_to_start_and_takes_a_bit_to_init 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s -------------------------------- live log call --------------------------------- 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 100s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:462 hci0 (AA:BB:CC:DD:EE:FF): Waiting for adapter to initialize; attempt (1/4) 100s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (1/4): org.freedesktop.DBus.Error.UnknownObject 100s Traceback (most recent call last): 100s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 100s await self.scanner.start() 100s File "/tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_scanner.py", line 660, in start 100s raise BleakError("org.freedesktop.DBus.Error.UnknownObject") 100s bleak.exc.BleakError: org.freedesktop.DBus.Error.UnknownObject 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (2/4) 100s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:615 hci0 (AA:BB:CC:DD:EE:FF): adapter stopped responding; executing reset 100s DEBUG habluetooth.scanner:scanner.py:617 hci0 (AA:BB:CC:DD:EE:FF): adapter reset result: True 100s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (2/4): org.bluez.Error.InProgress 100s Traceback (most recent call last): 100s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 100s await self.scanner.start() 100s File "/tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_scanner.py", line 662, in start 100s raise BleakError("org.bluez.Error.InProgress") 100s bleak.exc.BleakError: org.bluez.Error.InProgress 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (3/4) 100s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (3/4): org.bluez.Error.InProgress 100s Traceback (most recent call last): 100s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 100s await self.scanner.start() 100s File "/tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_scanner.py", line 664, in start 100s raise BleakError("org.bluez.Error.InProgress") 100s bleak.exc.BleakError: org.bluez.Error.InProgress 100s DEBUG habluetooth.scanner:scanner.py:369 hci0 (AA:BB:CC:DD:EE:FF): Falling back to passive scanning mode after active scanning failed (4/4) 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'passive', 'detection_callback': >, 'adapter': 'hci0', 'bluez': {'or_patterns': [OrPattern(start_position=0, ad_data_type=, content_of_pattern=b'\x02'), OrPattern(start_position=0, ad_data_type=, content_of_pattern=b'\x06'), OrPattern(start_position=0, ad_data_type=, content_of_pattern=b'\x1a')]}} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (4/4) 100s WARNING habluetooth.scanner:scanner.py:471 hci0 (AA:BB:CC:DD:EE:FF): Successful fall-back to passive scanning mode after active scanning failed (4/4) 100s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (4/4) 100s DEBUG bleak.backends.bluezdbus.manager:manager.py:346 initial properties: {'/org/bluez': {'org.freedesktop.DBus.Introspectable': {}, 'org.bluez.AgentManager1': {}, 'org.bluez.ProfileManager1': {}, 'org.bluez.HealthManager1': {}}} 100s FAILED [ 70%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_scanner.py::test_restart_takes_longer_than_watchdog_time 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s -------------------------------- live log call --------------------------------- 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 100s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (1/4) 100s DEBUG bleak.backends.bluezdbus.manager:manager.py:346 initial properties: {'/org/bluez': {'org.freedesktop.DBus.Introspectable': {}, 'org.bluez.AgentManager1': {}, 'org.bluez.ProfileManager1': {}, 'org.bluez.HealthManager1': {}}} 100s FAILED [ 70%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_scanner.py::test_setup_and_stop_macos SKIPPED (condition:...) [ 71%] 100s tests/test_scanner.py::test_adapter_init_fails_fallback_to_passive 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s -------------------------------- live log call --------------------------------- 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 100s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:462 hci0 (AA:BB:CC:DD:EE:FF): Waiting for adapter to initialize; attempt (1/4) 100s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (1/4): org.freedesktop.DBus.Error.UnknownObject 100s Traceback (most recent call last): 100s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 100s await self.scanner.start() 100s File "/tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_scanner.py", line 841, in start 100s raise BleakError("org.freedesktop.DBus.Error.UnknownObject") 100s bleak.exc.BleakError: org.freedesktop.DBus.Error.UnknownObject 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (2/4) 100s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:615 hci0 (AA:BB:CC:DD:EE:FF): adapter stopped responding; executing reset 100s DEBUG habluetooth.scanner:scanner.py:617 hci0 (AA:BB:CC:DD:EE:FF): adapter reset result: True 100s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (2/4): org.bluez.Error.InProgress 100s Traceback (most recent call last): 100s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 100s await self.scanner.start() 100s File "/tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_scanner.py", line 843, in start 100s raise BleakError("org.bluez.Error.InProgress") 100s bleak.exc.BleakError: org.bluez.Error.InProgress 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (3/4) 100s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (3/4): org.bluez.Error.InProgress 100s Traceback (most recent call last): 100s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 100s await self.scanner.start() 100s File "/tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_scanner.py", line 845, in start 100s raise BleakError("org.bluez.Error.InProgress") 100s bleak.exc.BleakError: org.bluez.Error.InProgress 100s DEBUG habluetooth.scanner:scanner.py:369 hci0 (AA:BB:CC:DD:EE:FF): Falling back to passive scanning mode after active scanning failed (4/4) 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'passive', 'detection_callback': >, 'adapter': 'hci0', 'bluez': {'or_patterns': [OrPattern(start_position=0, ad_data_type=, content_of_pattern=b'\x02'), OrPattern(start_position=0, ad_data_type=, content_of_pattern=b'\x06'), OrPattern(start_position=0, ad_data_type=, content_of_pattern=b'\x1a')]}} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (4/4) 100s WARNING habluetooth.scanner:scanner.py:471 hci0 (AA:BB:CC:DD:EE:FF): Successful fall-back to passive scanning mode after active scanning failed (4/4) 100s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (4/4) 100s DEBUG bleak.backends.bluezdbus.manager:manager.py:346 initial properties: {'/org/bluez': {'org.freedesktop.DBus.Introspectable': {}, 'org.bluez.AgentManager1': {}, 'org.bluez.ProfileManager1': {}, 'org.bluez.HealthManager1': {}}} 100s FAILED [ 71%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_scanner.py::test_scanner_with_bluez_mgmt_side_channel 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s -------------------------------- live log call --------------------------------- 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s ERROR asyncio:base_events.py:1879 Exception in callback _SelectorTransport._add_reader() 100s handle: 100s Traceback (most recent call last): 100s File "/usr/lib/python3.13/asyncio/events.py", line 89, in _run 100s self._context.run(self._callback, *self._args) 100s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 100s File "/usr/lib/python3.13/asyncio/selector_events.py", line 920, in _add_reader 100s self._loop._add_reader(fd, callback, *args) 100s ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 100s File "/usr/lib/python3.13/asyncio/selector_events.py", line 279, in _add_reader 100s self._selector.register(fd, selectors.EVENT_READ, 100s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^ 100s (handle, None)) 100s ^^^^^^^^^^^^^^^ 100s File "/usr/lib/python3.13/selectors.py", line 345, in register 100s self._selector.register(key.fd, poller_events) 100s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ 100s OSError: [Errno 9] Bad file descriptor 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:FF) 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 100s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (1/4) 100s DEBUG bleak.backends.bluezdbus.manager:manager.py:346 initial properties: {'/org/bluez': {'org.freedesktop.DBus.Introspectable': {}, 'org.bluez.AgentManager1': {}, 'org.bluez.ProfileManager1': {}, 'org.bluez.HealthManager1': {}}} 100s FAILED [ 72%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_scanner.py::test_bluez_mgmt_protocol_data_flow 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s -------------------------------- live log call --------------------------------- 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s ERROR asyncio:base_events.py:1879 Exception in callback _SelectorTransport._add_reader() 100s handle: 100s Traceback (most recent call last): 100s File "/usr/lib/python3.13/asyncio/events.py", line 89, in _run 100s self._context.run(self._callback, *self._args) 100s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 100s File "/usr/lib/python3.13/asyncio/selector_events.py", line 920, in _add_reader 100s self._loop._add_reader(fd, callback, *args) 100s ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 100s File "/usr/lib/python3.13/asyncio/selector_events.py", line 279, in _add_reader 100s self._selector.register(fd, selectors.EVENT_READ, 100s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^ 100s (handle, None)) 100s ^^^^^^^^^^^^^^^ 100s File "/usr/lib/python3.13/selectors.py", line 345, in register 100s self._selector.register(key.fd, poller_events) 100s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ 100s OSError: [Errno 9] Bad file descriptor 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (AA:BB:CC:DD:EE:01) 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:00): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:00): Starting bluetooth discovery attempt: (1/4) 100s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:00): Success while starting bluetooth; attempt: (1/4) 100s DEBUG bleak.backends.bluezdbus.manager:manager.py:346 initial properties: {'/org/bluez': {'org.freedesktop.DBus.Introspectable': {}, 'org.bluez.AgentManager1': {}, 'org.bluez.ProfileManager1': {}, 'org.bluez.HealthManager1': {}}} 100s ERROR asyncio:base_events.py:1879 Task was destroyed but it is pending! 100s task: wait_for=> 100s FAILED [ 72%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_scanner.py::test_mgmt_permission_error_fallback 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s -------------------------------- live log call --------------------------------- 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s PASSED [ 73%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_scanner.py::test_usb_scanner_type PASSED [ 73%] 100s tests/test_scanner.py::test_uart_scanner_type PASSED [ 74%] 100s tests/test_scanner.py::test_unknown_scanner_type_no_cached_adapters PASSED [ 74%] 100s tests/test_scanner.py::test_unknown_scanner_type_adapter_not_found PASSED [ 75%] 100s tests/test_scanner.py::test_unknown_scanner_type_no_adapter_type PASSED [ 75%] 100s tests/test_scanner.py::test_scanner_type_with_real_adapter_data 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s -------------------------------- live log call --------------------------------- 100s WARNING habluetooth.manager:manager.py:206 BluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s PASSED [ 76%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_scanner.py::test_scanner_type_updates_after_adapter_refresh 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s -------------------------------- live log call --------------------------------- 100s WARNING habluetooth.manager:manager.py:206 BluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s PASSED [ 77%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_scanner.py::test_multiple_scanner_types_simultaneously PASSED [ 77%] 100s tests/test_scanner.py::test_ha_scanner_get_allocations_no_slot_manager PASSED [ 78%] 100s tests/test_scanner.py::test_ha_scanner_get_allocations_with_slot_manager PASSED [ 78%] 100s tests/test_scanner.py::test_ha_scanner_get_allocations_updates_dynamically PASSED [ 79%] 100s tests/test_scanner.py::test_on_scanner_start_callback 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s WARNING habluetooth.manager:manager.py:206 MockBluetoothManagerWithCallbacks: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s -------------------------------- live log call --------------------------------- 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 100s PASSED [ 79%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_storage.py::test_discovered_device_advertisement_data_to_dict 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s PASSED [ 80%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_storage.py::test_discovered_device_advertisement_data_from_dict 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s PASSED [ 80%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_storage.py::test_expire_stale_scanner_discovered_device_advertisement_data 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s -------------------------------- live log call --------------------------------- 100s DEBUG habluetooth.storage:storage.py:122 Loaded 1 fresh discovered devices for myscanner 100s DEBUG habluetooth.storage:storage.py:122 Loaded 0 fresh discovered devices for all_expired 100s PASSED [ 81%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_storage.py::test_expire_future_discovered_device_advertisement_data 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s -------------------------------- live log call --------------------------------- 100s DEBUG habluetooth.storage:storage.py:122 Loaded 1 fresh discovered devices for myscanner 100s WARNING habluetooth.storage:storage.py:107 Discarding timestamp 1764398631.3546605 for CC:DD:EE:FF:AA:BB on scanner all_future as it is the future (now = 1763398631.354666) 100s DEBUG habluetooth.storage:storage.py:122 Loaded 0 fresh discovered devices for all_future 100s PASSED [ 81%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_storage.py::test_discovered_device_advertisement_data_from_dict_corrupt 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s -------------------------------- live log call --------------------------------- 100s ERROR habluetooth.storage:storage.py:147 Error deserializing discovered_device_advertisement_data, adapter startup will be slow: BLEDevice.__init__() missing 1 required positional argument: 'name' 100s Traceback (most recent call last): 100s File "/usr/lib/python3/dist-packages/habluetooth/storage.py", line 138, in discovered_device_advertisement_data_from_dict 100s _deserialize_discovered_device_advertisement_datas( 100s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 100s data[DISCOVERED_DEVICE_ADVERTISEMENT_DATAS] 100s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 100s ), 100s ^ 100s File "/usr/lib/python3/dist-packages/habluetooth/storage.py", line 198, in _deserialize_discovered_device_advertisement_datas 100s _ble_device_from_dict(device_advertisement_data["device"]), 100s ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 100s File "/usr/lib/python3/dist-packages/habluetooth/storage.py", line 215, in _ble_device_from_dict 100s return BLEDevice(**device_data) 100s TypeError: BLEDevice.__init__() missing 1 required positional argument: 'name' 100s PASSED [ 82%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_storage.py::test_backward_compatibility_rssi_in_device_dict 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s PASSED [ 82%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_wrappers.py::test_test_switch_adapters_when_out_of_slots 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s -------------------------------- live log call --------------------------------- 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 100s WARNING habluetooth.wrappers:wrappers.py:297 00:00:00:00:00:01: BleakClient.connect() called without bleak-retry-connector. For reliable connection establishment, use bleak_retry_connector.establish_connection(). See https://github.com/Bluetooth-Devices/bleak-retry-connector 100s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 100s INFO habluetooth.wrappers:wrappers.py:458 00:00:00:00:00:01 - any: Found 2 connection path(s), preferred order: hci0 (00:00:00:00:00:01) (RSSI=-60) (failures=0) (in_progress=0) (score=-60), hci1 (00:00:00:00:00:02) (RSSI=-80) (failures=0) (in_progress=0) (score=-80) 100s DEBUG habluetooth.wrappers:wrappers.py:337 00:00:00:00:00:01 - any -> /org/bluez/hci0: Connecting via hci0 (00:00:00:00:00:01) (last rssi: -60) 100s DEBUG habluetooth.wrappers:wrappers.py:378 00:00:00:00:00:01 - any -> /org/bluez/hci0: Connected via hci0 (00:00:00:00:00:01) (last rssi: -60) 100s WARNING habluetooth.wrappers:wrappers.py:297 00:00:00:00:00:02: BleakClient.connect() called without bleak-retry-connector. For reliable connection establishment, use bleak_retry_connector.establish_connection(). See https://github.com/Bluetooth-Devices/bleak-retry-connector 100s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:02: Looking for backend to connect 100s INFO habluetooth.wrappers:wrappers.py:458 00:00:00:00:00:02 - any: Found 2 connection path(s), preferred order: hci0 (00:00:00:00:00:01) (RSSI=-60) (failures=0) (in_progress=0) (score=-60), hci1 (00:00:00:00:00:02) (RSSI=-80) (failures=0) (in_progress=0) (score=-80) 100s WARNING habluetooth.wrappers:wrappers.py:297 00:00:00:00:00:03: BleakClient.connect() called without bleak-retry-connector. For reliable connection establishment, use bleak_retry_connector.establish_connection(). See https://github.com/Bluetooth-Devices/bleak-retry-connector 100s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:03: Looking for backend to connect 100s INFO habluetooth.wrappers:wrappers.py:458 00:00:00:00:00:03 - any: Found 2 connection path(s), preferred order: hci0 (00:00:00:00:00:01) (RSSI=-60) (failures=0) (in_progress=0) (score=-60), hci1 (00:00:00:00:00:02) (RSSI=-80) (failures=0) (in_progress=0) (score=-80) 100s DEBUG habluetooth.wrappers:wrappers.py:337 00:00:00:00:00:03 - any -> /org/bluez/hci1: Connecting via hci1 (00:00:00:00:00:02) (last rssi: -80) 100s DEBUG habluetooth.wrappers:wrappers.py:378 00:00:00:00:00:03 - any -> /org/bluez/hci1: Connected via hci1 (00:00:00:00:00:02) (last rssi: -80) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 100s PASSED [ 83%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_wrappers.py::test_release_slot_on_connect_failure 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s -------------------------------- live log call --------------------------------- 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 100s WARNING habluetooth.wrappers:wrappers.py:297 00:00:00:00:00:01: BleakClient.connect() called without bleak-retry-connector. For reliable connection establishment, use bleak_retry_connector.establish_connection(). See https://github.com/Bluetooth-Devices/bleak-retry-connector 100s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 100s INFO habluetooth.wrappers:wrappers.py:458 00:00:00:00:00:01 - any: Found 2 connection path(s), preferred order: hci0 (00:00:00:00:00:01) (RSSI=-60) (failures=0) (in_progress=0) (score=-60), hci1 (00:00:00:00:00:02) (RSSI=-80) (failures=0) (in_progress=0) (score=-80) 100s DEBUG habluetooth.wrappers:wrappers.py:337 00:00:00:00:00:01 - any -> /org/bluez/hci0: Connecting via hci0 (00:00:00:00:00:01) (last rssi: -60) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 100s PASSED [ 83%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_wrappers.py::test_release_slot_on_connect_exception 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s -------------------------------- live log call --------------------------------- 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 100s WARNING habluetooth.wrappers:wrappers.py:297 00:00:00:00:00:01: BleakClient.connect() called without bleak-retry-connector. For reliable connection establishment, use bleak_retry_connector.establish_connection(). See https://github.com/Bluetooth-Devices/bleak-retry-connector 100s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 100s INFO habluetooth.wrappers:wrappers.py:458 00:00:00:00:00:01 - any: Found 2 connection path(s), preferred order: hci0 (00:00:00:00:00:01) (RSSI=-60) (failures=0) (in_progress=0) (score=-60), hci1 (00:00:00:00:00:02) (RSSI=-80) (failures=0) (in_progress=0) (score=-80) 100s DEBUG habluetooth.wrappers:wrappers.py:337 00:00:00:00:00:01 - any -> /org/bluez/hci0: Connecting via hci0 (00:00:00:00:00:01) (last rssi: -60) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 100s PASSED [ 84%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_wrappers.py::test_switch_adapters_on_failure 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s -------------------------------- live log call --------------------------------- 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 100s WARNING habluetooth.wrappers:wrappers.py:297 00:00:00:00:00:01: BleakClient.connect() called without bleak-retry-connector. For reliable connection establishment, use bleak_retry_connector.establish_connection(). See https://github.com/Bluetooth-Devices/bleak-retry-connector 100s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 100s INFO habluetooth.wrappers:wrappers.py:458 00:00:00:00:00:01 - any: Found 2 connection path(s), preferred order: hci0 (00:00:00:00:00:01) (RSSI=-60) (failures=0) (in_progress=0) (score=-60), hci1 (00:00:00:00:00:02) (RSSI=-80) (failures=0) (in_progress=0) (score=-80) 100s DEBUG habluetooth.wrappers:wrappers.py:337 00:00:00:00:00:01 - any -> /org/bluez/hci0: Connecting via hci0 (00:00:00:00:00:01) (last rssi: -60) 100s WARNING habluetooth.wrappers:wrappers.py:297 00:00:00:00:00:01: BleakClient.connect() called without bleak-retry-connector. For reliable connection establishment, use bleak_retry_connector.establish_connection(). See https://github.com/Bluetooth-Devices/bleak-retry-connector 100s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 100s INFO habluetooth.wrappers:wrappers.py:458 00:00:00:00:00:01 - any: Found 2 connection path(s), preferred order: hci0 (00:00:00:00:00:01) (RSSI=-60) (failures=1) (in_progress=0) (score=-70.2), hci1 (00:00:00:00:00:02) (RSSI=-80) (failures=0) (in_progress=0) (score=-80) 100s DEBUG habluetooth.wrappers:wrappers.py:337 00:00:00:00:00:01 - any -> /org/bluez/hci0: Connecting via hci0 (00:00:00:00:00:01) (last rssi: -60) 100s WARNING habluetooth.wrappers:wrappers.py:297 00:00:00:00:00:01: BleakClient.connect() called without bleak-retry-connector. For reliable connection establishment, use bleak_retry_connector.establish_connection(). See https://github.com/Bluetooth-Devices/bleak-retry-connector 100s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 100s INFO habluetooth.wrappers:wrappers.py:458 00:00:00:00:00:01 - any: Found 2 connection path(s), preferred order: hci1 (00:00:00:00:00:02) (RSSI=-80) (failures=0) (in_progress=0) (score=-80), hci0 (00:00:00:00:00:01) (RSSI=-60) (failures=2) (in_progress=0) (score=-80.4) 100s DEBUG habluetooth.wrappers:wrappers.py:337 00:00:00:00:00:01 - any -> /org/bluez/hci1: Connecting via hci1 (00:00:00:00:00:02) (last rssi: -80) 100s DEBUG habluetooth.wrappers:wrappers.py:378 00:00:00:00:00:01 - any -> /org/bluez/hci1: Connected via hci1 (00:00:00:00:00:02) (last rssi: -80) 100s WARNING habluetooth.wrappers:wrappers.py:297 00:00:00:00:00:01: BleakClient.connect() called without bleak-retry-connector. For reliable connection establishment, use bleak_retry_connector.establish_connection(). See https://github.com/Bluetooth-Devices/bleak-retry-connector 100s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 100s INFO habluetooth.wrappers:wrappers.py:458 00:00:00:00:00:01 - any: Found 2 connection path(s), preferred order: hci1 (00:00:00:00:00:02) (RSSI=-80) (failures=0) (in_progress=0) (score=-80), hci0 (00:00:00:00:00:01) (RSSI=-60) (failures=2) (in_progress=0) (score=-80.4) 100s DEBUG habluetooth.wrappers:wrappers.py:337 00:00:00:00:00:01 - any -> /org/bluez/hci1: Connecting via hci1 (00:00:00:00:00:02) (last rssi: -80) 100s DEBUG habluetooth.wrappers:wrappers.py:378 00:00:00:00:00:01 - any -> /org/bluez/hci1: Connected via hci1 (00:00:00:00:00:02) (last rssi: -80) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 100s PASSED [ 85%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_wrappers.py::test_switch_adapters_on_connecting 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s -------------------------------- live log call --------------------------------- 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 100s WARNING habluetooth.wrappers:wrappers.py:297 00:00:00:00:00:01: BleakClient.connect() called without bleak-retry-connector. For reliable connection establishment, use bleak_retry_connector.establish_connection(). See https://github.com/Bluetooth-Devices/bleak-retry-connector 100s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 100s INFO habluetooth.wrappers:wrappers.py:458 00:00:00:00:00:01 - any: Found 2 connection path(s), preferred order: hci0 (00:00:00:00:00:01) (RSSI=-60) (failures=0) (in_progress=0) (score=-60), hci1 (00:00:00:00:00:02) (RSSI=-80) (failures=0) (in_progress=0) (score=-80) 100s DEBUG habluetooth.wrappers:wrappers.py:337 00:00:00:00:00:01 - any -> /org/bluez/hci0: Connecting via hci0 (00:00:00:00:00:01) (last rssi: -60) 100s WARNING habluetooth.wrappers:wrappers.py:297 00:00:00:00:00:01: BleakClient.connect() called without bleak-retry-connector. For reliable connection establishment, use bleak_retry_connector.establish_connection(). See https://github.com/Bluetooth-Devices/bleak-retry-connector 100s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 100s INFO habluetooth.wrappers:wrappers.py:458 00:00:00:00:00:01 - any: Found 2 connection path(s), preferred order: hci1 (00:00:00:00:00:02) (RSSI=-80) (failures=0) (in_progress=0) (score=-80), hci0 (00:00:00:00:00:01) (RSSI=-60) (failures=0) (in_progress=1) (score=-80.2) 100s DEBUG habluetooth.wrappers:wrappers.py:337 00:00:00:00:00:01 - any -> /org/bluez/hci1: Connecting via hci1 (00:00:00:00:00:02) (last rssi: -80) 100s DEBUG habluetooth.wrappers:wrappers.py:378 00:00:00:00:00:01 - any -> /org/bluez/hci1: Connected via hci1 (00:00:00:00:00:02) (last rssi: -80) 100s DEBUG habluetooth.wrappers:wrappers.py:378 00:00:00:00:00:01 - any -> /org/bluez/hci0: Connected via hci0 (00:00:00:00:00:01) (last rssi: -60) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 100s PASSED [ 85%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_wrappers.py::test_single_adapter_connection_history 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s -------------------------------- live log call --------------------------------- 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 100s WARNING habluetooth.wrappers:wrappers.py:297 00:00:00:00:00:11: BleakClient.connect() called without bleak-retry-connector. For reliable connection establishment, use bleak_retry_connector.establish_connection(). See https://github.com/Bluetooth-Devices/bleak-retry-connector 100s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:11: Looking for backend to connect 100s INFO habluetooth.wrappers:wrappers.py:458 00:00:00:00:00:11 - any: Found 1 connection path(s), preferred order: hci0 (AA:BB:CC:DD:EE:00) (RSSI=-60) (failures=0) (in_progress=0) (score=-60) 100s DEBUG habluetooth.wrappers:wrappers.py:337 00:00:00:00:00:11 - any -> /org/bluez/hci0: Connecting via hci0 (AA:BB:CC:DD:EE:00) (last rssi: -60) 100s DEBUG habluetooth.wrappers:wrappers.py:378 00:00:00:00:00:11 - any -> /org/bluez/hci0: Connected via hci0 (AA:BB:CC:DD:EE:00) (last rssi: -60) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 100s PASSED [ 86%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_wrappers.py::test_passing_subclassed_str_as_address 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s -------------------------------- live log call --------------------------------- 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 100s WARNING habluetooth.wrappers:wrappers.py:297 00:00:00:00:00:01: BleakClient.connect() called without bleak-retry-connector. For reliable connection establishment, use bleak_retry_connector.establish_connection(). See https://github.com/Bluetooth-Devices/bleak-retry-connector 100s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 100s INFO habluetooth.wrappers:wrappers.py:458 00:00:00:00:00:01 - any: Found 2 connection path(s), preferred order: hci0 (00:00:00:00:00:01) (RSSI=-60) (failures=0) (in_progress=0) (score=-60), hci1 (00:00:00:00:00:02) (RSSI=-80) (failures=0) (in_progress=0) (score=-80) 100s DEBUG habluetooth.wrappers:wrappers.py:337 00:00:00:00:00:01 - any -> /org/bluez/hci0: Connecting via hci0 (00:00:00:00:00:01) (last rssi: -60) 100s DEBUG habluetooth.wrappers:wrappers.py:378 00:00:00:00:00:01 - any -> /org/bluez/hci0: Connected via hci0 (00:00:00:00:00:01) (last rssi: -60) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 100s PASSED [ 86%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_wrappers.py::test_find_device_by_address 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s -------------------------------- live log call --------------------------------- 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 100s PASSED [ 87%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_wrappers.py::test_discover 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s -------------------------------- live log call --------------------------------- 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 100s PASSED [ 87%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_wrappers.py::test_raise_after_shutdown 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s -------------------------------- live log call --------------------------------- 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 100s WARNING habluetooth.wrappers:wrappers.py:297 00:00:00:00:00:01: BleakClient.connect() called without bleak-retry-connector. For reliable connection establishment, use bleak_retry_connector.establish_connection(). See https://github.com/Bluetooth-Devices/bleak-retry-connector 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 100s PASSED [ 88%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_wrappers.py::test_wrapped_instance_with_filter 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 100s PASSED [ 88%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 100s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_wrappers.py::test_wrapped_instance_with_service_uuids 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 100s PASSED [ 89%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 100s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_wrappers.py::test_wrapped_instance_with_service_uuids_with_coro_callback 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 100s PASSED [ 89%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 100s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_wrappers.py::test_wrapped_instance_with_broken_callbacks 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 100s PASSED [ 90%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 100s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_wrappers.py::test_wrapped_instance_changes_uuids 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 100s PASSED [ 90%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 100s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_wrappers.py::test_wrapped_instance_changes_filters 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 100s PASSED [ 91%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 100s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_wrappers.py::test_wrapped_instance_unsupported_filter 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 100s -------------------------------- live log call --------------------------------- 100s WARNING habluetooth.wrappers:wrappers.py:136 Only UUIDs filters are supported 100s PASSED [ 91%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 100s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_wrappers.py::test_client_with_services_parameter 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s -------------------------------- live log call --------------------------------- 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 100s WARNING habluetooth.wrappers:wrappers.py:297 00:00:00:00:00:01: BleakClient.connect() called without bleak-retry-connector. For reliable connection establishment, use bleak_retry_connector.establish_connection(). See https://github.com/Bluetooth-Devices/bleak-retry-connector 100s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 100s INFO habluetooth.wrappers:wrappers.py:458 00:00:00:00:00:01 - any: Found 2 connection path(s), preferred order: hci0 (00:00:00:00:00:01) (RSSI=-60) (failures=0) (in_progress=0) (score=-60), hci1 (00:00:00:00:00:02) (RSSI=-80) (failures=0) (in_progress=0) (score=-80) 100s DEBUG habluetooth.wrappers:wrappers.py:337 00:00:00:00:00:01 - any -> /org/bluez/hci0: Connecting via hci0 (00:00:00:00:00:01) (last rssi: -60) 100s DEBUG habluetooth.wrappers:wrappers.py:378 00:00:00:00:00:01 - any -> /org/bluez/hci0: Connected via hci0 (00:00:00:00:00:01) (last rssi: -60) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 100s PASSED [ 92%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_wrappers.py::test_client_with_pair_parameter 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s -------------------------------- live log call --------------------------------- 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 100s PASSED [ 93%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_wrappers.py::test_client_services_normalization 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s -------------------------------- live log call --------------------------------- 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 100s WARNING habluetooth.wrappers:wrappers.py:297 00:00:00:00:00:01: BleakClient.connect() called without bleak-retry-connector. For reliable connection establishment, use bleak_retry_connector.establish_connection(). See https://github.com/Bluetooth-Devices/bleak-retry-connector 100s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 100s INFO habluetooth.wrappers:wrappers.py:458 00:00:00:00:00:01 - any: Found 2 connection path(s), preferred order: hci0 (00:00:00:00:00:01) (RSSI=-60) (failures=0) (in_progress=0) (score=-60), hci1 (00:00:00:00:00:02) (RSSI=-80) (failures=0) (in_progress=0) (score=-80) 100s DEBUG habluetooth.wrappers:wrappers.py:337 00:00:00:00:00:01 - any -> /org/bluez/hci0: Connecting via hci0 (00:00:00:00:00:01) (last rssi: -60) 100s DEBUG habluetooth.wrappers:wrappers.py:378 00:00:00:00:00:01 - any -> /org/bluez/hci0: Connected via hci0 (00:00:00:00:00:01) (last rssi: -60) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 100s PASSED [ 93%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_wrappers.py::test_client_with_none_services 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s -------------------------------- live log call --------------------------------- 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 100s WARNING habluetooth.wrappers:wrappers.py:297 00:00:00:00:00:01: BleakClient.connect() called without bleak-retry-connector. For reliable connection establishment, use bleak_retry_connector.establish_connection(). See https://github.com/Bluetooth-Devices/bleak-retry-connector 100s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 100s INFO habluetooth.wrappers:wrappers.py:458 00:00:00:00:00:01 - any: Found 2 connection path(s), preferred order: hci0 (00:00:00:00:00:01) (RSSI=-60) (failures=0) (in_progress=0) (score=-60), hci1 (00:00:00:00:00:02) (RSSI=-80) (failures=0) (in_progress=0) (score=-80) 100s DEBUG habluetooth.wrappers:wrappers.py:337 00:00:00:00:00:01 - any -> /org/bluez/hci0: Connecting via hci0 (00:00:00:00:00:01) (last rssi: -60) 100s DEBUG habluetooth.wrappers:wrappers.py:378 00:00:00:00:00:01 - any -> /org/bluez/hci0: Connected via hci0 (00:00:00:00:00:01) (last rssi: -60) 100s WARNING habluetooth.wrappers:wrappers.py:297 00:00:00:00:00:01: BleakClient.connect() called without bleak-retry-connector. For reliable connection establishment, use bleak_retry_connector.establish_connection(). See https://github.com/Bluetooth-Devices/bleak-retry-connector 100s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 100s INFO habluetooth.wrappers:wrappers.py:458 00:00:00:00:00:01 - any: Found 2 connection path(s), preferred order: hci0 (00:00:00:00:00:01) (RSSI=-60) (failures=0) (in_progress=0) (score=-60), hci1 (00:00:00:00:00:02) (RSSI=-80) (failures=0) (in_progress=0) (score=-80) 100s DEBUG habluetooth.wrappers:wrappers.py:337 00:00:00:00:00:01 - any -> /org/bluez/hci0: Connecting via hci0 (00:00:00:00:00:01) (last rssi: -60) 100s DEBUG habluetooth.wrappers:wrappers.py:378 00:00:00:00:00:01 - any -> /org/bluez/hci0: Connected via hci0 (00:00:00:00:00:01) (last rssi: -60) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 100s PASSED [ 94%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_wrappers.py::test_passive_only_scanner_error_message 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s -------------------------------- live log call --------------------------------- 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner shelly_plus1pm_e86bea01020c (passive_scanner_1) 100s WARNING habluetooth.wrappers:wrappers.py:297 00:00:00:00:00:01: BleakClient.connect() called without bleak-retry-connector. For reliable connection establishment, use bleak_retry_connector.establish_connection(). See https://github.com/Bluetooth-Devices/bleak-retry-connector 100s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner shelly_plus1pm_e86bea01020c (passive_scanner_1) 100s PASSED [ 94%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_wrappers.py::test_passive_scanner_with_active_scanner 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s -------------------------------- live log call --------------------------------- 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner shelly_device (passive_scanner) 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner esphome_device (active_scanner) 100s WARNING habluetooth.wrappers:wrappers.py:297 00:00:00:00:00:02: BleakClient.connect() called without bleak-retry-connector. For reliable connection establishment, use bleak_retry_connector.establish_connection(). See https://github.com/Bluetooth-Devices/bleak-retry-connector 100s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:02: Looking for backend to connect 100s INFO habluetooth.wrappers:wrappers.py:458 00:00:00:00:00:02 - Test Device: Found 1 connection path(s), preferred order: esphome_device (active_scanner) (RSSI=-50) (failures=0) (in_progress=0) (score=-50) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner shelly_device (passive_scanner) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner esphome_device (active_scanner) 100s PASSED [ 95%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_wrappers.py::test_connection_params_loading_with_bluez_mgmt 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s -------------------------------- live log call --------------------------------- 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 100s WARNING habluetooth.wrappers:wrappers.py:297 00:00:00:00:00:01: BleakClient.connect() called without bleak-retry-connector. For reliable connection establishment, use bleak_retry_connector.establish_connection(). See https://github.com/Bluetooth-Devices/bleak-retry-connector 100s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 100s INFO habluetooth.wrappers:wrappers.py:458 00:00:00:00:00:01 - any: Found 2 connection path(s), preferred order: hci0 (00:00:00:00:00:01) (RSSI=-60) (failures=0) (in_progress=0) (score=-60), hci1 (00:00:00:00:00:02) (RSSI=-80) (failures=0) (in_progress=0) (score=-80) 100s DEBUG habluetooth.wrappers:wrappers.py:337 00:00:00:00:00:01 - any -> /org/bluez/hci0: Connecting via hci0 (00:00:00:00:00:01) (last rssi: -60) 100s DEBUG habluetooth.wrappers:wrappers.py:407 00:00:00:00:00:01 - any -> /org/bluez/hci0: Loaded ConnectParams.FAST connection parameters 100s DEBUG habluetooth.wrappers:wrappers.py:407 00:00:00:00:00:01 - any -> /org/bluez/hci0: Loaded ConnectParams.MEDIUM connection parameters 100s DEBUG habluetooth.wrappers:wrappers.py:378 00:00:00:00:00:01 - any -> /org/bluez/hci0: Connected via hci0 (00:00:00:00:00:01) (last rssi: -60) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 100s PASSED [ 95%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_wrappers.py::test_connection_params_not_loaded_without_mgmt 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s -------------------------------- live log call --------------------------------- 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 100s WARNING habluetooth.wrappers:wrappers.py:297 00:00:00:00:00:01: BleakClient.connect() called without bleak-retry-connector. For reliable connection establishment, use bleak_retry_connector.establish_connection(). See https://github.com/Bluetooth-Devices/bleak-retry-connector 100s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 100s INFO habluetooth.wrappers:wrappers.py:458 00:00:00:00:00:01 - any: Found 2 connection path(s), preferred order: hci0 (00:00:00:00:00:01) (RSSI=-60) (failures=0) (in_progress=0) (score=-60), hci1 (00:00:00:00:00:02) (RSSI=-80) (failures=0) (in_progress=0) (score=-80) 100s DEBUG habluetooth.wrappers:wrappers.py:337 00:00:00:00:00:01 - any -> /org/bluez/hci0: Connecting via hci0 (00:00:00:00:00:01) (last rssi: -60) 100s DEBUG habluetooth.wrappers:wrappers.py:378 00:00:00:00:00:01 - any -> /org/bluez/hci0: Connected via hci0 (00:00:00:00:00:01) (last rssi: -60) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 100s PASSED [ 96%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_wrappers.py::test_get_device_address_type_random 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s -------------------------------- live log call --------------------------------- 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 100s PASSED [ 96%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_wrappers.py::test_get_device_address_type_public 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s -------------------------------- live log call --------------------------------- 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 100s PASSED [ 97%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_wrappers.py::test_connection_params_loading_fails_silently 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s -------------------------------- live log call --------------------------------- 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 100s WARNING habluetooth.wrappers:wrappers.py:297 00:00:00:00:00:01: BleakClient.connect() called without bleak-retry-connector. For reliable connection establishment, use bleak_retry_connector.establish_connection(). See https://github.com/Bluetooth-Devices/bleak-retry-connector 100s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 100s INFO habluetooth.wrappers:wrappers.py:458 00:00:00:00:00:01 - any: Found 2 connection path(s), preferred order: hci0 (00:00:00:00:00:01) (RSSI=-60) (failures=0) (in_progress=0) (score=-60), hci1 (00:00:00:00:00:02) (RSSI=-80) (failures=0) (in_progress=0) (score=-80) 100s DEBUG habluetooth.wrappers:wrappers.py:337 00:00:00:00:00:01 - any -> /org/bluez/hci0: Connecting via hci0 (00:00:00:00:00:01) (last rssi: -60) 100s DEBUG habluetooth.wrappers:wrappers.py:378 00:00:00:00:00:01 - any -> /org/bluez/hci0: Connected via hci0 (00:00:00:00:00:01) (last rssi: -60) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 100s PASSED [ 97%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_wrappers.py::test_connection_params_no_adapter_idx 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s -------------------------------- live log call --------------------------------- 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner ESPHome Device (remote_scanner) 100s WARNING habluetooth.wrappers:wrappers.py:297 00:00:00:00:00:03: BleakClient.connect() called without bleak-retry-connector. For reliable connection establishment, use bleak_retry_connector.establish_connection(). See https://github.com/Bluetooth-Devices/bleak-retry-connector 100s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:03: Looking for backend to connect 100s INFO habluetooth.wrappers:wrappers.py:458 00:00:00:00:00:03 - Test Device: Found 1 connection path(s), preferred order: ESPHome Device (remote_scanner) (RSSI=-50) (failures=0) (in_progress=0) (score=-50) 100s DEBUG habluetooth.wrappers:wrappers.py:337 00:00:00:00:00:03 - Test Device -> remote_scanner: Connecting via ESPHome Device (remote_scanner) (last rssi: -50) 100s DEBUG habluetooth.wrappers:wrappers.py:378 00:00:00:00:00:03 - Test Device -> remote_scanner: Connected via ESPHome Device (remote_scanner) (last rssi: -50) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner ESPHome Device (remote_scanner) 100s PASSED [ 98%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_wrappers.py::test_connection_path_scoring_with_slots_and_logging 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s -------------------------------- live log call --------------------------------- 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner Scanner 1 (scanner1) 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner Scanner 2 (scanner2) 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner Scanner 3 (scanner3) 100s WARNING habluetooth.wrappers:wrappers.py:297 00:00:00:00:00:01: BleakClient.connect() called without bleak-retry-connector. For reliable connection establishment, use bleak_retry_connector.establish_connection(). See https://github.com/Bluetooth-Devices/bleak-retry-connector 100s INFO habluetooth.wrappers:wrappers.py:458 00:00:00:00:00:01 - Test Device: Found 3 connection path(s), preferred order: Scanner 1 (scanner1) (RSSI=-60) (failures=0) (in_progress=0) (slots=1/3 free) (score=-63.8), Scanner 2 (scanner2) (RSSI=-65) (failures=0) (in_progress=0) (slots=2/3 free) (score=-65), Scanner 3 (scanner3) (RSSI=-70) (failures=0) (in_progress=0) (slots=3/3 free) (score=-70) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner Scanner 1 (scanner1) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner Scanner 2 (scanner2) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner Scanner 3 (scanner3) 100s PASSED [ 98%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_wrappers.py::test_connection_path_scoring_no_slots_available 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s -------------------------------- live log call --------------------------------- 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner Scanner 1 (scanner1) 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner Scanner 2 (scanner2) 100s WARNING habluetooth.wrappers:wrappers.py:297 00:00:00:00:00:02: BleakClient.connect() called without bleak-retry-connector. For reliable connection establishment, use bleak_retry_connector.establish_connection(). See https://github.com/Bluetooth-Devices/bleak-retry-connector 100s INFO habluetooth.wrappers:wrappers.py:458 00:00:00:00:00:02 - Test Device: Found 2 connection path(s), preferred order: Scanner 2 (scanner2) (RSSI=-70) (failures=0) (in_progress=0) (slots=3/3 free) (score=-70), Scanner 1 (scanner1) (RSSI=-50) (failures=0) (in_progress=0) (slots=0/3 free) (score=-127) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner Scanner 1 (scanner1) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner Scanner 2 (scanner2) 100s PASSED [ 99%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s tests/test_wrappers.py::test_thundering_herd_connection_slots 100s -------------------------------- live log setup -------------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 100s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 100s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 100s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 100s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 100s -------------------------------- live log call --------------------------------- 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner Proxy 1 (Good) (proxy1) 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner Proxy 2 (Good) (proxy2) 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner Proxy 3 (Bad) (proxy3) 100s WARNING habluetooth.wrappers:wrappers.py:297 AA:BB:CC:DD:EE:01: BleakClient.connect() called without bleak-retry-connector. For reliable connection establishment, use bleak_retry_connector.establish_connection(). See https://github.com/Bluetooth-Devices/bleak-retry-connector 100s DEBUG habluetooth.wrappers:wrappers.py:309 AA:BB:CC:DD:EE:01: Looking for backend to connect 100s INFO habluetooth.wrappers:wrappers.py:458 AA:BB:CC:DD:EE:01 - Device 1: Found 3 connection path(s), preferred order: Proxy 1 (Good) (proxy1) (RSSI=-60) (failures=0) (in_progress=0) (slots=3/3 free) (score=-60), Proxy 2 (Good) (proxy2) (RSSI=-60) (failures=0) (in_progress=0) (slots=3/3 free) (score=-60), Proxy 3 (Bad) (proxy3) (RSSI=-95) (failures=0) (in_progress=0) (slots=3/3 free) (score=-95) 100s DEBUG habluetooth.wrappers:wrappers.py:337 AA:BB:CC:DD:EE:01 - Device 1 -> proxy1: Connecting via Proxy 1 (Good) (proxy1) (last rssi: -60) 100s WARNING habluetooth.wrappers:wrappers.py:297 AA:BB:CC:DD:EE:02: BleakClient.connect() called without bleak-retry-connector. For reliable connection establishment, use bleak_retry_connector.establish_connection(). See https://github.com/Bluetooth-Devices/bleak-retry-connector 100s DEBUG habluetooth.wrappers:wrappers.py:309 AA:BB:CC:DD:EE:02: Looking for backend to connect 100s INFO habluetooth.wrappers:wrappers.py:458 AA:BB:CC:DD:EE:02 - Device 2: Found 3 connection path(s), preferred order: Proxy 1 (Good) (proxy1) (RSSI=-60) (failures=0) (in_progress=0) (slots=2/3 free) (score=-60), Proxy 2 (Good) (proxy2) (RSSI=-60) (failures=0) (in_progress=0) (slots=3/3 free) (score=-60), Proxy 3 (Bad) (proxy3) (RSSI=-95) (failures=0) (in_progress=0) (slots=3/3 free) (score=-95) 100s DEBUG habluetooth.wrappers:wrappers.py:337 AA:BB:CC:DD:EE:02 - Device 2 -> proxy1: Connecting via Proxy 1 (Good) (proxy1) (last rssi: -60) 100s WARNING habluetooth.wrappers:wrappers.py:297 AA:BB:CC:DD:EE:03: BleakClient.connect() called without bleak-retry-connector. For reliable connection establishment, use bleak_retry_connector.establish_connection(). See https://github.com/Bluetooth-Devices/bleak-retry-connector 100s DEBUG habluetooth.wrappers:wrappers.py:309 AA:BB:CC:DD:EE:03: Looking for backend to connect 100s INFO habluetooth.wrappers:wrappers.py:458 AA:BB:CC:DD:EE:03 - Device 3: Found 3 connection path(s), preferred order: Proxy 2 (Good) (proxy2) (RSSI=-60) (failures=0) (in_progress=0) (slots=3/3 free) (score=-60), Proxy 1 (Good) (proxy1) (RSSI=-60) (failures=0) (in_progress=0) (slots=1/3 free) (score=-60.76), Proxy 3 (Bad) (proxy3) (RSSI=-95) (failures=0) (in_progress=0) (slots=3/3 free) (score=-95) 100s DEBUG habluetooth.wrappers:wrappers.py:337 AA:BB:CC:DD:EE:03 - Device 3 -> proxy2: Connecting via Proxy 2 (Good) (proxy2) (last rssi: -60) 100s WARNING habluetooth.wrappers:wrappers.py:297 AA:BB:CC:DD:EE:04: BleakClient.connect() called without bleak-retry-connector. For reliable connection establishment, use bleak_retry_connector.establish_connection(). See https://github.com/Bluetooth-Devices/bleak-retry-connector 100s DEBUG habluetooth.wrappers:wrappers.py:309 AA:BB:CC:DD:EE:04: Looking for backend to connect 100s INFO habluetooth.wrappers:wrappers.py:458 AA:BB:CC:DD:EE:04 - Device 4: Found 3 connection path(s), preferred order: Proxy 2 (Good) (proxy2) (RSSI=-60) (failures=0) (in_progress=0) (slots=2/3 free) (score=-60), Proxy 1 (Good) (proxy1) (RSSI=-60) (failures=0) (in_progress=0) (slots=1/3 free) (score=-60.76), Proxy 3 (Bad) (proxy3) (RSSI=-95) (failures=0) (in_progress=0) (slots=3/3 free) (score=-95) 100s DEBUG habluetooth.wrappers:wrappers.py:337 AA:BB:CC:DD:EE:04 - Device 4 -> proxy2: Connecting via Proxy 2 (Good) (proxy2) (last rssi: -60) 100s WARNING habluetooth.wrappers:wrappers.py:297 AA:BB:CC:DD:EE:05: BleakClient.connect() called without bleak-retry-connector. For reliable connection establishment, use bleak_retry_connector.establish_connection(). See https://github.com/Bluetooth-Devices/bleak-retry-connector 100s DEBUG habluetooth.wrappers:wrappers.py:309 AA:BB:CC:DD:EE:05: Looking for backend to connect 100s INFO habluetooth.wrappers:wrappers.py:458 AA:BB:CC:DD:EE:05 - Device 5: Found 3 connection path(s), preferred order: Proxy 1 (Good) (proxy1) (RSSI=-60) (failures=0) (in_progress=0) (slots=1/3 free) (score=-60.76), Proxy 2 (Good) (proxy2) (RSSI=-60) (failures=0) (in_progress=0) (slots=1/3 free) (score=-60.76), Proxy 3 (Bad) (proxy3) (RSSI=-95) (failures=0) (in_progress=0) (slots=3/3 free) (score=-95) 100s DEBUG habluetooth.wrappers:wrappers.py:337 AA:BB:CC:DD:EE:05 - Device 5 -> proxy1: Connecting via Proxy 1 (Good) (proxy1) (last rssi: -60) 100s WARNING habluetooth.wrappers:wrappers.py:297 AA:BB:CC:DD:EE:06: BleakClient.connect() called without bleak-retry-connector. For reliable connection establishment, use bleak_retry_connector.establish_connection(). See https://github.com/Bluetooth-Devices/bleak-retry-connector 100s DEBUG habluetooth.wrappers:wrappers.py:309 AA:BB:CC:DD:EE:06: Looking for backend to connect 100s INFO habluetooth.wrappers:wrappers.py:458 AA:BB:CC:DD:EE:06 - Device 6: Found 3 connection path(s), preferred order: Proxy 2 (Good) (proxy2) (RSSI=-60) (failures=0) (in_progress=0) (slots=1/3 free) (score=-60.76), Proxy 3 (Bad) (proxy3) (RSSI=-95) (failures=0) (in_progress=0) (slots=3/3 free) (score=-95), Proxy 1 (Good) (proxy1) (RSSI=-60) (failures=0) (in_progress=0) (slots=0/3 free) (score=-127) 100s DEBUG habluetooth.wrappers:wrappers.py:337 AA:BB:CC:DD:EE:06 - Device 6 -> proxy2: Connecting via Proxy 2 (Good) (proxy2) (last rssi: -60) 100s WARNING habluetooth.wrappers:wrappers.py:297 AA:BB:CC:DD:EE:07: BleakClient.connect() called without bleak-retry-connector. For reliable connection establishment, use bleak_retry_connector.establish_connection(). See https://github.com/Bluetooth-Devices/bleak-retry-connector 100s DEBUG habluetooth.wrappers:wrappers.py:309 AA:BB:CC:DD:EE:07: Looking for backend to connect 100s INFO habluetooth.wrappers:wrappers.py:458 AA:BB:CC:DD:EE:07 - Device 7: Found 3 connection path(s), preferred order: Proxy 3 (Bad) (proxy3) (RSSI=-95) (failures=0) (in_progress=0) (slots=3/3 free) (score=-95), Proxy 1 (Good) (proxy1) (RSSI=-60) (failures=0) (in_progress=0) (slots=0/3 free) (score=-127), Proxy 2 (Good) (proxy2) (RSSI=-60) (failures=0) (in_progress=0) (slots=0/3 free) (score=-127) 100s DEBUG habluetooth.wrappers:wrappers.py:337 AA:BB:CC:DD:EE:07 - Device 7 -> proxy3: Connecting via Proxy 3 (Bad) (proxy3) (last rssi: -95) 100s DEBUG habluetooth.wrappers:wrappers.py:378 AA:BB:CC:DD:EE:01 - Device 1 -> proxy1: Connected via Proxy 1 (Good) (proxy1) (last rssi: -60) 100s DEBUG habluetooth.wrappers:wrappers.py:378 AA:BB:CC:DD:EE:02 - Device 2 -> proxy1: Connected via Proxy 1 (Good) (proxy1) (last rssi: -60) 100s DEBUG habluetooth.wrappers:wrappers.py:378 AA:BB:CC:DD:EE:03 - Device 3 -> proxy2: Connected via Proxy 2 (Good) (proxy2) (last rssi: -60) 100s DEBUG habluetooth.wrappers:wrappers.py:378 AA:BB:CC:DD:EE:04 - Device 4 -> proxy2: Connected via Proxy 2 (Good) (proxy2) (last rssi: -60) 100s DEBUG habluetooth.wrappers:wrappers.py:378 AA:BB:CC:DD:EE:05 - Device 5 -> proxy1: Connected via Proxy 1 (Good) (proxy1) (last rssi: -60) 100s DEBUG habluetooth.wrappers:wrappers.py:378 AA:BB:CC:DD:EE:06 - Device 6 -> proxy2: Connected via Proxy 2 (Good) (proxy2) (last rssi: -60) 100s DEBUG habluetooth.wrappers:wrappers.py:378 AA:BB:CC:DD:EE:07 - Device 7 -> proxy3: Connected via Proxy 3 (Bad) (proxy3) (last rssi: -95) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner Proxy 1 (Good) (proxy1) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner Proxy 2 (Good) (proxy2) 100s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner Proxy 3 (Bad) (proxy3) 100s PASSED [100%] 100s ------------------------------ live log teardown ------------------------------- 100s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s 100s 100s =================================== FAILURES =================================== 100s __________ test_adapter_needs_reset_at_start[org.bluez.Error.Failed] ___________ 100s 100s caplog = <_pytest.logging.LogCaptureFixture object at 0x75e04d430590> 100s error = 'org.bluez.Error.Failed' 100s 100s @pytest.mark.asyncio 100s @pytest.mark.skipif(IS_WINDOWS) 100s @pytest.mark.parametrize("error", NEED_RESET_ERRORS) 100s async def test_adapter_needs_reset_at_start( 100s caplog: pytest.LogCaptureFixture, error: str 100s ) -> None: 100s """Test we cycle the adapter when it needs a restart.""" 100s called_start = 0 100s called_stop = 0 100s _callback = None 100s mock_discovered: list[Any] = [] 100s 100s class MockBleakScanner: 100s async def start(self, *args, **kwargs): 100s """Mock Start.""" 100s nonlocal called_start 100s called_start += 1 100s if called_start < 3: 100s raise BleakError(error) 100s 100s async def stop(self, *args, **kwargs): 100s """Mock Start.""" 100s nonlocal called_stop 100s called_stop += 1 100s 100s @property 100s def discovered_devices(self): 100s """Mock discovered_devices.""" 100s nonlocal mock_discovered 100s return mock_discovered 100s 100s def register_detection_callback( 100s self, callback: AdvertisementDataCallback 100s ) -> None: 100s """Mock Register Detection Callback.""" 100s nonlocal _callback 100s _callback = callback 100s 100s mock_scanner = MockBleakScanner() 100s 100s with ( 100s patch("habluetooth.scanner.OriginalBleakScanner", return_value=mock_scanner), 100s patch( 100s "habluetooth.util.recover_adapter", return_value=True 100s ) as mock_recover_adapter, 100s ): 100s scanner = HaScanner(BluetoothScanningMode.ACTIVE, "hci0", "AA:BB:CC:DD:EE:FF") 100s scanner.async_setup() 100s > await scanner.async_start() 100s 100s tests/test_scanner.py:340: 100s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 100s /usr/lib/python3/dist-packages/habluetooth/scanner.py:336: in async_start 100s await self._async_start() 100s /usr/lib/python3/dist-packages/habluetooth/scanner.py:344: in _async_start 100s await self._async_on_successful_start() 100s /usr/lib/python3/dist-packages/habluetooth/scanner.py:350: in _async_on_successful_start 100s await restore_discoveries(self.scanner, self.adapter) 100s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 100s 100s scanner = .MockBleakScanner object at 0x75e04d2367b0> 100s adapter = 'hci0' 100s 100s async def restore_discoveries(scanner: BleakScanner, adapter: str) -> None: 100s """Restore discoveries from the bus.""" 100s if not IS_LINUX: 100s # This is only supported on Linux 100s return 100s if not (properties := await _get_properties()): 100s _LOGGER.debug("Failed to restore discoveries for %s", adapter) 100s return 100s > backend = scanner._backend 100s E AttributeError: 'MockBleakScanner' object has no attribute '_backend' 100s 100s /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:641: AttributeError 100s ------------------------------ Captured log setup ------------------------------ 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s ------------------------------ Captured log call ------------------------------- 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 100s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (1/4): org.bluez.Error.Failed 100s Traceback (most recent call last): 100s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 100s await self.scanner.start() 100s File "/tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 100s raise BleakError(error) 100s bleak.exc.BleakError: org.bluez.Error.Failed 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (2/4) 100s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:615 hci0 (AA:BB:CC:DD:EE:FF): adapter stopped responding; executing reset 100s DEBUG habluetooth.scanner:scanner.py:617 hci0 (AA:BB:CC:DD:EE:FF): adapter reset result: True 100s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (2/4): org.bluez.Error.Failed 100s Traceback (most recent call last): 100s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 100s await self.scanner.start() 100s File "/tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 100s raise BleakError(error) 100s bleak.exc.BleakError: org.bluez.Error.Failed 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (3/4) 100s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (3/4) 100s DEBUG bleak.backends.bluezdbus.manager:manager.py:346 initial properties: {'/org/bluez': {'org.freedesktop.DBus.Introspectable': {}, 'org.bluez.AgentManager1': {}, 'org.bluez.ProfileManager1': {}, 'org.bluez.HealthManager1': {}}} 100s ---------------------------- Captured log teardown ----------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s ________ test_adapter_needs_reset_at_start[org.bluez.Error.InProgress] _________ 100s 100s caplog = <_pytest.logging.LogCaptureFixture object at 0x75e04d2d7ee0> 100s error = 'org.bluez.Error.InProgress' 100s 100s @pytest.mark.asyncio 100s @pytest.mark.skipif(IS_WINDOWS) 100s @pytest.mark.parametrize("error", NEED_RESET_ERRORS) 100s async def test_adapter_needs_reset_at_start( 100s caplog: pytest.LogCaptureFixture, error: str 100s ) -> None: 100s """Test we cycle the adapter when it needs a restart.""" 100s called_start = 0 100s called_stop = 0 100s _callback = None 100s mock_discovered: list[Any] = [] 100s 100s class MockBleakScanner: 100s async def start(self, *args, **kwargs): 100s """Mock Start.""" 100s nonlocal called_start 100s called_start += 1 100s if called_start < 3: 100s raise BleakError(error) 100s 100s async def stop(self, *args, **kwargs): 100s """Mock Start.""" 100s nonlocal called_stop 100s called_stop += 1 100s 100s @property 100s def discovered_devices(self): 100s """Mock discovered_devices.""" 100s nonlocal mock_discovered 100s return mock_discovered 100s 100s def register_detection_callback( 100s self, callback: AdvertisementDataCallback 100s ) -> None: 100s """Mock Register Detection Callback.""" 100s nonlocal _callback 100s _callback = callback 100s 100s mock_scanner = MockBleakScanner() 100s 100s with ( 100s patch("habluetooth.scanner.OriginalBleakScanner", return_value=mock_scanner), 100s patch( 100s "habluetooth.util.recover_adapter", return_value=True 100s ) as mock_recover_adapter, 100s ): 100s scanner = HaScanner(BluetoothScanningMode.ACTIVE, "hci0", "AA:BB:CC:DD:EE:FF") 100s scanner.async_setup() 100s > await scanner.async_start() 100s 100s tests/test_scanner.py:340: 100s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 100s /usr/lib/python3/dist-packages/habluetooth/scanner.py:336: in async_start 100s await self._async_start() 100s /usr/lib/python3/dist-packages/habluetooth/scanner.py:344: in _async_start 100s await self._async_on_successful_start() 100s /usr/lib/python3/dist-packages/habluetooth/scanner.py:350: in _async_on_successful_start 100s await restore_discoveries(self.scanner, self.adapter) 100s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 100s 100s scanner = .MockBleakScanner object at 0x75e04d236ba0> 100s adapter = 'hci0' 100s 100s async def restore_discoveries(scanner: BleakScanner, adapter: str) -> None: 100s """Restore discoveries from the bus.""" 100s if not IS_LINUX: 100s # This is only supported on Linux 100s return 100s if not (properties := await _get_properties()): 100s _LOGGER.debug("Failed to restore discoveries for %s", adapter) 100s return 100s > backend = scanner._backend 100s E AttributeError: 'MockBleakScanner' object has no attribute '_backend' 100s 100s /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:641: AttributeError 100s ------------------------------ Captured log setup ------------------------------ 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s ------------------------------ Captured log call ------------------------------- 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 100s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (1/4): org.bluez.Error.InProgress 100s Traceback (most recent call last): 100s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 100s await self.scanner.start() 100s File "/tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 100s raise BleakError(error) 100s bleak.exc.BleakError: org.bluez.Error.InProgress 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (2/4) 100s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:615 hci0 (AA:BB:CC:DD:EE:FF): adapter stopped responding; executing reset 100s DEBUG habluetooth.scanner:scanner.py:617 hci0 (AA:BB:CC:DD:EE:FF): adapter reset result: True 100s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (2/4): org.bluez.Error.InProgress 100s Traceback (most recent call last): 100s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 100s await self.scanner.start() 100s File "/tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 100s raise BleakError(error) 100s bleak.exc.BleakError: org.bluez.Error.InProgress 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (3/4) 100s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (3/4) 100s DEBUG bleak.backends.bluezdbus.manager:manager.py:346 initial properties: {'/org/bluez': {'org.freedesktop.DBus.Introspectable': {}, 'org.bluez.AgentManager1': {}, 'org.bluez.ProfileManager1': {}, 'org.bluez.HealthManager1': {}}} 100s ---------------------------- Captured log teardown ----------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s _________ test_adapter_needs_reset_at_start[org.bluez.Error.NotReady] __________ 100s 100s caplog = <_pytest.logging.LogCaptureFixture object at 0x75e04d2d70e0> 100s error = 'org.bluez.Error.NotReady' 100s 100s @pytest.mark.asyncio 100s @pytest.mark.skipif(IS_WINDOWS) 100s @pytest.mark.parametrize("error", NEED_RESET_ERRORS) 100s async def test_adapter_needs_reset_at_start( 100s caplog: pytest.LogCaptureFixture, error: str 100s ) -> None: 100s """Test we cycle the adapter when it needs a restart.""" 100s called_start = 0 100s called_stop = 0 100s _callback = None 100s mock_discovered: list[Any] = [] 100s 100s class MockBleakScanner: 100s async def start(self, *args, **kwargs): 100s """Mock Start.""" 100s nonlocal called_start 100s called_start += 1 100s if called_start < 3: 100s raise BleakError(error) 100s 100s async def stop(self, *args, **kwargs): 100s """Mock Start.""" 100s nonlocal called_stop 100s called_stop += 1 100s 100s @property 100s def discovered_devices(self): 100s """Mock discovered_devices.""" 100s nonlocal mock_discovered 100s return mock_discovered 100s 100s def register_detection_callback( 100s self, callback: AdvertisementDataCallback 100s ) -> None: 100s """Mock Register Detection Callback.""" 100s nonlocal _callback 100s _callback = callback 100s 100s mock_scanner = MockBleakScanner() 100s 100s with ( 100s patch("habluetooth.scanner.OriginalBleakScanner", return_value=mock_scanner), 100s patch( 100s "habluetooth.util.recover_adapter", return_value=True 100s ) as mock_recover_adapter, 100s ): 100s scanner = HaScanner(BluetoothScanningMode.ACTIVE, "hci0", "AA:BB:CC:DD:EE:FF") 100s scanner.async_setup() 100s > await scanner.async_start() 100s 100s tests/test_scanner.py:340: 100s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 100s /usr/lib/python3/dist-packages/habluetooth/scanner.py:336: in async_start 100s await self._async_start() 100s /usr/lib/python3/dist-packages/habluetooth/scanner.py:344: in _async_start 100s await self._async_on_successful_start() 100s /usr/lib/python3/dist-packages/habluetooth/scanner.py:350: in _async_on_successful_start 100s await restore_discoveries(self.scanner, self.adapter) 100s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 100s 100s scanner = .MockBleakScanner object at 0x75e04d235e80> 100s adapter = 'hci0' 100s 100s async def restore_discoveries(scanner: BleakScanner, adapter: str) -> None: 100s """Restore discoveries from the bus.""" 100s if not IS_LINUX: 100s # This is only supported on Linux 100s return 100s if not (properties := await _get_properties()): 100s _LOGGER.debug("Failed to restore discoveries for %s", adapter) 100s return 100s > backend = scanner._backend 100s E AttributeError: 'MockBleakScanner' object has no attribute '_backend' 100s 100s /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:641: AttributeError 100s ------------------------------ Captured log setup ------------------------------ 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s ------------------------------ Captured log call ------------------------------- 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 100s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (1/4): org.bluez.Error.NotReady 100s Traceback (most recent call last): 100s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 100s await self.scanner.start() 100s File "/tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 100s raise BleakError(error) 100s bleak.exc.BleakError: org.bluez.Error.NotReady 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (2/4) 100s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:615 hci0 (AA:BB:CC:DD:EE:FF): adapter stopped responding; executing reset 100s DEBUG habluetooth.scanner:scanner.py:617 hci0 (AA:BB:CC:DD:EE:FF): adapter reset result: True 100s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (2/4): org.bluez.Error.NotReady 100s Traceback (most recent call last): 100s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 100s await self.scanner.start() 100s File "/tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 100s raise BleakError(error) 100s bleak.exc.BleakError: org.bluez.Error.NotReady 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (3/4) 100s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (3/4) 100s DEBUG bleak.backends.bluezdbus.manager:manager.py:346 initial properties: {'/org/bluez': {'org.freedesktop.DBus.Introspectable': {}, 'org.bluez.AgentManager1': {}, 'org.bluez.ProfileManager1': {}, 'org.bluez.HealthManager1': {}}} 100s ---------------------------- Captured log teardown ----------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s _________________ test_adapter_needs_reset_at_start[not found] _________________ 100s 100s caplog = <_pytest.logging.LogCaptureFixture object at 0x75e04d4afd90> 100s error = 'not found' 100s 100s @pytest.mark.asyncio 100s @pytest.mark.skipif(IS_WINDOWS) 100s @pytest.mark.parametrize("error", NEED_RESET_ERRORS) 100s async def test_adapter_needs_reset_at_start( 100s caplog: pytest.LogCaptureFixture, error: str 100s ) -> None: 100s """Test we cycle the adapter when it needs a restart.""" 100s called_start = 0 100s called_stop = 0 100s _callback = None 100s mock_discovered: list[Any] = [] 100s 100s class MockBleakScanner: 100s async def start(self, *args, **kwargs): 100s """Mock Start.""" 100s nonlocal called_start 100s called_start += 1 100s if called_start < 3: 100s raise BleakError(error) 100s 100s async def stop(self, *args, **kwargs): 100s """Mock Start.""" 100s nonlocal called_stop 100s called_stop += 1 100s 100s @property 100s def discovered_devices(self): 100s """Mock discovered_devices.""" 100s nonlocal mock_discovered 100s return mock_discovered 100s 100s def register_detection_callback( 100s self, callback: AdvertisementDataCallback 100s ) -> None: 100s """Mock Register Detection Callback.""" 100s nonlocal _callback 100s _callback = callback 100s 100s mock_scanner = MockBleakScanner() 100s 100s with ( 100s patch("habluetooth.scanner.OriginalBleakScanner", return_value=mock_scanner), 100s patch( 100s "habluetooth.util.recover_adapter", return_value=True 100s ) as mock_recover_adapter, 100s ): 100s scanner = HaScanner(BluetoothScanningMode.ACTIVE, "hci0", "AA:BB:CC:DD:EE:FF") 100s scanner.async_setup() 100s > await scanner.async_start() 100s 100s tests/test_scanner.py:340: 100s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 100s /usr/lib/python3/dist-packages/habluetooth/scanner.py:336: in async_start 100s await self._async_start() 100s /usr/lib/python3/dist-packages/habluetooth/scanner.py:344: in _async_start 100s await self._async_on_successful_start() 100s /usr/lib/python3/dist-packages/habluetooth/scanner.py:350: in _async_on_successful_start 100s await restore_discoveries(self.scanner, self.adapter) 100s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 100s 100s scanner = .MockBleakScanner object at 0x75e04d237b60> 100s adapter = 'hci0' 100s 100s async def restore_discoveries(scanner: BleakScanner, adapter: str) -> None: 100s """Restore discoveries from the bus.""" 100s if not IS_LINUX: 100s # This is only supported on Linux 100s return 100s if not (properties := await _get_properties()): 100s _LOGGER.debug("Failed to restore discoveries for %s", adapter) 100s return 100s > backend = scanner._backend 100s E AttributeError: 'MockBleakScanner' object has no attribute '_backend' 100s 100s /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:641: AttributeError 100s ------------------------------ Captured log setup ------------------------------ 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s ------------------------------ Captured log call ------------------------------- 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 100s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (1/4): not found 100s Traceback (most recent call last): 100s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 100s await self.scanner.start() 100s File "/tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 100s raise BleakError(error) 100s bleak.exc.BleakError: not found 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (2/4) 100s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:615 hci0 (AA:BB:CC:DD:EE:FF): adapter stopped responding; executing reset 100s DEBUG habluetooth.scanner:scanner.py:617 hci0 (AA:BB:CC:DD:EE:FF): adapter reset result: True 100s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (2/4): not found 100s Traceback (most recent call last): 100s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 100s await self.scanner.start() 100s File "/tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 100s raise BleakError(error) 100s bleak.exc.BleakError: not found 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (3/4) 100s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (3/4) 100s DEBUG bleak.backends.bluezdbus.manager:manager.py:346 initial properties: {'/org/bluez': {'org.freedesktop.DBus.Introspectable': {}, 'org.bluez.AgentManager1': {}, 'org.bluez.ProfileManager1': {}, 'org.bluez.HealthManager1': {}}} 100s ---------------------------- Captured log teardown ----------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s _______________________ test_recovery_from_dbus_restart ________________________ 100s 100s @pytest.mark.asyncio 100s @pytest.mark.skipif(IS_WINDOWS) 100s async def test_recovery_from_dbus_restart() -> None: 100s """Test we can recover when DBus gets restarted out from under us.""" 100s called_start = 0 100s called_stop = 0 100s _callback = None 100s mock_discovered: list[Any] = [] 100s 100s class MockBleakScanner: 100s def __init__(self, detection_callback, *args, **kwargs): 100s nonlocal _callback 100s _callback = detection_callback 100s 100s async def start(self, *args, **kwargs): 100s """Mock Start.""" 100s nonlocal called_start 100s called_start += 1 100s 100s async def stop(self, *args, **kwargs): 100s """Mock Start.""" 100s nonlocal called_stop 100s called_stop += 1 100s 100s @property 100s def discovered_devices(self): 100s """Mock discovered_devices.""" 100s nonlocal mock_discovered 100s return mock_discovered 100s 100s with patch( 100s "habluetooth.scanner.OriginalBleakScanner", 100s MockBleakScanner, 100s ): 100s scanner = HaScanner(BluetoothScanningMode.ACTIVE, "hci0", "AA:BB:CC:DD:EE:FF") 100s scanner.async_setup() 100s > await scanner.async_start() 100s 100s tests/test_scanner.py:382: 100s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 100s /usr/lib/python3/dist-packages/habluetooth/scanner.py:336: in async_start 100s await self._async_start() 100s /usr/lib/python3/dist-packages/habluetooth/scanner.py:344: in _async_start 100s await self._async_on_successful_start() 100s /usr/lib/python3/dist-packages/habluetooth/scanner.py:350: in _async_on_successful_start 100s await restore_discoveries(self.scanner, self.adapter) 100s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 100s 100s scanner = .MockBleakScanner object at 0x75e04d237cb0> 100s adapter = 'hci0' 100s 100s async def restore_discoveries(scanner: BleakScanner, adapter: str) -> None: 100s """Restore discoveries from the bus.""" 100s if not IS_LINUX: 100s # This is only supported on Linux 100s return 100s if not (properties := await _get_properties()): 100s _LOGGER.debug("Failed to restore discoveries for %s", adapter) 100s return 100s > backend = scanner._backend 100s E AttributeError: 'MockBleakScanner' object has no attribute '_backend' 100s 100s /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:641: AttributeError 100s ------------------------------ Captured log setup ------------------------------ 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s ------------------------------ Captured log call ------------------------------- 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 100s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (1/4) 100s DEBUG bleak.backends.bluezdbus.manager:manager.py:346 initial properties: {'/org/bluez': {'org.freedesktop.DBus.Introspectable': {}, 'org.bluez.AgentManager1': {}, 'org.bluez.ProfileManager1': {}, 'org.bluez.HealthManager1': {}}} 100s ---------------------------- Captured log teardown ----------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s ____________________________ test_adapter_recovery _____________________________ 100s 100s @pytest.mark.asyncio 100s @pytest.mark.skipif(IS_WINDOWS) 100s async def test_adapter_recovery() -> None: 100s """Test we can recover when the adapter stops responding.""" 100s called_start = 0 100s called_stop = 0 100s _callback = None 100s mock_discovered: list[Any] = [] 100s 100s class MockBleakScanner: 100s async def start(self, *args, **kwargs): 100s """Mock Start.""" 100s nonlocal called_start 100s called_start += 1 100s 100s async def stop(self, *args, **kwargs): 100s """Mock Start.""" 100s nonlocal called_stop 100s called_stop += 1 100s 100s @property 100s def discovered_devices(self): 100s """Mock discovered_devices.""" 100s nonlocal mock_discovered 100s return mock_discovered 100s 100s def register_detection_callback( 100s self, callback: AdvertisementDataCallback 100s ) -> None: 100s """Mock Register Detection Callback.""" 100s nonlocal _callback 100s _callback = callback 100s 100s mock_scanner = MockBleakScanner() 100s start_time_monotonic = time.monotonic() 100s 100s with ( 100s patch_bluetooth_time( 100s start_time_monotonic, 100s ), 100s patch( 100s "habluetooth.scanner.OriginalBleakScanner", 100s return_value=mock_scanner, 100s ), 100s ): 100s scanner = HaScanner(BluetoothScanningMode.ACTIVE, "hci0", "AA:BB:CC:DD:EE:FF") 100s scanner.async_setup() 100s > await scanner.async_start() 100s 100s tests/test_scanner.py:475: 100s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 100s /usr/lib/python3/dist-packages/habluetooth/scanner.py:336: in async_start 100s await self._async_start() 100s /usr/lib/python3/dist-packages/habluetooth/scanner.py:344: in _async_start 100s await self._async_on_successful_start() 100s /usr/lib/python3/dist-packages/habluetooth/scanner.py:350: in _async_on_successful_start 100s await restore_discoveries(self.scanner, self.adapter) 100s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 100s 100s scanner = .MockBleakScanner object at 0x75e04d237e00> 100s adapter = 'hci0' 100s 100s async def restore_discoveries(scanner: BleakScanner, adapter: str) -> None: 100s """Restore discoveries from the bus.""" 100s if not IS_LINUX: 100s # This is only supported on Linux 100s return 100s if not (properties := await _get_properties()): 100s _LOGGER.debug("Failed to restore discoveries for %s", adapter) 100s return 100s > backend = scanner._backend 100s E AttributeError: 'MockBleakScanner' object has no attribute '_backend' 100s 100s /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:641: AttributeError 100s ------------------------------ Captured log setup ------------------------------ 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s ------------------------------ Captured log call ------------------------------- 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 100s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (1/4) 100s DEBUG bleak.backends.bluezdbus.manager:manager.py:346 initial properties: {'/org/bluez': {'org.freedesktop.DBus.Introspectable': {}, 'org.bluez.AgentManager1': {}, 'org.bluez.ProfileManager1': {}, 'org.bluez.HealthManager1': {}}} 100s ---------------------------- Captured log teardown ----------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s ________________ test_adapter_scanner_fails_to_start_first_time ________________ 100s 100s @pytest.mark.asyncio 100s @pytest.mark.skipif(IS_WINDOWS) 100s async def test_adapter_scanner_fails_to_start_first_time() -> None: 100s """ 100s Test we can recover when the adapter stops responding. 100s 100s The first recovery fails. 100s """ 100s called_start = 0 100s called_stop = 0 100s _callback = None 100s mock_discovered: list[Any] = [] 100s 100s class MockBleakScanner: 100s async def start(self, *args, **kwargs): 100s """Mock Start.""" 100s nonlocal called_start 100s called_start += 1 100s if called_start == 1: 100s return # Start ok the first time 100s if called_start < 4: 100s raise BleakError("Failed to start") 100s 100s async def stop(self, *args, **kwargs): 100s """Mock Start.""" 100s nonlocal called_stop 100s called_stop += 1 100s 100s @property 100s def discovered_devices(self): 100s """Mock discovered_devices.""" 100s nonlocal mock_discovered 100s return mock_discovered 100s 100s def register_detection_callback( 100s self, callback: AdvertisementDataCallback 100s ) -> None: 100s """Mock Register Detection Callback.""" 100s nonlocal _callback 100s _callback = callback 100s 100s mock_scanner = MockBleakScanner() 100s start_time_monotonic = time.monotonic() 100s 100s with ( 100s patch_bluetooth_time( 100s start_time_monotonic, 100s ), 100s patch( 100s "habluetooth.scanner.OriginalBleakScanner", 100s return_value=mock_scanner, 100s ), 100s ): 100s scanner = HaScanner(BluetoothScanningMode.ACTIVE, "hci0", "AA:BB:CC:DD:EE:FF") 100s scanner.async_setup() 100s > await scanner.async_start() 100s 100s tests/test_scanner.py:580: 100s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 100s /usr/lib/python3/dist-packages/habluetooth/scanner.py:336: in async_start 100s await self._async_start() 100s /usr/lib/python3/dist-packages/habluetooth/scanner.py:344: in _async_start 100s await self._async_on_successful_start() 100s /usr/lib/python3/dist-packages/habluetooth/scanner.py:350: in _async_on_successful_start 100s await restore_discoveries(self.scanner, self.adapter) 100s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 100s 100s scanner = .MockBleakScanner object at 0x75e04d236ba0> 100s adapter = 'hci0' 100s 100s async def restore_discoveries(scanner: BleakScanner, adapter: str) -> None: 100s """Restore discoveries from the bus.""" 100s if not IS_LINUX: 100s # This is only supported on Linux 100s return 100s if not (properties := await _get_properties()): 100s _LOGGER.debug("Failed to restore discoveries for %s", adapter) 100s return 100s > backend = scanner._backend 100s E AttributeError: 'MockBleakScanner' object has no attribute '_backend' 100s 100s /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:641: AttributeError 100s ------------------------------ Captured log setup ------------------------------ 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s ------------------------------ Captured log call ------------------------------- 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 100s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (1/4) 100s DEBUG bleak.backends.bluezdbus.manager:manager.py:346 initial properties: {'/org/bluez': {'org.freedesktop.DBus.Introspectable': {}, 'org.bluez.AgentManager1': {}, 'org.bluez.ProfileManager1': {}, 'org.bluez.HealthManager1': {}}} 100s ---------------------------- Captured log teardown ----------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s _____________ test_adapter_fails_to_start_and_takes_a_bit_to_init ______________ 100s 100s caplog = <_pytest.logging.LogCaptureFixture object at 0x75e04d666c10> 100s 100s @pytest.mark.asyncio 100s async def test_adapter_fails_to_start_and_takes_a_bit_to_init( 100s caplog: pytest.LogCaptureFixture, 100s ) -> None: 100s """Test we can recover the adapter at startup and we wait for Dbus to init.""" 100s called_start = 0 100s called_stop = 0 100s _callback = None 100s mock_discovered: list[Any] = [] 100s 100s class MockBleakScanner: 100s async def start(self, *args, **kwargs): 100s """Mock Start.""" 100s nonlocal called_start 100s called_start += 1 100s if called_start == 1: 100s raise BleakError("org.freedesktop.DBus.Error.UnknownObject") 100s if called_start == 2: 100s raise BleakError("org.bluez.Error.InProgress") 100s if called_start == 3: 100s raise BleakError("org.bluez.Error.InProgress") 100s 100s async def stop(self, *args, **kwargs): 100s """Mock Start.""" 100s nonlocal called_stop 100s called_stop += 1 100s 100s @property 100s def discovered_devices(self): 100s """Mock discovered_devices.""" 100s nonlocal mock_discovered 100s return mock_discovered 100s 100s def register_detection_callback( 100s self, callback: AdvertisementDataCallback 100s ) -> None: 100s """Mock Register Detection Callback.""" 100s nonlocal _callback 100s _callback = callback 100s 100s mock_scanner = MockBleakScanner() 100s start_time_monotonic = time.monotonic() 100s 100s with ( 100s patch( 100s "habluetooth.scanner.ADAPTER_INIT_TIME", 100s 0, 100s ), 100s patch_bluetooth_time( 100s start_time_monotonic, 100s ), 100s patch( 100s "habluetooth.scanner.OriginalBleakScanner", 100s return_value=mock_scanner, 100s ), 100s patch( 100s "habluetooth.util.recover_adapter", return_value=True 100s ) as mock_recover_adapter, 100s ): 100s scanner = HaScanner(BluetoothScanningMode.ACTIVE, "hci0", "AA:BB:CC:DD:EE:FF") 100s scanner.async_setup() 100s > await scanner.async_start() 100s 100s tests/test_scanner.py:705: 100s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 100s /usr/lib/python3/dist-packages/habluetooth/scanner.py:336: in async_start 100s await self._async_start() 100s /usr/lib/python3/dist-packages/habluetooth/scanner.py:344: in _async_start 100s await self._async_on_successful_start() 100s /usr/lib/python3/dist-packages/habluetooth/scanner.py:350: in _async_on_successful_start 100s await restore_discoveries(self.scanner, self.adapter) 100s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 100s 100s scanner = .MockBleakScanner object at 0x75e04d236660> 100s adapter = 'hci0' 100s 100s async def restore_discoveries(scanner: BleakScanner, adapter: str) -> None: 100s """Restore discoveries from the bus.""" 100s if not IS_LINUX: 100s # This is only supported on Linux 100s return 100s if not (properties := await _get_properties()): 100s _LOGGER.debug("Failed to restore discoveries for %s", adapter) 100s return 100s > backend = scanner._backend 100s E AttributeError: 'MockBleakScanner' object has no attribute '_backend' 100s 100s /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:641: AttributeError 100s ------------------------------ Captured log setup ------------------------------ 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s ------------------------------ Captured log call ------------------------------- 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 100s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:462 hci0 (AA:BB:CC:DD:EE:FF): Waiting for adapter to initialize; attempt (1/4) 100s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (1/4): org.freedesktop.DBus.Error.UnknownObject 100s Traceback (most recent call last): 100s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 100s await self.scanner.start() 100s File "/tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_scanner.py", line 660, in start 100s raise BleakError("org.freedesktop.DBus.Error.UnknownObject") 100s bleak.exc.BleakError: org.freedesktop.DBus.Error.UnknownObject 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (2/4) 100s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:615 hci0 (AA:BB:CC:DD:EE:FF): adapter stopped responding; executing reset 100s DEBUG habluetooth.scanner:scanner.py:617 hci0 (AA:BB:CC:DD:EE:FF): adapter reset result: True 100s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (2/4): org.bluez.Error.InProgress 100s Traceback (most recent call last): 100s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 100s await self.scanner.start() 100s File "/tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_scanner.py", line 662, in start 100s raise BleakError("org.bluez.Error.InProgress") 100s bleak.exc.BleakError: org.bluez.Error.InProgress 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (3/4) 100s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (3/4): org.bluez.Error.InProgress 100s Traceback (most recent call last): 100s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 100s await self.scanner.start() 100s File "/tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_scanner.py", line 664, in start 100s raise BleakError("org.bluez.Error.InProgress") 100s bleak.exc.BleakError: org.bluez.Error.InProgress 100s DEBUG habluetooth.scanner:scanner.py:369 hci0 (AA:BB:CC:DD:EE:FF): Falling back to passive scanning mode after active scanning failed (4/4) 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'passive', 'detection_callback': >, 'adapter': 'hci0', 'bluez': {'or_patterns': [OrPattern(start_position=0, ad_data_type=, content_of_pattern=b'\x02'), OrPattern(start_position=0, ad_data_type=, content_of_pattern=b'\x06'), OrPattern(start_position=0, ad_data_type=, content_of_pattern=b'\x1a')]}} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (4/4) 100s WARNING habluetooth.scanner:scanner.py:471 hci0 (AA:BB:CC:DD:EE:FF): Successful fall-back to passive scanning mode after active scanning failed (4/4) 100s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (4/4) 100s DEBUG bleak.backends.bluezdbus.manager:manager.py:346 initial properties: {'/org/bluez': {'org.freedesktop.DBus.Introspectable': {}, 'org.bluez.AgentManager1': {}, 'org.bluez.ProfileManager1': {}, 'org.bluez.HealthManager1': {}}} 100s ---------------------------- Captured log teardown ----------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s _________________ test_restart_takes_longer_than_watchdog_time _________________ 100s 100s caplog = <_pytest.logging.LogCaptureFixture object at 0x75e04d4d59b0> 100s 100s @pytest.mark.asyncio 100s async def test_restart_takes_longer_than_watchdog_time( 100s caplog: pytest.LogCaptureFixture, 100s ) -> None: 100s """ 100s Test we do not try to recover the adapter again. 100s 100s If the restart is still in progress. 100s """ 100s release_start_event = asyncio.Event() 100s called_start = 0 100s 100s class MockBleakScanner: 100s async def start(self, *args, **kwargs): 100s """Mock Start.""" 100s nonlocal called_start 100s called_start += 1 100s if called_start == 1: 100s return 100s await release_start_event.wait() 100s 100s async def stop(self, *args, **kwargs): 100s """Mock Start.""" 100s 100s @property 100s def discovered_devices(self): 100s """Mock discovered_devices.""" 100s return [] 100s 100s def register_detection_callback( 100s self, callback: AdvertisementDataCallback 100s ) -> None: 100s """Mock Register Detection Callback.""" 100s 100s mock_scanner = MockBleakScanner() 100s start_time_monotonic = time.monotonic() 100s 100s with ( 100s patch( 100s "habluetooth.scanner.ADAPTER_INIT_TIME", 100s 0, 100s ), 100s patch_bluetooth_time( 100s start_time_monotonic, 100s ), 100s patch( 100s "habluetooth.scanner.OriginalBleakScanner", 100s return_value=mock_scanner, 100s ), 100s patch("habluetooth.util.recover_adapter", return_value=True), 100s ): 100s scanner = HaScanner(BluetoothScanningMode.ACTIVE, "hci0", "AA:BB:CC:DD:EE:FF") 100s scanner.async_setup() 100s > await scanner.async_start() 100s 100s tests/test_scanner.py:767: 100s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 100s /usr/lib/python3/dist-packages/habluetooth/scanner.py:336: in async_start 100s await self._async_start() 100s /usr/lib/python3/dist-packages/habluetooth/scanner.py:344: in _async_start 100s await self._async_on_successful_start() 100s /usr/lib/python3/dist-packages/habluetooth/scanner.py:350: in _async_on_successful_start 100s await restore_discoveries(self.scanner, self.adapter) 100s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 100s 100s scanner = .MockBleakScanner object at 0x75e04d237e00> 100s adapter = 'hci0' 100s 100s async def restore_discoveries(scanner: BleakScanner, adapter: str) -> None: 100s """Restore discoveries from the bus.""" 100s if not IS_LINUX: 100s # This is only supported on Linux 100s return 100s if not (properties := await _get_properties()): 100s _LOGGER.debug("Failed to restore discoveries for %s", adapter) 100s return 100s > backend = scanner._backend 100s E AttributeError: 'MockBleakScanner' object has no attribute '_backend' 100s 100s /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:641: AttributeError 100s ------------------------------ Captured log setup ------------------------------ 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s ------------------------------ Captured log call ------------------------------- 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 100s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (1/4) 100s DEBUG bleak.backends.bluezdbus.manager:manager.py:346 initial properties: {'/org/bluez': {'org.freedesktop.DBus.Introspectable': {}, 'org.bluez.AgentManager1': {}, 'org.bluez.ProfileManager1': {}, 'org.bluez.HealthManager1': {}}} 100s ---------------------------- Captured log teardown ----------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s _________________ test_adapter_init_fails_fallback_to_passive __________________ 100s 100s caplog = <_pytest.logging.LogCaptureFixture object at 0x75e04d4d67b0> 100s 100s @pytest.mark.asyncio 100s async def test_adapter_init_fails_fallback_to_passive( 100s caplog: pytest.LogCaptureFixture, 100s ) -> None: 100s """Test we fallback to passive when adapter init fails.""" 100s called_start = 0 100s called_stop = 0 100s _callback = None 100s mock_discovered: list[Any] = [] 100s 100s class MockBleakScanner: 100s async def start(self, *args, **kwargs): 100s """Mock Start.""" 100s nonlocal called_start 100s called_start += 1 100s if called_start == 1: 100s raise BleakError("org.freedesktop.DBus.Error.UnknownObject") 100s if called_start == 2: 100s raise BleakError("org.bluez.Error.InProgress") 100s if called_start == 3: 100s raise BleakError("org.bluez.Error.InProgress") 100s 100s async def stop(self, *args, **kwargs): 100s """Mock Start.""" 100s nonlocal called_stop 100s called_stop += 1 100s 100s @property 100s def discovered_devices(self): 100s """Mock discovered_devices.""" 100s nonlocal mock_discovered 100s return mock_discovered 100s 100s def register_detection_callback( 100s self, callback: AdvertisementDataCallback 100s ) -> None: 100s """Mock Register Detection Callback.""" 100s nonlocal _callback 100s _callback = callback 100s 100s @property 100s def discovered_devices_and_advertisement_data(self) -> dict[str, Any]: 100s """Mock discovered_devices.""" 100s return {} 100s 100s mock_scanner = MockBleakScanner() 100s start_time_monotonic = time.monotonic() 100s 100s with ( 100s patch( 100s "habluetooth.scanner.IS_LINUX", 100s True, 100s ), 100s patch( 100s "habluetooth.scanner.ADAPTER_INIT_TIME", 100s 0, 100s ), 100s patch_bluetooth_time( 100s start_time_monotonic, 100s ), 100s patch( 100s "habluetooth.scanner.OriginalBleakScanner", 100s return_value=mock_scanner, 100s ), 100s patch( 100s "habluetooth.util.recover_adapter", return_value=True 100s ) as mock_recover_adapter, 100s ): 100s scanner = HaScanner(BluetoothScanningMode.ACTIVE, "hci0", "AA:BB:CC:DD:EE:FF") 100s scanner.async_setup() 100s > await scanner.async_start() 100s 100s tests/test_scanner.py:895: 100s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 100s /usr/lib/python3/dist-packages/habluetooth/scanner.py:336: in async_start 100s await self._async_start() 100s /usr/lib/python3/dist-packages/habluetooth/scanner.py:344: in _async_start 100s await self._async_on_successful_start() 100s /usr/lib/python3/dist-packages/habluetooth/scanner.py:350: in _async_on_successful_start 100s await restore_discoveries(self.scanner, self.adapter) 100s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 100s 100s scanner = .MockBleakScanner object at 0x75e04d2370e0> 100s adapter = 'hci0' 100s 100s async def restore_discoveries(scanner: BleakScanner, adapter: str) -> None: 100s """Restore discoveries from the bus.""" 100s if not IS_LINUX: 100s # This is only supported on Linux 100s return 100s if not (properties := await _get_properties()): 100s _LOGGER.debug("Failed to restore discoveries for %s", adapter) 100s return 100s > backend = scanner._backend 100s E AttributeError: 'MockBleakScanner' object has no attribute '_backend' 100s 100s /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:641: AttributeError 100s ------------------------------ Captured log setup ------------------------------ 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s ------------------------------ Captured log call ------------------------------- 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 100s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:462 hci0 (AA:BB:CC:DD:EE:FF): Waiting for adapter to initialize; attempt (1/4) 100s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (1/4): org.freedesktop.DBus.Error.UnknownObject 100s Traceback (most recent call last): 100s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 100s await self.scanner.start() 100s File "/tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_scanner.py", line 841, in start 100s raise BleakError("org.freedesktop.DBus.Error.UnknownObject") 100s bleak.exc.BleakError: org.freedesktop.DBus.Error.UnknownObject 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (2/4) 100s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:615 hci0 (AA:BB:CC:DD:EE:FF): adapter stopped responding; executing reset 100s DEBUG habluetooth.scanner:scanner.py:617 hci0 (AA:BB:CC:DD:EE:FF): adapter reset result: True 100s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (2/4): org.bluez.Error.InProgress 100s Traceback (most recent call last): 100s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 100s await self.scanner.start() 100s File "/tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_scanner.py", line 843, in start 100s raise BleakError("org.bluez.Error.InProgress") 100s bleak.exc.BleakError: org.bluez.Error.InProgress 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (3/4) 100s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (3/4): org.bluez.Error.InProgress 100s Traceback (most recent call last): 100s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 100s await self.scanner.start() 100s File "/tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_scanner.py", line 845, in start 100s raise BleakError("org.bluez.Error.InProgress") 100s bleak.exc.BleakError: org.bluez.Error.InProgress 100s DEBUG habluetooth.scanner:scanner.py:369 hci0 (AA:BB:CC:DD:EE:FF): Falling back to passive scanning mode after active scanning failed (4/4) 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'passive', 'detection_callback': >, 'adapter': 'hci0', 'bluez': {'or_patterns': [OrPattern(start_position=0, ad_data_type=, content_of_pattern=b'\x02'), OrPattern(start_position=0, ad_data_type=, content_of_pattern=b'\x06'), OrPattern(start_position=0, ad_data_type=, content_of_pattern=b'\x1a')]}} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (4/4) 100s WARNING habluetooth.scanner:scanner.py:471 hci0 (AA:BB:CC:DD:EE:FF): Successful fall-back to passive scanning mode after active scanning failed (4/4) 100s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (4/4) 100s DEBUG bleak.backends.bluezdbus.manager:manager.py:346 initial properties: {'/org/bluez': {'org.freedesktop.DBus.Introspectable': {}, 'org.bluez.AgentManager1': {}, 'org.bluez.ProfileManager1': {}, 'org.bluez.HealthManager1': {}}} 100s ---------------------------- Captured log teardown ----------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s __________________ test_scanner_with_bluez_mgmt_side_channel ___________________ 100s 100s mock_btmgmt_socket = 100s 100s @pytest.mark.asyncio 100s @pytest.mark.skipif(NOT_POSIX) 100s async def test_scanner_with_bluez_mgmt_side_channel(mock_btmgmt_socket: Mock) -> None: 100s """Test scanner receiving advertisements via BlueZ management side channel.""" 100s # Mock capability check for the entire test 100s with patch.object(MGMTBluetoothCtl, "_check_capabilities", return_value=True): 100s 100s # Create a custom manager that tracks discovered devices 100s class TestBluetoothManager(BluetoothManager): 100s def __init__(self, *args, **kwargs): 100s super().__init__(*args, **kwargs) 100s self.discovered_infos = [] 100s 100s def _discover_service_info( 100s self, service_info: BluetoothServiceInfoBleak 100s ) -> None: 100s """Track discovered service info.""" 100s self.discovered_infos.append(service_info) 100s 100s # Create manager and setup mgmt controller 100s adapters = FakeBluetoothAdapters() 100s slot_manager = BleakSlotManager() 100s manager = TestBluetoothManager(adapters, slot_manager) 100s set_manager(manager) 100s 100s # Set up the manager first 100s await manager.async_setup() 100s 100s # Create and setup the mgmt controller with the manager's side channel scanners 100s mgmt_ctl = MGMTBluetoothCtl( 100s timeout=5.0, scanners=manager._side_channel_scanners 100s ) 100s 100s # Mock the protocol setup 100s mock_protocol = Mock(spec=BluetoothMGMTProtocol) 100s mock_transport = Mock() 100s mock_protocol.transport = mock_transport 100s 100s async def mock_setup(): 100s mgmt_ctl.protocol = mock_protocol 100s mgmt_ctl._on_connection_lost_future = ( 100s asyncio.get_running_loop().create_future() 100s ) 100s 100s mgmt_ctl.setup = mock_setup # type: ignore[method-assign] 100s 100s # Inject mgmt controller into manager 100s manager._mgmt_ctl = mgmt_ctl 100s manager.has_advertising_side_channel = True 100s 100s # Verify get_bluez_mgmt_ctl returns our controller 100s assert manager.get_bluez_mgmt_ctl() is mgmt_ctl 100s 100s # Register scanner 100s scanner = HaScanner(BluetoothScanningMode.ACTIVE, "hci0", "AA:BB:CC:DD:EE:FF") 100s scanner.async_setup() 100s manager.async_register_scanner(scanner, connection_slots=2) 100s 100s # Start scanner - should be created without detection callback 100s with patch("habluetooth.scanner.OriginalBleakScanner") as mock_scanner_class: 100s mock_scanner = Mock() 100s mock_scanner.start = AsyncMock() 100s mock_scanner.stop = AsyncMock() 100s mock_scanner.discovered_devices = [] 100s mock_scanner_class.return_value = mock_scanner 100s 100s > await scanner.async_start() 100s 100s tests/test_scanner.py:1002: 100s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 100s /usr/lib/python3/dist-packages/habluetooth/scanner.py:336: in async_start 100s await self._async_start() 100s /usr/lib/python3/dist-packages/habluetooth/scanner.py:344: in _async_start 100s await self._async_on_successful_start() 100s /usr/lib/python3/dist-packages/habluetooth/scanner.py:350: in _async_on_successful_start 100s await restore_discoveries(self.scanner, self.adapter) 100s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 100s 100s scanner = 100s adapter = 'hci0' 100s 100s async def restore_discoveries(scanner: BleakScanner, adapter: str) -> None: 100s """Restore discoveries from the bus.""" 100s if not IS_LINUX: 100s # This is only supported on Linux 100s return 100s if not (properties := await _get_properties()): 100s _LOGGER.debug("Failed to restore discoveries for %s", adapter) 100s return 100s backend = scanner._backend 100s > before = len(backend.seen_devices) 100s E TypeError: object of type 'Mock' has no len() 100s 100s /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:642: TypeError 100s ------------------------------ Captured log setup ------------------------------ 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s ------------------------------ Captured log call ------------------------------- 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s ERROR asyncio:base_events.py:1879 Exception in callback _SelectorTransport._add_reader() 100s handle: 100s Traceback (most recent call last): 100s File "/usr/lib/python3.13/asyncio/events.py", line 89, in _run 100s self._context.run(self._callback, *self._args) 100s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 100s File "/usr/lib/python3.13/asyncio/selector_events.py", line 920, in _add_reader 100s self._loop._add_reader(fd, callback, *args) 100s ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 100s File "/usr/lib/python3.13/asyncio/selector_events.py", line 279, in _add_reader 100s self._selector.register(fd, selectors.EVENT_READ, 100s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^ 100s (handle, None)) 100s ^^^^^^^^^^^^^^^ 100s File "/usr/lib/python3.13/selectors.py", line 345, in register 100s self._selector.register(key.fd, poller_events) 100s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ 100s OSError: [Errno 9] Bad file descriptor 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:FF) 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 100s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (1/4) 100s DEBUG bleak.backends.bluezdbus.manager:manager.py:346 initial properties: {'/org/bluez': {'org.freedesktop.DBus.Introspectable': {}, 'org.bluez.AgentManager1': {}, 'org.bluez.ProfileManager1': {}, 'org.bluez.HealthManager1': {}}} 100s ---------------------------- Captured log teardown ----------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s ______________________ test_bluez_mgmt_protocol_data_flow ______________________ 100s 100s mock_btmgmt_socket = 100s 100s @pytest.mark.asyncio 100s @pytest.mark.skipif(NOT_POSIX) 100s async def test_bluez_mgmt_protocol_data_flow(mock_btmgmt_socket: Mock) -> None: 100s """Test data flow from BlueZ protocol through manager to scanner.""" 100s # Mock capability check for the entire test 100s with patch.object(MGMTBluetoothCtl, "_check_capabilities", return_value=True): 100s 100s # Create manager 100s class TestBluetoothManager(BluetoothManager): 100s def __init__(self, *args, **kwargs): 100s super().__init__(*args, **kwargs) 100s self.discovered_infos = [] 100s 100s def _discover_service_info( 100s self, service_info: BluetoothServiceInfoBleak 100s ) -> None: 100s """Track discovered service info.""" 100s self.discovered_infos.append(service_info) 100s 100s adapters = FakeBluetoothAdapters() 100s slot_manager = BleakSlotManager() 100s manager = TestBluetoothManager(adapters, slot_manager) 100s set_manager(manager) 100s 100s # Set up manager first 100s await manager.async_setup() 100s 100s # Create mgmt controller with the manager's side channel scanners dictionary 100s mgmt_ctl = MGMTBluetoothCtl( 100s timeout=5.0, scanners=manager._side_channel_scanners 100s ) 100s 100s # We'll capture the protocol when it's created 100s captured_protocol: BluetoothMGMTProtocol | None = None 100s 100s async def mock_create_connection(sock, protocol_factory, *args, **kwargs): 100s nonlocal captured_protocol 100s captured_protocol = protocol_factory() 100s mock_transport = Mock() 100s captured_protocol.connection_made(mock_transport) 100s return mock_transport, captured_protocol 100s 100s with patch.object( 100s asyncio.get_running_loop(), 100s "_create_connection_transport", 100s mock_create_connection, 100s ): 100s await mgmt_ctl.setup() 100s 100s # Set mgmt controller on manager 100s manager._mgmt_ctl = mgmt_ctl 100s manager.has_advertising_side_channel = True 100s 100s # Register scanners for hci0 and hci1 100s scanner0 = HaScanner(BluetoothScanningMode.ACTIVE, "hci0", "AA:BB:CC:DD:EE:00") 100s scanner0.async_setup() 100s manager.async_register_scanner(scanner0, connection_slots=2) 100s 100s scanner1 = HaScanner(BluetoothScanningMode.ACTIVE, "hci1", "AA:BB:CC:DD:EE:01") 100s scanner1.async_setup() 100s manager.async_register_scanner(scanner1, connection_slots=2) 100s 100s # Start scanners 100s with patch("habluetooth.scanner.OriginalBleakScanner") as mock_scanner_class: 100s mock_scanner = Mock() 100s mock_scanner.start = AsyncMock() 100s mock_scanner.stop = AsyncMock() 100s mock_scanner.discovered_devices = [] 100s mock_scanner_class.return_value = mock_scanner 100s > await scanner0.async_start() 100s 100s tests/test_scanner.py:1180: 100s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 100s /usr/lib/python3/dist-packages/habluetooth/scanner.py:336: in async_start 100s await self._async_start() 100s /usr/lib/python3/dist-packages/habluetooth/scanner.py:344: in _async_start 100s await self._async_on_successful_start() 100s /usr/lib/python3/dist-packages/habluetooth/scanner.py:350: in _async_on_successful_start 100s await restore_discoveries(self.scanner, self.adapter) 100s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 100s 100s scanner = 100s adapter = 'hci0' 100s 100s async def restore_discoveries(scanner: BleakScanner, adapter: str) -> None: 100s """Restore discoveries from the bus.""" 100s if not IS_LINUX: 100s # This is only supported on Linux 100s return 100s if not (properties := await _get_properties()): 100s _LOGGER.debug("Failed to restore discoveries for %s", adapter) 100s return 100s backend = scanner._backend 100s > before = len(backend.seen_devices) 100s E TypeError: object of type 'Mock' has no len() 100s 100s /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:642: TypeError 100s ------------------------------ Captured log setup ------------------------------ 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s ------------------------------ Captured log call ------------------------------- 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s ERROR asyncio:base_events.py:1879 Exception in callback _SelectorTransport._add_reader() 100s handle: 100s Traceback (most recent call last): 100s File "/usr/lib/python3.13/asyncio/events.py", line 89, in _run 100s self._context.run(self._callback, *self._args) 100s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 100s File "/usr/lib/python3.13/asyncio/selector_events.py", line 920, in _add_reader 100s self._loop._add_reader(fd, callback, *args) 100s ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 100s File "/usr/lib/python3.13/asyncio/selector_events.py", line 279, in _add_reader 100s self._selector.register(fd, selectors.EVENT_READ, 100s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^ 100s (handle, None)) 100s ^^^^^^^^^^^^^^^ 100s File "/usr/lib/python3.13/selectors.py", line 345, in register 100s self._selector.register(key.fd, poller_events) 100s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ 100s OSError: [Errno 9] Bad file descriptor 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 100s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 100s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (AA:BB:CC:DD:EE:01) 100s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'adapter': 'hci0'} 100s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:00): Force stopping bluetooth discovery 100s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:00): Starting bluetooth discovery attempt: (1/4) 100s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:00): Success while starting bluetooth; attempt: (1/4) 100s DEBUG bleak.backends.bluezdbus.manager:manager.py:346 initial properties: {'/org/bluez': {'org.freedesktop.DBus.Introspectable': {}, 'org.bluez.AgentManager1': {}, 'org.bluez.ProfileManager1': {}, 'org.bluez.HealthManager1': {}}} 100s ---------------------------- Captured log teardown ----------------------------- 100s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 100s =============================== warnings summary =============================== 100s tests/test_base_scanner.py:861 100s /tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_base_scanner.py:861: PytestCollectionWarning: cannot collect test class 'TestScanner' because it has a __init__ constructor (from: tests/test_base_scanner.py) 100s class TestScanner(BaseHaScanner): 100s 100s tests/channels/test_bluez.py: 49 warnings 100s /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:866: DeprecationWarning: The event_loop fixture provided by pytest-asyncio has been redefined in 100s /tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/channels/test_bluez.py:44 100s Replacing the event_loop fixture with a custom implementation is deprecated 100s and will lead to errors in the future. 100s If you want to request an asyncio event loop with a scope other than function 100s scope, use the "loop_scope" argument to the asyncio mark when marking the tests. 100s If you want to return different types of event loops, use the event_loop_policy 100s fixture. 100s 100s warnings.warn( 100s 100s tests/test_base_scanner.py: 9 warnings 100s tests/test_manager.py: 3 warnings 100s tests/test_wrappers.py: 19 warnings 100s /tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/__init__.py:64: DeprecationWarning: Passing additional arguments for BLEDevice is deprecated and has no effect. 100s return BLEDevice(**new) 100s 100s tests/test_base_scanner.py::test_remote_scanner_expires_non_connectable 100s /tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_base_scanner.py:336: FutureWarning: BaseHaRemoteScanner._discovered_device_timestamps is deprecated and will be removed in a future version of habluetooth, use BaseHaRemoteScanner.discovered_device_timestamps instead 100s assert len(scanner._discovered_device_timestamps) == 1 100s 100s tests/test_base_scanner.py::test_remote_scanner_expires_non_connectable 100s /tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_base_scanner.py:368: FutureWarning: BaseHaRemoteScanner._discovered_device_timestamps is deprecated and will be removed in a future version of habluetooth, use BaseHaRemoteScanner.discovered_device_timestamps instead 100s assert len(scanner._discovered_device_timestamps) == 0 100s 100s tests/test_base_scanner.py::test_remote_scanner_expires_non_connectable 100s /tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_base_scanner.py:387: FutureWarning: BaseHaRemoteScanner._discovered_device_timestamps is deprecated and will be removed in a future version of habluetooth, use BaseHaRemoteScanner.discovered_device_timestamps instead 100s assert len(scanner._discovered_device_timestamps) == 0 100s 100s tests/test_base_scanner.py::test_score_with_no_allocations 100s /tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_base_scanner.py:881: DeprecationWarning: Passing additional arguments for BLEDevice is deprecated and has no effect. 100s ble_device = BLEDevice( 100s 100s tests/test_base_scanner.py::test_score_with_all_slots_free 100s /tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_base_scanner.py:923: DeprecationWarning: Passing additional arguments for BLEDevice is deprecated and has no effect. 100s ble_device = BLEDevice( 100s 100s tests/test_base_scanner.py::test_score_with_one_slot_remaining 100s /tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_base_scanner.py:970: DeprecationWarning: Passing additional arguments for BLEDevice is deprecated and has no effect. 100s ble_device = BLEDevice( 100s 100s tests/test_base_scanner.py::test_score_with_no_slots_available 100s /tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_base_scanner.py:1019: DeprecationWarning: Passing additional arguments for BLEDevice is deprecated and has no effect. 100s ble_device = BLEDevice( 100s 100s tests/test_base_scanner.py::test_score_comparison_with_different_slot_availability 100s /tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_base_scanner.py:1068: DeprecationWarning: Passing additional arguments for BLEDevice is deprecated and has no effect. 100s ble_device = BLEDevice( 100s 100s tests/test_base_scanner.py::test_score_with_connections_in_progress_and_slots 100s /tmp/autopkgtest.NsNT61/autopkgtest_tmp/build/tests/test_base_scanner.py:1170: DeprecationWarning: Passing additional arguments for BLEDevice is deprecated and has no effect. 100s ble_device = BLEDevice( 100s 100s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 100s =========================== short test summary info ============================ 100s FAILED tests/test_scanner.py::test_adapter_needs_reset_at_start[org.bluez.Error.Failed] 100s FAILED tests/test_scanner.py::test_adapter_needs_reset_at_start[org.bluez.Error.InProgress] 100s FAILED tests/test_scanner.py::test_adapter_needs_reset_at_start[org.bluez.Error.NotReady] 100s FAILED tests/test_scanner.py::test_adapter_needs_reset_at_start[not found] - ... 100s FAILED tests/test_scanner.py::test_recovery_from_dbus_restart - AttributeErro... 100s FAILED tests/test_scanner.py::test_adapter_recovery - AttributeError: 'MockBl... 100s FAILED tests/test_scanner.py::test_adapter_scanner_fails_to_start_first_time 100s FAILED tests/test_scanner.py::test_adapter_fails_to_start_and_takes_a_bit_to_init 100s FAILED tests/test_scanner.py::test_restart_takes_longer_than_watchdog_time - ... 100s FAILED tests/test_scanner.py::test_adapter_init_fails_fallback_to_passive - A... 100s FAILED tests/test_scanner.py::test_scanner_with_bluez_mgmt_side_channel - Typ... 100s FAILED tests/test_scanner.py::test_bluez_mgmt_protocol_data_flow - TypeError:... 100s ===== 12 failed, 174 passed, 1 skipped, 1 deselected, 90 warnings in 3.29s ===== 100s Task was destroyed but it is pending! 100s task: wait_for=> 100s Task was destroyed but it is pending! 100s task: wait_for=> 100s E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /tmp/autopkgtest.NsNT61/autopkgtest_tmp/build; python3.13 -m pytest --no-cov --ignore=tests/test_benchmark_base_scanner.py -k "not test_scanner_without_bluez_mgmt_side_channel" 100s pybuild-autopkgtest: error: pybuild --autopkgtest --test-pytest -i python{version} -p 3.13 returned exit code 13 100s make: *** [/tmp/yo4ZCPaVtJ/run:4: pybuild-autopkgtest] Error 25 100s pybuild-autopkgtest: error: /tmp/yo4ZCPaVtJ/run pybuild-autopkgtest returned exit code 2 101s autopkgtest [16:57:12]: test pybuild-autopkgtest: -----------------------] 102s autopkgtest [16:57:12]: test pybuild-autopkgtest: - - - - - - - - - - results - - - - - - - - - - 102s pybuild-autopkgtest FAIL non-zero exit status 25 102s autopkgtest [16:57:13]: @@@@@@@@@@@@@@@@@@@@ summary 102s pybuild-autopkgtest FAIL non-zero exit status 25