0s autopkgtest [19:10:38]: starting date and time: 2025-11-17 19:10:38+0000 0s autopkgtest [19:10:38]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [19:10:38]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.82lyefrq/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-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-ppc64el-1.secgroup --name adt-resolute-ppc64el-habluetooth-20251117-191038-juju-7f2275-prod-proposed-migration-environment-15-e67e5c9a-afac-46b2-b804-9568487ea237 --image adt/ubuntu-resolute-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration-ppc64el -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 4s Creating nova instance adt-resolute-ppc64el-habluetooth-20251117-191038-juju-7f2275-prod-proposed-migration-environment-15-e67e5c9a-afac-46b2-b804-9568487ea237 from image adt/ubuntu-resolute-ppc64el-server-20251117.img (UUID c6f5b741-c77a-45db-84cb-f00b40e77676)... 52s autopkgtest [19:11:30]: testbed dpkg architecture: ppc64el 53s autopkgtest [19:11:31]: testbed apt version: 3.1.11 53s autopkgtest [19:11:31]: @@@@@@@@@@@@@@@@@@@@ test bed setup 53s autopkgtest [19:11:31]: testbed release detected to be: None 54s autopkgtest [19:11:32]: updating testbed package index (apt update) 55s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [87.8 kB] 55s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 55s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 55s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 55s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [9848 B] 55s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [778 kB] 56s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [22.9 kB] 56s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [72.6 kB] 56s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [135 kB] 56s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted ppc64el Packages [1276 B] 56s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [499 kB] 56s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [11.0 kB] 56s Fetched 1618 kB in 1s (1254 kB/s) 57s Reading package lists... 57s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 57s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 57s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 58s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 58s Reading package lists... 58s Reading package lists... 59s Building dependency tree... 59s Reading state information... 59s Calculating upgrade... 59s The following packages will be upgraded: 59s apt libapt-pkg7.0 libcrypt-dev libcrypt1 usbutils 59s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 59s Need to get 3180 kB of archives. 59s After this operation, 118 kB of additional disk space will be used. 59s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libcrypt-dev ppc64el 1:4.5.1-1 [162 kB] 59s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el libcrypt1 ppc64el 1:4.5.1-1 [125 kB] 60s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el libapt-pkg7.0 ppc64el 3.1.12 [1286 kB] 60s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el apt ppc64el 3.1.12 [1516 kB] 60s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el usbutils ppc64el 1:019-1 [91.5 kB] 60s dpkg-preconfigure: unable to re-open stdin: No such file or directory 60s Fetched 3180 kB in 1s (2779 kB/s) 61s (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 ... 81022 files and directories currently installed.) 61s Preparing to unpack .../libcrypt-dev_1%3a4.5.1-1_ppc64el.deb ... 61s Unpacking libcrypt-dev:ppc64el (1:4.5.1-1) over (1:4.4.38-1build1) ... 61s Preparing to unpack .../libcrypt1_1%3a4.5.1-1_ppc64el.deb ... 61s Unpacking libcrypt1:ppc64el (1:4.5.1-1) over (1:4.4.38-1build1) ... 61s Setting up libcrypt1:ppc64el (1:4.5.1-1) ... 61s (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 ... 81022 files and directories currently installed.) 61s Preparing to unpack .../libapt-pkg7.0_3.1.12_ppc64el.deb ... 61s Unpacking libapt-pkg7.0:ppc64el (3.1.12) over (3.1.11) ... 61s Preparing to unpack .../apt_3.1.12_ppc64el.deb ... 61s Unpacking apt (3.1.12) over (3.1.11) ... 62s Preparing to unpack .../usbutils_1%3a019-1_ppc64el.deb ... 62s Unpacking usbutils (1:019-1) over (1:018-2) ... 62s Setting up usbutils (1:019-1) ... 62s Setting up libcrypt-dev:ppc64el (1:4.5.1-1) ... 62s Setting up libapt-pkg7.0:ppc64el (3.1.12) ... 62s Setting up apt (3.1.12) ... 62s Processing triggers for man-db (2.13.1-1) ... 64s Processing triggers for libc-bin (2.42-2ubuntu2) ... 64s autopkgtest [19:11:42]: upgrading testbed (apt dist-upgrade and autopurge) 66s Reading package lists... 66s Building dependency tree... 66s Reading state information... 66s Calculating upgrade... 66s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 66s Reading package lists... 66s Building dependency tree... 66s Reading state information... 67s Solving dependencies... 67s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 67s autopkgtest [19:11:45]: rebooting testbed after setup commands that affected boot 95s autopkgtest [19:12:13]: testbed running kernel: Linux 6.17.0-5-generic #5-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 10:02:41 UTC 2025 98s autopkgtest [19:12:16]: @@@@@@@@@@@@@@@@@@@@ apt-source habluetooth 100s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/universe habluetooth 5.7.0-1 (dsc) [2584 B] 100s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/universe habluetooth 5.7.0-1 (tar) [168 kB] 100s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/universe habluetooth 5.7.0-1 (diff) [4772 B] 100s gpgv: Signature made Sun Oct 5 08:03:02 2025 UTC 100s gpgv: using RSA key FB8ACFA78C726089C38AD0269605A1098C63B92A 100s gpgv: Can't check signature: No public key 100s dpkg-source: warning: cannot verify inline signature for ./habluetooth_5.7.0-1.dsc: no acceptable signature found 100s autopkgtest [19:12:18]: testing package habluetooth version 5.7.0-1 101s autopkgtest [19:12:19]: build not needed 101s autopkgtest [19:12:19]: test pybuild-autopkgtest: preparing testbed 101s Reading package lists... 102s Building dependency tree... 102s Reading state information... 102s Solving dependencies... 102s The following NEW packages will be installed: 102s autoconf automake autopoint autotools-dev bluez build-essential cpp cpp-15 102s cpp-15-powerpc64le-linux-gnu cpp-powerpc64le-linux-gnu debhelper debugedit 102s dh-autoreconf dh-python dh-strip-nondeterminism docutils-common dwz 102s fonts-font-awesome fonts-lato furo g++ g++-15 g++-15-powerpc64le-linux-gnu 102s g++-powerpc64le-linux-gnu gcc gcc-15 gcc-15-powerpc64le-linux-gnu 102s gcc-powerpc64le-linux-gnu gettext intltool-debian libarchive-zip-perl 102s libasan8 libasound2-data libasound2t64 libcc1-0 libdebhelper-perl 102s libfile-stripnondeterminism-perl libgcc-15-dev libgomp1 libisl23 libitm1 102s libjs-jquery libjs-jquery-hotkeys libjs-jquery-isonscreen 102s libjs-jquery-metadata libjs-jquery-tablesorter 102s libjs-jquery-throttle-debounce libjs-sphinxdoc libjs-underscore libjson-perl 102s liblsan0 libmpc3 libquadmath0 libstdc++-15-dev libtool libtsan2 libubsan1 m4 102s po-debconf pybuild-plugin-autopkgtest pybuild-plugin-pyproject 102s python3-accessible-pygments python3-aiooui python3-alabaster python3-all 102s python3-async-generator python3-async-interrupt python3-bleak 102s python3-bleak-retry-connector python3-bluetooth-adapters 102s python3-bluetooth-auto-recovery python3-bluetooth-data-tools python3-bs4 102s python3-btsocket python3-build python3-coverage python3-dbus-fast 102s python3-defusedxml python3-docutils python3-freezegun python3-habluetooth 102s python3-imagesize python3-iniconfig python3-installer 102s python3-mdit-py-plugins python3-myst-parser python3-pluggy 102s python3-poetry-core python3-pyproject-hooks python3-pyric python3-pytest 102s python3-pytest-asyncio python3-pytest-cov python3-roman 102s python3-snowballstemmer python3-soupsieve python3-sphinx 102s python3-uart-devices python3-usb-devices python3-wheel sgml-base 102s sphinx-basic-ng sphinx-common sphinx-rtd-theme-common xml-core 102s 0 upgraded, 105 newly installed, 0 to remove and 0 not upgraded. 102s Need to get 79.3 MB of archives. 102s After this operation, 290 MB of additional disk space will be used. 102s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el fonts-lato all 2.015-1 [2781 kB] 103s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el m4 ppc64el 1.4.20-2 [236 kB] 103s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el autoconf all 2.72-3.1ubuntu1 [384 kB] 103s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el autotools-dev all 20240727.1 [43.4 kB] 103s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el automake all 1:1.18.1-2 [581 kB] 103s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el autopoint all 0.23.2-1 [620 kB] 103s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el libasound2-data all 1.2.14-2ubuntu1 [21.3 kB] 103s Get:8 http://ftpmaster.internal/ubuntu resolute/main ppc64el libasound2t64 ppc64el 1.2.14-2ubuntu1 [507 kB] 103s Get:9 http://ftpmaster.internal/ubuntu resolute/main ppc64el bluez ppc64el 5.84-1 [1805 kB] 104s Get:10 http://ftpmaster.internal/ubuntu resolute/main ppc64el libisl23 ppc64el 0.27-1 [882 kB] 104s Get:11 http://ftpmaster.internal/ubuntu resolute/main ppc64el libmpc3 ppc64el 1.3.1-2 [62.5 kB] 104s Get:12 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp-15-powerpc64le-linux-gnu ppc64el 15.2.0-7ubuntu1 [11.4 MB] 105s Get:13 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp-15 ppc64el 15.2.0-7ubuntu1 [1032 B] 105s Get:14 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:15.2.0-4ubuntu1 [5746 B] 105s Get:15 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp ppc64el 4:15.2.0-4ubuntu1 [22.4 kB] 105s Get:16 http://ftpmaster.internal/ubuntu resolute/main ppc64el libcc1-0 ppc64el 15.2.0-7ubuntu1 [49.0 kB] 105s Get:17 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgomp1 ppc64el 15.2.0-7ubuntu1 [169 kB] 105s Get:18 http://ftpmaster.internal/ubuntu resolute/main ppc64el libitm1 ppc64el 15.2.0-7ubuntu1 [32.3 kB] 105s Get:19 http://ftpmaster.internal/ubuntu resolute/main ppc64el libasan8 ppc64el 15.2.0-7ubuntu1 [3006 kB] 105s Get:20 http://ftpmaster.internal/ubuntu resolute/main ppc64el liblsan0 ppc64el 15.2.0-7ubuntu1 [1374 kB] 105s Get:21 http://ftpmaster.internal/ubuntu resolute/main ppc64el libtsan2 ppc64el 15.2.0-7ubuntu1 [2728 kB] 105s Get:22 http://ftpmaster.internal/ubuntu resolute/main ppc64el libubsan1 ppc64el 15.2.0-7ubuntu1 [1231 kB] 105s Get:23 http://ftpmaster.internal/ubuntu resolute/main ppc64el libquadmath0 ppc64el 15.2.0-7ubuntu1 [160 kB] 105s Get:24 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgcc-15-dev ppc64el 15.2.0-7ubuntu1 [1670 kB] 105s Get:25 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-15-powerpc64le-linux-gnu ppc64el 15.2.0-7ubuntu1 [22.4 MB] 106s Get:26 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-15 ppc64el 15.2.0-7ubuntu1 [524 kB] 106s Get:27 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:15.2.0-4ubuntu1 [1220 B] 106s Get:28 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc ppc64el 4:15.2.0-4ubuntu1 [5032 B] 106s Get:29 http://ftpmaster.internal/ubuntu resolute/main ppc64el libstdc++-15-dev ppc64el 15.2.0-7ubuntu1 [2744 kB] 106s Get:30 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++-15-powerpc64le-linux-gnu ppc64el 15.2.0-7ubuntu1 [13.0 MB] 106s Get:31 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++-15 ppc64el 15.2.0-7ubuntu1 [23.7 kB] 106s Get:32 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++-powerpc64le-linux-gnu ppc64el 4:15.2.0-4ubuntu1 [970 B] 106s Get:33 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++ ppc64el 4:15.2.0-4ubuntu1 [1092 B] 106s Get:34 http://ftpmaster.internal/ubuntu resolute/main ppc64el build-essential ppc64el 12.12ubuntu1 [5094 B] 106s Get:35 http://ftpmaster.internal/ubuntu resolute/main ppc64el libdebhelper-perl all 13.24.2ubuntu1 [95.7 kB] 106s Get:36 http://ftpmaster.internal/ubuntu resolute/main ppc64el libtool all 2.5.4-7 [169 kB] 106s Get:37 http://ftpmaster.internal/ubuntu resolute/main ppc64el dh-autoreconf all 21 [12.5 kB] 106s Get:38 http://ftpmaster.internal/ubuntu resolute/main ppc64el libarchive-zip-perl all 1.68-1 [90.2 kB] 106s Get:39 http://ftpmaster.internal/ubuntu resolute/main ppc64el libfile-stripnondeterminism-perl all 1.15.0-1 [20.5 kB] 106s Get:40 http://ftpmaster.internal/ubuntu resolute/main ppc64el dh-strip-nondeterminism all 1.15.0-1 [5090 B] 106s Get:41 http://ftpmaster.internal/ubuntu resolute/main ppc64el debugedit ppc64el 1:5.2-3 [57.3 kB] 106s Get:42 http://ftpmaster.internal/ubuntu resolute/main ppc64el dwz ppc64el 0.16-2 [142 kB] 106s Get:43 http://ftpmaster.internal/ubuntu resolute/main ppc64el gettext ppc64el 0.23.2-1 [1177 kB] 106s Get:44 http://ftpmaster.internal/ubuntu resolute/main ppc64el intltool-debian all 0.35.0+20060710.6 [23.2 kB] 106s Get:45 http://ftpmaster.internal/ubuntu resolute/main ppc64el po-debconf all 1.0.21+nmu1 [233 kB] 106s Get:46 http://ftpmaster.internal/ubuntu resolute/main ppc64el debhelper all 13.24.2ubuntu1 [896 kB] 106s Get:47 http://ftpmaster.internal/ubuntu resolute/universe ppc64el dh-python all 6.20250414 [119 kB] 106s Get:48 http://ftpmaster.internal/ubuntu resolute/main ppc64el sgml-base all 1.31+nmu1 [11.0 kB] 106s Get:49 http://ftpmaster.internal/ubuntu resolute/main ppc64el xml-core all 0.19 [20.3 kB] 107s Get:50 http://ftpmaster.internal/ubuntu resolute/main ppc64el docutils-common all 0.21.2+dfsg-2 [131 kB] 107s Get:51 http://ftpmaster.internal/ubuntu resolute/main ppc64el fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [516 kB] 107s Get:52 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-accessible-pygments all 0.0.5-2 [790 kB] 107s Get:53 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3-soupsieve all 2.7-2 [33.6 kB] 107s Get:54 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3-bs4 all 4.13.4-3 [137 kB] 107s Get:55 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3-defusedxml all 0.7.1-3 [42.2 kB] 107s Get:56 http://ftpmaster.internal/ubuntu resolute/main ppc64el libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 107s Get:57 http://ftpmaster.internal/ubuntu resolute/main ppc64el libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 107s Get:58 http://ftpmaster.internal/ubuntu resolute/main ppc64el libjs-sphinxdoc all 8.2.3-1ubuntu2 [28.0 kB] 107s Get:59 http://ftpmaster.internal/ubuntu resolute/main ppc64el libjson-perl all 4.10000-1 [81.9 kB] 107s Get:60 http://ftpmaster.internal/ubuntu resolute/main ppc64el sphinx-common all 8.2.3-1ubuntu2 [656 kB] 107s Get:61 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3-alabaster all 0.7.16-0.1 [18.5 kB] 107s Get:62 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3-roman all 5.1-1 [10.6 kB] 107s Get:63 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3-docutils all 0.21.2+dfsg-2 [409 kB] 107s Get:64 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3-imagesize all 1.4.1-1 [6844 B] 107s Get:65 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3-snowballstemmer all 3.0.1-1 [65.9 kB] 107s Get:66 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3-sphinx all 8.2.3-1ubuntu2 [482 kB] 107s Get:67 http://ftpmaster.internal/ubuntu resolute/universe ppc64el sphinx-basic-ng all 1.0.0~beta2-1 [12.0 kB] 107s Get:68 http://ftpmaster.internal/ubuntu resolute/universe ppc64el furo all 2025.09.25+dfsg-2 [53.7 kB] 107s Get:69 http://ftpmaster.internal/ubuntu resolute/universe ppc64el libjs-jquery-metadata all 12-4 [6582 B] 107s Get:70 http://ftpmaster.internal/ubuntu resolute/universe ppc64el libjs-jquery-tablesorter all 1:2.31.3+dfsg1-4 [192 kB] 107s Get:71 http://ftpmaster.internal/ubuntu resolute/universe ppc64el libjs-jquery-throttle-debounce all 1.1+dfsg.1-2 [12.5 kB] 107s Get:72 http://ftpmaster.internal/ubuntu resolute/universe ppc64el pybuild-plugin-autopkgtest all 6.20250414 [1746 B] 107s Get:73 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-pyproject-hooks all 1.2.0-1 [10.2 kB] 107s Get:74 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-wheel all 0.46.1-2 [22.1 kB] 107s Get:75 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-build all 1.2.2-4 [31.0 kB] 107s Get:76 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-installer all 0.7.0+dfsg1-3 [17.4 kB] 107s Get:77 http://ftpmaster.internal/ubuntu resolute/universe ppc64el pybuild-plugin-pyproject all 6.20250414 [1728 B] 107s Get:78 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-aiooui all 0.1.9-1 [312 kB] 107s Get:79 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3-all ppc64el 3.13.7-1 [884 B] 107s Get:80 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-async-generator all 1.10-7 [18.1 kB] 107s Get:81 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-async-interrupt all 1.2.2-1 [6604 B] 107s Get:82 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-dbus-fast ppc64el 2.45.1-1 [962 kB] 107s Get:83 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-bleak all 1.1.1-1 [95.0 kB] 107s Get:84 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-uart-devices all 0.1.1-1 [6742 B] 107s Get:85 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-usb-devices all 0.4.5-2 [9014 B] 107s Get:86 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-bluetooth-adapters all 2.1.1-1 [13.7 kB] 107s Get:87 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-bleak-retry-connector all 4.4.4-1 [20.1 kB] 107s Get:88 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-btsocket all 0.3.0-1 [19.0 kB] 107s Get:89 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-pyric all 0.1.6.4+git20170421.0562b17-1 [114 kB] 107s Get:90 http://ftpmaster.internal/ubuntu resolute/main ppc64el sphinx-rtd-theme-common all 3.0.2+dfsg-3 [1013 kB] 107s Get:91 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-bluetooth-auto-recovery all 1.5.3-1 [29.4 kB] 107s Get:92 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-bluetooth-data-tools ppc64el 1.28.4-1 [11.7 kB] 107s Get:93 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-coverage ppc64el 7.8.2+dfsg1-1 [158 kB] 107s Get:94 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-freezegun all 1.5.1-1.2 [15.9 kB] 107s Get:95 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el python3-habluetooth ppc64el 5.7.0-1 [73.6 kB] 107s Get:96 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-iniconfig all 2.1.0-1 [6840 B] 107s Get:97 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-mdit-py-plugins all 0.5.0-1 [31.5 kB] 107s Get:98 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-myst-parser all 4.0.1-1 [64.9 kB] 107s Get:99 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-pluggy all 1.6.0-1 [21.0 kB] 107s Get:100 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-poetry-core all 2.2.1-2 [226 kB] 107s Get:101 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-pytest all 8.3.5-2 [252 kB] 107s Get:102 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-pytest-asyncio all 0.25.1-1 [17.0 kB] 107s Get:103 http://ftpmaster.internal/ubuntu resolute/universe ppc64el libjs-jquery-hotkeys all 0.2.0-1 [13.3 kB] 107s Get:104 http://ftpmaster.internal/ubuntu resolute/universe ppc64el libjs-jquery-isonscreen all 1.2.0-1.1 [3244 B] 107s Get:105 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-pytest-cov all 5.0.0-1 [21.3 kB] 108s Fetched 79.3 MB in 6s (13.9 MB/s) 108s Selecting previously unselected package fonts-lato. 108s (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 ... 81022 files and directories currently installed.) 108s Preparing to unpack .../000-fonts-lato_2.015-1_all.deb ... 108s Unpacking fonts-lato (2.015-1) ... 109s Selecting previously unselected package m4. 109s Preparing to unpack .../001-m4_1.4.20-2_ppc64el.deb ... 109s Unpacking m4 (1.4.20-2) ... 109s Selecting previously unselected package autoconf. 109s Preparing to unpack .../002-autoconf_2.72-3.1ubuntu1_all.deb ... 109s Unpacking autoconf (2.72-3.1ubuntu1) ... 109s Selecting previously unselected package autotools-dev. 109s Preparing to unpack .../003-autotools-dev_20240727.1_all.deb ... 109s Unpacking autotools-dev (20240727.1) ... 109s Selecting previously unselected package automake. 109s Preparing to unpack .../004-automake_1%3a1.18.1-2_all.deb ... 109s Unpacking automake (1:1.18.1-2) ... 109s Selecting previously unselected package autopoint. 109s Preparing to unpack .../005-autopoint_0.23.2-1_all.deb ... 109s Unpacking autopoint (0.23.2-1) ... 109s Selecting previously unselected package libasound2-data. 109s Preparing to unpack .../006-libasound2-data_1.2.14-2ubuntu1_all.deb ... 109s Unpacking libasound2-data (1.2.14-2ubuntu1) ... 109s Selecting previously unselected package libasound2t64:ppc64el. 109s Preparing to unpack .../007-libasound2t64_1.2.14-2ubuntu1_ppc64el.deb ... 109s Unpacking libasound2t64:ppc64el (1.2.14-2ubuntu1) ... 109s Selecting previously unselected package bluez. 109s Preparing to unpack .../008-bluez_5.84-1_ppc64el.deb ... 109s Unpacking bluez (5.84-1) ... 109s Selecting previously unselected package libisl23:ppc64el. 109s Preparing to unpack .../009-libisl23_0.27-1_ppc64el.deb ... 109s Unpacking libisl23:ppc64el (0.27-1) ... 109s Selecting previously unselected package libmpc3:ppc64el. 109s Preparing to unpack .../010-libmpc3_1.3.1-2_ppc64el.deb ... 109s Unpacking libmpc3:ppc64el (1.3.1-2) ... 109s Selecting previously unselected package cpp-15-powerpc64le-linux-gnu. 109s Preparing to unpack .../011-cpp-15-powerpc64le-linux-gnu_15.2.0-7ubuntu1_ppc64el.deb ... 109s Unpacking cpp-15-powerpc64le-linux-gnu (15.2.0-7ubuntu1) ... 109s Selecting previously unselected package cpp-15. 109s Preparing to unpack .../012-cpp-15_15.2.0-7ubuntu1_ppc64el.deb ... 109s Unpacking cpp-15 (15.2.0-7ubuntu1) ... 109s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 109s Preparing to unpack .../013-cpp-powerpc64le-linux-gnu_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 109s Unpacking cpp-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 109s Selecting previously unselected package cpp. 109s Preparing to unpack .../014-cpp_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 109s Unpacking cpp (4:15.2.0-4ubuntu1) ... 109s Selecting previously unselected package libcc1-0:ppc64el. 109s Preparing to unpack .../015-libcc1-0_15.2.0-7ubuntu1_ppc64el.deb ... 109s Unpacking libcc1-0:ppc64el (15.2.0-7ubuntu1) ... 109s Selecting previously unselected package libgomp1:ppc64el. 109s Preparing to unpack .../016-libgomp1_15.2.0-7ubuntu1_ppc64el.deb ... 109s Unpacking libgomp1:ppc64el (15.2.0-7ubuntu1) ... 109s Selecting previously unselected package libitm1:ppc64el. 109s Preparing to unpack .../017-libitm1_15.2.0-7ubuntu1_ppc64el.deb ... 109s Unpacking libitm1:ppc64el (15.2.0-7ubuntu1) ... 109s Selecting previously unselected package libasan8:ppc64el. 109s Preparing to unpack .../018-libasan8_15.2.0-7ubuntu1_ppc64el.deb ... 109s Unpacking libasan8:ppc64el (15.2.0-7ubuntu1) ... 109s Selecting previously unselected package liblsan0:ppc64el. 109s Preparing to unpack .../019-liblsan0_15.2.0-7ubuntu1_ppc64el.deb ... 109s Unpacking liblsan0:ppc64el (15.2.0-7ubuntu1) ... 109s Selecting previously unselected package libtsan2:ppc64el. 109s Preparing to unpack .../020-libtsan2_15.2.0-7ubuntu1_ppc64el.deb ... 109s Unpacking libtsan2:ppc64el (15.2.0-7ubuntu1) ... 109s Selecting previously unselected package libubsan1:ppc64el. 109s Preparing to unpack .../021-libubsan1_15.2.0-7ubuntu1_ppc64el.deb ... 109s Unpacking libubsan1:ppc64el (15.2.0-7ubuntu1) ... 109s Selecting previously unselected package libquadmath0:ppc64el. 109s Preparing to unpack .../022-libquadmath0_15.2.0-7ubuntu1_ppc64el.deb ... 109s Unpacking libquadmath0:ppc64el (15.2.0-7ubuntu1) ... 109s Selecting previously unselected package libgcc-15-dev:ppc64el. 109s Preparing to unpack .../023-libgcc-15-dev_15.2.0-7ubuntu1_ppc64el.deb ... 109s Unpacking libgcc-15-dev:ppc64el (15.2.0-7ubuntu1) ... 109s Selecting previously unselected package gcc-15-powerpc64le-linux-gnu. 109s Preparing to unpack .../024-gcc-15-powerpc64le-linux-gnu_15.2.0-7ubuntu1_ppc64el.deb ... 109s Unpacking gcc-15-powerpc64le-linux-gnu (15.2.0-7ubuntu1) ... 110s Selecting previously unselected package gcc-15. 110s Preparing to unpack .../025-gcc-15_15.2.0-7ubuntu1_ppc64el.deb ... 110s Unpacking gcc-15 (15.2.0-7ubuntu1) ... 110s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 110s Preparing to unpack .../026-gcc-powerpc64le-linux-gnu_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 110s Unpacking gcc-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 110s Selecting previously unselected package gcc. 110s Preparing to unpack .../027-gcc_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 110s Unpacking gcc (4:15.2.0-4ubuntu1) ... 110s Selecting previously unselected package libstdc++-15-dev:ppc64el. 110s Preparing to unpack .../028-libstdc++-15-dev_15.2.0-7ubuntu1_ppc64el.deb ... 110s Unpacking libstdc++-15-dev:ppc64el (15.2.0-7ubuntu1) ... 110s Selecting previously unselected package g++-15-powerpc64le-linux-gnu. 110s Preparing to unpack .../029-g++-15-powerpc64le-linux-gnu_15.2.0-7ubuntu1_ppc64el.deb ... 110s Unpacking g++-15-powerpc64le-linux-gnu (15.2.0-7ubuntu1) ... 110s Selecting previously unselected package g++-15. 110s Preparing to unpack .../030-g++-15_15.2.0-7ubuntu1_ppc64el.deb ... 110s Unpacking g++-15 (15.2.0-7ubuntu1) ... 110s Selecting previously unselected package g++-powerpc64le-linux-gnu. 110s Preparing to unpack .../031-g++-powerpc64le-linux-gnu_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 110s Unpacking g++-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 110s Selecting previously unselected package g++. 110s Preparing to unpack .../032-g++_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 110s Unpacking g++ (4:15.2.0-4ubuntu1) ... 110s Selecting previously unselected package build-essential. 110s Preparing to unpack .../033-build-essential_12.12ubuntu1_ppc64el.deb ... 110s Unpacking build-essential (12.12ubuntu1) ... 110s Selecting previously unselected package libdebhelper-perl. 110s Preparing to unpack .../034-libdebhelper-perl_13.24.2ubuntu1_all.deb ... 110s Unpacking libdebhelper-perl (13.24.2ubuntu1) ... 110s Selecting previously unselected package libtool. 110s Preparing to unpack .../035-libtool_2.5.4-7_all.deb ... 110s Unpacking libtool (2.5.4-7) ... 110s Selecting previously unselected package dh-autoreconf. 110s Preparing to unpack .../036-dh-autoreconf_21_all.deb ... 110s Unpacking dh-autoreconf (21) ... 110s Selecting previously unselected package libarchive-zip-perl. 110s Preparing to unpack .../037-libarchive-zip-perl_1.68-1_all.deb ... 110s Unpacking libarchive-zip-perl (1.68-1) ... 110s Selecting previously unselected package libfile-stripnondeterminism-perl. 110s Preparing to unpack .../038-libfile-stripnondeterminism-perl_1.15.0-1_all.deb ... 110s Unpacking libfile-stripnondeterminism-perl (1.15.0-1) ... 110s Selecting previously unselected package dh-strip-nondeterminism. 110s Preparing to unpack .../039-dh-strip-nondeterminism_1.15.0-1_all.deb ... 110s Unpacking dh-strip-nondeterminism (1.15.0-1) ... 110s Selecting previously unselected package debugedit. 110s Preparing to unpack .../040-debugedit_1%3a5.2-3_ppc64el.deb ... 110s Unpacking debugedit (1:5.2-3) ... 110s Selecting previously unselected package dwz. 110s Preparing to unpack .../041-dwz_0.16-2_ppc64el.deb ... 110s Unpacking dwz (0.16-2) ... 110s Selecting previously unselected package gettext. 110s Preparing to unpack .../042-gettext_0.23.2-1_ppc64el.deb ... 110s Unpacking gettext (0.23.2-1) ... 110s Selecting previously unselected package intltool-debian. 110s Preparing to unpack .../043-intltool-debian_0.35.0+20060710.6_all.deb ... 110s Unpacking intltool-debian (0.35.0+20060710.6) ... 110s Selecting previously unselected package po-debconf. 110s Preparing to unpack .../044-po-debconf_1.0.21+nmu1_all.deb ... 110s Unpacking po-debconf (1.0.21+nmu1) ... 110s Selecting previously unselected package debhelper. 110s Preparing to unpack .../045-debhelper_13.24.2ubuntu1_all.deb ... 110s Unpacking debhelper (13.24.2ubuntu1) ... 111s Selecting previously unselected package dh-python. 111s Preparing to unpack .../046-dh-python_6.20250414_all.deb ... 111s Unpacking dh-python (6.20250414) ... 111s Selecting previously unselected package sgml-base. 111s Preparing to unpack .../047-sgml-base_1.31+nmu1_all.deb ... 111s Unpacking sgml-base (1.31+nmu1) ... 111s Selecting previously unselected package xml-core. 111s Preparing to unpack .../048-xml-core_0.19_all.deb ... 111s Unpacking xml-core (0.19) ... 111s Selecting previously unselected package docutils-common. 111s Preparing to unpack .../049-docutils-common_0.21.2+dfsg-2_all.deb ... 111s Unpacking docutils-common (0.21.2+dfsg-2) ... 111s Selecting previously unselected package fonts-font-awesome. 111s Preparing to unpack .../050-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ... 111s Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 111s Selecting previously unselected package python3-accessible-pygments. 111s Preparing to unpack .../051-python3-accessible-pygments_0.0.5-2_all.deb ... 111s Unpacking python3-accessible-pygments (0.0.5-2) ... 111s Selecting previously unselected package python3-soupsieve. 111s Preparing to unpack .../052-python3-soupsieve_2.7-2_all.deb ... 111s Unpacking python3-soupsieve (2.7-2) ... 111s Selecting previously unselected package python3-bs4. 111s Preparing to unpack .../053-python3-bs4_4.13.4-3_all.deb ... 111s Unpacking python3-bs4 (4.13.4-3) ... 111s Selecting previously unselected package python3-defusedxml. 111s Preparing to unpack .../054-python3-defusedxml_0.7.1-3_all.deb ... 111s Unpacking python3-defusedxml (0.7.1-3) ... 111s Selecting previously unselected package libjs-jquery. 111s Preparing to unpack .../055-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 111s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 111s Selecting previously unselected package libjs-underscore. 111s Preparing to unpack .../056-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 111s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 111s Selecting previously unselected package libjs-sphinxdoc. 111s Preparing to unpack .../057-libjs-sphinxdoc_8.2.3-1ubuntu2_all.deb ... 111s Unpacking libjs-sphinxdoc (8.2.3-1ubuntu2) ... 111s Selecting previously unselected package libjson-perl. 111s Preparing to unpack .../058-libjson-perl_4.10000-1_all.deb ... 111s Unpacking libjson-perl (4.10000-1) ... 111s Selecting previously unselected package sphinx-common. 111s Preparing to unpack .../059-sphinx-common_8.2.3-1ubuntu2_all.deb ... 111s Unpacking sphinx-common (8.2.3-1ubuntu2) ... 111s Selecting previously unselected package python3-alabaster. 111s Preparing to unpack .../060-python3-alabaster_0.7.16-0.1_all.deb ... 111s Unpacking python3-alabaster (0.7.16-0.1) ... 111s Selecting previously unselected package python3-roman. 111s Preparing to unpack .../061-python3-roman_5.1-1_all.deb ... 111s Unpacking python3-roman (5.1-1) ... 111s Selecting previously unselected package python3-docutils. 111s Preparing to unpack .../062-python3-docutils_0.21.2+dfsg-2_all.deb ... 111s Unpacking python3-docutils (0.21.2+dfsg-2) ... 111s Selecting previously unselected package python3-imagesize. 111s Preparing to unpack .../063-python3-imagesize_1.4.1-1_all.deb ... 111s Unpacking python3-imagesize (1.4.1-1) ... 111s Selecting previously unselected package python3-snowballstemmer. 111s Preparing to unpack .../064-python3-snowballstemmer_3.0.1-1_all.deb ... 111s Unpacking python3-snowballstemmer (3.0.1-1) ... 111s Selecting previously unselected package python3-sphinx. 111s Preparing to unpack .../065-python3-sphinx_8.2.3-1ubuntu2_all.deb ... 111s Unpacking python3-sphinx (8.2.3-1ubuntu2) ... 111s Selecting previously unselected package sphinx-basic-ng. 111s Preparing to unpack .../066-sphinx-basic-ng_1.0.0~beta2-1_all.deb ... 111s Unpacking sphinx-basic-ng (1.0.0~beta2-1) ... 111s Selecting previously unselected package furo. 111s Preparing to unpack .../067-furo_2025.09.25+dfsg-2_all.deb ... 111s Unpacking furo (2025.09.25+dfsg-2) ... 111s Selecting previously unselected package libjs-jquery-metadata. 111s Preparing to unpack .../068-libjs-jquery-metadata_12-4_all.deb ... 111s Unpacking libjs-jquery-metadata (12-4) ... 111s Selecting previously unselected package libjs-jquery-tablesorter. 111s Preparing to unpack .../069-libjs-jquery-tablesorter_1%3a2.31.3+dfsg1-4_all.deb ... 111s Unpacking libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... 111s Selecting previously unselected package libjs-jquery-throttle-debounce. 111s Preparing to unpack .../070-libjs-jquery-throttle-debounce_1.1+dfsg.1-2_all.deb ... 111s Unpacking libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 111s Selecting previously unselected package pybuild-plugin-autopkgtest. 111s Preparing to unpack .../071-pybuild-plugin-autopkgtest_6.20250414_all.deb ... 111s Unpacking pybuild-plugin-autopkgtest (6.20250414) ... 111s Selecting previously unselected package python3-pyproject-hooks. 111s Preparing to unpack .../072-python3-pyproject-hooks_1.2.0-1_all.deb ... 111s Unpacking python3-pyproject-hooks (1.2.0-1) ... 111s Selecting previously unselected package python3-wheel. 111s Preparing to unpack .../073-python3-wheel_0.46.1-2_all.deb ... 111s Unpacking python3-wheel (0.46.1-2) ... 111s Selecting previously unselected package python3-build. 111s Preparing to unpack .../074-python3-build_1.2.2-4_all.deb ... 111s Unpacking python3-build (1.2.2-4) ... 111s Selecting previously unselected package python3-installer. 111s Preparing to unpack .../075-python3-installer_0.7.0+dfsg1-3_all.deb ... 111s Unpacking python3-installer (0.7.0+dfsg1-3) ... 111s Selecting previously unselected package pybuild-plugin-pyproject. 111s Preparing to unpack .../076-pybuild-plugin-pyproject_6.20250414_all.deb ... 111s Unpacking pybuild-plugin-pyproject (6.20250414) ... 111s Selecting previously unselected package python3-aiooui. 111s Preparing to unpack .../077-python3-aiooui_0.1.9-1_all.deb ... 111s Unpacking python3-aiooui (0.1.9-1) ... 111s Selecting previously unselected package python3-all. 111s Preparing to unpack .../078-python3-all_3.13.7-1_ppc64el.deb ... 111s Unpacking python3-all (3.13.7-1) ... 111s Selecting previously unselected package python3-async-generator. 111s Preparing to unpack .../079-python3-async-generator_1.10-7_all.deb ... 111s Unpacking python3-async-generator (1.10-7) ... 112s Selecting previously unselected package python3-async-interrupt. 112s Preparing to unpack .../080-python3-async-interrupt_1.2.2-1_all.deb ... 112s Unpacking python3-async-interrupt (1.2.2-1) ... 112s Selecting previously unselected package python3-dbus-fast. 112s Preparing to unpack .../081-python3-dbus-fast_2.45.1-1_ppc64el.deb ... 112s Unpacking python3-dbus-fast (2.45.1-1) ... 112s Selecting previously unselected package python3-bleak. 112s Preparing to unpack .../082-python3-bleak_1.1.1-1_all.deb ... 112s Unpacking python3-bleak (1.1.1-1) ... 112s Selecting previously unselected package python3-uart-devices. 112s Preparing to unpack .../083-python3-uart-devices_0.1.1-1_all.deb ... 112s Unpacking python3-uart-devices (0.1.1-1) ... 112s Selecting previously unselected package python3-usb-devices. 112s Preparing to unpack .../084-python3-usb-devices_0.4.5-2_all.deb ... 112s Unpacking python3-usb-devices (0.4.5-2) ... 112s Selecting previously unselected package python3-bluetooth-adapters. 112s Preparing to unpack .../085-python3-bluetooth-adapters_2.1.1-1_all.deb ... 112s Unpacking python3-bluetooth-adapters (2.1.1-1) ... 112s Selecting previously unselected package python3-bleak-retry-connector. 112s Preparing to unpack .../086-python3-bleak-retry-connector_4.4.4-1_all.deb ... 112s Unpacking python3-bleak-retry-connector (4.4.4-1) ... 112s Selecting previously unselected package python3-btsocket. 112s Preparing to unpack .../087-python3-btsocket_0.3.0-1_all.deb ... 112s Unpacking python3-btsocket (0.3.0-1) ... 112s Selecting previously unselected package python3-pyric. 112s Preparing to unpack .../088-python3-pyric_0.1.6.4+git20170421.0562b17-1_all.deb ... 112s Unpacking python3-pyric (0.1.6.4+git20170421.0562b17-1) ... 112s Selecting previously unselected package sphinx-rtd-theme-common. 112s Preparing to unpack .../089-sphinx-rtd-theme-common_3.0.2+dfsg-3_all.deb ... 112s Unpacking sphinx-rtd-theme-common (3.0.2+dfsg-3) ... 112s Selecting previously unselected package python3-bluetooth-auto-recovery. 112s Preparing to unpack .../090-python3-bluetooth-auto-recovery_1.5.3-1_all.deb ... 112s Unpacking python3-bluetooth-auto-recovery (1.5.3-1) ... 112s Selecting previously unselected package python3-bluetooth-data-tools. 112s Preparing to unpack .../091-python3-bluetooth-data-tools_1.28.4-1_ppc64el.deb ... 112s Unpacking python3-bluetooth-data-tools (1.28.4-1) ... 112s Selecting previously unselected package python3-coverage. 112s Preparing to unpack .../092-python3-coverage_7.8.2+dfsg1-1_ppc64el.deb ... 112s Unpacking python3-coverage (7.8.2+dfsg1-1) ... 112s Selecting previously unselected package python3-freezegun. 112s Preparing to unpack .../093-python3-freezegun_1.5.1-1.2_all.deb ... 112s Unpacking python3-freezegun (1.5.1-1.2) ... 112s Selecting previously unselected package python3-habluetooth. 112s Preparing to unpack .../094-python3-habluetooth_5.7.0-1_ppc64el.deb ... 112s Unpacking python3-habluetooth (5.7.0-1) ... 112s Selecting previously unselected package python3-iniconfig. 112s Preparing to unpack .../095-python3-iniconfig_2.1.0-1_all.deb ... 112s Unpacking python3-iniconfig (2.1.0-1) ... 112s Selecting previously unselected package python3-mdit-py-plugins. 112s Preparing to unpack .../096-python3-mdit-py-plugins_0.5.0-1_all.deb ... 112s Unpacking python3-mdit-py-plugins (0.5.0-1) ... 112s Selecting previously unselected package python3-myst-parser. 112s Preparing to unpack .../097-python3-myst-parser_4.0.1-1_all.deb ... 112s Unpacking python3-myst-parser (4.0.1-1) ... 112s Selecting previously unselected package python3-pluggy. 112s Preparing to unpack .../098-python3-pluggy_1.6.0-1_all.deb ... 112s Unpacking python3-pluggy (1.6.0-1) ... 112s Selecting previously unselected package python3-poetry-core. 112s Preparing to unpack .../099-python3-poetry-core_2.2.1-2_all.deb ... 112s Unpacking python3-poetry-core (2.2.1-2) ... 112s Selecting previously unselected package python3-pytest. 112s Preparing to unpack .../100-python3-pytest_8.3.5-2_all.deb ... 112s Unpacking python3-pytest (8.3.5-2) ... 112s Selecting previously unselected package python3-pytest-asyncio. 112s Preparing to unpack .../101-python3-pytest-asyncio_0.25.1-1_all.deb ... 112s Unpacking python3-pytest-asyncio (0.25.1-1) ... 112s Selecting previously unselected package libjs-jquery-hotkeys. 112s Preparing to unpack .../102-libjs-jquery-hotkeys_0.2.0-1_all.deb ... 112s Unpacking libjs-jquery-hotkeys (0.2.0-1) ... 112s Selecting previously unselected package libjs-jquery-isonscreen. 112s Preparing to unpack .../103-libjs-jquery-isonscreen_1.2.0-1.1_all.deb ... 112s Unpacking libjs-jquery-isonscreen (1.2.0-1.1) ... 112s Selecting previously unselected package python3-pytest-cov. 112s Preparing to unpack .../104-python3-pytest-cov_5.0.0-1_all.deb ... 112s Unpacking python3-pytest-cov (5.0.0-1) ... 112s Setting up dh-python (6.20250414) ... 112s Setting up python3-pyric (0.1.6.4+git20170421.0562b17-1) ... 112s Setting up python3-iniconfig (2.1.0-1) ... 112s Setting up python3-aiooui (0.1.9-1) ... 113s Setting up python3-uart-devices (0.1.1-1) ... 113s Setting up fonts-lato (2.015-1) ... 113s Setting up python3-usb-devices (0.4.5-2) ... 113s Setting up python3-async-generator (1.10-7) ... 113s Setting up python3-bluetooth-data-tools (1.28.4-1) ... 113s Setting up python3-defusedxml (0.7.1-3) ... 113s Setting up libarchive-zip-perl (1.68-1) ... 113s Setting up python3-alabaster (0.7.16-0.1) ... 113s Setting up libdebhelper-perl (13.24.2ubuntu1) ... 113s Setting up python3-mdit-py-plugins (0.5.0-1) ... 113s Setting up m4 (1.4.20-2) ... 113s Setting up python3-all (3.13.7-1) ... 113s Setting up python3-coverage (7.8.2+dfsg1-1) ... 113s Setting up libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 113s Setting up libgomp1:ppc64el (15.2.0-7ubuntu1) ... 113s Setting up python3-wheel (0.46.1-2) ... 114s Setting up python3-btsocket (0.3.0-1) ... 114s Setting up libasound2-data (1.2.14-2ubuntu1) ... 114s Setting up python3-roman (5.1-1) ... 114s Setting up autotools-dev (20240727.1) ... 114s Setting up libasound2t64:ppc64el (1.2.14-2ubuntu1) ... 114s Setting up python3-pyproject-hooks (1.2.0-1) ... 114s Setting up python3-accessible-pygments (0.0.5-2) ... 114s Setting up python3-snowballstemmer (3.0.1-1) ... 114s Setting up python3-poetry-core (2.2.1-2) ... 115s Setting up libquadmath0:ppc64el (15.2.0-7ubuntu1) ... 115s Setting up libmpc3:ppc64el (1.3.1-2) ... 115s Setting up autopoint (0.23.2-1) ... 115s Setting up python3-installer (0.7.0+dfsg1-3) ... 115s Setting up autoconf (2.72-3.1ubuntu1) ... 115s Setting up python3-pluggy (1.6.0-1) ... 115s Setting up python3-async-interrupt (1.2.2-1) ... 115s Setting up libubsan1:ppc64el (15.2.0-7ubuntu1) ... 115s Setting up dwz (0.16-2) ... 115s Setting up libasan8:ppc64el (15.2.0-7ubuntu1) ... 115s Setting up libjson-perl (4.10000-1) ... 115s Setting up debugedit (1:5.2-3) ... 115s Setting up sgml-base (1.31+nmu1) ... 115s Setting up libtsan2:ppc64el (15.2.0-7ubuntu1) ... 115s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 115s Setting up libjs-jquery-hotkeys (0.2.0-1) ... 115s Setting up libisl23:ppc64el (0.27-1) ... 115s Setting up python3-build (1.2.2-4) ... 115s Setting up python3-soupsieve (2.7-2) ... 115s Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 115s Setting up sphinx-rtd-theme-common (3.0.2+dfsg-3) ... 115s Setting up libcc1-0:ppc64el (15.2.0-7ubuntu1) ... 115s Setting up python3-freezegun (1.5.1-1.2) ... 115s Setting up liblsan0:ppc64el (15.2.0-7ubuntu1) ... 115s Setting up libitm1:ppc64el (15.2.0-7ubuntu1) ... 115s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 115s Setting up python3-imagesize (1.4.1-1) ... 115s Setting up automake (1:1.18.1-2) ... 115s update-alternatives: using /usr/bin/automake-1.18 to provide /usr/bin/automake (automake) in auto mode 115s Setting up libfile-stripnondeterminism-perl (1.15.0-1) ... 115s Setting up gettext (0.23.2-1) ... 115s Setting up libgcc-15-dev:ppc64el (15.2.0-7ubuntu1) ... 115s Setting up pybuild-plugin-pyproject (6.20250414) ... 115s Setting up python3-pytest (8.3.5-2) ... 116s Setting up python3-bs4 (4.13.4-3) ... 116s Setting up intltool-debian (0.35.0+20060710.6) ... 116s Setting up bluez (5.84-1) ... 116s Created symlink '/etc/systemd/user/default.target.wants/mpris-proxy.service' → '/usr/lib/systemd/user/mpris-proxy.service'. 117s Created symlink '/etc/systemd/system/dbus-org.bluez.service' → '/usr/lib/systemd/system/bluetooth.service'. 117s Created symlink '/etc/systemd/system/bluetooth.target.wants/bluetooth.service' → '/usr/lib/systemd/system/bluetooth.service'. 117s Setting up cpp-15-powerpc64le-linux-gnu (15.2.0-7ubuntu1) ... 117s Setting up libstdc++-15-dev:ppc64el (15.2.0-7ubuntu1) ... 117s Setting up libjs-jquery-metadata (12-4) ... 117s Setting up libjs-jquery-isonscreen (1.2.0-1.1) ... 117s Setting up libjs-sphinxdoc (8.2.3-1ubuntu2) ... 117s Setting up python3-pytest-asyncio (0.25.1-1) ... 117s Setting up dh-strip-nondeterminism (1.15.0-1) ... 117s Setting up libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... 117s Setting up cpp-15 (15.2.0-7ubuntu1) ... 117s Setting up xml-core (0.19) ... 117s Setting up cpp-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 117s Setting up python3-dbus-fast (2.45.1-1) ... 117s Setting up gcc-15-powerpc64le-linux-gnu (15.2.0-7ubuntu1) ... 117s Setting up po-debconf (1.0.21+nmu1) ... 117s Setting up python3-pytest-cov (5.0.0-1) ... 117s Setting up gcc-15 (15.2.0-7ubuntu1) ... 117s Setting up gcc-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 117s Setting up sphinx-common (8.2.3-1ubuntu2) ... 117s Setting up cpp (4:15.2.0-4ubuntu1) ... 118s Setting up g++-15-powerpc64le-linux-gnu (15.2.0-7ubuntu1) ... 118s Setting up python3-bleak (1.1.1-1) ... 118s Setting up python3-bluetooth-adapters (2.1.1-1) ... 118s Setting up libtool (2.5.4-7) ... 118s Setting up python3-bleak-retry-connector (4.4.4-1) ... 118s Setting up gcc (4:15.2.0-4ubuntu1) ... 118s Setting up dh-autoreconf (21) ... 118s Setting up python3-bluetooth-auto-recovery (1.5.3-1) ... 118s Setting up python3-habluetooth (5.7.0-1) ... 119s Setting up g++-15 (15.2.0-7ubuntu1) ... 119s Setting up g++-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 119s Setting up debhelper (13.24.2ubuntu1) ... 119s Setting up g++ (4:15.2.0-4ubuntu1) ... 119s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 119s Setting up build-essential (12.12ubuntu1) ... 119s Setting up pybuild-plugin-autopkgtest (6.20250414) ... 119s Processing triggers for install-info (7.2-5) ... 119s Processing triggers for libc-bin (2.42-2ubuntu2) ... 119s Processing triggers for man-db (2.13.1-1) ... 121s Processing triggers for dbus (1.16.2-2ubuntu2) ... 121s Processing triggers for sgml-base (1.31+nmu1) ... 121s Setting up docutils-common (0.21.2+dfsg-2) ... 121s Processing triggers for sgml-base (1.31+nmu1) ... 121s Setting up python3-docutils (0.21.2+dfsg-2) ... 122s Setting up python3-sphinx (8.2.3-1ubuntu2) ... 123s Setting up python3-myst-parser (4.0.1-1) ... 123s Setting up sphinx-basic-ng (1.0.0~beta2-1) ... 123s Setting up furo (2025.09.25+dfsg-2) ... 124s autopkgtest [19:12:42]: test pybuild-autopkgtest: pybuild-autopkgtest 124s autopkgtest [19:12:42]: test pybuild-autopkgtest: [----------------------- 124s pybuild-autopkgtest 125s I: pybuild base:311: cd /tmp/autopkgtest.AuLegg/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" 125s /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:207: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset. 125s 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" 125s 125s warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET)) 125s ============================= test session starts ============================== 125s platform linux -- Python 3.13.9, pytest-8.3.5, pluggy-1.6.0 -- /usr/bin/python3.13 125s cachedir: .pytest_cache 125s rootdir: /tmp/autopkgtest.AuLegg/autopkgtest_tmp/build 125s configfile: pyproject.toml 125s plugins: cov-5.0.0, typeguard-4.4.2, asyncio-0.25.1 125s asyncio: mode=Mode.STRICT, asyncio_default_fixture_loop_scope=None 126s collecting ... collected 188 items / 1 deselected / 187 selected 126s 126s tests/channels/test_bluez.py::test_connection_made 126s -------------------------------- live log setup -------------------------------- 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 126s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 126s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 126s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 126s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 126s 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 126s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 126s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 126s PASSED [ 0%] 126s ------------------------------ live log teardown ------------------------------- 126s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s 126s tests/channels/test_bluez.py::test_connection_lost 126s -------------------------------- live log setup -------------------------------- 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 126s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 126s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 126s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 126s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 126s 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 126s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 126s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 126s -------------------------------- live log call --------------------------------- 126s WARNING habluetooth.channels.bluez:bluez.py:276 Bluetooth management socket connection lost: Test error 126s PASSED [ 1%] 126s ------------------------------ live log teardown ------------------------------- 126s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s 126s tests/channels/test_bluez.py::test_connection_lost_no_exception 126s -------------------------------- live log setup -------------------------------- 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 126s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 126s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 126s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 126s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 126s 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 126s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 126s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 126s -------------------------------- live log call --------------------------------- 126s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 126s PASSED [ 1%] 126s ------------------------------ live log teardown ------------------------------- 126s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s 126s tests/channels/test_bluez.py::test_data_received_device_found 126s -------------------------------- live log setup -------------------------------- 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 126s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 126s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 126s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 126s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 126s 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 126s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 126s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 126s PASSED [ 2%] 126s ------------------------------ live log teardown ------------------------------- 126s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s 126s tests/channels/test_bluez.py::test_data_received_adv_monitor_device_found 126s -------------------------------- live log setup -------------------------------- 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 126s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 126s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 126s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 126s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 126s 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 126s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 126s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 126s PASSED [ 2%] 126s ------------------------------ live log teardown ------------------------------- 126s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s 126s tests/channels/test_bluez.py::test_data_received_cmd_complete_success 126s -------------------------------- live log setup -------------------------------- 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 126s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 126s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 126s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 126s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 126s 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 126s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 126s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 126s -------------------------------- live log call --------------------------------- 126s DEBUG habluetooth.channels.bluez:bluez.py:266 hci0: Connection parameters loaded successfully 126s PASSED [ 3%] 126s ------------------------------ live log teardown ------------------------------- 126s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s 126s tests/channels/test_bluez.py::test_data_received_cmd_complete_failure 126s -------------------------------- live log setup -------------------------------- 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 126s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 126s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 126s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 126s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 126s 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 126s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 126s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 126s -------------------------------- live log call --------------------------------- 126s WARNING habluetooth.channels.bluez:bluez.py:260 hci1: Failed to load conn params: status=12 126s PASSED [ 3%] 126s ------------------------------ live log teardown ------------------------------- 126s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s 126s tests/channels/test_bluez.py::test_data_received_cmd_status 126s -------------------------------- live log setup -------------------------------- 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 126s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 126s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 126s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 126s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 126s 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 126s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 126s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 126s -------------------------------- live log call --------------------------------- 126s WARNING habluetooth.channels.bluez:bluez.py:260 hci0: Failed to load conn params: status=1 126s PASSED [ 4%] 126s ------------------------------ live log teardown ------------------------------- 126s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s 126s tests/channels/test_bluez.py::test_data_received_partial_data 126s -------------------------------- live log setup -------------------------------- 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 126s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 126s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 126s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 126s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 126s 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 126s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 126s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 126s PASSED [ 4%] 126s ------------------------------ live log teardown ------------------------------- 126s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s 126s tests/channels/test_bluez.py::test_data_received_partial_data_split_in_params 126s -------------------------------- live log setup -------------------------------- 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 126s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 126s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 126s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 126s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 126s 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 126s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 126s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 126s PASSED [ 5%] 126s ------------------------------ live log teardown ------------------------------- 126s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s 126s tests/channels/test_bluez.py::test_data_received_multiple_small_chunks 126s -------------------------------- live log setup -------------------------------- 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 126s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 126s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 126s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 126s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 126s 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 126s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 126s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 126s PASSED [ 5%] 126s ------------------------------ live log teardown ------------------------------- 126s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s 126s tests/channels/test_bluez.py::test_data_received_multiple_events_in_one_chunk 126s -------------------------------- live log setup -------------------------------- 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 126s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 126s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 126s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 126s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 126s 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 126s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 126s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 126s -------------------------------- live log call --------------------------------- 126s DEBUG habluetooth.channels.bluez:bluez.py:266 hci0: Connection parameters loaded successfully 126s PASSED [ 6%] 126s ------------------------------ live log teardown ------------------------------- 126s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s 126s tests/channels/test_bluez.py::test_data_received_partial_then_multiple_events 126s -------------------------------- live log setup -------------------------------- 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 126s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 126s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 126s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 126s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 126s 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 126s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 126s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 126s PASSED [ 6%] 126s ------------------------------ live log teardown ------------------------------- 126s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s 126s tests/channels/test_bluez.py::test_data_received_cmd_complete_different_opcode 126s -------------------------------- live log setup -------------------------------- 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 126s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 126s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 126s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 126s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 126s 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 126s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 126s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 126s PASSED [ 7%] 126s ------------------------------ live log teardown ------------------------------- 126s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s 126s tests/channels/test_bluez.py::test_data_received_cmd_status_different_opcode 126s -------------------------------- live log setup -------------------------------- 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 126s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 126s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 126s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 126s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 126s 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 126s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 126s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 126s PASSED [ 8%] 126s ------------------------------ live log teardown ------------------------------- 126s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s 126s tests/channels/test_bluez.py::test_data_received_cmd_complete_short_params 126s -------------------------------- live log setup -------------------------------- 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 126s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 126s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 126s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 126s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 126s 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 126s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 126s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 126s PASSED [ 8%] 126s ------------------------------ live log teardown ------------------------------- 126s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s 126s tests/channels/test_bluez.py::test_data_received_cmd_status_param_len_1 126s -------------------------------- live log setup -------------------------------- 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 126s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 126s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 126s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 126s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 126s 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 126s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 126s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 126s PASSED [ 9%] 126s ------------------------------ live log teardown ------------------------------- 126s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s 126s tests/channels/test_bluez.py::test_data_received_cmd_complete_param_len_0 126s -------------------------------- live log setup -------------------------------- 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 126s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 126s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 126s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 126s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 126s 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 126s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 126s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 126s PASSED [ 9%] 126s ------------------------------ live log teardown ------------------------------- 126s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s 126s tests/channels/test_bluez.py::test_data_received_unknown_event 126s -------------------------------- live log setup -------------------------------- 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 126s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 126s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 126s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 126s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 126s 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 126s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 126s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 126s PASSED [ 10%] 126s ------------------------------ live log teardown ------------------------------- 126s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s 126s tests/channels/test_bluez.py::test_data_received_no_scanner_for_controller 126s -------------------------------- live log setup -------------------------------- 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 126s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 126s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 126s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 126s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 126s 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 126s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 126s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 126s PASSED [ 10%] 126s ------------------------------ live log teardown ------------------------------- 126s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s 126s tests/channels/test_bluez.py::test_setup_success 126s -------------------------------- live log setup -------------------------------- 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 126s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 126s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 126s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 126s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 126s 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 126s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 126s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 126s -------------------------------- live log call --------------------------------- 126s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 126s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 126s PASSED [ 11%] 126s ------------------------------ live log teardown ------------------------------- 126s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s 126s tests/channels/test_bluez.py::test_setup_timeout 126s -------------------------------- live log setup -------------------------------- 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 126s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 126s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 126s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 126s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 126s 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 126s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 126s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 126s -------------------------------- live log call --------------------------------- 126s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 126s PASSED [ 11%] 126s ------------------------------ live log teardown ------------------------------- 126s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s 126s tests/channels/test_bluez.py::test_load_conn_params_fast 126s -------------------------------- live log setup -------------------------------- 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 126s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 126s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 126s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 126s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 126s 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 126s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 126s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 126s -------------------------------- live log call --------------------------------- 126s DEBUG habluetooth.channels.bluez:bluez.py:533 Loaded conn params for AA:BB:CC:DD:EE:FF: interval=6-6, latency=0, timeout=1000 126s PASSED [ 12%] 126s ------------------------------ live log teardown ------------------------------- 126s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s 126s tests/channels/test_bluez.py::test_load_conn_params_medium 126s -------------------------------- live log setup -------------------------------- 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 126s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 126s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 126s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 126s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 126s 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 126s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 126s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 126s -------------------------------- live log call --------------------------------- 126s DEBUG habluetooth.channels.bluez:bluez.py:533 Loaded conn params for 11:22:33:44:55:66: interval=7-9, latency=0, timeout=800 126s PASSED [ 12%] 126s ------------------------------ live log teardown ------------------------------- 126s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s 126s tests/channels/test_bluez.py::test_load_conn_params_no_protocol 126s -------------------------------- live log setup -------------------------------- 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 126s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 126s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 126s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 126s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 126s 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 126s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 126s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 126s -------------------------------- live log call --------------------------------- 126s ERROR habluetooth.channels.bluez:bluez.py:476 Cannot load conn params: no connection 126s PASSED [ 13%] 126s ------------------------------ live log teardown ------------------------------- 126s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s 126s tests/channels/test_bluez.py::test_load_conn_params_invalid_address 126s -------------------------------- live log setup -------------------------------- 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 126s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 126s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 126s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 126s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 126s 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 126s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 126s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 126s -------------------------------- live log call --------------------------------- 126s ERROR habluetooth.channels.bluez:bluez.py:482 Invalid MAC address: AA:BB 126s PASSED [ 13%] 126s ------------------------------ live log teardown ------------------------------- 126s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s 126s tests/channels/test_bluez.py::test_load_conn_params_transport_error 126s -------------------------------- live log setup -------------------------------- 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 126s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 126s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 126s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 126s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 126s 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 126s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 126s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 126s -------------------------------- live log call --------------------------------- 126s ERROR habluetooth.channels.bluez:bluez.py:543 Failed to load conn params 126s Traceback (most recent call last): 126s File "/usr/lib/python3/dist-packages/habluetooth/channels/bluez.py", line 532, in load_conn_params 126s self.protocol._write_to_socket(header + cmd_data) 126s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 126s File "/usr/lib/python3.13/unittest/mock.py", line 1169, in __call__ 126s return self._mock_call(*args, **kwargs) 126s ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 126s File "/usr/lib/python3.13/unittest/mock.py", line 1173, in _mock_call 126s return self._execute_mock_call(*args, **kwargs) 126s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 126s File "/usr/lib/python3.13/unittest/mock.py", line 1228, in _execute_mock_call 126s raise effect 126s Exception: Transport error 126s PASSED [ 14%] 126s ------------------------------ live log teardown ------------------------------- 126s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s 126s tests/channels/test_bluez.py::test_kernel_bug_workaround_send_returns_zero 126s -------------------------------- live log setup -------------------------------- 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 126s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 126s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 126s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 126s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 126s 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 126s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 126s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 126s -------------------------------- live log call --------------------------------- 126s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 126s PASSED [ 14%] 126s ------------------------------ live log teardown ------------------------------- 126s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s 126s tests/channels/test_bluez.py::test_kernel_bug_workaround_send_raises_exception 126s -------------------------------- live log setup -------------------------------- 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 126s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 126s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 126s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 126s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 126s 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 126s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 126s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 126s -------------------------------- live log call --------------------------------- 126s ERROR habluetooth.channels.bluez:bluez.py:117 Failed to write to mgmt socket: Socket error 126s PASSED [ 15%] 126s ------------------------------ live log teardown ------------------------------- 126s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s 126s tests/channels/test_bluez.py::test_close 126s -------------------------------- live log setup -------------------------------- 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 126s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 126s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 126s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 126s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 126s 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 126s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 126s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 126s PASSED [ 16%] 126s ------------------------------ live log teardown ------------------------------- 126s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s 126s tests/channels/test_bluez.py::test_close_no_protocol 126s -------------------------------- live log setup -------------------------------- 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 126s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 126s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 126s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 126s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 126s 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 126s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 126s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 126s PASSED [ 16%] 126s ------------------------------ live log teardown ------------------------------- 126s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s 126s tests/channels/test_bluez.py::test_on_connection_lost 126s -------------------------------- live log setup -------------------------------- 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 126s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 126s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 126s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 126s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 126s 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 126s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 126s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 126s -------------------------------- live log call --------------------------------- 126s DEBUG habluetooth.channels.bluez:bluez.py:312 Bluetooth management socket connection lost, reconnecting 126s PASSED [ 17%] 126s ------------------------------ live log teardown ------------------------------- 126s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s 126s tests/channels/test_bluez.py::test_on_connection_lost_during_shutdown 126s -------------------------------- live log setup -------------------------------- 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 126s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 126s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 126s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 126s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 126s 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 126s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 126s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 126s -------------------------------- live log call --------------------------------- 126s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 126s PASSED [ 17%] 126s ------------------------------ live log teardown ------------------------------- 126s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s 126s tests/channels/test_bluez.py::test_reconnect_task 126s -------------------------------- live log setup -------------------------------- 126s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 126s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 126s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 126s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 126s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 126s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 126s 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 126s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 126s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 126s -------------------------------- live log call --------------------------------- 126s DEBUG habluetooth.channels.bluez:bluez.py:323 Reconnecting to Bluetooth management socket 126s DEBUG habluetooth.channels.bluez:bluez.py:312 Bluetooth management socket connection lost, reconnecting 126s DEBUG habluetooth.channels.bluez:bluez.py:323 Reconnecting to Bluetooth management socket 126s DEBUG habluetooth.channels.bluez:bluez.py:327 Bluetooth management socket connection timed out 127s DEBUG habluetooth.channels.bluez:bluez.py:323 Reconnecting to Bluetooth management socket 128s PASSED [ 18%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/channels/test_bluez.py::test_reconnect_task_timeout 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s -------------------------------- live log call --------------------------------- 128s DEBUG habluetooth.channels.bluez:bluez.py:323 Reconnecting to Bluetooth management socket 128s DEBUG habluetooth.channels.bluez:bluez.py:327 Bluetooth management socket connection timed out 128s PASSED [ 18%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/channels/test_bluez.py::test_reconnect_task_shutdown 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s PASSED [ 19%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/channels/test_bluez.py::test_command_response_context_manager 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s PASSED [ 19%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/channels/test_bluez.py::test_command_response_cleanup_on_exception 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s PASSED [ 20%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/channels/test_bluez.py::test_get_connections_response_handling 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s PASSED [ 20%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/channels/test_bluez.py::test_get_connections_response_with_data 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s PASSED [ 21%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/channels/test_bluez.py::test_has_mgmt_capabilities_from_status 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s -------------------------------- live log call --------------------------------- 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s DEBUG habluetooth.channels.bluez:bluez.py:384 MGMT capability check passed (status: 0x0) 128s DEBUG habluetooth.channels.bluez:bluez.py:384 MGMT capability check passed (status: 0x11) 128s DEBUG habluetooth.channels.bluez:bluez.py:387 MGMT capability check returned unexpected status 0xff - assuming missing permissions 128s DEBUG habluetooth.channels.bluez:bluez.py:387 MGMT capability check returned unexpected status 0x1 - assuming missing permissions 128s DEBUG habluetooth.channels.bluez:bluez.py:387 MGMT capability check returned unexpected status 0xd - assuming missing permissions 128s PASSED [ 21%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/channels/test_bluez.py::test_check_capabilities_success 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s -------------------------------- live log call --------------------------------- 128s DEBUG habluetooth.channels.bluez:bluez.py:384 MGMT capability check passed (status: 0x0) 128s PASSED [ 22%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/channels/test_bluez.py::test_check_capabilities_permission_denied 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s -------------------------------- live log call --------------------------------- 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s PASSED [ 22%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/channels/test_bluez.py::test_check_capabilities_invalid_index 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s -------------------------------- live log call --------------------------------- 128s DEBUG habluetooth.channels.bluez:bluez.py:384 MGMT capability check passed (status: 0x11) 128s PASSED [ 23%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/channels/test_bluez.py::test_check_capabilities_unknown_status 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s -------------------------------- live log call --------------------------------- 128s DEBUG habluetooth.channels.bluez:bluez.py:387 MGMT capability check returned unexpected status 0xff - assuming missing permissions 128s PASSED [ 24%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/channels/test_bluez.py::test_check_capabilities_timeout 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s -------------------------------- live log call --------------------------------- 128s DEBUG habluetooth.channels.bluez:bluez.py:414 MGMT capability check failed: Test timeout - likely missing NET_ADMIN/NET_RAW 128s PASSED [ 24%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/channels/test_bluez.py::test_check_capabilities_no_protocol 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s PASSED [ 25%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/channels/test_bluez.py::test_check_capabilities_no_transport 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s PASSED [ 25%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/channels/test_bluez.py::test_setup_with_failed_capabilities 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s PASSED [ 26%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_advertisement_tracker.py::test_scanner_paused_clears_timing_data 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s PASSED [ 26%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_advertisement_tracker.py::test_scanner_paused_only_affects_matching_source 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s PASSED [ 27%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_advertisement_tracker.py::test_connection_clears_timing_data 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s PASSED [ 27%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_base_scanner.py::test_remote_scanner[None] 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s -------------------------------- live log call --------------------------------- 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner esp32 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner esp32 128s PASSED [ 28%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_base_scanner.py::test_remote_scanner[w] 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s -------------------------------- live log call --------------------------------- 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner esp32 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner esp32 128s PASSED [ 28%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_base_scanner.py::test_remote_scanner_expires_connectable 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s -------------------------------- live log call --------------------------------- 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner esp32 128s DEBUG habluetooth.base_scanner:base_scanner.py:291 esp32: Scanner watchdog time_since_last_detection: 196.005120622 128s DEBUG habluetooth.base_scanner:base_scanner.py:306 esp32: Bluetooth scanner has gone quiet for 196.005120622s, check logs on the scanner device for more information 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner esp32 128s PASSED [ 29%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_base_scanner.py::test_remote_scanner_expires_non_connectable 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s -------------------------------- live log call --------------------------------- 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner esp32 128s DEBUG habluetooth.base_scanner:base_scanner.py:291 esp32: Scanner watchdog time_since_last_detection: 196.00602669600002 128s DEBUG habluetooth.base_scanner:base_scanner.py:306 esp32: Bluetooth scanner has gone quiet for 196.00602669600002s, check logs on the scanner device for more information 128s DEBUG habluetooth.base_scanner:base_scanner.py:291 esp32: Scanner watchdog time_since_last_detection: 901.006026696 128s DEBUG habluetooth.base_scanner:base_scanner.py:306 esp32: Bluetooth scanner has gone quiet for 901.006026696s, check logs on the scanner device for more information 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner esp32 128s PASSED [ 29%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_base_scanner.py::test_base_scanner_connecting_behavior 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s -------------------------------- live log call --------------------------------- 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner esp32 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner esp32 128s PASSED [ 30%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_base_scanner.py::test_scanner_stops_responding 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s -------------------------------- live log call --------------------------------- 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner esp32 128s DEBUG habluetooth.base_scanner:base_scanner.py:291 esp32: Scanner watchdog time_since_last_detection: 120.00483934299999 128s DEBUG habluetooth.base_scanner:base_scanner.py:306 esp32: Bluetooth scanner has gone quiet for 120.00483934299999s, check logs on the scanner device for more information 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner esp32 128s PASSED [ 31%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_base_scanner.py::test_merge_manufacturer_data_history_existing 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s -------------------------------- live log call --------------------------------- 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner esp32 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner esp32 128s PASSED [ 31%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_base_scanner.py::test_merge_manufacturer_data_history_new 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s -------------------------------- live log call --------------------------------- 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner esp32 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner esp32 128s PASSED [ 32%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_base_scanner.py::test_filter_apple_data 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s -------------------------------- live log call --------------------------------- 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner esp32 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner esp32 128s PASSED [ 32%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_base_scanner.py::test_connection_history_count_in_progress 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 128s PASSED [ 33%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_base_scanner.py::test_connection_history_failure_count 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 128s -------------------------------- live log call --------------------------------- 128s 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 128s PASSED [ 33%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_base_scanner.py::test_scanner_mode_changes 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s PASSED [ 34%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_base_scanner.py::test_remote_scanner_type 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s PASSED [ 34%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_base_scanner.py::test_base_scanner_with_connector 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s PASSED [ 35%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_base_scanner.py::test_score_with_no_allocations 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s PASSED [ 35%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_base_scanner.py::test_score_with_all_slots_free 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s PASSED [ 36%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_base_scanner.py::test_score_with_one_slot_remaining 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s PASSED [ 36%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_base_scanner.py::test_score_with_no_slots_available 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s PASSED [ 37%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_base_scanner.py::test_score_comparison_with_different_slot_availability 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s PASSED [ 37%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_base_scanner.py::test_score_with_connections_in_progress_and_slots 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s PASSED [ 38%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_base_scanner.py::test_on_scanner_start_callback_remote_scanner 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s WARNING habluetooth.manager:manager.py:206 MockBluetoothManagerWithCallbacks: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s PASSED [ 39%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_base_scanner.py::test_on_scanner_start_multiple_scanners 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s WARNING habluetooth.manager:manager.py:206 MockBluetoothManagerWithCallbacks: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s PASSED [ 39%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_base_scanner.py::test_scanner_without_manager 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s -------------------------------- live log call --------------------------------- 128s WARNING habluetooth.manager:manager.py:206 BluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s PASSED [ 40%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_init.py::test_create_scanner 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s PASSED [ 40%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_init.py::test_create_remote_scanner 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s PASSED [ 41%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_init.py::test__async_on_advertisement 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s PASSED [ 41%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_init.py::test__async_on_advertisement_first 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s PASSED [ 42%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_init.py::test__async_on_advertisement_prefers_longest_local_name 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s PASSED [ 42%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_init.py::test_create_ha_scanner 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s PASSED [ 43%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_manager.py::test_async_recover_failed_adapters 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s -------------------------------- live log call --------------------------------- 128s WARNING habluetooth.manager:manager.py:206 BluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s PASSED [ 43%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_manager.py::test_create_manager 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s -------------------------------- live log call --------------------------------- 128s WARNING habluetooth.manager:manager.py:206 BluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s PASSED [ 44%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_manager.py::test_async_register_disappeared_callback 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (AA:BB:CC:DD:EE:11) 128s -------------------------------- live log call --------------------------------- 128s ERROR habluetooth.manager:manager.py:483 Error in disappeared callback 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/habluetooth/manager.py", line 481, in _async_check_unavailable 128s disappear_callback(address) 128s ~~~~~~~~~~~~~~~~~~^^^^^^^^^ 128s File "/tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_manager.py", line 190, in _failing_callback 128s raise ValueError("This is a test") 128s ValueError: This is a test 128s PASSED [ 44%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (AA:BB:CC:DD:EE:11) 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_manager.py::test_async_register_allocation_callback 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (AA:BB:CC:DD:EE:11) 128s -------------------------------- live log call --------------------------------- 128s ERROR habluetooth.manager:manager.py:922 Error in allocation callback 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/habluetooth/manager.py", line 920, in async_on_allocation_changed 128s callback_(ha_slot_allocations) 128s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 128s File "/tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_manager.py", line 261, in _failing_callback 128s raise ValueError("This is a test") 128s ValueError: This is a test 128s ERROR habluetooth.manager:manager.py:922 Error in allocation callback 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/habluetooth/manager.py", line 920, in async_on_allocation_changed 128s callback_(ha_slot_allocations) 128s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 128s File "/tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_manager.py", line 261, in _failing_callback 128s raise ValueError("This is a test") 128s ValueError: This is a test 128s PASSED [ 45%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (AA:BB:CC:DD:EE:11) 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_manager.py::test_async_register_allocation_callback_non_connectable 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner non connectable (AA:BB:CC:DD:EE:FF) 128s PASSED [ 45%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner non connectable (AA:BB:CC:DD:EE:FF) 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_manager.py::test_async_register_scanner_registration_callback 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (AA:BB:CC:DD:EE:11) 128s -------------------------------- live log call --------------------------------- 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci3 (AA:BB:CC:DD:EE:33) 128s ERROR habluetooth.manager:manager.py:939 Error in scanner callback 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/habluetooth/manager.py", line 937, in _async_on_scanner_registration 128s callback_(HaScannerRegistration(event, scanner)) 128s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_manager.py", line 383, in _failing_callback 128s raise ValueError("This is a test") 128s ValueError: This is a test 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci3 (AA:BB:CC:DD:EE:33) 128s ERROR habluetooth.manager:manager.py:939 Error in scanner callback 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/habluetooth/manager.py", line 937, in _async_on_scanner_registration 128s callback_(HaScannerRegistration(event, scanner)) 128s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_manager.py", line 383, in _failing_callback 128s raise ValueError("This is a test") 128s ValueError: This is a test 128s PASSED [ 46%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (AA:BB:CC:DD:EE:11) 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_manager.py::test_async_register_scanner_mode_change_callback 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (AA:BB:CC:DD:EE:11) 128s -------------------------------- live log call --------------------------------- 128s ERROR habluetooth.manager:manager.py:1023 Error in scanner mode change callback 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/habluetooth/manager.py", line 1021, in scanner_mode_changed 128s callback_(mode_change) 128s ~~~~~~~~~^^^^^^^^^^^^^ 128s File "/tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_manager.py", line 438, in _failing_callback 128s raise ValueError("This is a test") 128s ValueError: This is a test 128s ERROR habluetooth.manager:manager.py:1023 Error in scanner mode change callback 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/habluetooth/manager.py", line 1021, in scanner_mode_changed 128s callback_(mode_change) 128s ~~~~~~~~~^^^^^^^^^^^^^ 128s File "/tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_manager.py", line 438, in _failing_callback 128s raise ValueError("This is a test") 128s ValueError: This is a test 128s PASSED [ 47%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (AA:BB:CC:DD:EE:11) 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_manager.py::test_async_register_scanner_with_connection_slots 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s -------------------------------- live log call --------------------------------- 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci3 (AA:BB:CC:DD:EE:33) 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci3 (AA:BB:CC:DD:EE:33) 128s PASSED [ 47%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_manager.py::test_diagnostics 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 128s PASSED [ 48%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_manager.py::test_advertisements_do_not_switch_adapters_for_no_reason 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (AA:BB:CC:DD:EE:11) 128s PASSED [ 48%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (AA:BB:CC:DD:EE:11) 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_manager.py::test_switching_adapters_based_on_rssi 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (AA:BB:CC:DD:EE:11) 128s -------------------------------- live log call --------------------------------- 128s 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) 128s PASSED [ 49%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (AA:BB:CC:DD:EE:11) 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_manager.py::test_switching_adapters_based_on_zero_rssi 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (AA:BB:CC:DD:EE:11) 128s -------------------------------- live log call --------------------------------- 128s 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) 128s PASSED [ 49%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (AA:BB:CC:DD:EE:11) 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_manager.py::test_switching_adapters_based_on_stale 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (AA:BB:CC:DD:EE:11) 128s -------------------------------- live log call --------------------------------- 128s 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) 128s PASSED [ 50%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (AA:BB:CC:DD:EE:11) 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_manager.py::test_switching_adapters_based_on_stale_with_discovered_interval 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (AA:BB:CC:DD:EE:11) 128s -------------------------------- live log call --------------------------------- 128s 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) 128s PASSED [ 50%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (AA:BB:CC:DD:EE:11) 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_manager.py::test_switching_adapters_based_on_rssi_connectable_to_non_connectable 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (AA:BB:CC:DD:EE:11) 128s -------------------------------- live log call --------------------------------- 128s 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) 128s PASSED [ 51%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (AA:BB:CC:DD:EE:11) 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_manager.py::test_connectable_advertisement_can_be_retrieved_best_path_is_non_connectable 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (AA:BB:CC:DD:EE:11) 128s PASSED [ 51%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (AA:BB:CC:DD:EE:11) 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_manager.py::test_switching_adapters_when_one_goes_away 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 128s -------------------------------- live log call --------------------------------- 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci2 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci2 128s PASSED [ 52%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_manager.py::test_switching_adapters_when_one_stop_scanning 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 128s -------------------------------- live log call --------------------------------- 128s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci2 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci2 128s PASSED [ 52%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_manager.py::test_set_fallback_interval_small 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s PASSED [ 53%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_manager.py::test_set_fallback_interval_big 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s PASSED [ 54%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_manager.py::test_subclassing_bluetooth_manager 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s -------------------------------- live log call --------------------------------- 128s WARNING habluetooth.manager:manager.py:206 TestBluetoothManager2: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s PASSED [ 54%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_manager.py::test_is_operating_degraded_on_linux_with_mgmt 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s -------------------------------- live log call --------------------------------- 128s WARNING habluetooth.manager:manager.py:206 BluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s PASSED [ 55%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_manager.py::test_is_operating_degraded_on_linux_without_mgmt 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s -------------------------------- live log call --------------------------------- 128s WARNING habluetooth.manager:manager.py:206 BluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s PASSED [ 55%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_manager.py::test_is_operating_degraded_on_non_linux 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s -------------------------------- live log call --------------------------------- 128s WARNING habluetooth.manager:manager.py:206 BluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s PASSED [ 56%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_manager.py::test_is_operating_degraded_after_permission_error 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s -------------------------------- live log call --------------------------------- 128s WARNING habluetooth.manager:manager.py:206 BluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s 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 128s PASSED [ 56%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_models.py::test_model 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s PASSED [ 57%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_models.py::test_model_from_bleak 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s PASSED [ 57%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_models.py::test_model_from_scanner 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s PASSED [ 58%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_models.py::test_construct_service_info_bleak 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s PASSED [ 58%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_models.py::test_from_device_and_advertisement_data 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s PASSED [ 59%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_models.py::test_pyobjc_compat 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s PASSED [ 59%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_models.py::test_as_connectable 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 128s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 128s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 128s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 128s 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 128s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 128s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 128s PASSED [ 60%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_scanner.py::test_bytes_mac_to_str 128s -------------------------------- live log setup -------------------------------- 128s WARNING habluetooth.manager:manager.py:206 BluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 128s PASSED [ 60%] 128s tests/test_scanner.py::test_make_bluez_details PASSED [ 61%] 128s tests/test_scanner.py::test_empty_data_no_scanner 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s PASSED [ 62%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_scanner.py::test_dbus_socket_missing_in_container 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s -------------------------------- live log call --------------------------------- 128s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 128s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 128s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 128s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 128s DEBUG habluetooth.scanner:scanner.py:522 hci0 (AA:BB:CC:DD:EE:FF): FileNotFoundError while starting bluetooth: 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 128s await self.scanner.start() 128s File "/usr/lib/python3.13/unittest/mock.py", line 2321, in _execute_mock_call 128s raise effect 128s FileNotFoundError 128s PASSED [ 62%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_scanner.py::test_dbus_socket_missing 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s -------------------------------- live log call --------------------------------- 128s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 128s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 128s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 128s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 128s DEBUG habluetooth.scanner:scanner.py:522 hci0 (AA:BB:CC:DD:EE:FF): FileNotFoundError while starting bluetooth: 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 128s await self.scanner.start() 128s File "/usr/lib/python3.13/unittest/mock.py", line 2321, in _execute_mock_call 128s raise effect 128s FileNotFoundError 128s PASSED [ 63%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_scanner.py::test_handle_cancellation 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s -------------------------------- live log call --------------------------------- 128s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 128s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 128s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 128s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 128s PASSED [ 63%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_scanner.py::test_handle_stop_while_starting 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s -------------------------------- live log call --------------------------------- 128s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 128s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 128s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 128s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 128s DEBUG habluetooth.scanner:scanner.py:512 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth scanner aborted: 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 128s await self.scanner.start() 128s File "/tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_scanner.py", line 209, in _start 128s await asyncio.sleep(1000) 128s File "/usr/lib/python3.13/asyncio/tasks.py", line 718, in sleep 128s return await future 128s ^^^^^^^^^^^^ 128s asyncio.exceptions.CancelledError: Interrupted by interrupt context manager 128s 128s The above exception was the direct cause of the following exception: 128s 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 401, in _async_start_attempt 128s async_interrupt.interrupt(self._start_future, _AbortStartError, None), 128s ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 128s File "/usr/lib/python3/dist-packages/async_interrupt/__init__.py", line 90, in __aexit__ 128s raise self._exception from exc_val 128s habluetooth.scanner._AbortStartError 128s DEBUG habluetooth.scanner:scanner.py:631 hci0 (AA:BB:CC:DD:EE:FF): Scanner is already stopped 128s PASSED [ 64%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_scanner.py::test_dbus_broken_pipe_in_container 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s -------------------------------- live log call --------------------------------- 128s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 128s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 128s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 128s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 128s DEBUG habluetooth.scanner:scanner.py:540 hci0 (AA:BB:CC:DD:EE:FF): DBus connection broken: 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 128s await self.scanner.start() 128s File "/usr/lib/python3.13/unittest/mock.py", line 2321, in _execute_mock_call 128s raise effect 128s BrokenPipeError 128s PASSED [ 64%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_scanner.py::test_dbus_broken_pipe 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s -------------------------------- live log call --------------------------------- 128s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 128s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 128s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 128s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 128s DEBUG habluetooth.scanner:scanner.py:540 hci0 (AA:BB:CC:DD:EE:FF): DBus connection broken: 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 128s await self.scanner.start() 128s File "/usr/lib/python3.13/unittest/mock.py", line 2321, in _execute_mock_call 128s raise effect 128s BrokenPipeError 128s PASSED [ 65%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_scanner.py::test_invalid_dbus_message 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s -------------------------------- live log call --------------------------------- 128s ERROR asyncio:base_events.py:1879 Future exception was never retrieved 128s future: 128s habluetooth.scanner._AbortStartError 128s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 128s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 128s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 128s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 128s DEBUG habluetooth.scanner:scanner.py:555 hci0 (AA:BB:CC:DD:EE:FF): Invalid DBus message received: 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 128s await self.scanner.start() 128s File "/usr/lib/python3.13/unittest/mock.py", line 2321, in _execute_mock_call 128s raise effect 128s dbus_fast.errors.InvalidMessageError 128s PASSED [ 65%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_scanner.py::test_adapter_needs_reset_at_start[org.bluez.Error.Failed] 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s -------------------------------- live log call --------------------------------- 128s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 128s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 128s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 128s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 128s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (1/4): org.bluez.Error.Failed 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 128s await self.scanner.start() 128s File "/tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 128s raise BleakError(error) 128s bleak.exc.BleakError: org.bluez.Error.Failed 128s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 128s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 128s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (2/4) 128s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 128s DEBUG habluetooth.scanner:scanner.py:615 hci0 (AA:BB:CC:DD:EE:FF): adapter stopped responding; executing reset 128s DEBUG habluetooth.scanner:scanner.py:617 hci0 (AA:BB:CC:DD:EE:FF): adapter reset result: True 128s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (2/4): org.bluez.Error.Failed 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 128s await self.scanner.start() 128s File "/tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 128s raise BleakError(error) 128s bleak.exc.BleakError: org.bluez.Error.Failed 128s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 128s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 128s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (3/4) 128s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (3/4) 128s 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': {}}} 128s FAILED [ 66%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_scanner.py::test_adapter_needs_reset_at_start[org.bluez.Error.InProgress] 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s -------------------------------- live log call --------------------------------- 128s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 128s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 128s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 128s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 128s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 128s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (1/4): org.bluez.Error.InProgress 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 128s await self.scanner.start() 128s File "/tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 128s raise BleakError(error) 128s bleak.exc.BleakError: org.bluez.Error.InProgress 128s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 128s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 128s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (2/4) 128s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 128s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 128s DEBUG habluetooth.scanner:scanner.py:615 hci0 (AA:BB:CC:DD:EE:FF): adapter stopped responding; executing reset 128s DEBUG habluetooth.scanner:scanner.py:617 hci0 (AA:BB:CC:DD:EE:FF): adapter reset result: True 128s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (2/4): org.bluez.Error.InProgress 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 128s await self.scanner.start() 128s File "/tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 128s raise BleakError(error) 128s bleak.exc.BleakError: org.bluez.Error.InProgress 128s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 128s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 128s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (3/4) 128s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (3/4) 128s 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': {}}} 128s FAILED [ 66%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_scanner.py::test_adapter_needs_reset_at_start[org.bluez.Error.NotReady] 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s -------------------------------- live log call --------------------------------- 128s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 128s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 128s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 128s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 128s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (1/4): org.bluez.Error.NotReady 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 128s await self.scanner.start() 128s File "/tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 128s raise BleakError(error) 128s bleak.exc.BleakError: org.bluez.Error.NotReady 128s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 128s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 128s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (2/4) 128s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 128s DEBUG habluetooth.scanner:scanner.py:615 hci0 (AA:BB:CC:DD:EE:FF): adapter stopped responding; executing reset 128s DEBUG habluetooth.scanner:scanner.py:617 hci0 (AA:BB:CC:DD:EE:FF): adapter reset result: True 128s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (2/4): org.bluez.Error.NotReady 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 128s await self.scanner.start() 128s File "/tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 128s raise BleakError(error) 128s bleak.exc.BleakError: org.bluez.Error.NotReady 128s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 128s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 128s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (3/4) 128s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (3/4) 128s 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': {}}} 128s FAILED [ 67%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_scanner.py::test_adapter_needs_reset_at_start[not found] 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s -------------------------------- live log call --------------------------------- 128s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 128s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 128s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 128s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 128s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (1/4): not found 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 128s await self.scanner.start() 128s File "/tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 128s raise BleakError(error) 128s bleak.exc.BleakError: not found 128s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 128s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 128s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (2/4) 128s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 128s DEBUG habluetooth.scanner:scanner.py:615 hci0 (AA:BB:CC:DD:EE:FF): adapter stopped responding; executing reset 128s DEBUG habluetooth.scanner:scanner.py:617 hci0 (AA:BB:CC:DD:EE:FF): adapter reset result: True 128s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (2/4): not found 128s Traceback (most recent call last): 128s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 128s await self.scanner.start() 128s File "/tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 128s raise BleakError(error) 128s bleak.exc.BleakError: not found 128s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 128s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 128s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (3/4) 128s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (3/4) 128s 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': {}}} 128s FAILED [ 67%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_scanner.py::test_recovery_from_dbus_restart 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s -------------------------------- live log call --------------------------------- 128s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 128s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 128s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 128s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (1/4) 128s 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': {}}} 128s FAILED [ 68%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_scanner.py::test_adapter_recovery 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s -------------------------------- live log call --------------------------------- 128s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 128s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 128s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 128s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (1/4) 128s 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': {}}} 128s FAILED [ 68%] 128s ------------------------------ live log teardown ------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s 128s tests/test_scanner.py::test_adapter_scanner_fails_to_start_first_time 128s -------------------------------- live log setup -------------------------------- 128s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 128s -------------------------------- live log call --------------------------------- 128s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 128s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 128s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 128s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (1/4) 128s 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': {}}} 129s FAILED [ 69%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_scanner.py::test_adapter_fails_to_start_and_takes_a_bit_to_init 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s -------------------------------- live log call --------------------------------- 129s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 129s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:462 hci0 (AA:BB:CC:DD:EE:FF): Waiting for adapter to initialize; attempt (1/4) 129s 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 129s Traceback (most recent call last): 129s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 129s await self.scanner.start() 129s File "/tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_scanner.py", line 660, in start 129s raise BleakError("org.freedesktop.DBus.Error.UnknownObject") 129s bleak.exc.BleakError: org.freedesktop.DBus.Error.UnknownObject 129s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (2/4) 129s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:615 hci0 (AA:BB:CC:DD:EE:FF): adapter stopped responding; executing reset 129s DEBUG habluetooth.scanner:scanner.py:617 hci0 (AA:BB:CC:DD:EE:FF): adapter reset result: True 129s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (2/4): org.bluez.Error.InProgress 129s Traceback (most recent call last): 129s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 129s await self.scanner.start() 129s File "/tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_scanner.py", line 662, in start 129s raise BleakError("org.bluez.Error.InProgress") 129s bleak.exc.BleakError: org.bluez.Error.InProgress 129s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (3/4) 129s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (3/4): org.bluez.Error.InProgress 129s Traceback (most recent call last): 129s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 129s await self.scanner.start() 129s File "/tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_scanner.py", line 664, in start 129s raise BleakError("org.bluez.Error.InProgress") 129s bleak.exc.BleakError: org.bluez.Error.InProgress 129s 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) 129s 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')]}} 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (4/4) 129s 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) 129s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (4/4) 129s 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': {}}} 129s FAILED [ 70%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_scanner.py::test_restart_takes_longer_than_watchdog_time 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s -------------------------------- live log call --------------------------------- 129s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 129s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (1/4) 129s 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': {}}} 129s FAILED [ 70%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_scanner.py::test_setup_and_stop_macos SKIPPED (condition:...) [ 71%] 129s tests/test_scanner.py::test_adapter_init_fails_fallback_to_passive 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s -------------------------------- live log call --------------------------------- 129s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 129s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:462 hci0 (AA:BB:CC:DD:EE:FF): Waiting for adapter to initialize; attempt (1/4) 129s 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 129s Traceback (most recent call last): 129s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 129s await self.scanner.start() 129s File "/tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_scanner.py", line 841, in start 129s raise BleakError("org.freedesktop.DBus.Error.UnknownObject") 129s bleak.exc.BleakError: org.freedesktop.DBus.Error.UnknownObject 129s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (2/4) 129s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:615 hci0 (AA:BB:CC:DD:EE:FF): adapter stopped responding; executing reset 129s DEBUG habluetooth.scanner:scanner.py:617 hci0 (AA:BB:CC:DD:EE:FF): adapter reset result: True 129s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (2/4): org.bluez.Error.InProgress 129s Traceback (most recent call last): 129s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 129s await self.scanner.start() 129s File "/tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_scanner.py", line 843, in start 129s raise BleakError("org.bluez.Error.InProgress") 129s bleak.exc.BleakError: org.bluez.Error.InProgress 129s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (3/4) 129s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (3/4): org.bluez.Error.InProgress 129s Traceback (most recent call last): 129s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 129s await self.scanner.start() 129s File "/tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_scanner.py", line 845, in start 129s raise BleakError("org.bluez.Error.InProgress") 129s bleak.exc.BleakError: org.bluez.Error.InProgress 129s 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) 129s 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')]}} 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (4/4) 129s 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) 129s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (4/4) 129s 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': {}}} 129s FAILED [ 71%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_scanner.py::test_scanner_with_bluez_mgmt_side_channel 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s -------------------------------- live log call --------------------------------- 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s ERROR asyncio:base_events.py:1879 Exception in callback _SelectorTransport._add_reader() 129s handle: 129s Traceback (most recent call last): 129s File "/usr/lib/python3.13/asyncio/events.py", line 89, in _run 129s self._context.run(self._callback, *self._args) 129s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 129s File "/usr/lib/python3.13/asyncio/selector_events.py", line 920, in _add_reader 129s self._loop._add_reader(fd, callback, *args) 129s ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 129s File "/usr/lib/python3.13/asyncio/selector_events.py", line 279, in _add_reader 129s self._selector.register(fd, selectors.EVENT_READ, 129s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^ 129s (handle, None)) 129s ^^^^^^^^^^^^^^^ 129s File "/usr/lib/python3.13/selectors.py", line 345, in register 129s self._selector.register(key.fd, poller_events) 129s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ 129s OSError: [Errno 9] Bad file descriptor 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:FF) 129s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'adapter': 'hci0'} 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 129s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (1/4) 129s 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': {}}} 129s FAILED [ 72%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_scanner.py::test_bluez_mgmt_protocol_data_flow 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s -------------------------------- live log call --------------------------------- 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s ERROR asyncio:base_events.py:1879 Exception in callback _SelectorTransport._add_reader() 129s handle: 129s Traceback (most recent call last): 129s File "/usr/lib/python3.13/asyncio/events.py", line 89, in _run 129s self._context.run(self._callback, *self._args) 129s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 129s File "/usr/lib/python3.13/asyncio/selector_events.py", line 920, in _add_reader 129s self._loop._add_reader(fd, callback, *args) 129s ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 129s File "/usr/lib/python3.13/asyncio/selector_events.py", line 279, in _add_reader 129s self._selector.register(fd, selectors.EVENT_READ, 129s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^ 129s (handle, None)) 129s ^^^^^^^^^^^^^^^ 129s File "/usr/lib/python3.13/selectors.py", line 345, in register 129s self._selector.register(key.fd, poller_events) 129s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ 129s OSError: [Errno 9] Bad file descriptor 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (AA:BB:CC:DD:EE:01) 129s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'adapter': 'hci0'} 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:00): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:00): Starting bluetooth discovery attempt: (1/4) 129s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:00): Success while starting bluetooth; attempt: (1/4) 129s 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': {}}} 129s ERROR asyncio:base_events.py:1879 Task was destroyed but it is pending! 129s task: wait_for=> 129s FAILED [ 72%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_scanner.py::test_mgmt_permission_error_fallback 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s -------------------------------- live log call --------------------------------- 129s 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 129s PASSED [ 73%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_scanner.py::test_usb_scanner_type PASSED [ 73%] 129s tests/test_scanner.py::test_uart_scanner_type PASSED [ 74%] 129s tests/test_scanner.py::test_unknown_scanner_type_no_cached_adapters PASSED [ 74%] 129s tests/test_scanner.py::test_unknown_scanner_type_adapter_not_found PASSED [ 75%] 129s tests/test_scanner.py::test_unknown_scanner_type_no_adapter_type PASSED [ 75%] 129s tests/test_scanner.py::test_scanner_type_with_real_adapter_data 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s -------------------------------- live log call --------------------------------- 129s WARNING habluetooth.manager:manager.py:206 BluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s PASSED [ 76%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_scanner.py::test_scanner_type_updates_after_adapter_refresh 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s -------------------------------- live log call --------------------------------- 129s WARNING habluetooth.manager:manager.py:206 BluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s PASSED [ 77%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_scanner.py::test_multiple_scanner_types_simultaneously PASSED [ 77%] 129s tests/test_scanner.py::test_ha_scanner_get_allocations_no_slot_manager PASSED [ 78%] 129s tests/test_scanner.py::test_ha_scanner_get_allocations_with_slot_manager PASSED [ 78%] 129s tests/test_scanner.py::test_ha_scanner_get_allocations_updates_dynamically PASSED [ 79%] 129s tests/test_scanner.py::test_on_scanner_start_callback 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s WARNING habluetooth.manager:manager.py:206 MockBluetoothManagerWithCallbacks: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s -------------------------------- live log call --------------------------------- 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 129s PASSED [ 79%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_storage.py::test_discovered_device_advertisement_data_to_dict 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s PASSED [ 80%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_storage.py::test_discovered_device_advertisement_data_from_dict 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s PASSED [ 80%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_storage.py::test_expire_stale_scanner_discovered_device_advertisement_data 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s -------------------------------- live log call --------------------------------- 129s DEBUG habluetooth.storage:storage.py:122 Loaded 1 fresh discovered devices for myscanner 129s DEBUG habluetooth.storage:storage.py:122 Loaded 0 fresh discovered devices for all_expired 129s PASSED [ 81%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_storage.py::test_expire_future_discovered_device_advertisement_data 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s -------------------------------- live log call --------------------------------- 129s DEBUG habluetooth.storage:storage.py:122 Loaded 1 fresh discovered devices for myscanner 129s WARNING habluetooth.storage:storage.py:107 Discarding timestamp 1764406767.2828581 for CC:DD:EE:FF:AA:BB on scanner all_future as it is the future (now = 1763406767.2828665) 129s DEBUG habluetooth.storage:storage.py:122 Loaded 0 fresh discovered devices for all_future 129s PASSED [ 81%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_storage.py::test_discovered_device_advertisement_data_from_dict_corrupt 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s -------------------------------- live log call --------------------------------- 129s 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' 129s Traceback (most recent call last): 129s File "/usr/lib/python3/dist-packages/habluetooth/storage.py", line 138, in discovered_device_advertisement_data_from_dict 129s _deserialize_discovered_device_advertisement_datas( 129s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 129s data[DISCOVERED_DEVICE_ADVERTISEMENT_DATAS] 129s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 129s ), 129s ^ 129s File "/usr/lib/python3/dist-packages/habluetooth/storage.py", line 198, in _deserialize_discovered_device_advertisement_datas 129s _ble_device_from_dict(device_advertisement_data["device"]), 129s ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 129s File "/usr/lib/python3/dist-packages/habluetooth/storage.py", line 215, in _ble_device_from_dict 129s return BLEDevice(**device_data) 129s TypeError: BLEDevice.__init__() missing 1 required positional argument: 'name' 129s PASSED [ 82%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_storage.py::test_backward_compatibility_rssi_in_device_dict 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s PASSED [ 82%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_wrappers.py::test_test_switch_adapters_when_out_of_slots 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s -------------------------------- live log call --------------------------------- 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 129s 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 129s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 129s 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) 129s 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) 129s 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) 129s 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 129s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:02: Looking for backend to connect 129s 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) 129s 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 129s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:03: Looking for backend to connect 129s 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) 129s 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) 129s 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) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 129s PASSED [ 83%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_wrappers.py::test_release_slot_on_connect_failure 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s -------------------------------- live log call --------------------------------- 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 129s 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 129s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 129s 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) 129s 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) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 129s PASSED [ 83%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_wrappers.py::test_release_slot_on_connect_exception 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s -------------------------------- live log call --------------------------------- 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 129s 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 129s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 129s 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) 129s 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) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 129s PASSED [ 84%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_wrappers.py::test_switch_adapters_on_failure 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s -------------------------------- live log call --------------------------------- 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 129s 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 129s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 129s 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) 129s 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) 129s 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 129s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 129s 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) 129s 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) 129s 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 129s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 129s 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) 129s 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) 129s 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) 129s 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 129s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 129s 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) 129s 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) 129s 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) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 129s PASSED [ 85%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_wrappers.py::test_switch_adapters_on_connecting 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s -------------------------------- live log call --------------------------------- 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 129s 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 129s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 129s 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) 129s 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) 129s 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 129s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 129s 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) 129s 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) 129s 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) 129s 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) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 129s PASSED [ 85%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_wrappers.py::test_single_adapter_connection_history 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s -------------------------------- live log call --------------------------------- 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 129s 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 129s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:11: Looking for backend to connect 129s 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) 129s 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) 129s 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) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 129s PASSED [ 86%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_wrappers.py::test_passing_subclassed_str_as_address 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s -------------------------------- live log call --------------------------------- 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 129s 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 129s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 129s 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) 129s 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) 129s 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) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 129s PASSED [ 86%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_wrappers.py::test_find_device_by_address 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s -------------------------------- live log call --------------------------------- 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 129s PASSED [ 87%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_wrappers.py::test_discover 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s -------------------------------- live log call --------------------------------- 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 129s PASSED [ 87%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_wrappers.py::test_raise_after_shutdown 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s -------------------------------- live log call --------------------------------- 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 129s 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 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 129s PASSED [ 88%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_wrappers.py::test_wrapped_instance_with_filter 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 129s PASSED [ 88%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 129s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_wrappers.py::test_wrapped_instance_with_service_uuids 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 129s PASSED [ 89%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 129s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_wrappers.py::test_wrapped_instance_with_service_uuids_with_coro_callback 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 129s PASSED [ 89%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 129s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_wrappers.py::test_wrapped_instance_with_broken_callbacks 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 129s PASSED [ 90%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 129s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_wrappers.py::test_wrapped_instance_changes_uuids 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 129s PASSED [ 90%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 129s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_wrappers.py::test_wrapped_instance_changes_filters 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 129s PASSED [ 91%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 129s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_wrappers.py::test_wrapped_instance_unsupported_filter 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 129s -------------------------------- live log call --------------------------------- 129s WARNING habluetooth.wrappers:wrappers.py:136 Only UUIDs filters are supported 129s PASSED [ 91%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 129s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_wrappers.py::test_client_with_services_parameter 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s -------------------------------- live log call --------------------------------- 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 129s 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 129s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 129s 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) 129s 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) 129s 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) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 129s PASSED [ 92%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_wrappers.py::test_client_with_pair_parameter 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s -------------------------------- live log call --------------------------------- 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 129s PASSED [ 93%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_wrappers.py::test_client_services_normalization 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s -------------------------------- live log call --------------------------------- 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 129s 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 129s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 129s 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) 129s 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) 129s 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) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 129s PASSED [ 93%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_wrappers.py::test_client_with_none_services 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s -------------------------------- live log call --------------------------------- 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 129s 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 129s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 129s 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) 129s 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) 129s 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) 129s 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 129s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 129s 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) 129s 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) 129s 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) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 129s PASSED [ 94%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_wrappers.py::test_passive_only_scanner_error_message 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s -------------------------------- live log call --------------------------------- 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner shelly_plus1pm_e86bea01020c (passive_scanner_1) 129s 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 129s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner shelly_plus1pm_e86bea01020c (passive_scanner_1) 129s PASSED [ 94%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_wrappers.py::test_passive_scanner_with_active_scanner 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s -------------------------------- live log call --------------------------------- 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner shelly_device (passive_scanner) 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner esphome_device (active_scanner) 129s 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 129s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:02: Looking for backend to connect 129s 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) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner shelly_device (passive_scanner) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner esphome_device (active_scanner) 129s PASSED [ 95%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_wrappers.py::test_connection_params_loading_with_bluez_mgmt 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s -------------------------------- live log call --------------------------------- 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 129s 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 129s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 129s 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) 129s 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) 129s DEBUG habluetooth.wrappers:wrappers.py:407 00:00:00:00:00:01 - any -> /org/bluez/hci0: Loaded ConnectParams.FAST connection parameters 129s DEBUG habluetooth.wrappers:wrappers.py:407 00:00:00:00:00:01 - any -> /org/bluez/hci0: Loaded ConnectParams.MEDIUM connection parameters 129s 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) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 129s PASSED [ 95%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_wrappers.py::test_connection_params_not_loaded_without_mgmt 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s -------------------------------- live log call --------------------------------- 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 129s 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 129s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 129s 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) 129s 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) 129s 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) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 129s PASSED [ 96%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_wrappers.py::test_get_device_address_type_random 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s -------------------------------- live log call --------------------------------- 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 129s PASSED [ 96%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_wrappers.py::test_get_device_address_type_public 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s -------------------------------- live log call --------------------------------- 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 129s PASSED [ 97%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_wrappers.py::test_connection_params_loading_fails_silently 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s -------------------------------- live log call --------------------------------- 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 129s 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 129s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 129s 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) 129s 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) 129s 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) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 129s PASSED [ 97%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_wrappers.py::test_connection_params_no_adapter_idx 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s -------------------------------- live log call --------------------------------- 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner ESPHome Device (remote_scanner) 129s 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 129s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:03: Looking for backend to connect 129s 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) 129s 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) 129s 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) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner ESPHome Device (remote_scanner) 129s PASSED [ 98%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_wrappers.py::test_connection_path_scoring_with_slots_and_logging 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s -------------------------------- live log call --------------------------------- 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner Scanner 1 (scanner1) 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner Scanner 2 (scanner2) 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner Scanner 3 (scanner3) 129s 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 129s 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) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner Scanner 1 (scanner1) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner Scanner 2 (scanner2) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner Scanner 3 (scanner3) 129s PASSED [ 98%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_wrappers.py::test_connection_path_scoring_no_slots_available 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s -------------------------------- live log call --------------------------------- 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner Scanner 1 (scanner1) 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner Scanner 2 (scanner2) 129s 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 129s 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) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner Scanner 1 (scanner1) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner Scanner 2 (scanner2) 129s PASSED [ 99%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s tests/test_wrappers.py::test_thundering_herd_connection_slots 129s -------------------------------- live log setup -------------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 129s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 129s 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 129s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 129s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 129s -------------------------------- live log call --------------------------------- 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner Proxy 1 (Good) (proxy1) 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner Proxy 2 (Good) (proxy2) 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner Proxy 3 (Bad) (proxy3) 129s 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 129s DEBUG habluetooth.wrappers:wrappers.py:309 AA:BB:CC:DD:EE:01: Looking for backend to connect 129s 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) 129s DEBUG habluetooth.wrappers:wrappers.py:337 AA:BB:CC:DD:EE:01 - Device 1 -> proxy1: Connecting via Proxy 1 (Good) (proxy1) (last rssi: -60) 129s 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 129s DEBUG habluetooth.wrappers:wrappers.py:309 AA:BB:CC:DD:EE:02: Looking for backend to connect 129s 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) 129s DEBUG habluetooth.wrappers:wrappers.py:337 AA:BB:CC:DD:EE:02 - Device 2 -> proxy1: Connecting via Proxy 1 (Good) (proxy1) (last rssi: -60) 129s 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 129s DEBUG habluetooth.wrappers:wrappers.py:309 AA:BB:CC:DD:EE:03: Looking for backend to connect 129s 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) 129s DEBUG habluetooth.wrappers:wrappers.py:337 AA:BB:CC:DD:EE:03 - Device 3 -> proxy2: Connecting via Proxy 2 (Good) (proxy2) (last rssi: -60) 129s 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 129s DEBUG habluetooth.wrappers:wrappers.py:309 AA:BB:CC:DD:EE:04: Looking for backend to connect 129s 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) 129s DEBUG habluetooth.wrappers:wrappers.py:337 AA:BB:CC:DD:EE:04 - Device 4 -> proxy2: Connecting via Proxy 2 (Good) (proxy2) (last rssi: -60) 129s 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 129s DEBUG habluetooth.wrappers:wrappers.py:309 AA:BB:CC:DD:EE:05: Looking for backend to connect 129s 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) 129s DEBUG habluetooth.wrappers:wrappers.py:337 AA:BB:CC:DD:EE:05 - Device 5 -> proxy1: Connecting via Proxy 1 (Good) (proxy1) (last rssi: -60) 129s 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 129s DEBUG habluetooth.wrappers:wrappers.py:309 AA:BB:CC:DD:EE:06: Looking for backend to connect 129s 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) 129s DEBUG habluetooth.wrappers:wrappers.py:337 AA:BB:CC:DD:EE:06 - Device 6 -> proxy2: Connecting via Proxy 2 (Good) (proxy2) (last rssi: -60) 129s 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 129s DEBUG habluetooth.wrappers:wrappers.py:309 AA:BB:CC:DD:EE:07: Looking for backend to connect 129s 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) 129s DEBUG habluetooth.wrappers:wrappers.py:337 AA:BB:CC:DD:EE:07 - Device 7 -> proxy3: Connecting via Proxy 3 (Bad) (proxy3) (last rssi: -95) 129s DEBUG habluetooth.wrappers:wrappers.py:378 AA:BB:CC:DD:EE:01 - Device 1 -> proxy1: Connected via Proxy 1 (Good) (proxy1) (last rssi: -60) 129s DEBUG habluetooth.wrappers:wrappers.py:378 AA:BB:CC:DD:EE:02 - Device 2 -> proxy1: Connected via Proxy 1 (Good) (proxy1) (last rssi: -60) 129s DEBUG habluetooth.wrappers:wrappers.py:378 AA:BB:CC:DD:EE:03 - Device 3 -> proxy2: Connected via Proxy 2 (Good) (proxy2) (last rssi: -60) 129s DEBUG habluetooth.wrappers:wrappers.py:378 AA:BB:CC:DD:EE:04 - Device 4 -> proxy2: Connected via Proxy 2 (Good) (proxy2) (last rssi: -60) 129s DEBUG habluetooth.wrappers:wrappers.py:378 AA:BB:CC:DD:EE:05 - Device 5 -> proxy1: Connected via Proxy 1 (Good) (proxy1) (last rssi: -60) 129s DEBUG habluetooth.wrappers:wrappers.py:378 AA:BB:CC:DD:EE:06 - Device 6 -> proxy2: Connected via Proxy 2 (Good) (proxy2) (last rssi: -60) 129s DEBUG habluetooth.wrappers:wrappers.py:378 AA:BB:CC:DD:EE:07 - Device 7 -> proxy3: Connected via Proxy 3 (Bad) (proxy3) (last rssi: -95) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner Proxy 1 (Good) (proxy1) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner Proxy 2 (Good) (proxy2) 129s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner Proxy 3 (Bad) (proxy3) 129s PASSED [100%] 129s ------------------------------ live log teardown ------------------------------- 129s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s 129s 129s =================================== FAILURES =================================== 129s __________ test_adapter_needs_reset_at_start[org.bluez.Error.Failed] ___________ 129s 129s caplog = <_pytest.logging.LogCaptureFixture object at 0x6f17a12e0520> 129s error = 'org.bluez.Error.Failed' 129s 129s @pytest.mark.asyncio 129s @pytest.mark.skipif(IS_WINDOWS) 129s @pytest.mark.parametrize("error", NEED_RESET_ERRORS) 129s async def test_adapter_needs_reset_at_start( 129s caplog: pytest.LogCaptureFixture, error: str 129s ) -> None: 129s """Test we cycle the adapter when it needs a restart.""" 129s called_start = 0 129s called_stop = 0 129s _callback = None 129s mock_discovered: list[Any] = [] 129s 129s class MockBleakScanner: 129s async def start(self, *args, **kwargs): 129s """Mock Start.""" 129s nonlocal called_start 129s called_start += 1 129s if called_start < 3: 129s raise BleakError(error) 129s 129s async def stop(self, *args, **kwargs): 129s """Mock Start.""" 129s nonlocal called_stop 129s called_stop += 1 129s 129s @property 129s def discovered_devices(self): 129s """Mock discovered_devices.""" 129s nonlocal mock_discovered 129s return mock_discovered 129s 129s def register_detection_callback( 129s self, callback: AdvertisementDataCallback 129s ) -> None: 129s """Mock Register Detection Callback.""" 129s nonlocal _callback 129s _callback = callback 129s 129s mock_scanner = MockBleakScanner() 129s 129s with ( 129s patch("habluetooth.scanner.OriginalBleakScanner", return_value=mock_scanner), 129s patch( 129s "habluetooth.util.recover_adapter", return_value=True 129s ) as mock_recover_adapter, 129s ): 129s scanner = HaScanner(BluetoothScanningMode.ACTIVE, "hci0", "AA:BB:CC:DD:EE:FF") 129s scanner.async_setup() 129s > await scanner.async_start() 129s 129s tests/test_scanner.py:340: 129s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 129s /usr/lib/python3/dist-packages/habluetooth/scanner.py:336: in async_start 129s await self._async_start() 129s /usr/lib/python3/dist-packages/habluetooth/scanner.py:344: in _async_start 129s await self._async_on_successful_start() 129s /usr/lib/python3/dist-packages/habluetooth/scanner.py:350: in _async_on_successful_start 129s await restore_discoveries(self.scanner, self.adapter) 129s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 129s 129s scanner = .MockBleakScanner object at 0x6f17a12ba7b0> 129s adapter = 'hci0' 129s 129s async def restore_discoveries(scanner: BleakScanner, adapter: str) -> None: 129s """Restore discoveries from the bus.""" 129s if not IS_LINUX: 129s # This is only supported on Linux 129s return 129s if not (properties := await _get_properties()): 129s _LOGGER.debug("Failed to restore discoveries for %s", adapter) 129s return 129s > backend = scanner._backend 129s E AttributeError: 'MockBleakScanner' object has no attribute '_backend' 129s 129s /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:641: AttributeError 129s ------------------------------ Captured log setup ------------------------------ 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s ------------------------------ Captured log call ------------------------------- 129s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 129s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (1/4): org.bluez.Error.Failed 129s Traceback (most recent call last): 129s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 129s await self.scanner.start() 129s File "/tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 129s raise BleakError(error) 129s bleak.exc.BleakError: org.bluez.Error.Failed 129s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (2/4) 129s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:615 hci0 (AA:BB:CC:DD:EE:FF): adapter stopped responding; executing reset 129s DEBUG habluetooth.scanner:scanner.py:617 hci0 (AA:BB:CC:DD:EE:FF): adapter reset result: True 129s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (2/4): org.bluez.Error.Failed 129s Traceback (most recent call last): 129s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 129s await self.scanner.start() 129s File "/tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 129s raise BleakError(error) 129s bleak.exc.BleakError: org.bluez.Error.Failed 129s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (3/4) 129s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (3/4) 129s 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': {}}} 129s ---------------------------- Captured log teardown ----------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s ________ test_adapter_needs_reset_at_start[org.bluez.Error.InProgress] _________ 129s 129s caplog = <_pytest.logging.LogCaptureFixture object at 0x6f17a1217c40> 129s error = 'org.bluez.Error.InProgress' 129s 129s @pytest.mark.asyncio 129s @pytest.mark.skipif(IS_WINDOWS) 129s @pytest.mark.parametrize("error", NEED_RESET_ERRORS) 129s async def test_adapter_needs_reset_at_start( 129s caplog: pytest.LogCaptureFixture, error: str 129s ) -> None: 129s """Test we cycle the adapter when it needs a restart.""" 129s called_start = 0 129s called_stop = 0 129s _callback = None 129s mock_discovered: list[Any] = [] 129s 129s class MockBleakScanner: 129s async def start(self, *args, **kwargs): 129s """Mock Start.""" 129s nonlocal called_start 129s called_start += 1 129s if called_start < 3: 129s raise BleakError(error) 129s 129s async def stop(self, *args, **kwargs): 129s """Mock Start.""" 129s nonlocal called_stop 129s called_stop += 1 129s 129s @property 129s def discovered_devices(self): 129s """Mock discovered_devices.""" 129s nonlocal mock_discovered 129s return mock_discovered 129s 129s def register_detection_callback( 129s self, callback: AdvertisementDataCallback 129s ) -> None: 129s """Mock Register Detection Callback.""" 129s nonlocal _callback 129s _callback = callback 129s 129s mock_scanner = MockBleakScanner() 129s 129s with ( 129s patch("habluetooth.scanner.OriginalBleakScanner", return_value=mock_scanner), 129s patch( 129s "habluetooth.util.recover_adapter", return_value=True 129s ) as mock_recover_adapter, 129s ): 129s scanner = HaScanner(BluetoothScanningMode.ACTIVE, "hci0", "AA:BB:CC:DD:EE:FF") 129s scanner.async_setup() 129s > await scanner.async_start() 129s 129s tests/test_scanner.py:340: 129s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 129s /usr/lib/python3/dist-packages/habluetooth/scanner.py:336: in async_start 129s await self._async_start() 129s /usr/lib/python3/dist-packages/habluetooth/scanner.py:344: in _async_start 129s await self._async_on_successful_start() 129s /usr/lib/python3/dist-packages/habluetooth/scanner.py:350: in _async_on_successful_start 129s await restore_discoveries(self.scanner, self.adapter) 129s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 129s 129s scanner = .MockBleakScanner object at 0x6f17a12baba0> 129s adapter = 'hci0' 129s 129s async def restore_discoveries(scanner: BleakScanner, adapter: str) -> None: 129s """Restore discoveries from the bus.""" 129s if not IS_LINUX: 129s # This is only supported on Linux 129s return 129s if not (properties := await _get_properties()): 129s _LOGGER.debug("Failed to restore discoveries for %s", adapter) 129s return 129s > backend = scanner._backend 129s E AttributeError: 'MockBleakScanner' object has no attribute '_backend' 129s 129s /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:641: AttributeError 129s ------------------------------ Captured log setup ------------------------------ 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s ------------------------------ Captured log call ------------------------------- 129s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 129s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (1/4): org.bluez.Error.InProgress 129s Traceback (most recent call last): 129s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 129s await self.scanner.start() 129s File "/tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 129s raise BleakError(error) 129s bleak.exc.BleakError: org.bluez.Error.InProgress 129s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (2/4) 129s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:615 hci0 (AA:BB:CC:DD:EE:FF): adapter stopped responding; executing reset 129s DEBUG habluetooth.scanner:scanner.py:617 hci0 (AA:BB:CC:DD:EE:FF): adapter reset result: True 129s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (2/4): org.bluez.Error.InProgress 129s Traceback (most recent call last): 129s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 129s await self.scanner.start() 129s File "/tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 129s raise BleakError(error) 129s bleak.exc.BleakError: org.bluez.Error.InProgress 129s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (3/4) 129s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (3/4) 129s 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': {}}} 129s ---------------------------- Captured log teardown ----------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s _________ test_adapter_needs_reset_at_start[org.bluez.Error.NotReady] __________ 129s 129s caplog = <_pytest.logging.LogCaptureFixture object at 0x6f17a166b380> 129s error = 'org.bluez.Error.NotReady' 129s 129s @pytest.mark.asyncio 129s @pytest.mark.skipif(IS_WINDOWS) 129s @pytest.mark.parametrize("error", NEED_RESET_ERRORS) 129s async def test_adapter_needs_reset_at_start( 129s caplog: pytest.LogCaptureFixture, error: str 129s ) -> None: 129s """Test we cycle the adapter when it needs a restart.""" 129s called_start = 0 129s called_stop = 0 129s _callback = None 129s mock_discovered: list[Any] = [] 129s 129s class MockBleakScanner: 129s async def start(self, *args, **kwargs): 129s """Mock Start.""" 129s nonlocal called_start 129s called_start += 1 129s if called_start < 3: 129s raise BleakError(error) 129s 129s async def stop(self, *args, **kwargs): 129s """Mock Start.""" 129s nonlocal called_stop 129s called_stop += 1 129s 129s @property 129s def discovered_devices(self): 129s """Mock discovered_devices.""" 129s nonlocal mock_discovered 129s return mock_discovered 129s 129s def register_detection_callback( 129s self, callback: AdvertisementDataCallback 129s ) -> None: 129s """Mock Register Detection Callback.""" 129s nonlocal _callback 129s _callback = callback 129s 129s mock_scanner = MockBleakScanner() 129s 129s with ( 129s patch("habluetooth.scanner.OriginalBleakScanner", return_value=mock_scanner), 129s patch( 129s "habluetooth.util.recover_adapter", return_value=True 129s ) as mock_recover_adapter, 129s ): 129s scanner = HaScanner(BluetoothScanningMode.ACTIVE, "hci0", "AA:BB:CC:DD:EE:FF") 129s scanner.async_setup() 129s > await scanner.async_start() 129s 129s tests/test_scanner.py:340: 129s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 129s /usr/lib/python3/dist-packages/habluetooth/scanner.py:336: in async_start 129s await self._async_start() 129s /usr/lib/python3/dist-packages/habluetooth/scanner.py:344: in _async_start 129s await self._async_on_successful_start() 129s /usr/lib/python3/dist-packages/habluetooth/scanner.py:350: in _async_on_successful_start 129s await restore_discoveries(self.scanner, self.adapter) 129s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 129s 129s scanner = .MockBleakScanner object at 0x6f17a12b9e80> 129s adapter = 'hci0' 129s 129s async def restore_discoveries(scanner: BleakScanner, adapter: str) -> None: 129s """Restore discoveries from the bus.""" 129s if not IS_LINUX: 129s # This is only supported on Linux 129s return 129s if not (properties := await _get_properties()): 129s _LOGGER.debug("Failed to restore discoveries for %s", adapter) 129s return 129s > backend = scanner._backend 129s E AttributeError: 'MockBleakScanner' object has no attribute '_backend' 129s 129s /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:641: AttributeError 129s ------------------------------ Captured log setup ------------------------------ 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s ------------------------------ Captured log call ------------------------------- 129s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 129s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (1/4): org.bluez.Error.NotReady 129s Traceback (most recent call last): 129s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 129s await self.scanner.start() 129s File "/tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 129s raise BleakError(error) 129s bleak.exc.BleakError: org.bluez.Error.NotReady 129s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (2/4) 129s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:615 hci0 (AA:BB:CC:DD:EE:FF): adapter stopped responding; executing reset 129s DEBUG habluetooth.scanner:scanner.py:617 hci0 (AA:BB:CC:DD:EE:FF): adapter reset result: True 129s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (2/4): org.bluez.Error.NotReady 129s Traceback (most recent call last): 129s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 129s await self.scanner.start() 129s File "/tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 129s raise BleakError(error) 129s bleak.exc.BleakError: org.bluez.Error.NotReady 129s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (3/4) 129s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (3/4) 129s 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': {}}} 129s ---------------------------- Captured log teardown ----------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s _________________ test_adapter_needs_reset_at_start[not found] _________________ 129s 129s caplog = <_pytest.logging.LogCaptureFixture object at 0x6f17a140b690> 129s error = 'not found' 129s 129s @pytest.mark.asyncio 129s @pytest.mark.skipif(IS_WINDOWS) 129s @pytest.mark.parametrize("error", NEED_RESET_ERRORS) 129s async def test_adapter_needs_reset_at_start( 129s caplog: pytest.LogCaptureFixture, error: str 129s ) -> None: 129s """Test we cycle the adapter when it needs a restart.""" 129s called_start = 0 129s called_stop = 0 129s _callback = None 129s mock_discovered: list[Any] = [] 129s 129s class MockBleakScanner: 129s async def start(self, *args, **kwargs): 129s """Mock Start.""" 129s nonlocal called_start 129s called_start += 1 129s if called_start < 3: 129s raise BleakError(error) 129s 129s async def stop(self, *args, **kwargs): 129s """Mock Start.""" 129s nonlocal called_stop 129s called_stop += 1 129s 129s @property 129s def discovered_devices(self): 129s """Mock discovered_devices.""" 129s nonlocal mock_discovered 129s return mock_discovered 129s 129s def register_detection_callback( 129s self, callback: AdvertisementDataCallback 129s ) -> None: 129s """Mock Register Detection Callback.""" 129s nonlocal _callback 129s _callback = callback 129s 129s mock_scanner = MockBleakScanner() 129s 129s with ( 129s patch("habluetooth.scanner.OriginalBleakScanner", return_value=mock_scanner), 129s patch( 129s "habluetooth.util.recover_adapter", return_value=True 129s ) as mock_recover_adapter, 129s ): 129s scanner = HaScanner(BluetoothScanningMode.ACTIVE, "hci0", "AA:BB:CC:DD:EE:FF") 129s scanner.async_setup() 129s > await scanner.async_start() 129s 129s tests/test_scanner.py:340: 129s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 129s /usr/lib/python3/dist-packages/habluetooth/scanner.py:336: in async_start 129s await self._async_start() 129s /usr/lib/python3/dist-packages/habluetooth/scanner.py:344: in _async_start 129s await self._async_on_successful_start() 129s /usr/lib/python3/dist-packages/habluetooth/scanner.py:350: in _async_on_successful_start 129s await restore_discoveries(self.scanner, self.adapter) 129s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 129s 129s scanner = .MockBleakScanner object at 0x6f17a12bbb60> 129s adapter = 'hci0' 129s 129s async def restore_discoveries(scanner: BleakScanner, adapter: str) -> None: 129s """Restore discoveries from the bus.""" 129s if not IS_LINUX: 129s # This is only supported on Linux 129s return 129s if not (properties := await _get_properties()): 129s _LOGGER.debug("Failed to restore discoveries for %s", adapter) 129s return 129s > backend = scanner._backend 129s E AttributeError: 'MockBleakScanner' object has no attribute '_backend' 129s 129s /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:641: AttributeError 129s ------------------------------ Captured log setup ------------------------------ 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s ------------------------------ Captured log call ------------------------------- 129s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 129s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (1/4): not found 129s Traceback (most recent call last): 129s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 129s await self.scanner.start() 129s File "/tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 129s raise BleakError(error) 129s bleak.exc.BleakError: not found 129s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (2/4) 129s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:615 hci0 (AA:BB:CC:DD:EE:FF): adapter stopped responding; executing reset 129s DEBUG habluetooth.scanner:scanner.py:617 hci0 (AA:BB:CC:DD:EE:FF): adapter reset result: True 129s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (2/4): not found 129s Traceback (most recent call last): 129s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 129s await self.scanner.start() 129s File "/tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 129s raise BleakError(error) 129s bleak.exc.BleakError: not found 129s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (3/4) 129s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (3/4) 129s 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': {}}} 129s ---------------------------- Captured log teardown ----------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s _______________________ test_recovery_from_dbus_restart ________________________ 129s 129s @pytest.mark.asyncio 129s @pytest.mark.skipif(IS_WINDOWS) 129s async def test_recovery_from_dbus_restart() -> None: 129s """Test we can recover when DBus gets restarted out from under us.""" 129s called_start = 0 129s called_stop = 0 129s _callback = None 129s mock_discovered: list[Any] = [] 129s 129s class MockBleakScanner: 129s def __init__(self, detection_callback, *args, **kwargs): 129s nonlocal _callback 129s _callback = detection_callback 129s 129s async def start(self, *args, **kwargs): 129s """Mock Start.""" 129s nonlocal called_start 129s called_start += 1 129s 129s async def stop(self, *args, **kwargs): 129s """Mock Start.""" 129s nonlocal called_stop 129s called_stop += 1 129s 129s @property 129s def discovered_devices(self): 129s """Mock discovered_devices.""" 129s nonlocal mock_discovered 129s return mock_discovered 129s 129s with patch( 129s "habluetooth.scanner.OriginalBleakScanner", 129s MockBleakScanner, 129s ): 129s scanner = HaScanner(BluetoothScanningMode.ACTIVE, "hci0", "AA:BB:CC:DD:EE:FF") 129s scanner.async_setup() 129s > await scanner.async_start() 129s 129s tests/test_scanner.py:382: 129s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 129s /usr/lib/python3/dist-packages/habluetooth/scanner.py:336: in async_start 129s await self._async_start() 129s /usr/lib/python3/dist-packages/habluetooth/scanner.py:344: in _async_start 129s await self._async_on_successful_start() 129s /usr/lib/python3/dist-packages/habluetooth/scanner.py:350: in _async_on_successful_start 129s await restore_discoveries(self.scanner, self.adapter) 129s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 129s 129s scanner = .MockBleakScanner object at 0x6f17a12bbcb0> 129s adapter = 'hci0' 129s 129s async def restore_discoveries(scanner: BleakScanner, adapter: str) -> None: 129s """Restore discoveries from the bus.""" 129s if not IS_LINUX: 129s # This is only supported on Linux 129s return 129s if not (properties := await _get_properties()): 129s _LOGGER.debug("Failed to restore discoveries for %s", adapter) 129s return 129s > backend = scanner._backend 129s E AttributeError: 'MockBleakScanner' object has no attribute '_backend' 129s 129s /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:641: AttributeError 129s ------------------------------ Captured log setup ------------------------------ 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s ------------------------------ Captured log call ------------------------------- 129s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 129s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (1/4) 129s 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': {}}} 129s ---------------------------- Captured log teardown ----------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s ____________________________ test_adapter_recovery _____________________________ 129s 129s @pytest.mark.asyncio 129s @pytest.mark.skipif(IS_WINDOWS) 129s async def test_adapter_recovery() -> None: 129s """Test we can recover when the adapter stops responding.""" 129s called_start = 0 129s called_stop = 0 129s _callback = None 129s mock_discovered: list[Any] = [] 129s 129s class MockBleakScanner: 129s async def start(self, *args, **kwargs): 129s """Mock Start.""" 129s nonlocal called_start 129s called_start += 1 129s 129s async def stop(self, *args, **kwargs): 129s """Mock Start.""" 129s nonlocal called_stop 129s called_stop += 1 129s 129s @property 129s def discovered_devices(self): 129s """Mock discovered_devices.""" 129s nonlocal mock_discovered 129s return mock_discovered 129s 129s def register_detection_callback( 129s self, callback: AdvertisementDataCallback 129s ) -> None: 129s """Mock Register Detection Callback.""" 129s nonlocal _callback 129s _callback = callback 129s 129s mock_scanner = MockBleakScanner() 129s start_time_monotonic = time.monotonic() 129s 129s with ( 129s patch_bluetooth_time( 129s start_time_monotonic, 129s ), 129s patch( 129s "habluetooth.scanner.OriginalBleakScanner", 129s return_value=mock_scanner, 129s ), 129s ): 129s scanner = HaScanner(BluetoothScanningMode.ACTIVE, "hci0", "AA:BB:CC:DD:EE:FF") 129s scanner.async_setup() 129s > await scanner.async_start() 129s 129s tests/test_scanner.py:475: 129s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 129s /usr/lib/python3/dist-packages/habluetooth/scanner.py:336: in async_start 129s await self._async_start() 129s /usr/lib/python3/dist-packages/habluetooth/scanner.py:344: in _async_start 129s await self._async_on_successful_start() 129s /usr/lib/python3/dist-packages/habluetooth/scanner.py:350: in _async_on_successful_start 129s await restore_discoveries(self.scanner, self.adapter) 129s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 129s 129s scanner = .MockBleakScanner object at 0x6f17a12bbe00> 129s adapter = 'hci0' 129s 129s async def restore_discoveries(scanner: BleakScanner, adapter: str) -> None: 129s """Restore discoveries from the bus.""" 129s if not IS_LINUX: 129s # This is only supported on Linux 129s return 129s if not (properties := await _get_properties()): 129s _LOGGER.debug("Failed to restore discoveries for %s", adapter) 129s return 129s > backend = scanner._backend 129s E AttributeError: 'MockBleakScanner' object has no attribute '_backend' 129s 129s /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:641: AttributeError 129s ------------------------------ Captured log setup ------------------------------ 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s ------------------------------ Captured log call ------------------------------- 129s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 129s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (1/4) 129s 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': {}}} 129s ---------------------------- Captured log teardown ----------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s ________________ test_adapter_scanner_fails_to_start_first_time ________________ 129s 129s @pytest.mark.asyncio 129s @pytest.mark.skipif(IS_WINDOWS) 129s async def test_adapter_scanner_fails_to_start_first_time() -> None: 129s """ 129s Test we can recover when the adapter stops responding. 129s 129s The first recovery fails. 129s """ 129s called_start = 0 129s called_stop = 0 129s _callback = None 129s mock_discovered: list[Any] = [] 129s 129s class MockBleakScanner: 129s async def start(self, *args, **kwargs): 129s """Mock Start.""" 129s nonlocal called_start 129s called_start += 1 129s if called_start == 1: 129s return # Start ok the first time 129s if called_start < 4: 129s raise BleakError("Failed to start") 129s 129s async def stop(self, *args, **kwargs): 129s """Mock Start.""" 129s nonlocal called_stop 129s called_stop += 1 129s 129s @property 129s def discovered_devices(self): 129s """Mock discovered_devices.""" 129s nonlocal mock_discovered 129s return mock_discovered 129s 129s def register_detection_callback( 129s self, callback: AdvertisementDataCallback 129s ) -> None: 129s """Mock Register Detection Callback.""" 129s nonlocal _callback 129s _callback = callback 129s 129s mock_scanner = MockBleakScanner() 129s start_time_monotonic = time.monotonic() 129s 129s with ( 129s patch_bluetooth_time( 129s start_time_monotonic, 129s ), 129s patch( 129s "habluetooth.scanner.OriginalBleakScanner", 129s return_value=mock_scanner, 129s ), 129s ): 129s scanner = HaScanner(BluetoothScanningMode.ACTIVE, "hci0", "AA:BB:CC:DD:EE:FF") 129s scanner.async_setup() 129s > await scanner.async_start() 129s 129s tests/test_scanner.py:580: 129s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 129s /usr/lib/python3/dist-packages/habluetooth/scanner.py:336: in async_start 129s await self._async_start() 129s /usr/lib/python3/dist-packages/habluetooth/scanner.py:344: in _async_start 129s await self._async_on_successful_start() 129s /usr/lib/python3/dist-packages/habluetooth/scanner.py:350: in _async_on_successful_start 129s await restore_discoveries(self.scanner, self.adapter) 129s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 129s 129s scanner = .MockBleakScanner object at 0x6f17a12baba0> 129s adapter = 'hci0' 129s 129s async def restore_discoveries(scanner: BleakScanner, adapter: str) -> None: 129s """Restore discoveries from the bus.""" 129s if not IS_LINUX: 129s # This is only supported on Linux 129s return 129s if not (properties := await _get_properties()): 129s _LOGGER.debug("Failed to restore discoveries for %s", adapter) 129s return 129s > backend = scanner._backend 129s E AttributeError: 'MockBleakScanner' object has no attribute '_backend' 129s 129s /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:641: AttributeError 129s ------------------------------ Captured log setup ------------------------------ 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s ------------------------------ Captured log call ------------------------------- 129s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 129s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (1/4) 129s 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': {}}} 129s ---------------------------- Captured log teardown ----------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s _____________ test_adapter_fails_to_start_and_takes_a_bit_to_init ______________ 129s 129s caplog = <_pytest.logging.LogCaptureFixture object at 0x6f17a1216b30> 129s 129s @pytest.mark.asyncio 129s async def test_adapter_fails_to_start_and_takes_a_bit_to_init( 129s caplog: pytest.LogCaptureFixture, 129s ) -> None: 129s """Test we can recover the adapter at startup and we wait for Dbus to init.""" 129s called_start = 0 129s called_stop = 0 129s _callback = None 129s mock_discovered: list[Any] = [] 129s 129s class MockBleakScanner: 129s async def start(self, *args, **kwargs): 129s """Mock Start.""" 129s nonlocal called_start 129s called_start += 1 129s if called_start == 1: 129s raise BleakError("org.freedesktop.DBus.Error.UnknownObject") 129s if called_start == 2: 129s raise BleakError("org.bluez.Error.InProgress") 129s if called_start == 3: 129s raise BleakError("org.bluez.Error.InProgress") 129s 129s async def stop(self, *args, **kwargs): 129s """Mock Start.""" 129s nonlocal called_stop 129s called_stop += 1 129s 129s @property 129s def discovered_devices(self): 129s """Mock discovered_devices.""" 129s nonlocal mock_discovered 129s return mock_discovered 129s 129s def register_detection_callback( 129s self, callback: AdvertisementDataCallback 129s ) -> None: 129s """Mock Register Detection Callback.""" 129s nonlocal _callback 129s _callback = callback 129s 129s mock_scanner = MockBleakScanner() 129s start_time_monotonic = time.monotonic() 129s 129s with ( 129s patch( 129s "habluetooth.scanner.ADAPTER_INIT_TIME", 129s 0, 129s ), 129s patch_bluetooth_time( 129s start_time_monotonic, 129s ), 129s patch( 129s "habluetooth.scanner.OriginalBleakScanner", 129s return_value=mock_scanner, 129s ), 129s patch( 129s "habluetooth.util.recover_adapter", return_value=True 129s ) as mock_recover_adapter, 129s ): 129s scanner = HaScanner(BluetoothScanningMode.ACTIVE, "hci0", "AA:BB:CC:DD:EE:FF") 129s scanner.async_setup() 129s > await scanner.async_start() 129s 129s tests/test_scanner.py:705: 129s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 129s /usr/lib/python3/dist-packages/habluetooth/scanner.py:336: in async_start 129s await self._async_start() 129s /usr/lib/python3/dist-packages/habluetooth/scanner.py:344: in _async_start 129s await self._async_on_successful_start() 129s /usr/lib/python3/dist-packages/habluetooth/scanner.py:350: in _async_on_successful_start 129s await restore_discoveries(self.scanner, self.adapter) 129s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 129s 129s scanner = .MockBleakScanner object at 0x6f17a12ba660> 129s adapter = 'hci0' 129s 129s async def restore_discoveries(scanner: BleakScanner, adapter: str) -> None: 129s """Restore discoveries from the bus.""" 129s if not IS_LINUX: 129s # This is only supported on Linux 129s return 129s if not (properties := await _get_properties()): 129s _LOGGER.debug("Failed to restore discoveries for %s", adapter) 129s return 129s > backend = scanner._backend 129s E AttributeError: 'MockBleakScanner' object has no attribute '_backend' 129s 129s /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:641: AttributeError 129s ------------------------------ Captured log setup ------------------------------ 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s ------------------------------ Captured log call ------------------------------- 129s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 129s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:462 hci0 (AA:BB:CC:DD:EE:FF): Waiting for adapter to initialize; attempt (1/4) 129s 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 129s Traceback (most recent call last): 129s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 129s await self.scanner.start() 129s File "/tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_scanner.py", line 660, in start 129s raise BleakError("org.freedesktop.DBus.Error.UnknownObject") 129s bleak.exc.BleakError: org.freedesktop.DBus.Error.UnknownObject 129s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (2/4) 129s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:615 hci0 (AA:BB:CC:DD:EE:FF): adapter stopped responding; executing reset 129s DEBUG habluetooth.scanner:scanner.py:617 hci0 (AA:BB:CC:DD:EE:FF): adapter reset result: True 129s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (2/4): org.bluez.Error.InProgress 129s Traceback (most recent call last): 129s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 129s await self.scanner.start() 129s File "/tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_scanner.py", line 662, in start 129s raise BleakError("org.bluez.Error.InProgress") 129s bleak.exc.BleakError: org.bluez.Error.InProgress 129s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (3/4) 129s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (3/4): org.bluez.Error.InProgress 129s Traceback (most recent call last): 129s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 129s await self.scanner.start() 129s File "/tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_scanner.py", line 664, in start 129s raise BleakError("org.bluez.Error.InProgress") 129s bleak.exc.BleakError: org.bluez.Error.InProgress 129s 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) 129s 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')]}} 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (4/4) 129s 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) 129s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (4/4) 129s 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': {}}} 129s ---------------------------- Captured log teardown ----------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s _________________ test_restart_takes_longer_than_watchdog_time _________________ 129s 129s caplog = <_pytest.logging.LogCaptureFixture object at 0x6f17a1426970> 129s 129s @pytest.mark.asyncio 129s async def test_restart_takes_longer_than_watchdog_time( 129s caplog: pytest.LogCaptureFixture, 129s ) -> None: 129s """ 129s Test we do not try to recover the adapter again. 129s 129s If the restart is still in progress. 129s """ 129s release_start_event = asyncio.Event() 129s called_start = 0 129s 129s class MockBleakScanner: 129s async def start(self, *args, **kwargs): 129s """Mock Start.""" 129s nonlocal called_start 129s called_start += 1 129s if called_start == 1: 129s return 129s await release_start_event.wait() 129s 129s async def stop(self, *args, **kwargs): 129s """Mock Start.""" 129s 129s @property 129s def discovered_devices(self): 129s """Mock discovered_devices.""" 129s return [] 129s 129s def register_detection_callback( 129s self, callback: AdvertisementDataCallback 129s ) -> None: 129s """Mock Register Detection Callback.""" 129s 129s mock_scanner = MockBleakScanner() 129s start_time_monotonic = time.monotonic() 129s 129s with ( 129s patch( 129s "habluetooth.scanner.ADAPTER_INIT_TIME", 129s 0, 129s ), 129s patch_bluetooth_time( 129s start_time_monotonic, 129s ), 129s patch( 129s "habluetooth.scanner.OriginalBleakScanner", 129s return_value=mock_scanner, 129s ), 129s patch("habluetooth.util.recover_adapter", return_value=True), 129s ): 129s scanner = HaScanner(BluetoothScanningMode.ACTIVE, "hci0", "AA:BB:CC:DD:EE:FF") 129s scanner.async_setup() 129s > await scanner.async_start() 129s 129s tests/test_scanner.py:767: 129s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 129s /usr/lib/python3/dist-packages/habluetooth/scanner.py:336: in async_start 129s await self._async_start() 129s /usr/lib/python3/dist-packages/habluetooth/scanner.py:344: in _async_start 129s await self._async_on_successful_start() 129s /usr/lib/python3/dist-packages/habluetooth/scanner.py:350: in _async_on_successful_start 129s await restore_discoveries(self.scanner, self.adapter) 129s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 129s 129s scanner = .MockBleakScanner object at 0x6f17a12bbe00> 129s adapter = 'hci0' 129s 129s async def restore_discoveries(scanner: BleakScanner, adapter: str) -> None: 129s """Restore discoveries from the bus.""" 129s if not IS_LINUX: 129s # This is only supported on Linux 129s return 129s if not (properties := await _get_properties()): 129s _LOGGER.debug("Failed to restore discoveries for %s", adapter) 129s return 129s > backend = scanner._backend 129s E AttributeError: 'MockBleakScanner' object has no attribute '_backend' 129s 129s /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:641: AttributeError 129s ------------------------------ Captured log setup ------------------------------ 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s ------------------------------ Captured log call ------------------------------- 129s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 129s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (1/4) 129s 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': {}}} 129s ---------------------------- Captured log teardown ----------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s _________________ test_adapter_init_fails_fallback_to_passive __________________ 129s 129s caplog = <_pytest.logging.LogCaptureFixture object at 0x6f17a1425ef0> 129s 129s @pytest.mark.asyncio 129s async def test_adapter_init_fails_fallback_to_passive( 129s caplog: pytest.LogCaptureFixture, 129s ) -> None: 129s """Test we fallback to passive when adapter init fails.""" 129s called_start = 0 129s called_stop = 0 129s _callback = None 129s mock_discovered: list[Any] = [] 129s 129s class MockBleakScanner: 129s async def start(self, *args, **kwargs): 129s """Mock Start.""" 129s nonlocal called_start 129s called_start += 1 129s if called_start == 1: 129s raise BleakError("org.freedesktop.DBus.Error.UnknownObject") 129s if called_start == 2: 129s raise BleakError("org.bluez.Error.InProgress") 129s if called_start == 3: 129s raise BleakError("org.bluez.Error.InProgress") 129s 129s async def stop(self, *args, **kwargs): 129s """Mock Start.""" 129s nonlocal called_stop 129s called_stop += 1 129s 129s @property 129s def discovered_devices(self): 129s """Mock discovered_devices.""" 129s nonlocal mock_discovered 129s return mock_discovered 129s 129s def register_detection_callback( 129s self, callback: AdvertisementDataCallback 129s ) -> None: 129s """Mock Register Detection Callback.""" 129s nonlocal _callback 129s _callback = callback 129s 129s @property 129s def discovered_devices_and_advertisement_data(self) -> dict[str, Any]: 129s """Mock discovered_devices.""" 129s return {} 129s 129s mock_scanner = MockBleakScanner() 129s start_time_monotonic = time.monotonic() 129s 129s with ( 129s patch( 129s "habluetooth.scanner.IS_LINUX", 129s True, 129s ), 129s patch( 129s "habluetooth.scanner.ADAPTER_INIT_TIME", 129s 0, 129s ), 129s patch_bluetooth_time( 129s start_time_monotonic, 129s ), 129s patch( 129s "habluetooth.scanner.OriginalBleakScanner", 129s return_value=mock_scanner, 129s ), 129s patch( 129s "habluetooth.util.recover_adapter", return_value=True 129s ) as mock_recover_adapter, 129s ): 129s scanner = HaScanner(BluetoothScanningMode.ACTIVE, "hci0", "AA:BB:CC:DD:EE:FF") 129s scanner.async_setup() 129s > await scanner.async_start() 129s 129s tests/test_scanner.py:895: 129s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 129s /usr/lib/python3/dist-packages/habluetooth/scanner.py:336: in async_start 129s await self._async_start() 129s /usr/lib/python3/dist-packages/habluetooth/scanner.py:344: in _async_start 129s await self._async_on_successful_start() 129s /usr/lib/python3/dist-packages/habluetooth/scanner.py:350: in _async_on_successful_start 129s await restore_discoveries(self.scanner, self.adapter) 129s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 129s 129s scanner = .MockBleakScanner object at 0x6f17a12bb0e0> 129s adapter = 'hci0' 129s 129s async def restore_discoveries(scanner: BleakScanner, adapter: str) -> None: 129s """Restore discoveries from the bus.""" 129s if not IS_LINUX: 129s # This is only supported on Linux 129s return 129s if not (properties := await _get_properties()): 129s _LOGGER.debug("Failed to restore discoveries for %s", adapter) 129s return 129s > backend = scanner._backend 129s E AttributeError: 'MockBleakScanner' object has no attribute '_backend' 129s 129s /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:641: AttributeError 129s ------------------------------ Captured log setup ------------------------------ 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s ------------------------------ Captured log call ------------------------------- 129s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 129s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:462 hci0 (AA:BB:CC:DD:EE:FF): Waiting for adapter to initialize; attempt (1/4) 129s 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 129s Traceback (most recent call last): 129s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 129s await self.scanner.start() 129s File "/tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_scanner.py", line 841, in start 129s raise BleakError("org.freedesktop.DBus.Error.UnknownObject") 129s bleak.exc.BleakError: org.freedesktop.DBus.Error.UnknownObject 129s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (2/4) 129s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:615 hci0 (AA:BB:CC:DD:EE:FF): adapter stopped responding; executing reset 129s DEBUG habluetooth.scanner:scanner.py:617 hci0 (AA:BB:CC:DD:EE:FF): adapter reset result: True 129s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (2/4): org.bluez.Error.InProgress 129s Traceback (most recent call last): 129s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 129s await self.scanner.start() 129s File "/tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_scanner.py", line 843, in start 129s raise BleakError("org.bluez.Error.InProgress") 129s bleak.exc.BleakError: org.bluez.Error.InProgress 129s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (3/4) 129s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (3/4): org.bluez.Error.InProgress 129s Traceback (most recent call last): 129s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 129s await self.scanner.start() 129s File "/tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_scanner.py", line 845, in start 129s raise BleakError("org.bluez.Error.InProgress") 129s bleak.exc.BleakError: org.bluez.Error.InProgress 129s 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) 129s 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')]}} 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (4/4) 129s 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) 129s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (4/4) 129s 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': {}}} 129s ---------------------------- Captured log teardown ----------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s __________________ test_scanner_with_bluez_mgmt_side_channel ___________________ 129s 129s mock_btmgmt_socket = 129s 129s @pytest.mark.asyncio 129s @pytest.mark.skipif(NOT_POSIX) 129s async def test_scanner_with_bluez_mgmt_side_channel(mock_btmgmt_socket: Mock) -> None: 129s """Test scanner receiving advertisements via BlueZ management side channel.""" 129s # Mock capability check for the entire test 129s with patch.object(MGMTBluetoothCtl, "_check_capabilities", return_value=True): 129s 129s # Create a custom manager that tracks discovered devices 129s class TestBluetoothManager(BluetoothManager): 129s def __init__(self, *args, **kwargs): 129s super().__init__(*args, **kwargs) 129s self.discovered_infos = [] 129s 129s def _discover_service_info( 129s self, service_info: BluetoothServiceInfoBleak 129s ) -> None: 129s """Track discovered service info.""" 129s self.discovered_infos.append(service_info) 129s 129s # Create manager and setup mgmt controller 129s adapters = FakeBluetoothAdapters() 129s slot_manager = BleakSlotManager() 129s manager = TestBluetoothManager(adapters, slot_manager) 129s set_manager(manager) 129s 129s # Set up the manager first 129s await manager.async_setup() 129s 129s # Create and setup the mgmt controller with the manager's side channel scanners 129s mgmt_ctl = MGMTBluetoothCtl( 129s timeout=5.0, scanners=manager._side_channel_scanners 129s ) 129s 129s # Mock the protocol setup 129s mock_protocol = Mock(spec=BluetoothMGMTProtocol) 129s mock_transport = Mock() 129s mock_protocol.transport = mock_transport 129s 129s async def mock_setup(): 129s mgmt_ctl.protocol = mock_protocol 129s mgmt_ctl._on_connection_lost_future = ( 129s asyncio.get_running_loop().create_future() 129s ) 129s 129s mgmt_ctl.setup = mock_setup # type: ignore[method-assign] 129s 129s # Inject mgmt controller into manager 129s manager._mgmt_ctl = mgmt_ctl 129s manager.has_advertising_side_channel = True 129s 129s # Verify get_bluez_mgmt_ctl returns our controller 129s assert manager.get_bluez_mgmt_ctl() is mgmt_ctl 129s 129s # Register scanner 129s scanner = HaScanner(BluetoothScanningMode.ACTIVE, "hci0", "AA:BB:CC:DD:EE:FF") 129s scanner.async_setup() 129s manager.async_register_scanner(scanner, connection_slots=2) 129s 129s # Start scanner - should be created without detection callback 129s with patch("habluetooth.scanner.OriginalBleakScanner") as mock_scanner_class: 129s mock_scanner = Mock() 129s mock_scanner.start = AsyncMock() 129s mock_scanner.stop = AsyncMock() 129s mock_scanner.discovered_devices = [] 129s mock_scanner_class.return_value = mock_scanner 129s 129s > await scanner.async_start() 129s 129s tests/test_scanner.py:1002: 129s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 129s /usr/lib/python3/dist-packages/habluetooth/scanner.py:336: in async_start 129s await self._async_start() 129s /usr/lib/python3/dist-packages/habluetooth/scanner.py:344: in _async_start 129s await self._async_on_successful_start() 129s /usr/lib/python3/dist-packages/habluetooth/scanner.py:350: in _async_on_successful_start 129s await restore_discoveries(self.scanner, self.adapter) 129s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 129s 129s scanner = 129s adapter = 'hci0' 129s 129s async def restore_discoveries(scanner: BleakScanner, adapter: str) -> None: 129s """Restore discoveries from the bus.""" 129s if not IS_LINUX: 129s # This is only supported on Linux 129s return 129s if not (properties := await _get_properties()): 129s _LOGGER.debug("Failed to restore discoveries for %s", adapter) 129s return 129s backend = scanner._backend 129s > before = len(backend.seen_devices) 129s E TypeError: object of type 'Mock' has no len() 129s 129s /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:642: TypeError 129s ------------------------------ Captured log setup ------------------------------ 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s ------------------------------ Captured log call ------------------------------- 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s ERROR asyncio:base_events.py:1879 Exception in callback _SelectorTransport._add_reader() 129s handle: 129s Traceback (most recent call last): 129s File "/usr/lib/python3.13/asyncio/events.py", line 89, in _run 129s self._context.run(self._callback, *self._args) 129s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 129s File "/usr/lib/python3.13/asyncio/selector_events.py", line 920, in _add_reader 129s self._loop._add_reader(fd, callback, *args) 129s ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 129s File "/usr/lib/python3.13/asyncio/selector_events.py", line 279, in _add_reader 129s self._selector.register(fd, selectors.EVENT_READ, 129s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^ 129s (handle, None)) 129s ^^^^^^^^^^^^^^^ 129s File "/usr/lib/python3.13/selectors.py", line 345, in register 129s self._selector.register(key.fd, poller_events) 129s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ 129s OSError: [Errno 9] Bad file descriptor 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:FF) 129s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'adapter': 'hci0'} 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 129s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (1/4) 129s 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': {}}} 129s ---------------------------- Captured log teardown ----------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s ______________________ test_bluez_mgmt_protocol_data_flow ______________________ 129s 129s mock_btmgmt_socket = 129s 129s @pytest.mark.asyncio 129s @pytest.mark.skipif(NOT_POSIX) 129s async def test_bluez_mgmt_protocol_data_flow(mock_btmgmt_socket: Mock) -> None: 129s """Test data flow from BlueZ protocol through manager to scanner.""" 129s # Mock capability check for the entire test 129s with patch.object(MGMTBluetoothCtl, "_check_capabilities", return_value=True): 129s 129s # Create manager 129s class TestBluetoothManager(BluetoothManager): 129s def __init__(self, *args, **kwargs): 129s super().__init__(*args, **kwargs) 129s self.discovered_infos = [] 129s 129s def _discover_service_info( 129s self, service_info: BluetoothServiceInfoBleak 129s ) -> None: 129s """Track discovered service info.""" 129s self.discovered_infos.append(service_info) 129s 129s adapters = FakeBluetoothAdapters() 129s slot_manager = BleakSlotManager() 129s manager = TestBluetoothManager(adapters, slot_manager) 129s set_manager(manager) 129s 129s # Set up manager first 129s await manager.async_setup() 129s 129s # Create mgmt controller with the manager's side channel scanners dictionary 129s mgmt_ctl = MGMTBluetoothCtl( 129s timeout=5.0, scanners=manager._side_channel_scanners 129s ) 129s 129s # We'll capture the protocol when it's created 129s captured_protocol: BluetoothMGMTProtocol | None = None 129s 129s async def mock_create_connection(sock, protocol_factory, *args, **kwargs): 129s nonlocal captured_protocol 129s captured_protocol = protocol_factory() 129s mock_transport = Mock() 129s captured_protocol.connection_made(mock_transport) 129s return mock_transport, captured_protocol 129s 129s with patch.object( 129s asyncio.get_running_loop(), 129s "_create_connection_transport", 129s mock_create_connection, 129s ): 129s await mgmt_ctl.setup() 129s 129s # Set mgmt controller on manager 129s manager._mgmt_ctl = mgmt_ctl 129s manager.has_advertising_side_channel = True 129s 129s # Register scanners for hci0 and hci1 129s scanner0 = HaScanner(BluetoothScanningMode.ACTIVE, "hci0", "AA:BB:CC:DD:EE:00") 129s scanner0.async_setup() 129s manager.async_register_scanner(scanner0, connection_slots=2) 129s 129s scanner1 = HaScanner(BluetoothScanningMode.ACTIVE, "hci1", "AA:BB:CC:DD:EE:01") 129s scanner1.async_setup() 129s manager.async_register_scanner(scanner1, connection_slots=2) 129s 129s # Start scanners 129s with patch("habluetooth.scanner.OriginalBleakScanner") as mock_scanner_class: 129s mock_scanner = Mock() 129s mock_scanner.start = AsyncMock() 129s mock_scanner.stop = AsyncMock() 129s mock_scanner.discovered_devices = [] 129s mock_scanner_class.return_value = mock_scanner 129s > await scanner0.async_start() 129s 129s tests/test_scanner.py:1180: 129s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 129s /usr/lib/python3/dist-packages/habluetooth/scanner.py:336: in async_start 129s await self._async_start() 129s /usr/lib/python3/dist-packages/habluetooth/scanner.py:344: in _async_start 129s await self._async_on_successful_start() 129s /usr/lib/python3/dist-packages/habluetooth/scanner.py:350: in _async_on_successful_start 129s await restore_discoveries(self.scanner, self.adapter) 129s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 129s 129s scanner = 129s adapter = 'hci0' 129s 129s async def restore_discoveries(scanner: BleakScanner, adapter: str) -> None: 129s """Restore discoveries from the bus.""" 129s if not IS_LINUX: 129s # This is only supported on Linux 129s return 129s if not (properties := await _get_properties()): 129s _LOGGER.debug("Failed to restore discoveries for %s", adapter) 129s return 129s backend = scanner._backend 129s > before = len(backend.seen_devices) 129s E TypeError: object of type 'Mock' has no len() 129s 129s /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:642: TypeError 129s ------------------------------ Captured log setup ------------------------------ 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s ------------------------------ Captured log call ------------------------------- 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s ERROR asyncio:base_events.py:1879 Exception in callback _SelectorTransport._add_reader() 129s handle: 129s Traceback (most recent call last): 129s File "/usr/lib/python3.13/asyncio/events.py", line 89, in _run 129s self._context.run(self._callback, *self._args) 129s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 129s File "/usr/lib/python3.13/asyncio/selector_events.py", line 920, in _add_reader 129s self._loop._add_reader(fd, callback, *args) 129s ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 129s File "/usr/lib/python3.13/asyncio/selector_events.py", line 279, in _add_reader 129s self._selector.register(fd, selectors.EVENT_READ, 129s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^ 129s (handle, None)) 129s ^^^^^^^^^^^^^^^ 129s File "/usr/lib/python3.13/selectors.py", line 345, in register 129s self._selector.register(key.fd, poller_events) 129s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ 129s OSError: [Errno 9] Bad file descriptor 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 129s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 129s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (AA:BB:CC:DD:EE:01) 129s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'adapter': 'hci0'} 129s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:00): Force stopping bluetooth discovery 129s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:00): Starting bluetooth discovery attempt: (1/4) 129s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:00): Success while starting bluetooth; attempt: (1/4) 129s 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': {}}} 129s ---------------------------- Captured log teardown ----------------------------- 129s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 129s =============================== warnings summary =============================== 129s tests/test_base_scanner.py:861 129s /tmp/autopkgtest.AuLegg/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) 129s class TestScanner(BaseHaScanner): 129s 129s tests/channels/test_bluez.py: 49 warnings 129s /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:866: DeprecationWarning: The event_loop fixture provided by pytest-asyncio has been redefined in 129s /tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/channels/test_bluez.py:44 129s Replacing the event_loop fixture with a custom implementation is deprecated 129s and will lead to errors in the future. 129s If you want to request an asyncio event loop with a scope other than function 129s scope, use the "loop_scope" argument to the asyncio mark when marking the tests. 129s If you want to return different types of event loops, use the event_loop_policy 129s fixture. 129s 129s warnings.warn( 129s 129s tests/test_base_scanner.py: 9 warnings 129s tests/test_manager.py: 3 warnings 129s tests/test_wrappers.py: 19 warnings 129s /tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/__init__.py:64: DeprecationWarning: Passing additional arguments for BLEDevice is deprecated and has no effect. 129s return BLEDevice(**new) 129s 129s tests/test_base_scanner.py::test_remote_scanner_expires_non_connectable 129s /tmp/autopkgtest.AuLegg/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 129s assert len(scanner._discovered_device_timestamps) == 1 129s 129s tests/test_base_scanner.py::test_remote_scanner_expires_non_connectable 129s /tmp/autopkgtest.AuLegg/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 129s assert len(scanner._discovered_device_timestamps) == 0 129s 129s tests/test_base_scanner.py::test_remote_scanner_expires_non_connectable 129s /tmp/autopkgtest.AuLegg/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 129s assert len(scanner._discovered_device_timestamps) == 0 129s 129s tests/test_base_scanner.py::test_score_with_no_allocations 129s /tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_base_scanner.py:881: DeprecationWarning: Passing additional arguments for BLEDevice is deprecated and has no effect. 129s ble_device = BLEDevice( 129s 129s tests/test_base_scanner.py::test_score_with_all_slots_free 129s /tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_base_scanner.py:923: DeprecationWarning: Passing additional arguments for BLEDevice is deprecated and has no effect. 129s ble_device = BLEDevice( 129s 129s tests/test_base_scanner.py::test_score_with_one_slot_remaining 129s /tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_base_scanner.py:970: DeprecationWarning: Passing additional arguments for BLEDevice is deprecated and has no effect. 129s ble_device = BLEDevice( 129s 129s tests/test_base_scanner.py::test_score_with_no_slots_available 129s /tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_base_scanner.py:1019: DeprecationWarning: Passing additional arguments for BLEDevice is deprecated and has no effect. 129s ble_device = BLEDevice( 129s 129s tests/test_base_scanner.py::test_score_comparison_with_different_slot_availability 129s /tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_base_scanner.py:1068: DeprecationWarning: Passing additional arguments for BLEDevice is deprecated and has no effect. 129s ble_device = BLEDevice( 129s 129s tests/test_base_scanner.py::test_score_with_connections_in_progress_and_slots 129s /tmp/autopkgtest.AuLegg/autopkgtest_tmp/build/tests/test_base_scanner.py:1170: DeprecationWarning: Passing additional arguments for BLEDevice is deprecated and has no effect. 129s ble_device = BLEDevice( 129s 129s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 129s =========================== short test summary info ============================ 129s FAILED tests/test_scanner.py::test_adapter_needs_reset_at_start[org.bluez.Error.Failed] 129s FAILED tests/test_scanner.py::test_adapter_needs_reset_at_start[org.bluez.Error.InProgress] 129s FAILED tests/test_scanner.py::test_adapter_needs_reset_at_start[org.bluez.Error.NotReady] 129s FAILED tests/test_scanner.py::test_adapter_needs_reset_at_start[not found] - ... 129s FAILED tests/test_scanner.py::test_recovery_from_dbus_restart - AttributeErro... 129s FAILED tests/test_scanner.py::test_adapter_recovery - AttributeError: 'MockBl... 129s FAILED tests/test_scanner.py::test_adapter_scanner_fails_to_start_first_time 129s FAILED tests/test_scanner.py::test_adapter_fails_to_start_and_takes_a_bit_to_init 129s FAILED tests/test_scanner.py::test_restart_takes_longer_than_watchdog_time - ... 129s FAILED tests/test_scanner.py::test_adapter_init_fails_fallback_to_passive - A... 129s FAILED tests/test_scanner.py::test_scanner_with_bluez_mgmt_side_channel - Typ... 129s FAILED tests/test_scanner.py::test_bluez_mgmt_protocol_data_flow - TypeError:... 129s ===== 12 failed, 174 passed, 1 skipped, 1 deselected, 90 warnings in 4.33s ===== 129s Task was destroyed but it is pending! 129s task: wait_for=> 129s Task was destroyed but it is pending! 129s task: wait_for=> 129s E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /tmp/autopkgtest.AuLegg/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" 130s pybuild-autopkgtest: error: pybuild --autopkgtest --test-pytest -i python{version} -p 3.13 returned exit code 13 130s make: *** [/tmp/T8DVNh3QIG/run:4: pybuild-autopkgtest] Error 25 130s pybuild-autopkgtest: error: /tmp/T8DVNh3QIG/run pybuild-autopkgtest returned exit code 2 130s autopkgtest [19:12:48]: test pybuild-autopkgtest: -----------------------] 130s pybuild-autopkgtest FAIL non-zero exit status 25 130s autopkgtest [19:12:48]: test pybuild-autopkgtest: - - - - - - - - - - results - - - - - - - - - - 131s autopkgtest [19:12:49]: @@@@@@@@@@@@@@@@@@@@ summary 131s pybuild-autopkgtest FAIL non-zero exit status 25