0s autopkgtest [17:13:51]: starting date and time: 2025-11-17 17:13:51+0000 0s autopkgtest [17:13:51]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [17:13:51]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.8f8x307y/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 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-arm64-1.secgroup --name adt-resolute-arm64-habluetooth-20251117-171350-juju-7f2275-prod-proposed-migration-environment-20-82a8eb74-e7e5-411a-b4dd-eacfc13621d5 --image adt/ubuntu-resolute-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-proposed-migration -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 3s Creating nova instance adt-resolute-arm64-habluetooth-20251117-171350-juju-7f2275-prod-proposed-migration-environment-20-82a8eb74-e7e5-411a-b4dd-eacfc13621d5 from image adt/ubuntu-resolute-arm64-server-20251117.img (UUID 1cd33fbb-18df-4c5a-b8f0-2dcb25269485)... 61s autopkgtest [17:14:52]: testbed dpkg architecture: arm64 61s autopkgtest [17:14:52]: testbed apt version: 3.1.11 62s autopkgtest [17:14:53]: @@@@@@@@@@@@@@@@@@@@ test bed setup 62s autopkgtest [17:14:53]: testbed release detected to be: None 63s autopkgtest [17:14:54]: updating testbed package index (apt update) 63s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [87.8 kB] 63s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 63s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 63s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 63s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [9852 B] 63s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [73.2 kB] 63s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [22.9 kB] 63s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [779 kB] 64s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 Packages [143 kB] 64s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 c-n-f Metadata [3224 B] 64s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 Packages [107 kB] 64s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 c-n-f Metadata [324 B] 64s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 Packages [517 kB] 64s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 c-n-f Metadata [17.1 kB] 64s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 Packages [12.5 kB] 64s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 c-n-f Metadata [576 B] 65s Fetched 1774 kB in 1s (1579 kB/s) 66s Reading package lists... 66s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 66s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 66s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 66s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 67s Reading package lists... 67s Reading package lists... 68s Building dependency tree... 68s Reading state information... 68s Calculating upgrade... 68s The following packages will be upgraded: 68s apt libapt-pkg7.0 libcrypt-dev libcrypt1 usbutils 68s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 68s Need to get 2764 kB of archives. 68s After this operation, 104 kB of additional disk space will be used. 68s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 libcrypt-dev arm64 1:4.5.1-1 [123 kB] 69s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 libcrypt1 arm64 1:4.5.1-1 [88.3 kB] 69s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 libapt-pkg7.0 arm64 3.1.12 [1063 kB] 69s Get:4 http://ftpmaster.internal/ubuntu resolute/main arm64 apt arm64 3.1.12 [1407 kB] 69s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 usbutils arm64 1:019-1 [81.7 kB] 70s dpkg-preconfigure: unable to re-open stdin: No such file or directory 70s Fetched 2764 kB in 1s (2880 kB/s) 70s (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 ... 88137 files and directories currently installed.) 70s Preparing to unpack .../libcrypt-dev_1%3a4.5.1-1_arm64.deb ... 70s Unpacking libcrypt-dev:arm64 (1:4.5.1-1) over (1:4.4.38-1build1) ... 70s Preparing to unpack .../libcrypt1_1%3a4.5.1-1_arm64.deb ... 70s Unpacking libcrypt1:arm64 (1:4.5.1-1) over (1:4.4.38-1build1) ... 70s Setting up libcrypt1:arm64 (1:4.5.1-1) ... 70s (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 ... 88137 files and directories currently installed.) 70s Preparing to unpack .../libapt-pkg7.0_3.1.12_arm64.deb ... 70s Unpacking libapt-pkg7.0:arm64 (3.1.12) over (3.1.11) ... 71s Preparing to unpack .../archives/apt_3.1.12_arm64.deb ... 71s Unpacking apt (3.1.12) over (3.1.11) ... 71s Preparing to unpack .../usbutils_1%3a019-1_arm64.deb ... 71s Unpacking usbutils (1:019-1) over (1:018-2) ... 71s Setting up usbutils (1:019-1) ... 71s Setting up libcrypt-dev:arm64 (1:4.5.1-1) ... 71s Setting up libapt-pkg7.0:arm64 (3.1.12) ... 71s Setting up apt (3.1.12) ... 72s Processing triggers for man-db (2.13.1-1) ... 74s Processing triggers for libc-bin (2.42-2ubuntu2) ... 74s autopkgtest [17:15:05]: upgrading testbed (apt dist-upgrade and autopurge) 75s Reading package lists... 75s Building dependency tree... 75s Reading state information... 75s Calculating upgrade... 76s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 76s Reading package lists... 76s Building dependency tree... 76s Reading state information... 76s Solving dependencies... 77s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 77s autopkgtest [17:15:08]: rebooting testbed after setup commands that affected boot 105s autopkgtest [17:15:36]: testbed running kernel: Linux 6.17.0-5-generic #5-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 09:50:31 UTC 2025 108s autopkgtest [17:15:39]: @@@@@@@@@@@@@@@@@@@@ apt-source habluetooth 109s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/universe habluetooth 5.7.0-1 (dsc) [2584 B] 109s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/universe habluetooth 5.7.0-1 (tar) [168 kB] 109s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/universe habluetooth 5.7.0-1 (diff) [4772 B] 110s gpgv: Signature made Sun Oct 5 08:03:02 2025 UTC 110s gpgv: using RSA key FB8ACFA78C726089C38AD0269605A1098C63B92A 110s gpgv: Can't check signature: No public key 110s dpkg-source: warning: cannot verify inline signature for ./habluetooth_5.7.0-1.dsc: no acceptable signature found 110s autopkgtest [17:15:41]: testing package habluetooth version 5.7.0-1 110s autopkgtest [17:15:41]: build not needed 111s autopkgtest [17:15:42]: test pybuild-autopkgtest: preparing testbed 111s Reading package lists... 111s Building dependency tree... 111s Reading state information... 111s Solving dependencies... 112s The following NEW packages will be installed: 112s autoconf automake autopoint autotools-dev bluez build-essential cpp cpp-15 112s cpp-15-aarch64-linux-gnu cpp-aarch64-linux-gnu debhelper debugedit 112s dh-autoreconf dh-python dh-strip-nondeterminism docutils-common dwz 112s fonts-font-awesome fonts-lato furo g++ g++-15 g++-15-aarch64-linux-gnu 112s g++-aarch64-linux-gnu gcc gcc-15 gcc-15-aarch64-linux-gnu 112s gcc-aarch64-linux-gnu gettext intltool-debian libarchive-zip-perl libasan8 112s libasound2-data libasound2t64 libcc1-0 libdebhelper-perl 112s libfile-stripnondeterminism-perl libgcc-15-dev libgomp1 libhwasan0 libisl23 112s libitm1 libjs-jquery libjs-jquery-hotkeys libjs-jquery-isonscreen 112s libjs-jquery-metadata libjs-jquery-tablesorter 112s libjs-jquery-throttle-debounce libjs-sphinxdoc libjs-underscore libjson-perl 112s liblsan0 libmpc3 libstdc++-15-dev libtool libtsan2 libubsan1 m4 po-debconf 112s pybuild-plugin-autopkgtest pybuild-plugin-pyproject 112s python3-accessible-pygments python3-aiooui python3-alabaster python3-all 112s python3-async-generator python3-async-interrupt python3-bleak 112s python3-bleak-retry-connector python3-bluetooth-adapters 112s python3-bluetooth-auto-recovery python3-bluetooth-data-tools python3-bs4 112s python3-btsocket python3-build python3-coverage python3-dbus-fast 112s python3-defusedxml python3-docutils python3-freezegun python3-habluetooth 112s python3-imagesize python3-iniconfig python3-installer 112s python3-mdit-py-plugins python3-myst-parser python3-pluggy 112s python3-poetry-core python3-pyproject-hooks python3-pyric python3-pytest 112s python3-pytest-asyncio python3-pytest-cov python3-roman 112s python3-snowballstemmer python3-soupsieve python3-sphinx 112s python3-uart-devices python3-usb-devices python3-wheel sgml-base 112s sphinx-basic-ng sphinx-common sphinx-rtd-theme-common xml-core 112s 0 upgraded, 105 newly installed, 0 to remove and 0 not upgraded. 112s Need to get 81.6 MB of archives. 112s After this operation, 290 MB of additional disk space will be used. 112s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 fonts-lato all 2.015-1 [2781 kB] 113s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 m4 arm64 1.4.20-2 [213 kB] 113s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 autoconf all 2.72-3.1ubuntu1 [384 kB] 114s Get:4 http://ftpmaster.internal/ubuntu resolute/main arm64 autotools-dev all 20240727.1 [43.4 kB] 114s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 automake all 1:1.18.1-2 [581 kB] 114s Get:6 http://ftpmaster.internal/ubuntu resolute/main arm64 autopoint all 0.23.2-1 [620 kB] 114s Get:7 http://ftpmaster.internal/ubuntu resolute/main arm64 libasound2-data all 1.2.14-2ubuntu1 [21.3 kB] 114s Get:8 http://ftpmaster.internal/ubuntu resolute/main arm64 libasound2t64 arm64 1.2.14-2ubuntu1 [390 kB] 114s Get:9 http://ftpmaster.internal/ubuntu resolute/main arm64 bluez arm64 5.84-1 [1495 kB] 114s Get:10 http://ftpmaster.internal/ubuntu resolute/main arm64 libisl23 arm64 0.27-1 [676 kB] 114s Get:11 http://ftpmaster.internal/ubuntu resolute/main arm64 libmpc3 arm64 1.3.1-2 [55.6 kB] 114s Get:12 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp-15-aarch64-linux-gnu arm64 15.2.0-7ubuntu1 [11.7 MB] 115s Get:13 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp-15 arm64 15.2.0-7ubuntu1 [1026 B] 115s Get:14 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp-aarch64-linux-gnu arm64 4:15.2.0-4ubuntu1 [5736 B] 115s Get:15 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp arm64 4:15.2.0-4ubuntu1 [22.4 kB] 115s Get:16 http://ftpmaster.internal/ubuntu resolute/main arm64 libcc1-0 arm64 15.2.0-7ubuntu1 [49.0 kB] 115s Get:17 http://ftpmaster.internal/ubuntu resolute/main arm64 libgomp1 arm64 15.2.0-7ubuntu1 [147 kB] 115s Get:18 http://ftpmaster.internal/ubuntu resolute/main arm64 libitm1 arm64 15.2.0-7ubuntu1 [27.9 kB] 116s Get:19 http://ftpmaster.internal/ubuntu resolute/main arm64 libasan8 arm64 15.2.0-7ubuntu1 [2923 kB] 116s Get:20 http://ftpmaster.internal/ubuntu resolute/main arm64 liblsan0 arm64 15.2.0-7ubuntu1 [1316 kB] 116s Get:21 http://ftpmaster.internal/ubuntu resolute/main arm64 libtsan2 arm64 15.2.0-7ubuntu1 [2689 kB] 116s Get:22 http://ftpmaster.internal/ubuntu resolute/main arm64 libubsan1 arm64 15.2.0-7ubuntu1 [1176 kB] 116s Get:23 http://ftpmaster.internal/ubuntu resolute/main arm64 libhwasan0 arm64 15.2.0-7ubuntu1 [1638 kB] 116s Get:24 http://ftpmaster.internal/ubuntu resolute/main arm64 libgcc-15-dev arm64 15.2.0-7ubuntu1 [2600 kB] 116s Get:25 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc-15-aarch64-linux-gnu arm64 15.2.0-7ubuntu1 [23.1 MB] 117s Get:26 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc-15 arm64 15.2.0-7ubuntu1 [513 kB] 117s Get:27 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc-aarch64-linux-gnu arm64 4:15.2.0-4ubuntu1 [1206 B] 117s Get:28 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc arm64 4:15.2.0-4ubuntu1 [5016 B] 117s Get:29 http://ftpmaster.internal/ubuntu resolute/main arm64 libstdc++-15-dev arm64 15.2.0-7ubuntu1 [2546 kB] 117s Get:30 http://ftpmaster.internal/ubuntu resolute/main arm64 g++-15-aarch64-linux-gnu arm64 15.2.0-7ubuntu1 [13.2 MB] 117s Get:31 http://ftpmaster.internal/ubuntu resolute/main arm64 g++-15 arm64 15.2.0-7ubuntu1 [23.7 kB] 117s Get:32 http://ftpmaster.internal/ubuntu resolute/main arm64 g++-aarch64-linux-gnu arm64 4:15.2.0-4ubuntu1 [956 B] 117s Get:33 http://ftpmaster.internal/ubuntu resolute/main arm64 g++ arm64 4:15.2.0-4ubuntu1 [1080 B] 117s Get:34 http://ftpmaster.internal/ubuntu resolute/main arm64 build-essential arm64 12.12ubuntu1 [5082 B] 117s Get:35 http://ftpmaster.internal/ubuntu resolute/main arm64 libdebhelper-perl all 13.24.2ubuntu1 [95.7 kB] 117s Get:36 http://ftpmaster.internal/ubuntu resolute/main arm64 libtool all 2.5.4-7 [169 kB] 117s Get:37 http://ftpmaster.internal/ubuntu resolute/main arm64 dh-autoreconf all 21 [12.5 kB] 117s Get:38 http://ftpmaster.internal/ubuntu resolute/main arm64 libarchive-zip-perl all 1.68-1 [90.2 kB] 117s Get:39 http://ftpmaster.internal/ubuntu resolute/main arm64 libfile-stripnondeterminism-perl all 1.15.0-1 [20.5 kB] 117s Get:40 http://ftpmaster.internal/ubuntu resolute/main arm64 dh-strip-nondeterminism all 1.15.0-1 [5090 B] 117s Get:41 http://ftpmaster.internal/ubuntu resolute/main arm64 debugedit arm64 1:5.2-3 [49.1 kB] 117s Get:42 http://ftpmaster.internal/ubuntu resolute/main arm64 dwz arm64 0.16-2 [113 kB] 117s Get:43 http://ftpmaster.internal/ubuntu resolute/main arm64 gettext arm64 0.23.2-1 [998 kB] 117s Get:44 http://ftpmaster.internal/ubuntu resolute/main arm64 intltool-debian all 0.35.0+20060710.6 [23.2 kB] 117s Get:45 http://ftpmaster.internal/ubuntu resolute/main arm64 po-debconf all 1.0.21+nmu1 [233 kB] 117s Get:46 http://ftpmaster.internal/ubuntu resolute/main arm64 debhelper all 13.24.2ubuntu1 [896 kB] 118s Get:47 http://ftpmaster.internal/ubuntu resolute/universe arm64 dh-python all 6.20250414 [119 kB] 118s Get:48 http://ftpmaster.internal/ubuntu resolute/main arm64 sgml-base all 1.31+nmu1 [11.0 kB] 118s Get:49 http://ftpmaster.internal/ubuntu resolute/main arm64 xml-core all 0.19 [20.3 kB] 118s Get:50 http://ftpmaster.internal/ubuntu resolute/main arm64 docutils-common all 0.21.2+dfsg-2 [131 kB] 118s Get:51 http://ftpmaster.internal/ubuntu resolute/main arm64 fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [516 kB] 118s Get:52 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-accessible-pygments all 0.0.5-2 [790 kB] 118s Get:53 http://ftpmaster.internal/ubuntu resolute/main arm64 python3-soupsieve all 2.7-2 [33.6 kB] 118s Get:54 http://ftpmaster.internal/ubuntu resolute/main arm64 python3-bs4 all 4.13.4-3 [137 kB] 118s Get:55 http://ftpmaster.internal/ubuntu resolute/main arm64 python3-defusedxml all 0.7.1-3 [42.2 kB] 118s Get:56 http://ftpmaster.internal/ubuntu resolute/main arm64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 118s Get:57 http://ftpmaster.internal/ubuntu resolute/main arm64 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 118s Get:58 http://ftpmaster.internal/ubuntu resolute/main arm64 libjs-sphinxdoc all 8.2.3-1ubuntu2 [28.0 kB] 118s Get:59 http://ftpmaster.internal/ubuntu resolute/main arm64 libjson-perl all 4.10000-1 [81.9 kB] 118s Get:60 http://ftpmaster.internal/ubuntu resolute/main arm64 sphinx-common all 8.2.3-1ubuntu2 [656 kB] 118s Get:61 http://ftpmaster.internal/ubuntu resolute/main arm64 python3-alabaster all 0.7.16-0.1 [18.5 kB] 118s Get:62 http://ftpmaster.internal/ubuntu resolute/main arm64 python3-roman all 5.1-1 [10.6 kB] 118s Get:63 http://ftpmaster.internal/ubuntu resolute/main arm64 python3-docutils all 0.21.2+dfsg-2 [409 kB] 118s Get:64 http://ftpmaster.internal/ubuntu resolute/main arm64 python3-imagesize all 1.4.1-1 [6844 B] 118s Get:65 http://ftpmaster.internal/ubuntu resolute/main arm64 python3-snowballstemmer all 3.0.1-1 [65.9 kB] 118s Get:66 http://ftpmaster.internal/ubuntu resolute/main arm64 python3-sphinx all 8.2.3-1ubuntu2 [482 kB] 118s Get:67 http://ftpmaster.internal/ubuntu resolute/universe arm64 sphinx-basic-ng all 1.0.0~beta2-1 [12.0 kB] 118s Get:68 http://ftpmaster.internal/ubuntu resolute/universe arm64 furo all 2025.09.25+dfsg-2 [53.7 kB] 118s Get:69 http://ftpmaster.internal/ubuntu resolute/universe arm64 libjs-jquery-metadata all 12-4 [6582 B] 118s Get:70 http://ftpmaster.internal/ubuntu resolute/universe arm64 libjs-jquery-tablesorter all 1:2.31.3+dfsg1-4 [192 kB] 118s Get:71 http://ftpmaster.internal/ubuntu resolute/universe arm64 libjs-jquery-throttle-debounce all 1.1+dfsg.1-2 [12.5 kB] 118s Get:72 http://ftpmaster.internal/ubuntu resolute/universe arm64 pybuild-plugin-autopkgtest all 6.20250414 [1746 B] 118s Get:73 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-pyproject-hooks all 1.2.0-1 [10.2 kB] 118s Get:74 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-wheel all 0.46.1-2 [22.1 kB] 118s Get:75 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-build all 1.2.2-4 [31.0 kB] 118s Get:76 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-installer all 0.7.0+dfsg1-3 [17.4 kB] 118s Get:77 http://ftpmaster.internal/ubuntu resolute/universe arm64 pybuild-plugin-pyproject all 6.20250414 [1728 B] 118s Get:78 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-aiooui all 0.1.9-1 [312 kB] 118s Get:79 http://ftpmaster.internal/ubuntu resolute/main arm64 python3-all arm64 3.13.7-1 [884 B] 118s Get:80 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-async-generator all 1.10-7 [18.1 kB] 118s Get:81 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-async-interrupt all 1.2.2-1 [6604 B] 118s Get:82 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-dbus-fast arm64 2.45.1-1 [914 kB] 118s Get:83 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-bleak all 1.1.1-1 [95.0 kB] 118s Get:84 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-uart-devices all 0.1.1-1 [6742 B] 118s Get:85 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-usb-devices all 0.4.5-2 [9014 B] 118s Get:86 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-bluetooth-adapters all 2.1.1-1 [13.7 kB] 118s Get:87 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-bleak-retry-connector all 4.4.4-1 [20.1 kB] 118s Get:88 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-btsocket all 0.3.0-1 [19.0 kB] 118s Get:89 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-pyric all 0.1.6.4+git20170421.0562b17-1 [114 kB] 118s Get:90 http://ftpmaster.internal/ubuntu resolute/main arm64 sphinx-rtd-theme-common all 3.0.2+dfsg-3 [1013 kB] 118s Get:91 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-bluetooth-auto-recovery all 1.5.3-1 [29.4 kB] 118s Get:92 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-bluetooth-data-tools arm64 1.28.4-1 [11.7 kB] 118s Get:93 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-coverage arm64 7.8.2+dfsg1-1 [157 kB] 118s Get:94 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-freezegun all 1.5.1-1.2 [15.9 kB] 118s Get:95 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 python3-habluetooth arm64 5.7.0-1 [73.6 kB] 118s Get:96 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-iniconfig all 2.1.0-1 [6840 B] 118s Get:97 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-mdit-py-plugins all 0.5.0-1 [31.5 kB] 118s Get:98 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-myst-parser all 4.0.1-1 [64.9 kB] 118s Get:99 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-pluggy all 1.6.0-1 [21.0 kB] 118s Get:100 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-poetry-core all 2.2.1-2 [226 kB] 118s Get:101 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-pytest all 8.3.5-2 [252 kB] 118s Get:102 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-pytest-asyncio all 0.25.1-1 [17.0 kB] 119s Get:103 http://ftpmaster.internal/ubuntu resolute/universe arm64 libjs-jquery-hotkeys all 0.2.0-1 [13.3 kB] 119s Get:104 http://ftpmaster.internal/ubuntu resolute/universe arm64 libjs-jquery-isonscreen all 1.2.0-1.1 [3244 B] 119s Get:105 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-pytest-cov all 5.0.0-1 [21.3 kB] 119s Fetched 81.6 MB in 7s (11.8 MB/s) 119s Selecting previously unselected package fonts-lato. 119s (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 ... 88137 files and directories currently installed.) 119s Preparing to unpack .../000-fonts-lato_2.015-1_all.deb ... 119s Unpacking fonts-lato (2.015-1) ... 120s Selecting previously unselected package m4. 120s Preparing to unpack .../001-m4_1.4.20-2_arm64.deb ... 120s Unpacking m4 (1.4.20-2) ... 120s Selecting previously unselected package autoconf. 120s Preparing to unpack .../002-autoconf_2.72-3.1ubuntu1_all.deb ... 120s Unpacking autoconf (2.72-3.1ubuntu1) ... 120s Selecting previously unselected package autotools-dev. 120s Preparing to unpack .../003-autotools-dev_20240727.1_all.deb ... 120s Unpacking autotools-dev (20240727.1) ... 120s Selecting previously unselected package automake. 120s Preparing to unpack .../004-automake_1%3a1.18.1-2_all.deb ... 120s Unpacking automake (1:1.18.1-2) ... 120s Selecting previously unselected package autopoint. 120s Preparing to unpack .../005-autopoint_0.23.2-1_all.deb ... 120s Unpacking autopoint (0.23.2-1) ... 120s Selecting previously unselected package libasound2-data. 120s Preparing to unpack .../006-libasound2-data_1.2.14-2ubuntu1_all.deb ... 120s Unpacking libasound2-data (1.2.14-2ubuntu1) ... 120s Selecting previously unselected package libasound2t64:arm64. 120s Preparing to unpack .../007-libasound2t64_1.2.14-2ubuntu1_arm64.deb ... 120s Unpacking libasound2t64:arm64 (1.2.14-2ubuntu1) ... 120s Selecting previously unselected package bluez. 120s Preparing to unpack .../008-bluez_5.84-1_arm64.deb ... 120s Unpacking bluez (5.84-1) ... 120s Selecting previously unselected package libisl23:arm64. 120s Preparing to unpack .../009-libisl23_0.27-1_arm64.deb ... 120s Unpacking libisl23:arm64 (0.27-1) ... 120s Selecting previously unselected package libmpc3:arm64. 120s Preparing to unpack .../010-libmpc3_1.3.1-2_arm64.deb ... 120s Unpacking libmpc3:arm64 (1.3.1-2) ... 120s Selecting previously unselected package cpp-15-aarch64-linux-gnu. 120s Preparing to unpack .../011-cpp-15-aarch64-linux-gnu_15.2.0-7ubuntu1_arm64.deb ... 120s Unpacking cpp-15-aarch64-linux-gnu (15.2.0-7ubuntu1) ... 120s Selecting previously unselected package cpp-15. 120s Preparing to unpack .../012-cpp-15_15.2.0-7ubuntu1_arm64.deb ... 120s Unpacking cpp-15 (15.2.0-7ubuntu1) ... 120s Selecting previously unselected package cpp-aarch64-linux-gnu. 120s Preparing to unpack .../013-cpp-aarch64-linux-gnu_4%3a15.2.0-4ubuntu1_arm64.deb ... 120s Unpacking cpp-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 120s Selecting previously unselected package cpp. 121s Preparing to unpack .../014-cpp_4%3a15.2.0-4ubuntu1_arm64.deb ... 121s Unpacking cpp (4:15.2.0-4ubuntu1) ... 121s Selecting previously unselected package libcc1-0:arm64. 121s Preparing to unpack .../015-libcc1-0_15.2.0-7ubuntu1_arm64.deb ... 121s Unpacking libcc1-0:arm64 (15.2.0-7ubuntu1) ... 121s Selecting previously unselected package libgomp1:arm64. 121s Preparing to unpack .../016-libgomp1_15.2.0-7ubuntu1_arm64.deb ... 121s Unpacking libgomp1:arm64 (15.2.0-7ubuntu1) ... 121s Selecting previously unselected package libitm1:arm64. 121s Preparing to unpack .../017-libitm1_15.2.0-7ubuntu1_arm64.deb ... 121s Unpacking libitm1:arm64 (15.2.0-7ubuntu1) ... 121s Selecting previously unselected package libasan8:arm64. 121s Preparing to unpack .../018-libasan8_15.2.0-7ubuntu1_arm64.deb ... 121s Unpacking libasan8:arm64 (15.2.0-7ubuntu1) ... 121s Selecting previously unselected package liblsan0:arm64. 121s Preparing to unpack .../019-liblsan0_15.2.0-7ubuntu1_arm64.deb ... 121s Unpacking liblsan0:arm64 (15.2.0-7ubuntu1) ... 121s Selecting previously unselected package libtsan2:arm64. 121s Preparing to unpack .../020-libtsan2_15.2.0-7ubuntu1_arm64.deb ... 121s Unpacking libtsan2:arm64 (15.2.0-7ubuntu1) ... 121s Selecting previously unselected package libubsan1:arm64. 121s Preparing to unpack .../021-libubsan1_15.2.0-7ubuntu1_arm64.deb ... 121s Unpacking libubsan1:arm64 (15.2.0-7ubuntu1) ... 121s Selecting previously unselected package libhwasan0:arm64. 121s Preparing to unpack .../022-libhwasan0_15.2.0-7ubuntu1_arm64.deb ... 121s Unpacking libhwasan0:arm64 (15.2.0-7ubuntu1) ... 121s Selecting previously unselected package libgcc-15-dev:arm64. 121s Preparing to unpack .../023-libgcc-15-dev_15.2.0-7ubuntu1_arm64.deb ... 121s Unpacking libgcc-15-dev:arm64 (15.2.0-7ubuntu1) ... 121s Selecting previously unselected package gcc-15-aarch64-linux-gnu. 121s Preparing to unpack .../024-gcc-15-aarch64-linux-gnu_15.2.0-7ubuntu1_arm64.deb ... 121s Unpacking gcc-15-aarch64-linux-gnu (15.2.0-7ubuntu1) ... 121s Selecting previously unselected package gcc-15. 122s Preparing to unpack .../025-gcc-15_15.2.0-7ubuntu1_arm64.deb ... 122s Unpacking gcc-15 (15.2.0-7ubuntu1) ... 122s Selecting previously unselected package gcc-aarch64-linux-gnu. 122s Preparing to unpack .../026-gcc-aarch64-linux-gnu_4%3a15.2.0-4ubuntu1_arm64.deb ... 122s Unpacking gcc-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 122s Selecting previously unselected package gcc. 122s Preparing to unpack .../027-gcc_4%3a15.2.0-4ubuntu1_arm64.deb ... 122s Unpacking gcc (4:15.2.0-4ubuntu1) ... 122s Selecting previously unselected package libstdc++-15-dev:arm64. 122s Preparing to unpack .../028-libstdc++-15-dev_15.2.0-7ubuntu1_arm64.deb ... 122s Unpacking libstdc++-15-dev:arm64 (15.2.0-7ubuntu1) ... 122s Selecting previously unselected package g++-15-aarch64-linux-gnu. 122s Preparing to unpack .../029-g++-15-aarch64-linux-gnu_15.2.0-7ubuntu1_arm64.deb ... 122s Unpacking g++-15-aarch64-linux-gnu (15.2.0-7ubuntu1) ... 122s Selecting previously unselected package g++-15. 122s Preparing to unpack .../030-g++-15_15.2.0-7ubuntu1_arm64.deb ... 122s Unpacking g++-15 (15.2.0-7ubuntu1) ... 122s Selecting previously unselected package g++-aarch64-linux-gnu. 122s Preparing to unpack .../031-g++-aarch64-linux-gnu_4%3a15.2.0-4ubuntu1_arm64.deb ... 122s Unpacking g++-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 122s Selecting previously unselected package g++. 122s Preparing to unpack .../032-g++_4%3a15.2.0-4ubuntu1_arm64.deb ... 122s Unpacking g++ (4:15.2.0-4ubuntu1) ... 122s Selecting previously unselected package build-essential. 122s Preparing to unpack .../033-build-essential_12.12ubuntu1_arm64.deb ... 122s Unpacking build-essential (12.12ubuntu1) ... 122s Selecting previously unselected package libdebhelper-perl. 122s Preparing to unpack .../034-libdebhelper-perl_13.24.2ubuntu1_all.deb ... 122s Unpacking libdebhelper-perl (13.24.2ubuntu1) ... 122s Selecting previously unselected package libtool. 122s Preparing to unpack .../035-libtool_2.5.4-7_all.deb ... 122s Unpacking libtool (2.5.4-7) ... 122s Selecting previously unselected package dh-autoreconf. 122s Preparing to unpack .../036-dh-autoreconf_21_all.deb ... 122s Unpacking dh-autoreconf (21) ... 122s Selecting previously unselected package libarchive-zip-perl. 122s Preparing to unpack .../037-libarchive-zip-perl_1.68-1_all.deb ... 122s Unpacking libarchive-zip-perl (1.68-1) ... 122s Selecting previously unselected package libfile-stripnondeterminism-perl. 122s Preparing to unpack .../038-libfile-stripnondeterminism-perl_1.15.0-1_all.deb ... 122s Unpacking libfile-stripnondeterminism-perl (1.15.0-1) ... 122s Selecting previously unselected package dh-strip-nondeterminism. 122s Preparing to unpack .../039-dh-strip-nondeterminism_1.15.0-1_all.deb ... 122s Unpacking dh-strip-nondeterminism (1.15.0-1) ... 122s Selecting previously unselected package debugedit. 122s Preparing to unpack .../040-debugedit_1%3a5.2-3_arm64.deb ... 122s Unpacking debugedit (1:5.2-3) ... 122s Selecting previously unselected package dwz. 122s Preparing to unpack .../041-dwz_0.16-2_arm64.deb ... 122s Unpacking dwz (0.16-2) ... 122s Selecting previously unselected package gettext. 122s Preparing to unpack .../042-gettext_0.23.2-1_arm64.deb ... 122s Unpacking gettext (0.23.2-1) ... 123s Selecting previously unselected package intltool-debian. 123s Preparing to unpack .../043-intltool-debian_0.35.0+20060710.6_all.deb ... 123s Unpacking intltool-debian (0.35.0+20060710.6) ... 123s Selecting previously unselected package po-debconf. 123s Preparing to unpack .../044-po-debconf_1.0.21+nmu1_all.deb ... 123s Unpacking po-debconf (1.0.21+nmu1) ... 123s Selecting previously unselected package debhelper. 123s Preparing to unpack .../045-debhelper_13.24.2ubuntu1_all.deb ... 123s Unpacking debhelper (13.24.2ubuntu1) ... 123s Selecting previously unselected package dh-python. 123s Preparing to unpack .../046-dh-python_6.20250414_all.deb ... 123s Unpacking dh-python (6.20250414) ... 123s Selecting previously unselected package sgml-base. 123s Preparing to unpack .../047-sgml-base_1.31+nmu1_all.deb ... 123s Unpacking sgml-base (1.31+nmu1) ... 123s Selecting previously unselected package xml-core. 123s Preparing to unpack .../048-xml-core_0.19_all.deb ... 123s Unpacking xml-core (0.19) ... 123s Selecting previously unselected package docutils-common. 123s Preparing to unpack .../049-docutils-common_0.21.2+dfsg-2_all.deb ... 123s Unpacking docutils-common (0.21.2+dfsg-2) ... 123s Selecting previously unselected package fonts-font-awesome. 123s Preparing to unpack .../050-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ... 123s Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 123s Selecting previously unselected package python3-accessible-pygments. 123s Preparing to unpack .../051-python3-accessible-pygments_0.0.5-2_all.deb ... 123s Unpacking python3-accessible-pygments (0.0.5-2) ... 123s Selecting previously unselected package python3-soupsieve. 123s Preparing to unpack .../052-python3-soupsieve_2.7-2_all.deb ... 123s Unpacking python3-soupsieve (2.7-2) ... 123s Selecting previously unselected package python3-bs4. 123s Preparing to unpack .../053-python3-bs4_4.13.4-3_all.deb ... 123s Unpacking python3-bs4 (4.13.4-3) ... 123s Selecting previously unselected package python3-defusedxml. 123s Preparing to unpack .../054-python3-defusedxml_0.7.1-3_all.deb ... 123s Unpacking python3-defusedxml (0.7.1-3) ... 123s Selecting previously unselected package libjs-jquery. 123s Preparing to unpack .../055-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 123s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 123s Selecting previously unselected package libjs-underscore. 123s Preparing to unpack .../056-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 123s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 123s Selecting previously unselected package libjs-sphinxdoc. 123s Preparing to unpack .../057-libjs-sphinxdoc_8.2.3-1ubuntu2_all.deb ... 123s Unpacking libjs-sphinxdoc (8.2.3-1ubuntu2) ... 123s Selecting previously unselected package libjson-perl. 123s Preparing to unpack .../058-libjson-perl_4.10000-1_all.deb ... 123s Unpacking libjson-perl (4.10000-1) ... 123s Selecting previously unselected package sphinx-common. 123s Preparing to unpack .../059-sphinx-common_8.2.3-1ubuntu2_all.deb ... 123s Unpacking sphinx-common (8.2.3-1ubuntu2) ... 123s Selecting previously unselected package python3-alabaster. 123s Preparing to unpack .../060-python3-alabaster_0.7.16-0.1_all.deb ... 123s Unpacking python3-alabaster (0.7.16-0.1) ... 123s Selecting previously unselected package python3-roman. 123s Preparing to unpack .../061-python3-roman_5.1-1_all.deb ... 123s Unpacking python3-roman (5.1-1) ... 123s Selecting previously unselected package python3-docutils. 123s Preparing to unpack .../062-python3-docutils_0.21.2+dfsg-2_all.deb ... 123s Unpacking python3-docutils (0.21.2+dfsg-2) ... 123s Selecting previously unselected package python3-imagesize. 123s Preparing to unpack .../063-python3-imagesize_1.4.1-1_all.deb ... 123s Unpacking python3-imagesize (1.4.1-1) ... 123s Selecting previously unselected package python3-snowballstemmer. 124s Preparing to unpack .../064-python3-snowballstemmer_3.0.1-1_all.deb ... 124s Unpacking python3-snowballstemmer (3.0.1-1) ... 124s Selecting previously unselected package python3-sphinx. 124s Preparing to unpack .../065-python3-sphinx_8.2.3-1ubuntu2_all.deb ... 124s Unpacking python3-sphinx (8.2.3-1ubuntu2) ... 124s Selecting previously unselected package sphinx-basic-ng. 124s Preparing to unpack .../066-sphinx-basic-ng_1.0.0~beta2-1_all.deb ... 124s Unpacking sphinx-basic-ng (1.0.0~beta2-1) ... 124s Selecting previously unselected package furo. 124s Preparing to unpack .../067-furo_2025.09.25+dfsg-2_all.deb ... 124s Unpacking furo (2025.09.25+dfsg-2) ... 124s Selecting previously unselected package libjs-jquery-metadata. 124s Preparing to unpack .../068-libjs-jquery-metadata_12-4_all.deb ... 124s Unpacking libjs-jquery-metadata (12-4) ... 124s Selecting previously unselected package libjs-jquery-tablesorter. 124s Preparing to unpack .../069-libjs-jquery-tablesorter_1%3a2.31.3+dfsg1-4_all.deb ... 124s Unpacking libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... 124s Selecting previously unselected package libjs-jquery-throttle-debounce. 124s Preparing to unpack .../070-libjs-jquery-throttle-debounce_1.1+dfsg.1-2_all.deb ... 124s Unpacking libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 124s Selecting previously unselected package pybuild-plugin-autopkgtest. 124s Preparing to unpack .../071-pybuild-plugin-autopkgtest_6.20250414_all.deb ... 124s Unpacking pybuild-plugin-autopkgtest (6.20250414) ... 124s Selecting previously unselected package python3-pyproject-hooks. 124s Preparing to unpack .../072-python3-pyproject-hooks_1.2.0-1_all.deb ... 124s Unpacking python3-pyproject-hooks (1.2.0-1) ... 124s Selecting previously unselected package python3-wheel. 124s Preparing to unpack .../073-python3-wheel_0.46.1-2_all.deb ... 124s Unpacking python3-wheel (0.46.1-2) ... 124s Selecting previously unselected package python3-build. 124s Preparing to unpack .../074-python3-build_1.2.2-4_all.deb ... 124s Unpacking python3-build (1.2.2-4) ... 124s Selecting previously unselected package python3-installer. 124s Preparing to unpack .../075-python3-installer_0.7.0+dfsg1-3_all.deb ... 124s Unpacking python3-installer (0.7.0+dfsg1-3) ... 124s Selecting previously unselected package pybuild-plugin-pyproject. 124s Preparing to unpack .../076-pybuild-plugin-pyproject_6.20250414_all.deb ... 124s Unpacking pybuild-plugin-pyproject (6.20250414) ... 124s Selecting previously unselected package python3-aiooui. 124s Preparing to unpack .../077-python3-aiooui_0.1.9-1_all.deb ... 124s Unpacking python3-aiooui (0.1.9-1) ... 124s Selecting previously unselected package python3-all. 124s Preparing to unpack .../078-python3-all_3.13.7-1_arm64.deb ... 124s Unpacking python3-all (3.13.7-1) ... 124s Selecting previously unselected package python3-async-generator. 124s Preparing to unpack .../079-python3-async-generator_1.10-7_all.deb ... 124s Unpacking python3-async-generator (1.10-7) ... 124s Selecting previously unselected package python3-async-interrupt. 124s Preparing to unpack .../080-python3-async-interrupt_1.2.2-1_all.deb ... 124s Unpacking python3-async-interrupt (1.2.2-1) ... 124s Selecting previously unselected package python3-dbus-fast. 124s Preparing to unpack .../081-python3-dbus-fast_2.45.1-1_arm64.deb ... 124s Unpacking python3-dbus-fast (2.45.1-1) ... 124s Selecting previously unselected package python3-bleak. 124s Preparing to unpack .../082-python3-bleak_1.1.1-1_all.deb ... 124s Unpacking python3-bleak (1.1.1-1) ... 124s Selecting previously unselected package python3-uart-devices. 124s Preparing to unpack .../083-python3-uart-devices_0.1.1-1_all.deb ... 124s Unpacking python3-uart-devices (0.1.1-1) ... 124s Selecting previously unselected package python3-usb-devices. 124s Preparing to unpack .../084-python3-usb-devices_0.4.5-2_all.deb ... 124s Unpacking python3-usb-devices (0.4.5-2) ... 124s Selecting previously unselected package python3-bluetooth-adapters. 124s Preparing to unpack .../085-python3-bluetooth-adapters_2.1.1-1_all.deb ... 124s Unpacking python3-bluetooth-adapters (2.1.1-1) ... 124s Selecting previously unselected package python3-bleak-retry-connector. 124s Preparing to unpack .../086-python3-bleak-retry-connector_4.4.4-1_all.deb ... 124s Unpacking python3-bleak-retry-connector (4.4.4-1) ... 124s Selecting previously unselected package python3-btsocket. 124s Preparing to unpack .../087-python3-btsocket_0.3.0-1_all.deb ... 124s Unpacking python3-btsocket (0.3.0-1) ... 124s Selecting previously unselected package python3-pyric. 124s Preparing to unpack .../088-python3-pyric_0.1.6.4+git20170421.0562b17-1_all.deb ... 124s Unpacking python3-pyric (0.1.6.4+git20170421.0562b17-1) ... 124s Selecting previously unselected package sphinx-rtd-theme-common. 125s Preparing to unpack .../089-sphinx-rtd-theme-common_3.0.2+dfsg-3_all.deb ... 125s Unpacking sphinx-rtd-theme-common (3.0.2+dfsg-3) ... 125s Selecting previously unselected package python3-bluetooth-auto-recovery. 125s Preparing to unpack .../090-python3-bluetooth-auto-recovery_1.5.3-1_all.deb ... 125s Unpacking python3-bluetooth-auto-recovery (1.5.3-1) ... 125s Selecting previously unselected package python3-bluetooth-data-tools. 125s Preparing to unpack .../091-python3-bluetooth-data-tools_1.28.4-1_arm64.deb ... 125s Unpacking python3-bluetooth-data-tools (1.28.4-1) ... 125s Selecting previously unselected package python3-coverage. 125s Preparing to unpack .../092-python3-coverage_7.8.2+dfsg1-1_arm64.deb ... 125s Unpacking python3-coverage (7.8.2+dfsg1-1) ... 125s Selecting previously unselected package python3-freezegun. 125s Preparing to unpack .../093-python3-freezegun_1.5.1-1.2_all.deb ... 125s Unpacking python3-freezegun (1.5.1-1.2) ... 125s Selecting previously unselected package python3-habluetooth. 125s Preparing to unpack .../094-python3-habluetooth_5.7.0-1_arm64.deb ... 125s Unpacking python3-habluetooth (5.7.0-1) ... 125s Selecting previously unselected package python3-iniconfig. 125s Preparing to unpack .../095-python3-iniconfig_2.1.0-1_all.deb ... 125s Unpacking python3-iniconfig (2.1.0-1) ... 125s Selecting previously unselected package python3-mdit-py-plugins. 125s Preparing to unpack .../096-python3-mdit-py-plugins_0.5.0-1_all.deb ... 125s Unpacking python3-mdit-py-plugins (0.5.0-1) ... 125s Selecting previously unselected package python3-myst-parser. 125s Preparing to unpack .../097-python3-myst-parser_4.0.1-1_all.deb ... 125s Unpacking python3-myst-parser (4.0.1-1) ... 125s Selecting previously unselected package python3-pluggy. 125s Preparing to unpack .../098-python3-pluggy_1.6.0-1_all.deb ... 125s Unpacking python3-pluggy (1.6.0-1) ... 125s Selecting previously unselected package python3-poetry-core. 125s Preparing to unpack .../099-python3-poetry-core_2.2.1-2_all.deb ... 125s Unpacking python3-poetry-core (2.2.1-2) ... 125s Selecting previously unselected package python3-pytest. 125s Preparing to unpack .../100-python3-pytest_8.3.5-2_all.deb ... 125s Unpacking python3-pytest (8.3.5-2) ... 125s Selecting previously unselected package python3-pytest-asyncio. 125s Preparing to unpack .../101-python3-pytest-asyncio_0.25.1-1_all.deb ... 125s Unpacking python3-pytest-asyncio (0.25.1-1) ... 125s Selecting previously unselected package libjs-jquery-hotkeys. 125s Preparing to unpack .../102-libjs-jquery-hotkeys_0.2.0-1_all.deb ... 125s Unpacking libjs-jquery-hotkeys (0.2.0-1) ... 125s Selecting previously unselected package libjs-jquery-isonscreen. 125s Preparing to unpack .../103-libjs-jquery-isonscreen_1.2.0-1.1_all.deb ... 125s Unpacking libjs-jquery-isonscreen (1.2.0-1.1) ... 125s Selecting previously unselected package python3-pytest-cov. 125s Preparing to unpack .../104-python3-pytest-cov_5.0.0-1_all.deb ... 125s Unpacking python3-pytest-cov (5.0.0-1) ... 125s Setting up dh-python (6.20250414) ... 125s Setting up python3-pyric (0.1.6.4+git20170421.0562b17-1) ... 125s Setting up python3-iniconfig (2.1.0-1) ... 126s Setting up python3-aiooui (0.1.9-1) ... 126s Setting up python3-uart-devices (0.1.1-1) ... 126s Setting up fonts-lato (2.015-1) ... 126s Setting up python3-usb-devices (0.4.5-2) ... 126s Setting up python3-async-generator (1.10-7) ... 126s Setting up python3-bluetooth-data-tools (1.28.4-1) ... 126s Setting up python3-defusedxml (0.7.1-3) ... 126s Setting up libarchive-zip-perl (1.68-1) ... 126s Setting up python3-alabaster (0.7.16-0.1) ... 126s Setting up libdebhelper-perl (13.24.2ubuntu1) ... 126s Setting up python3-mdit-py-plugins (0.5.0-1) ... 127s Setting up m4 (1.4.20-2) ... 127s Setting up python3-all (3.13.7-1) ... 127s Setting up python3-coverage (7.8.2+dfsg1-1) ... 127s Setting up libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 127s Setting up libgomp1:arm64 (15.2.0-7ubuntu1) ... 127s Setting up python3-wheel (0.46.1-2) ... 127s Setting up python3-btsocket (0.3.0-1) ... 127s Setting up libasound2-data (1.2.14-2ubuntu1) ... 127s Setting up python3-roman (5.1-1) ... 127s Setting up autotools-dev (20240727.1) ... 127s Setting up libasound2t64:arm64 (1.2.14-2ubuntu1) ... 127s Setting up python3-pyproject-hooks (1.2.0-1) ... 127s Setting up python3-accessible-pygments (0.0.5-2) ... 127s Setting up python3-snowballstemmer (3.0.1-1) ... 128s Setting up python3-poetry-core (2.2.1-2) ... 128s Setting up libmpc3:arm64 (1.3.1-2) ... 128s Setting up autopoint (0.23.2-1) ... 128s Setting up python3-installer (0.7.0+dfsg1-3) ... 128s Setting up autoconf (2.72-3.1ubuntu1) ... 128s Setting up python3-pluggy (1.6.0-1) ... 128s Setting up python3-async-interrupt (1.2.2-1) ... 128s Setting up libubsan1:arm64 (15.2.0-7ubuntu1) ... 128s Setting up dwz (0.16-2) ... 128s Setting up libhwasan0:arm64 (15.2.0-7ubuntu1) ... 128s Setting up libasan8:arm64 (15.2.0-7ubuntu1) ... 128s Setting up libjson-perl (4.10000-1) ... 128s Setting up debugedit (1:5.2-3) ... 128s Setting up sgml-base (1.31+nmu1) ... 128s Setting up libtsan2:arm64 (15.2.0-7ubuntu1) ... 128s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 128s Setting up libjs-jquery-hotkeys (0.2.0-1) ... 128s Setting up libisl23:arm64 (0.27-1) ... 128s Setting up python3-build (1.2.2-4) ... 129s Setting up python3-soupsieve (2.7-2) ... 129s Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 129s Setting up sphinx-rtd-theme-common (3.0.2+dfsg-3) ... 129s Setting up libcc1-0:arm64 (15.2.0-7ubuntu1) ... 129s Setting up python3-freezegun (1.5.1-1.2) ... 129s Setting up liblsan0:arm64 (15.2.0-7ubuntu1) ... 129s Setting up libitm1:arm64 (15.2.0-7ubuntu1) ... 129s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 129s Setting up python3-imagesize (1.4.1-1) ... 129s Setting up automake (1:1.18.1-2) ... 129s update-alternatives: using /usr/bin/automake-1.18 to provide /usr/bin/automake (automake) in auto mode 129s Setting up libfile-stripnondeterminism-perl (1.15.0-1) ... 129s Setting up cpp-15-aarch64-linux-gnu (15.2.0-7ubuntu1) ... 129s Setting up gettext (0.23.2-1) ... 129s Setting up libgcc-15-dev:arm64 (15.2.0-7ubuntu1) ... 129s Setting up pybuild-plugin-pyproject (6.20250414) ... 129s Setting up python3-pytest (8.3.5-2) ... 129s Setting up python3-bs4 (4.13.4-3) ... 129s Setting up intltool-debian (0.35.0+20060710.6) ... 129s Setting up bluez (5.84-1) ... 130s Created symlink '/etc/systemd/user/default.target.wants/mpris-proxy.service' → '/usr/lib/systemd/user/mpris-proxy.service'. 130s Created symlink '/etc/systemd/system/dbus-org.bluez.service' → '/usr/lib/systemd/system/bluetooth.service'. 130s Created symlink '/etc/systemd/system/bluetooth.target.wants/bluetooth.service' → '/usr/lib/systemd/system/bluetooth.service'. 130s Setting up cpp-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 130s Setting up libstdc++-15-dev:arm64 (15.2.0-7ubuntu1) ... 130s Setting up libjs-jquery-metadata (12-4) ... 130s Setting up libjs-jquery-isonscreen (1.2.0-1.1) ... 130s Setting up libjs-sphinxdoc (8.2.3-1ubuntu2) ... 130s Setting up python3-pytest-asyncio (0.25.1-1) ... 131s Setting up dh-strip-nondeterminism (1.15.0-1) ... 131s Setting up libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... 131s Setting up cpp-15 (15.2.0-7ubuntu1) ... 131s Setting up cpp (4:15.2.0-4ubuntu1) ... 131s Setting up xml-core (0.19) ... 131s Setting up gcc-15-aarch64-linux-gnu (15.2.0-7ubuntu1) ... 131s Setting up python3-dbus-fast (2.45.1-1) ... 131s Setting up po-debconf (1.0.21+nmu1) ... 131s Setting up python3-pytest-cov (5.0.0-1) ... 131s Setting up gcc-15 (15.2.0-7ubuntu1) ... 131s Setting up g++-15-aarch64-linux-gnu (15.2.0-7ubuntu1) ... 131s Setting up sphinx-common (8.2.3-1ubuntu2) ... 131s Setting up g++-15 (15.2.0-7ubuntu1) ... 131s Setting up gcc-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 131s Setting up python3-bleak (1.1.1-1) ... 131s Setting up python3-bluetooth-adapters (2.1.1-1) ... 131s Setting up libtool (2.5.4-7) ... 131s Setting up python3-bleak-retry-connector (4.4.4-1) ... 131s Setting up gcc (4:15.2.0-4ubuntu1) ... 132s Setting up dh-autoreconf (21) ... 132s Setting up python3-bluetooth-auto-recovery (1.5.3-1) ... 132s Setting up python3-habluetooth (5.7.0-1) ... 132s Setting up g++-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 132s Setting up debhelper (13.24.2ubuntu1) ... 132s Setting up g++ (4:15.2.0-4ubuntu1) ... 132s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 132s Setting up build-essential (12.12ubuntu1) ... 132s Setting up pybuild-plugin-autopkgtest (6.20250414) ... 132s Processing triggers for install-info (7.2-5) ... 132s Processing triggers for libc-bin (2.42-2ubuntu2) ... 132s Processing triggers for man-db (2.13.1-1) ... 134s Processing triggers for dbus (1.16.2-2ubuntu2) ... 134s Processing triggers for sgml-base (1.31+nmu1) ... 134s Setting up docutils-common (0.21.2+dfsg-2) ... 134s Processing triggers for sgml-base (1.31+nmu1) ... 134s Setting up python3-docutils (0.21.2+dfsg-2) ... 135s Setting up python3-sphinx (8.2.3-1ubuntu2) ... 136s Setting up python3-myst-parser (4.0.1-1) ... 136s Setting up sphinx-basic-ng (1.0.0~beta2-1) ... 136s Setting up furo (2025.09.25+dfsg-2) ... 137s autopkgtest [17:16:08]: test pybuild-autopkgtest: pybuild-autopkgtest 137s autopkgtest [17:16:08]: test pybuild-autopkgtest: [----------------------- 138s pybuild-autopkgtest 138s I: pybuild base:311: cd /tmp/autopkgtest.oJw0fd/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" 138s ============================= test session starts ============================== 138s platform linux -- Python 3.13.9, pytest-8.3.5, pluggy-1.6.0 -- /usr/bin/python3.13 138s cachedir: .pytest_cache 138s rootdir: /tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build 138s configfile: pyproject.toml 138s plugins: cov-5.0.0, typeguard-4.4.2, asyncio-0.25.1 138s asyncio: mode=Mode.STRICT, asyncio_default_fixture_loop_scope=None 138s collecting ... /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:207: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset. 138s 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" 138s 138s warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET)) 138s collected 188 items / 1 deselected / 187 selected 138s 138s tests/channels/test_bluez.py::test_connection_made 138s -------------------------------- live log setup -------------------------------- 138s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 138s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 138s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 138s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 139s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 139s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 139s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 139s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 139s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 139s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 139s PASSED [ 0%] 139s ------------------------------ live log teardown ------------------------------- 139s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s 139s tests/channels/test_bluez.py::test_connection_lost 139s -------------------------------- live log setup -------------------------------- 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 139s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 139s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 139s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 139s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 139s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 139s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 139s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 139s -------------------------------- live log call --------------------------------- 139s WARNING habluetooth.channels.bluez:bluez.py:276 Bluetooth management socket connection lost: Test error 139s PASSED [ 1%] 139s ------------------------------ live log teardown ------------------------------- 139s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s 139s tests/channels/test_bluez.py::test_connection_lost_no_exception 139s -------------------------------- live log setup -------------------------------- 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 139s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 139s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 139s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 139s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 139s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 139s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 139s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 139s -------------------------------- live log call --------------------------------- 139s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 139s PASSED [ 1%] 139s ------------------------------ live log teardown ------------------------------- 139s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s 139s tests/channels/test_bluez.py::test_data_received_device_found 139s -------------------------------- live log setup -------------------------------- 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 139s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 139s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 139s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 139s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 139s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 139s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 139s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 139s PASSED [ 2%] 139s ------------------------------ live log teardown ------------------------------- 139s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s 139s tests/channels/test_bluez.py::test_data_received_adv_monitor_device_found 139s -------------------------------- live log setup -------------------------------- 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 139s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 139s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 139s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 139s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 139s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 139s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 139s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 139s PASSED [ 2%] 139s ------------------------------ live log teardown ------------------------------- 139s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s 139s tests/channels/test_bluez.py::test_data_received_cmd_complete_success 139s -------------------------------- live log setup -------------------------------- 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 139s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 139s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 139s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 139s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 139s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 139s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 139s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 139s -------------------------------- live log call --------------------------------- 139s DEBUG habluetooth.channels.bluez:bluez.py:266 hci0: Connection parameters loaded successfully 139s PASSED [ 3%] 139s ------------------------------ live log teardown ------------------------------- 139s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s 139s tests/channels/test_bluez.py::test_data_received_cmd_complete_failure 139s -------------------------------- live log setup -------------------------------- 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 139s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 139s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 139s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 139s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 139s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 139s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 139s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 139s -------------------------------- live log call --------------------------------- 139s WARNING habluetooth.channels.bluez:bluez.py:260 hci1: Failed to load conn params: status=12 139s PASSED [ 3%] 139s ------------------------------ live log teardown ------------------------------- 139s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s 139s tests/channels/test_bluez.py::test_data_received_cmd_status 139s -------------------------------- live log setup -------------------------------- 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 139s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 139s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 139s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 139s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 139s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 139s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 139s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 139s -------------------------------- live log call --------------------------------- 139s WARNING habluetooth.channels.bluez:bluez.py:260 hci0: Failed to load conn params: status=1 139s PASSED [ 4%] 139s ------------------------------ live log teardown ------------------------------- 139s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s 139s tests/channels/test_bluez.py::test_data_received_partial_data 139s -------------------------------- live log setup -------------------------------- 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 139s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 139s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 139s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 139s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 139s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 139s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 139s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 139s PASSED [ 4%] 139s ------------------------------ live log teardown ------------------------------- 139s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s 139s tests/channels/test_bluez.py::test_data_received_partial_data_split_in_params 139s -------------------------------- live log setup -------------------------------- 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 139s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 139s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 139s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 139s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 139s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 139s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 139s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 139s PASSED [ 5%] 139s ------------------------------ live log teardown ------------------------------- 139s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s 139s tests/channels/test_bluez.py::test_data_received_multiple_small_chunks 139s -------------------------------- live log setup -------------------------------- 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 139s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 139s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 139s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 139s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 139s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 139s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 139s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 139s PASSED [ 5%] 139s ------------------------------ live log teardown ------------------------------- 139s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s 139s tests/channels/test_bluez.py::test_data_received_multiple_events_in_one_chunk 139s -------------------------------- live log setup -------------------------------- 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 139s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 139s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 139s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 139s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 139s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 139s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 139s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 139s -------------------------------- live log call --------------------------------- 139s DEBUG habluetooth.channels.bluez:bluez.py:266 hci0: Connection parameters loaded successfully 139s PASSED [ 6%] 139s ------------------------------ live log teardown ------------------------------- 139s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s 139s tests/channels/test_bluez.py::test_data_received_partial_then_multiple_events 139s -------------------------------- live log setup -------------------------------- 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 139s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 139s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 139s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 139s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 139s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 139s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 139s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 139s PASSED [ 6%] 139s ------------------------------ live log teardown ------------------------------- 139s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s 139s tests/channels/test_bluez.py::test_data_received_cmd_complete_different_opcode 139s -------------------------------- live log setup -------------------------------- 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 139s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 139s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 139s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 139s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 139s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 139s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 139s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 139s PASSED [ 7%] 139s ------------------------------ live log teardown ------------------------------- 139s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s 139s tests/channels/test_bluez.py::test_data_received_cmd_status_different_opcode 139s -------------------------------- live log setup -------------------------------- 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 139s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 139s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 139s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 139s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 139s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 139s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 139s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 139s PASSED [ 8%] 139s ------------------------------ live log teardown ------------------------------- 139s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s 139s tests/channels/test_bluez.py::test_data_received_cmd_complete_short_params 139s -------------------------------- live log setup -------------------------------- 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 139s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 139s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 139s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 139s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 139s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 139s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 139s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 139s PASSED [ 8%] 139s ------------------------------ live log teardown ------------------------------- 139s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s 139s tests/channels/test_bluez.py::test_data_received_cmd_status_param_len_1 139s -------------------------------- live log setup -------------------------------- 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 139s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 139s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 139s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 139s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 139s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 139s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 139s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 139s PASSED [ 9%] 139s ------------------------------ live log teardown ------------------------------- 139s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s 139s tests/channels/test_bluez.py::test_data_received_cmd_complete_param_len_0 139s -------------------------------- live log setup -------------------------------- 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 139s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 139s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 139s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 139s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 139s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 139s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 139s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 139s PASSED [ 9%] 139s ------------------------------ live log teardown ------------------------------- 139s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s 139s tests/channels/test_bluez.py::test_data_received_unknown_event 139s -------------------------------- live log setup -------------------------------- 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 139s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 139s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 139s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 139s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 139s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 139s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 139s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 139s PASSED [ 10%] 139s ------------------------------ live log teardown ------------------------------- 139s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s 139s tests/channels/test_bluez.py::test_data_received_no_scanner_for_controller 139s -------------------------------- live log setup -------------------------------- 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 139s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 139s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 139s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 139s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 139s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 139s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 139s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 139s PASSED [ 10%] 139s ------------------------------ live log teardown ------------------------------- 139s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s 139s tests/channels/test_bluez.py::test_setup_success 139s -------------------------------- live log setup -------------------------------- 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 139s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 139s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 139s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 139s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 139s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 139s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 139s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 139s -------------------------------- live log call --------------------------------- 139s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 139s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 139s PASSED [ 11%] 139s ------------------------------ live log teardown ------------------------------- 139s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s 139s tests/channels/test_bluez.py::test_setup_timeout 139s -------------------------------- live log setup -------------------------------- 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 139s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 139s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 139s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 139s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 139s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 139s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 139s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 139s -------------------------------- live log call --------------------------------- 139s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 139s PASSED [ 11%] 139s ------------------------------ live log teardown ------------------------------- 139s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s 139s tests/channels/test_bluez.py::test_load_conn_params_fast 139s -------------------------------- live log setup -------------------------------- 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 139s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 139s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 139s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 139s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 139s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 139s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 139s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 139s -------------------------------- live log call --------------------------------- 139s DEBUG habluetooth.channels.bluez:bluez.py:533 Loaded conn params for AA:BB:CC:DD:EE:FF: interval=6-6, latency=0, timeout=1000 139s PASSED [ 12%] 139s ------------------------------ live log teardown ------------------------------- 139s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s 139s tests/channels/test_bluez.py::test_load_conn_params_medium 139s -------------------------------- live log setup -------------------------------- 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 139s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 139s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 139s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 139s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 139s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 139s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 139s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 139s -------------------------------- live log call --------------------------------- 139s DEBUG habluetooth.channels.bluez:bluez.py:533 Loaded conn params for 11:22:33:44:55:66: interval=7-9, latency=0, timeout=800 139s PASSED [ 12%] 139s ------------------------------ live log teardown ------------------------------- 139s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s 139s tests/channels/test_bluez.py::test_load_conn_params_no_protocol 139s -------------------------------- live log setup -------------------------------- 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 139s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 139s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 139s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 139s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 139s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 139s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 139s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 139s -------------------------------- live log call --------------------------------- 139s ERROR habluetooth.channels.bluez:bluez.py:476 Cannot load conn params: no connection 139s PASSED [ 13%] 139s ------------------------------ live log teardown ------------------------------- 139s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s 139s tests/channels/test_bluez.py::test_load_conn_params_invalid_address 139s -------------------------------- live log setup -------------------------------- 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 139s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 139s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 139s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 139s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 139s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 139s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 139s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 139s -------------------------------- live log call --------------------------------- 139s ERROR habluetooth.channels.bluez:bluez.py:482 Invalid MAC address: AA:BB 139s PASSED [ 13%] 139s ------------------------------ live log teardown ------------------------------- 139s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s 139s tests/channels/test_bluez.py::test_load_conn_params_transport_error 139s -------------------------------- live log setup -------------------------------- 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 139s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 139s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 139s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 139s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 139s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 139s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 139s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 139s -------------------------------- live log call --------------------------------- 139s ERROR habluetooth.channels.bluez:bluez.py:543 Failed to load conn params 139s Traceback (most recent call last): 139s File "/usr/lib/python3/dist-packages/habluetooth/channels/bluez.py", line 532, in load_conn_params 139s self.protocol._write_to_socket(header + cmd_data) 139s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ 139s File "/usr/lib/python3.13/unittest/mock.py", line 1169, in __call__ 139s return self._mock_call(*args, **kwargs) 139s ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 139s File "/usr/lib/python3.13/unittest/mock.py", line 1173, in _mock_call 139s return self._execute_mock_call(*args, **kwargs) 139s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ 139s File "/usr/lib/python3.13/unittest/mock.py", line 1228, in _execute_mock_call 139s raise effect 139s Exception: Transport error 139s PASSED [ 14%] 139s ------------------------------ live log teardown ------------------------------- 139s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s 139s tests/channels/test_bluez.py::test_kernel_bug_workaround_send_returns_zero 139s -------------------------------- live log setup -------------------------------- 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 139s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 139s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 139s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 139s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 139s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 139s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 139s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 139s -------------------------------- live log call --------------------------------- 139s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 139s PASSED [ 14%] 139s ------------------------------ live log teardown ------------------------------- 139s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s 139s tests/channels/test_bluez.py::test_kernel_bug_workaround_send_raises_exception 139s -------------------------------- live log setup -------------------------------- 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 139s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 139s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 139s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 139s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 139s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 139s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 139s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 139s -------------------------------- live log call --------------------------------- 139s ERROR habluetooth.channels.bluez:bluez.py:117 Failed to write to mgmt socket: Socket error 139s PASSED [ 15%] 139s ------------------------------ live log teardown ------------------------------- 139s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s 139s tests/channels/test_bluez.py::test_close 139s -------------------------------- live log setup -------------------------------- 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 139s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 139s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 139s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 139s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 139s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 139s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 139s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 139s PASSED [ 16%] 139s ------------------------------ live log teardown ------------------------------- 139s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s 139s tests/channels/test_bluez.py::test_close_no_protocol 139s -------------------------------- live log setup -------------------------------- 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 139s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 139s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 139s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 139s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 139s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 139s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 139s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 139s PASSED [ 16%] 139s ------------------------------ live log teardown ------------------------------- 139s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s 139s tests/channels/test_bluez.py::test_on_connection_lost 139s -------------------------------- live log setup -------------------------------- 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 139s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 139s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 139s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 139s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 139s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 139s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 139s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 139s -------------------------------- live log call --------------------------------- 139s DEBUG habluetooth.channels.bluez:bluez.py:312 Bluetooth management socket connection lost, reconnecting 139s PASSED [ 17%] 139s ------------------------------ live log teardown ------------------------------- 139s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s 139s tests/channels/test_bluez.py::test_on_connection_lost_during_shutdown 139s -------------------------------- live log setup -------------------------------- 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 139s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 139s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 139s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 139s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 139s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 139s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 139s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 139s -------------------------------- live log call --------------------------------- 139s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 139s PASSED [ 17%] 139s ------------------------------ live log teardown ------------------------------- 139s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s 139s tests/channels/test_bluez.py::test_reconnect_task 139s -------------------------------- live log setup -------------------------------- 139s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 139s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 139s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 139s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 139s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 139s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 139s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 139s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 139s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 139s -------------------------------- live log call --------------------------------- 139s DEBUG habluetooth.channels.bluez:bluez.py:323 Reconnecting to Bluetooth management socket 139s DEBUG habluetooth.channels.bluez:bluez.py:312 Bluetooth management socket connection lost, reconnecting 139s DEBUG habluetooth.channels.bluez:bluez.py:323 Reconnecting to Bluetooth management socket 139s DEBUG habluetooth.channels.bluez:bluez.py:327 Bluetooth management socket connection timed out 140s DEBUG habluetooth.channels.bluez:bluez.py:323 Reconnecting to Bluetooth management socket 140s PASSED [ 18%] 140s ------------------------------ live log teardown ------------------------------- 140s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 140s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 140s 140s tests/channels/test_bluez.py::test_reconnect_task_timeout 140s -------------------------------- live log setup -------------------------------- 140s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 140s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 140s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 140s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 140s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 140s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 140s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 140s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 140s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 140s -------------------------------- live log call --------------------------------- 140s DEBUG habluetooth.channels.bluez:bluez.py:323 Reconnecting to Bluetooth management socket 140s DEBUG habluetooth.channels.bluez:bluez.py:327 Bluetooth management socket connection timed out 140s PASSED [ 18%] 140s ------------------------------ live log teardown ------------------------------- 140s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 140s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 140s 140s tests/channels/test_bluez.py::test_reconnect_task_shutdown 140s -------------------------------- live log setup -------------------------------- 140s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 140s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 140s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 140s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 140s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 140s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 140s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 140s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 140s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 140s PASSED [ 19%] 140s ------------------------------ live log teardown ------------------------------- 140s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 140s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 140s 140s tests/channels/test_bluez.py::test_command_response_context_manager 140s -------------------------------- live log setup -------------------------------- 140s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 140s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 140s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 140s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 140s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 140s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 140s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 140s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 140s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 140s PASSED [ 19%] 140s ------------------------------ live log teardown ------------------------------- 140s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 140s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 140s 140s tests/channels/test_bluez.py::test_command_response_cleanup_on_exception 140s -------------------------------- live log setup -------------------------------- 140s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 140s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 140s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 140s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 140s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 140s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s PASSED [ 20%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/channels/test_bluez.py::test_get_connections_response_handling 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s PASSED [ 20%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/channels/test_bluez.py::test_get_connections_response_with_data 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s PASSED [ 21%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/channels/test_bluez.py::test_has_mgmt_capabilities_from_status 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s -------------------------------- live log call --------------------------------- 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s DEBUG habluetooth.channels.bluez:bluez.py:384 MGMT capability check passed (status: 0x0) 141s DEBUG habluetooth.channels.bluez:bluez.py:384 MGMT capability check passed (status: 0x11) 141s DEBUG habluetooth.channels.bluez:bluez.py:387 MGMT capability check returned unexpected status 0xff - assuming missing permissions 141s DEBUG habluetooth.channels.bluez:bluez.py:387 MGMT capability check returned unexpected status 0x1 - assuming missing permissions 141s DEBUG habluetooth.channels.bluez:bluez.py:387 MGMT capability check returned unexpected status 0xd - assuming missing permissions 141s PASSED [ 21%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/channels/test_bluez.py::test_check_capabilities_success 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s -------------------------------- live log call --------------------------------- 141s DEBUG habluetooth.channels.bluez:bluez.py:384 MGMT capability check passed (status: 0x0) 141s PASSED [ 22%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/channels/test_bluez.py::test_check_capabilities_permission_denied 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s -------------------------------- live log call --------------------------------- 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s PASSED [ 22%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/channels/test_bluez.py::test_check_capabilities_invalid_index 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s -------------------------------- live log call --------------------------------- 141s DEBUG habluetooth.channels.bluez:bluez.py:384 MGMT capability check passed (status: 0x11) 141s PASSED [ 23%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/channels/test_bluez.py::test_check_capabilities_unknown_status 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s -------------------------------- live log call --------------------------------- 141s DEBUG habluetooth.channels.bluez:bluez.py:387 MGMT capability check returned unexpected status 0xff - assuming missing permissions 141s PASSED [ 24%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/channels/test_bluez.py::test_check_capabilities_timeout 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s -------------------------------- live log call --------------------------------- 141s DEBUG habluetooth.channels.bluez:bluez.py:414 MGMT capability check failed: Test timeout - likely missing NET_ADMIN/NET_RAW 141s PASSED [ 24%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/channels/test_bluez.py::test_check_capabilities_no_protocol 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s PASSED [ 25%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/channels/test_bluez.py::test_check_capabilities_no_transport 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s PASSED [ 25%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/channels/test_bluez.py::test_setup_with_failed_capabilities 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s PASSED [ 26%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_advertisement_tracker.py::test_scanner_paused_clears_timing_data 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s PASSED [ 26%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_advertisement_tracker.py::test_scanner_paused_only_affects_matching_source 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s PASSED [ 27%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_advertisement_tracker.py::test_connection_clears_timing_data 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s PASSED [ 27%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_base_scanner.py::test_remote_scanner[None] 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s -------------------------------- live log call --------------------------------- 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner esp32 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner esp32 141s PASSED [ 28%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_base_scanner.py::test_remote_scanner[w] 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s -------------------------------- live log call --------------------------------- 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner esp32 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner esp32 141s PASSED [ 28%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_base_scanner.py::test_remote_scanner_expires_connectable 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s -------------------------------- live log call --------------------------------- 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner esp32 141s DEBUG habluetooth.base_scanner:base_scanner.py:291 esp32: Scanner watchdog time_since_last_detection: 196.001121301 141s DEBUG habluetooth.base_scanner:base_scanner.py:306 esp32: Bluetooth scanner has gone quiet for 196.001121301s, check logs on the scanner device for more information 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner esp32 141s PASSED [ 29%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_base_scanner.py::test_remote_scanner_expires_non_connectable 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s -------------------------------- live log call --------------------------------- 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner esp32 141s DEBUG habluetooth.base_scanner:base_scanner.py:291 esp32: Scanner watchdog time_since_last_detection: 196.000219804 141s DEBUG habluetooth.base_scanner:base_scanner.py:306 esp32: Bluetooth scanner has gone quiet for 196.000219804s, check logs on the scanner device for more information 141s DEBUG habluetooth.base_scanner:base_scanner.py:291 esp32: Scanner watchdog time_since_last_detection: 901.0002198039999 141s DEBUG habluetooth.base_scanner:base_scanner.py:306 esp32: Bluetooth scanner has gone quiet for 901.0002198039999s, check logs on the scanner device for more information 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner esp32 141s PASSED [ 29%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_base_scanner.py::test_base_scanner_connecting_behavior 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s -------------------------------- live log call --------------------------------- 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner esp32 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner esp32 141s PASSED [ 30%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_base_scanner.py::test_scanner_stops_responding 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s -------------------------------- live log call --------------------------------- 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner esp32 141s DEBUG habluetooth.base_scanner:base_scanner.py:291 esp32: Scanner watchdog time_since_last_detection: 120.00119142300001 141s DEBUG habluetooth.base_scanner:base_scanner.py:306 esp32: Bluetooth scanner has gone quiet for 120.00119142300001s, check logs on the scanner device for more information 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner esp32 141s PASSED [ 31%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_base_scanner.py::test_merge_manufacturer_data_history_existing 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s -------------------------------- live log call --------------------------------- 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner esp32 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner esp32 141s PASSED [ 31%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_base_scanner.py::test_merge_manufacturer_data_history_new 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s -------------------------------- live log call --------------------------------- 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner esp32 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner esp32 141s PASSED [ 32%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_base_scanner.py::test_filter_apple_data 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s -------------------------------- live log call --------------------------------- 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner esp32 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner esp32 141s PASSED [ 32%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_base_scanner.py::test_connection_history_count_in_progress 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 141s PASSED [ 33%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_base_scanner.py::test_connection_history_failure_count 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 141s -------------------------------- live log call --------------------------------- 141s 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 141s PASSED [ 33%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_base_scanner.py::test_scanner_mode_changes 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s PASSED [ 34%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_base_scanner.py::test_remote_scanner_type 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s PASSED [ 34%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_base_scanner.py::test_base_scanner_with_connector 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s PASSED [ 35%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_base_scanner.py::test_score_with_no_allocations 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s PASSED [ 35%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_base_scanner.py::test_score_with_all_slots_free 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s PASSED [ 36%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_base_scanner.py::test_score_with_one_slot_remaining 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s PASSED [ 36%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_base_scanner.py::test_score_with_no_slots_available 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s PASSED [ 37%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_base_scanner.py::test_score_comparison_with_different_slot_availability 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s PASSED [ 37%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_base_scanner.py::test_score_with_connections_in_progress_and_slots 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s PASSED [ 38%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_base_scanner.py::test_on_scanner_start_callback_remote_scanner 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s WARNING habluetooth.manager:manager.py:206 MockBluetoothManagerWithCallbacks: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s PASSED [ 39%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_base_scanner.py::test_on_scanner_start_multiple_scanners 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s WARNING habluetooth.manager:manager.py:206 MockBluetoothManagerWithCallbacks: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s PASSED [ 39%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_base_scanner.py::test_scanner_without_manager 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s -------------------------------- live log call --------------------------------- 141s WARNING habluetooth.manager:manager.py:206 BluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s PASSED [ 40%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_init.py::test_create_scanner 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s PASSED [ 40%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_init.py::test_create_remote_scanner 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s PASSED [ 41%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_init.py::test__async_on_advertisement 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s PASSED [ 41%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_init.py::test__async_on_advertisement_first 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s PASSED [ 42%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_init.py::test__async_on_advertisement_prefers_longest_local_name 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s PASSED [ 42%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_init.py::test_create_ha_scanner 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s PASSED [ 43%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_manager.py::test_async_recover_failed_adapters 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s -------------------------------- live log call --------------------------------- 141s WARNING habluetooth.manager:manager.py:206 BluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s PASSED [ 43%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_manager.py::test_create_manager 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s -------------------------------- live log call --------------------------------- 141s WARNING habluetooth.manager:manager.py:206 BluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s PASSED [ 44%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_manager.py::test_async_register_disappeared_callback 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (AA:BB:CC:DD:EE:11) 141s -------------------------------- live log call --------------------------------- 141s ERROR habluetooth.manager:manager.py:483 Error in disappeared callback 141s Traceback (most recent call last): 141s File "/usr/lib/python3/dist-packages/habluetooth/manager.py", line 481, in _async_check_unavailable 141s disappear_callback(address) 141s ~~~~~~~~~~~~~~~~~~^^^^^^^^^ 141s File "/tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_manager.py", line 190, in _failing_callback 141s raise ValueError("This is a test") 141s ValueError: This is a test 141s PASSED [ 44%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (AA:BB:CC:DD:EE:11) 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_manager.py::test_async_register_allocation_callback 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (AA:BB:CC:DD:EE:11) 141s -------------------------------- live log call --------------------------------- 141s ERROR habluetooth.manager:manager.py:922 Error in allocation callback 141s Traceback (most recent call last): 141s File "/usr/lib/python3/dist-packages/habluetooth/manager.py", line 920, in async_on_allocation_changed 141s callback_(ha_slot_allocations) 141s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 141s File "/tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_manager.py", line 261, in _failing_callback 141s raise ValueError("This is a test") 141s ValueError: This is a test 141s ERROR habluetooth.manager:manager.py:922 Error in allocation callback 141s Traceback (most recent call last): 141s File "/usr/lib/python3/dist-packages/habluetooth/manager.py", line 920, in async_on_allocation_changed 141s callback_(ha_slot_allocations) 141s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 141s File "/tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_manager.py", line 261, in _failing_callback 141s raise ValueError("This is a test") 141s ValueError: This is a test 141s PASSED [ 45%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (AA:BB:CC:DD:EE:11) 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_manager.py::test_async_register_allocation_callback_non_connectable 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner non connectable (AA:BB:CC:DD:EE:FF) 141s PASSED [ 45%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner non connectable (AA:BB:CC:DD:EE:FF) 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_manager.py::test_async_register_scanner_registration_callback 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (AA:BB:CC:DD:EE:11) 141s -------------------------------- live log call --------------------------------- 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci3 (AA:BB:CC:DD:EE:33) 141s ERROR habluetooth.manager:manager.py:939 Error in scanner callback 141s Traceback (most recent call last): 141s File "/usr/lib/python3/dist-packages/habluetooth/manager.py", line 937, in _async_on_scanner_registration 141s callback_(HaScannerRegistration(event, scanner)) 141s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 141s File "/tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_manager.py", line 383, in _failing_callback 141s raise ValueError("This is a test") 141s ValueError: This is a test 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci3 (AA:BB:CC:DD:EE:33) 141s ERROR habluetooth.manager:manager.py:939 Error in scanner callback 141s Traceback (most recent call last): 141s File "/usr/lib/python3/dist-packages/habluetooth/manager.py", line 937, in _async_on_scanner_registration 141s callback_(HaScannerRegistration(event, scanner)) 141s ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 141s File "/tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_manager.py", line 383, in _failing_callback 141s raise ValueError("This is a test") 141s ValueError: This is a test 141s PASSED [ 46%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (AA:BB:CC:DD:EE:11) 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_manager.py::test_async_register_scanner_mode_change_callback 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (AA:BB:CC:DD:EE:11) 141s -------------------------------- live log call --------------------------------- 141s ERROR habluetooth.manager:manager.py:1023 Error in scanner mode change callback 141s Traceback (most recent call last): 141s File "/usr/lib/python3/dist-packages/habluetooth/manager.py", line 1021, in scanner_mode_changed 141s callback_(mode_change) 141s ~~~~~~~~~^^^^^^^^^^^^^ 141s File "/tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_manager.py", line 438, in _failing_callback 141s raise ValueError("This is a test") 141s ValueError: This is a test 141s ERROR habluetooth.manager:manager.py:1023 Error in scanner mode change callback 141s Traceback (most recent call last): 141s File "/usr/lib/python3/dist-packages/habluetooth/manager.py", line 1021, in scanner_mode_changed 141s callback_(mode_change) 141s ~~~~~~~~~^^^^^^^^^^^^^ 141s File "/tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_manager.py", line 438, in _failing_callback 141s raise ValueError("This is a test") 141s ValueError: This is a test 141s PASSED [ 47%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (AA:BB:CC:DD:EE:11) 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_manager.py::test_async_register_scanner_with_connection_slots 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s -------------------------------- live log call --------------------------------- 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci3 (AA:BB:CC:DD:EE:33) 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci3 (AA:BB:CC:DD:EE:33) 141s PASSED [ 47%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_manager.py::test_diagnostics 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 141s PASSED [ 48%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_manager.py::test_advertisements_do_not_switch_adapters_for_no_reason 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (AA:BB:CC:DD:EE:11) 141s PASSED [ 48%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (AA:BB:CC:DD:EE:11) 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_manager.py::test_switching_adapters_based_on_rssi 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (AA:BB:CC:DD:EE:11) 141s -------------------------------- live log call --------------------------------- 141s 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) 141s PASSED [ 49%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (AA:BB:CC:DD:EE:11) 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_manager.py::test_switching_adapters_based_on_zero_rssi 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (AA:BB:CC:DD:EE:11) 141s -------------------------------- live log call --------------------------------- 141s 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) 141s PASSED [ 49%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (AA:BB:CC:DD:EE:11) 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_manager.py::test_switching_adapters_based_on_stale 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (AA:BB:CC:DD:EE:11) 141s -------------------------------- live log call --------------------------------- 141s 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) 141s PASSED [ 50%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (AA:BB:CC:DD:EE:11) 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_manager.py::test_switching_adapters_based_on_stale_with_discovered_interval 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (AA:BB:CC:DD:EE:11) 141s -------------------------------- live log call --------------------------------- 141s 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) 141s PASSED [ 50%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (AA:BB:CC:DD:EE:11) 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_manager.py::test_switching_adapters_based_on_rssi_connectable_to_non_connectable 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (AA:BB:CC:DD:EE:11) 141s -------------------------------- live log call --------------------------------- 141s 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) 141s PASSED [ 51%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (AA:BB:CC:DD:EE:11) 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_manager.py::test_connectable_advertisement_can_be_retrieved_best_path_is_non_connectable 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (AA:BB:CC:DD:EE:11) 141s PASSED [ 51%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (AA:BB:CC:DD:EE:11) 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_manager.py::test_switching_adapters_when_one_goes_away 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 141s -------------------------------- live log call --------------------------------- 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci2 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci2 141s PASSED [ 52%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_manager.py::test_switching_adapters_when_one_stop_scanning 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 141s -------------------------------- live log call --------------------------------- 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci2 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci2 141s PASSED [ 52%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_manager.py::test_set_fallback_interval_small 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s PASSED [ 53%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_manager.py::test_set_fallback_interval_big 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s PASSED [ 54%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_manager.py::test_subclassing_bluetooth_manager 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s -------------------------------- live log call --------------------------------- 141s WARNING habluetooth.manager:manager.py:206 TestBluetoothManager2: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s PASSED [ 54%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_manager.py::test_is_operating_degraded_on_linux_with_mgmt 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s -------------------------------- live log call --------------------------------- 141s WARNING habluetooth.manager:manager.py:206 BluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s PASSED [ 55%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_manager.py::test_is_operating_degraded_on_linux_without_mgmt 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s -------------------------------- live log call --------------------------------- 141s WARNING habluetooth.manager:manager.py:206 BluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s PASSED [ 55%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_manager.py::test_is_operating_degraded_on_non_linux 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s -------------------------------- live log call --------------------------------- 141s WARNING habluetooth.manager:manager.py:206 BluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s PASSED [ 56%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_manager.py::test_is_operating_degraded_after_permission_error 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s -------------------------------- live log call --------------------------------- 141s WARNING habluetooth.manager:manager.py:206 BluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s 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 141s PASSED [ 56%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_models.py::test_model 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s PASSED [ 57%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_models.py::test_model_from_bleak 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s PASSED [ 57%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_models.py::test_model_from_scanner 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s PASSED [ 58%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_models.py::test_construct_service_info_bleak 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s PASSED [ 58%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_models.py::test_from_device_and_advertisement_data 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s PASSED [ 59%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_models.py::test_pyobjc_compat 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s PASSED [ 59%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_models.py::test_as_connectable 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 141s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 141s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 141s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 141s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 141s PASSED [ 60%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_scanner.py::test_bytes_mac_to_str 141s -------------------------------- live log setup -------------------------------- 141s WARNING habluetooth.manager:manager.py:206 BluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 141s PASSED [ 60%] 141s tests/test_scanner.py::test_make_bluez_details PASSED [ 61%] 141s tests/test_scanner.py::test_empty_data_no_scanner 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s PASSED [ 62%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_scanner.py::test_dbus_socket_missing_in_container 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s -------------------------------- live log call --------------------------------- 141s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 141s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 141s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:522 hci0 (AA:BB:CC:DD:EE:FF): FileNotFoundError while starting bluetooth: 141s Traceback (most recent call last): 141s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 141s await self.scanner.start() 141s File "/usr/lib/python3.13/unittest/mock.py", line 2321, in _execute_mock_call 141s raise effect 141s FileNotFoundError 141s PASSED [ 62%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_scanner.py::test_dbus_socket_missing 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s -------------------------------- live log call --------------------------------- 141s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 141s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 141s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:522 hci0 (AA:BB:CC:DD:EE:FF): FileNotFoundError while starting bluetooth: 141s Traceback (most recent call last): 141s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 141s await self.scanner.start() 141s File "/usr/lib/python3.13/unittest/mock.py", line 2321, in _execute_mock_call 141s raise effect 141s FileNotFoundError 141s PASSED [ 63%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_scanner.py::test_handle_cancellation 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s -------------------------------- live log call --------------------------------- 141s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 141s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 141s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 141s PASSED [ 63%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_scanner.py::test_handle_stop_while_starting 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s -------------------------------- live log call --------------------------------- 141s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 141s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 141s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:512 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth scanner aborted: 141s Traceback (most recent call last): 141s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 141s await self.scanner.start() 141s File "/tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_scanner.py", line 209, in _start 141s await asyncio.sleep(1000) 141s File "/usr/lib/python3.13/asyncio/tasks.py", line 718, in sleep 141s return await future 141s ^^^^^^^^^^^^ 141s asyncio.exceptions.CancelledError: Interrupted by interrupt context manager 141s 141s The above exception was the direct cause of the following exception: 141s 141s Traceback (most recent call last): 141s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 401, in _async_start_attempt 141s async_interrupt.interrupt(self._start_future, _AbortStartError, None), 141s ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 141s File "/usr/lib/python3/dist-packages/async_interrupt/__init__.py", line 90, in __aexit__ 141s raise self._exception from exc_val 141s habluetooth.scanner._AbortStartError 141s DEBUG habluetooth.scanner:scanner.py:631 hci0 (AA:BB:CC:DD:EE:FF): Scanner is already stopped 141s PASSED [ 64%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_scanner.py::test_dbus_broken_pipe_in_container 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s -------------------------------- live log call --------------------------------- 141s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 141s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 141s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:540 hci0 (AA:BB:CC:DD:EE:FF): DBus connection broken: 141s Traceback (most recent call last): 141s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 141s await self.scanner.start() 141s File "/usr/lib/python3.13/unittest/mock.py", line 2321, in _execute_mock_call 141s raise effect 141s BrokenPipeError 141s PASSED [ 64%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_scanner.py::test_dbus_broken_pipe 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s -------------------------------- live log call --------------------------------- 141s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 141s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 141s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:540 hci0 (AA:BB:CC:DD:EE:FF): DBus connection broken: 141s Traceback (most recent call last): 141s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 141s await self.scanner.start() 141s File "/usr/lib/python3.13/unittest/mock.py", line 2321, in _execute_mock_call 141s raise effect 141s BrokenPipeError 141s PASSED [ 65%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_scanner.py::test_invalid_dbus_message 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s -------------------------------- live log call --------------------------------- 141s ERROR asyncio:base_events.py:1879 Future exception was never retrieved 141s future: 141s habluetooth.scanner._AbortStartError 141s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 141s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 141s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:555 hci0 (AA:BB:CC:DD:EE:FF): Invalid DBus message received: 141s Traceback (most recent call last): 141s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 141s await self.scanner.start() 141s File "/usr/lib/python3.13/unittest/mock.py", line 2321, in _execute_mock_call 141s raise effect 141s dbus_fast.errors.InvalidMessageError 141s PASSED [ 65%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_scanner.py::test_adapter_needs_reset_at_start[org.bluez.Error.Failed] 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s -------------------------------- live log call --------------------------------- 141s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 141s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 141s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (1/4): org.bluez.Error.Failed 141s Traceback (most recent call last): 141s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 141s await self.scanner.start() 141s File "/tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 141s raise BleakError(error) 141s bleak.exc.BleakError: org.bluez.Error.Failed 141s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 141s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (2/4) 141s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:615 hci0 (AA:BB:CC:DD:EE:FF): adapter stopped responding; executing reset 141s DEBUG habluetooth.scanner:scanner.py:617 hci0 (AA:BB:CC:DD:EE:FF): adapter reset result: True 141s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (2/4): org.bluez.Error.Failed 141s Traceback (most recent call last): 141s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 141s await self.scanner.start() 141s File "/tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 141s raise BleakError(error) 141s bleak.exc.BleakError: org.bluez.Error.Failed 141s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 141s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (3/4) 141s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (3/4) 141s 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': {}}} 141s FAILED [ 66%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_scanner.py::test_adapter_needs_reset_at_start[org.bluez.Error.InProgress] 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s -------------------------------- live log call --------------------------------- 141s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 141s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 141s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (1/4): org.bluez.Error.InProgress 141s Traceback (most recent call last): 141s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 141s await self.scanner.start() 141s File "/tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 141s raise BleakError(error) 141s bleak.exc.BleakError: org.bluez.Error.InProgress 141s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 141s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (2/4) 141s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:615 hci0 (AA:BB:CC:DD:EE:FF): adapter stopped responding; executing reset 141s DEBUG habluetooth.scanner:scanner.py:617 hci0 (AA:BB:CC:DD:EE:FF): adapter reset result: True 141s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (2/4): org.bluez.Error.InProgress 141s Traceback (most recent call last): 141s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 141s await self.scanner.start() 141s File "/tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 141s raise BleakError(error) 141s bleak.exc.BleakError: org.bluez.Error.InProgress 141s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 141s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (3/4) 141s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (3/4) 141s 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': {}}} 141s FAILED [ 66%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_scanner.py::test_adapter_needs_reset_at_start[org.bluez.Error.NotReady] 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s -------------------------------- live log call --------------------------------- 141s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 141s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 141s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (1/4): org.bluez.Error.NotReady 141s Traceback (most recent call last): 141s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 141s await self.scanner.start() 141s File "/tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 141s raise BleakError(error) 141s bleak.exc.BleakError: org.bluez.Error.NotReady 141s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 141s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (2/4) 141s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:615 hci0 (AA:BB:CC:DD:EE:FF): adapter stopped responding; executing reset 141s DEBUG habluetooth.scanner:scanner.py:617 hci0 (AA:BB:CC:DD:EE:FF): adapter reset result: True 141s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (2/4): org.bluez.Error.NotReady 141s Traceback (most recent call last): 141s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 141s await self.scanner.start() 141s File "/tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 141s raise BleakError(error) 141s bleak.exc.BleakError: org.bluez.Error.NotReady 141s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 141s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (3/4) 141s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (3/4) 141s 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': {}}} 141s FAILED [ 67%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_scanner.py::test_adapter_needs_reset_at_start[not found] 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s -------------------------------- live log call --------------------------------- 141s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 141s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 141s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (1/4): not found 141s Traceback (most recent call last): 141s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 141s await self.scanner.start() 141s File "/tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 141s raise BleakError(error) 141s bleak.exc.BleakError: not found 141s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 141s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (2/4) 141s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:615 hci0 (AA:BB:CC:DD:EE:FF): adapter stopped responding; executing reset 141s DEBUG habluetooth.scanner:scanner.py:617 hci0 (AA:BB:CC:DD:EE:FF): adapter reset result: True 141s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (2/4): not found 141s Traceback (most recent call last): 141s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 141s await self.scanner.start() 141s File "/tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 141s raise BleakError(error) 141s bleak.exc.BleakError: not found 141s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 141s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (3/4) 141s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (3/4) 141s 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': {}}} 141s FAILED [ 67%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_scanner.py::test_recovery_from_dbus_restart 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s -------------------------------- live log call --------------------------------- 141s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 141s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 141s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (1/4) 141s 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': {}}} 141s FAILED [ 68%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_scanner.py::test_adapter_recovery 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s -------------------------------- live log call --------------------------------- 141s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 141s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 141s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (1/4) 141s 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': {}}} 141s FAILED [ 68%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_scanner.py::test_adapter_scanner_fails_to_start_first_time 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s -------------------------------- live log call --------------------------------- 141s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 141s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 141s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (1/4) 141s 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': {}}} 141s FAILED [ 69%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_scanner.py::test_adapter_fails_to_start_and_takes_a_bit_to_init 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s -------------------------------- live log call --------------------------------- 141s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 141s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 141s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:462 hci0 (AA:BB:CC:DD:EE:FF): Waiting for adapter to initialize; attempt (1/4) 141s 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 141s Traceback (most recent call last): 141s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 141s await self.scanner.start() 141s File "/tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_scanner.py", line 660, in start 141s raise BleakError("org.freedesktop.DBus.Error.UnknownObject") 141s bleak.exc.BleakError: org.freedesktop.DBus.Error.UnknownObject 141s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 141s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (2/4) 141s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:615 hci0 (AA:BB:CC:DD:EE:FF): adapter stopped responding; executing reset 141s DEBUG habluetooth.scanner:scanner.py:617 hci0 (AA:BB:CC:DD:EE:FF): adapter reset result: True 141s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (2/4): org.bluez.Error.InProgress 141s Traceback (most recent call last): 141s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 141s await self.scanner.start() 141s File "/tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_scanner.py", line 662, in start 141s raise BleakError("org.bluez.Error.InProgress") 141s bleak.exc.BleakError: org.bluez.Error.InProgress 141s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 141s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (3/4) 141s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (3/4): org.bluez.Error.InProgress 141s Traceback (most recent call last): 141s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 141s await self.scanner.start() 141s File "/tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_scanner.py", line 664, in start 141s raise BleakError("org.bluez.Error.InProgress") 141s bleak.exc.BleakError: org.bluez.Error.InProgress 141s 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) 141s 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')]}} 141s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (4/4) 141s 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) 141s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (4/4) 141s 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': {}}} 141s FAILED [ 70%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_scanner.py::test_restart_takes_longer_than_watchdog_time 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s -------------------------------- live log call --------------------------------- 141s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 141s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 141s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (1/4) 141s 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': {}}} 141s FAILED [ 70%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_scanner.py::test_setup_and_stop_macos SKIPPED (condition:...) [ 71%] 141s tests/test_scanner.py::test_adapter_init_fails_fallback_to_passive 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s -------------------------------- live log call --------------------------------- 141s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 141s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 141s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:462 hci0 (AA:BB:CC:DD:EE:FF): Waiting for adapter to initialize; attempt (1/4) 141s 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 141s Traceback (most recent call last): 141s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 141s await self.scanner.start() 141s File "/tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_scanner.py", line 841, in start 141s raise BleakError("org.freedesktop.DBus.Error.UnknownObject") 141s bleak.exc.BleakError: org.freedesktop.DBus.Error.UnknownObject 141s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 141s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (2/4) 141s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:615 hci0 (AA:BB:CC:DD:EE:FF): adapter stopped responding; executing reset 141s DEBUG habluetooth.scanner:scanner.py:617 hci0 (AA:BB:CC:DD:EE:FF): adapter reset result: True 141s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (2/4): org.bluez.Error.InProgress 141s Traceback (most recent call last): 141s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 141s await self.scanner.start() 141s File "/tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_scanner.py", line 843, in start 141s raise BleakError("org.bluez.Error.InProgress") 141s bleak.exc.BleakError: org.bluez.Error.InProgress 141s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 141s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (3/4) 141s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (3/4): org.bluez.Error.InProgress 141s Traceback (most recent call last): 141s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 141s await self.scanner.start() 141s File "/tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_scanner.py", line 845, in start 141s raise BleakError("org.bluez.Error.InProgress") 141s bleak.exc.BleakError: org.bluez.Error.InProgress 141s 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) 141s 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')]}} 141s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (4/4) 141s 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) 141s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (4/4) 141s 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': {}}} 141s FAILED [ 71%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_scanner.py::test_scanner_with_bluez_mgmt_side_channel 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s -------------------------------- live log call --------------------------------- 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s ERROR asyncio:base_events.py:1879 Exception in callback _SelectorTransport._add_reader() 141s handle: 141s Traceback (most recent call last): 141s File "/usr/lib/python3.13/asyncio/events.py", line 89, in _run 141s self._context.run(self._callback, *self._args) 141s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 141s File "/usr/lib/python3.13/asyncio/selector_events.py", line 920, in _add_reader 141s self._loop._add_reader(fd, callback, *args) 141s ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 141s File "/usr/lib/python3.13/asyncio/selector_events.py", line 279, in _add_reader 141s self._selector.register(fd, selectors.EVENT_READ, 141s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^ 141s (handle, None)) 141s ^^^^^^^^^^^^^^^ 141s File "/usr/lib/python3.13/selectors.py", line 345, in register 141s self._selector.register(key.fd, poller_events) 141s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ 141s OSError: [Errno 9] Bad file descriptor 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:FF) 141s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'adapter': 'hci0'} 141s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 141s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (1/4) 141s 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': {}}} 141s FAILED [ 72%] 141s ------------------------------ live log teardown ------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s 141s tests/test_scanner.py::test_bluez_mgmt_protocol_data_flow 141s -------------------------------- live log setup -------------------------------- 141s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 141s -------------------------------- live log call --------------------------------- 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s ERROR asyncio:base_events.py:1879 Exception in callback _SelectorTransport._add_reader() 141s handle: 141s Traceback (most recent call last): 141s File "/usr/lib/python3.13/asyncio/events.py", line 89, in _run 141s self._context.run(self._callback, *self._args) 141s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 141s File "/usr/lib/python3.13/asyncio/selector_events.py", line 920, in _add_reader 141s self._loop._add_reader(fd, callback, *args) 141s ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 141s File "/usr/lib/python3.13/asyncio/selector_events.py", line 279, in _add_reader 141s self._selector.register(fd, selectors.EVENT_READ, 141s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^ 141s (handle, None)) 141s ^^^^^^^^^^^^^^^ 141s File "/usr/lib/python3.13/selectors.py", line 345, in register 141s self._selector.register(key.fd, poller_events) 141s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ 141s OSError: [Errno 9] Bad file descriptor 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 141s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 141s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (AA:BB:CC:DD:EE:01) 141s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'adapter': 'hci0'} 141s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:00): Force stopping bluetooth discovery 141s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:00): Starting bluetooth discovery attempt: (1/4) 141s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:00): Success while starting bluetooth; attempt: (1/4) 141s 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': {}}} 142s ERROR asyncio:base_events.py:1879 Task was destroyed but it is pending! 142s task: wait_for=> 142s FAILED [ 72%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_scanner.py::test_mgmt_permission_error_fallback 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s -------------------------------- live log call --------------------------------- 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s PASSED [ 73%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_scanner.py::test_usb_scanner_type PASSED [ 73%] 142s tests/test_scanner.py::test_uart_scanner_type PASSED [ 74%] 142s tests/test_scanner.py::test_unknown_scanner_type_no_cached_adapters PASSED [ 74%] 142s tests/test_scanner.py::test_unknown_scanner_type_adapter_not_found PASSED [ 75%] 142s tests/test_scanner.py::test_unknown_scanner_type_no_adapter_type PASSED [ 75%] 142s tests/test_scanner.py::test_scanner_type_with_real_adapter_data 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s -------------------------------- live log call --------------------------------- 142s WARNING habluetooth.manager:manager.py:206 BluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s PASSED [ 76%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_scanner.py::test_scanner_type_updates_after_adapter_refresh 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s -------------------------------- live log call --------------------------------- 142s WARNING habluetooth.manager:manager.py:206 BluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s PASSED [ 77%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_scanner.py::test_multiple_scanner_types_simultaneously PASSED [ 77%] 142s tests/test_scanner.py::test_ha_scanner_get_allocations_no_slot_manager PASSED [ 78%] 142s tests/test_scanner.py::test_ha_scanner_get_allocations_with_slot_manager PASSED [ 78%] 142s tests/test_scanner.py::test_ha_scanner_get_allocations_updates_dynamically PASSED [ 79%] 142s tests/test_scanner.py::test_on_scanner_start_callback 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s WARNING habluetooth.manager:manager.py:206 MockBluetoothManagerWithCallbacks: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s -------------------------------- live log call --------------------------------- 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 142s PASSED [ 79%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_storage.py::test_discovered_device_advertisement_data_to_dict 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s PASSED [ 80%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_storage.py::test_discovered_device_advertisement_data_from_dict 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s PASSED [ 80%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_storage.py::test_expire_stale_scanner_discovered_device_advertisement_data 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s -------------------------------- live log call --------------------------------- 142s DEBUG habluetooth.storage:storage.py:122 Loaded 1 fresh discovered devices for myscanner 142s DEBUG habluetooth.storage:storage.py:122 Loaded 0 fresh discovered devices for all_expired 142s PASSED [ 81%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_storage.py::test_expire_future_discovered_device_advertisement_data 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s -------------------------------- live log call --------------------------------- 142s DEBUG habluetooth.storage:storage.py:122 Loaded 1 fresh discovered devices for myscanner 142s WARNING habluetooth.storage:storage.py:107 Discarding timestamp 1764399773.052517 for CC:DD:EE:FF:AA:BB on scanner all_future as it is the future (now = 1763399773.0525284) 142s DEBUG habluetooth.storage:storage.py:122 Loaded 0 fresh discovered devices for all_future 142s PASSED [ 81%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_storage.py::test_discovered_device_advertisement_data_from_dict_corrupt 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s -------------------------------- live log call --------------------------------- 142s 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' 142s Traceback (most recent call last): 142s File "/usr/lib/python3/dist-packages/habluetooth/storage.py", line 138, in discovered_device_advertisement_data_from_dict 142s _deserialize_discovered_device_advertisement_datas( 142s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 142s data[DISCOVERED_DEVICE_ADVERTISEMENT_DATAS] 142s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 142s ), 142s ^ 142s File "/usr/lib/python3/dist-packages/habluetooth/storage.py", line 198, in _deserialize_discovered_device_advertisement_datas 142s _ble_device_from_dict(device_advertisement_data["device"]), 142s ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 142s File "/usr/lib/python3/dist-packages/habluetooth/storage.py", line 215, in _ble_device_from_dict 142s return BLEDevice(**device_data) 142s TypeError: BLEDevice.__init__() missing 1 required positional argument: 'name' 142s PASSED [ 82%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_storage.py::test_backward_compatibility_rssi_in_device_dict 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s PASSED [ 82%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_wrappers.py::test_test_switch_adapters_when_out_of_slots 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s -------------------------------- live log call --------------------------------- 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 142s 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 142s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 142s 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) 142s 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) 142s 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) 142s 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 142s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:02: Looking for backend to connect 142s 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) 142s 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 142s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:03: Looking for backend to connect 142s 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) 142s 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) 142s 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) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 142s PASSED [ 83%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_wrappers.py::test_release_slot_on_connect_failure 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s -------------------------------- live log call --------------------------------- 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 142s 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 142s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 142s 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) 142s 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) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 142s PASSED [ 83%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_wrappers.py::test_release_slot_on_connect_exception 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s -------------------------------- live log call --------------------------------- 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 142s 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 142s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 142s 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) 142s 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) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 142s PASSED [ 84%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_wrappers.py::test_switch_adapters_on_failure 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s -------------------------------- live log call --------------------------------- 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 142s 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 142s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 142s 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) 142s 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) 142s 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 142s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 142s 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) 142s 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) 142s 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 142s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 142s 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) 142s 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) 142s 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) 142s 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 142s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 142s 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) 142s 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) 142s 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) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 142s PASSED [ 85%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_wrappers.py::test_switch_adapters_on_connecting 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s -------------------------------- live log call --------------------------------- 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 142s 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 142s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 142s 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) 142s 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) 142s 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 142s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 142s 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) 142s 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) 142s 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) 142s 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) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 142s PASSED [ 85%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_wrappers.py::test_single_adapter_connection_history 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s -------------------------------- live log call --------------------------------- 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 142s 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 142s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:11: Looking for backend to connect 142s 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) 142s 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) 142s 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) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 142s PASSED [ 86%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_wrappers.py::test_passing_subclassed_str_as_address 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s -------------------------------- live log call --------------------------------- 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 142s 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 142s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 142s 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) 142s 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) 142s 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) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 142s PASSED [ 86%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_wrappers.py::test_find_device_by_address 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s -------------------------------- live log call --------------------------------- 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 142s PASSED [ 87%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_wrappers.py::test_discover 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s -------------------------------- live log call --------------------------------- 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 142s PASSED [ 87%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_wrappers.py::test_raise_after_shutdown 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s -------------------------------- live log call --------------------------------- 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 142s 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 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 142s PASSED [ 88%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_wrappers.py::test_wrapped_instance_with_filter 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 142s PASSED [ 88%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 142s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_wrappers.py::test_wrapped_instance_with_service_uuids 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 142s PASSED [ 89%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 142s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_wrappers.py::test_wrapped_instance_with_service_uuids_with_coro_callback 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 142s PASSED [ 89%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 142s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_wrappers.py::test_wrapped_instance_with_broken_callbacks 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 142s PASSED [ 90%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 142s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_wrappers.py::test_wrapped_instance_changes_uuids 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 142s PASSED [ 90%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 142s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_wrappers.py::test_wrapped_instance_changes_filters 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 142s PASSED [ 91%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 142s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_wrappers.py::test_wrapped_instance_unsupported_filter 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 142s -------------------------------- live log call --------------------------------- 142s WARNING habluetooth.wrappers:wrappers.py:136 Only UUIDs filters are supported 142s PASSED [ 91%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (AA:BB:CC:DD:EE:00) 142s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_wrappers.py::test_client_with_services_parameter 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s -------------------------------- live log call --------------------------------- 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 142s 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 142s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 142s 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) 142s 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) 142s 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) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 142s PASSED [ 92%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_wrappers.py::test_client_with_pair_parameter 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s -------------------------------- live log call --------------------------------- 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 142s PASSED [ 93%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_wrappers.py::test_client_services_normalization 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s -------------------------------- live log call --------------------------------- 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 142s 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 142s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 142s 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) 142s 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) 142s 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) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 142s PASSED [ 93%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_wrappers.py::test_client_with_none_services 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s -------------------------------- live log call --------------------------------- 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 142s 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 142s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 142s 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) 142s 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) 142s 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) 142s 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 142s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 142s 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) 142s 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) 142s 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) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 142s PASSED [ 94%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_wrappers.py::test_passive_only_scanner_error_message 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s -------------------------------- live log call --------------------------------- 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner shelly_plus1pm_e86bea01020c (passive_scanner_1) 142s 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 142s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner shelly_plus1pm_e86bea01020c (passive_scanner_1) 142s PASSED [ 94%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_wrappers.py::test_passive_scanner_with_active_scanner 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s -------------------------------- live log call --------------------------------- 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner shelly_device (passive_scanner) 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner esphome_device (active_scanner) 142s 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 142s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:02: Looking for backend to connect 142s 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) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner shelly_device (passive_scanner) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner esphome_device (active_scanner) 142s PASSED [ 95%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_wrappers.py::test_connection_params_loading_with_bluez_mgmt 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s -------------------------------- live log call --------------------------------- 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 142s 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 142s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 142s 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) 142s 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) 142s DEBUG habluetooth.wrappers:wrappers.py:407 00:00:00:00:00:01 - any -> /org/bluez/hci0: Loaded ConnectParams.FAST connection parameters 142s DEBUG habluetooth.wrappers:wrappers.py:407 00:00:00:00:00:01 - any -> /org/bluez/hci0: Loaded ConnectParams.MEDIUM connection parameters 142s 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) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 142s PASSED [ 95%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_wrappers.py::test_connection_params_not_loaded_without_mgmt 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s -------------------------------- live log call --------------------------------- 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 142s 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 142s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 142s 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) 142s 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) 142s 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) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 142s PASSED [ 96%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_wrappers.py::test_get_device_address_type_random 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s -------------------------------- live log call --------------------------------- 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 142s PASSED [ 96%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_wrappers.py::test_get_device_address_type_public 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s -------------------------------- live log call --------------------------------- 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 142s PASSED [ 97%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_wrappers.py::test_connection_params_loading_fails_silently 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s -------------------------------- live log call --------------------------------- 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (00:00:00:00:00:01) 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (00:00:00:00:00:02) 142s 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 142s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:01: Looking for backend to connect 142s 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) 142s 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) 142s 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) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci0 (00:00:00:00:00:01) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner hci1 (00:00:00:00:00:02) 142s PASSED [ 97%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_wrappers.py::test_connection_params_no_adapter_idx 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s -------------------------------- live log call --------------------------------- 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner ESPHome Device (remote_scanner) 142s 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 142s DEBUG habluetooth.wrappers:wrappers.py:309 00:00:00:00:00:03: Looking for backend to connect 142s 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) 142s 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) 142s 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) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner ESPHome Device (remote_scanner) 142s PASSED [ 98%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_wrappers.py::test_connection_path_scoring_with_slots_and_logging 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s -------------------------------- live log call --------------------------------- 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner Scanner 1 (scanner1) 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner Scanner 2 (scanner2) 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner Scanner 3 (scanner3) 142s 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 142s 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) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner Scanner 1 (scanner1) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner Scanner 2 (scanner2) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner Scanner 3 (scanner3) 142s PASSED [ 98%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_wrappers.py::test_connection_path_scoring_no_slots_available 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s -------------------------------- live log call --------------------------------- 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner Scanner 1 (scanner1) 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner Scanner 2 (scanner2) 142s 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 142s 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) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner Scanner 1 (scanner1) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner Scanner 2 (scanner2) 142s PASSED [ 99%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s tests/test_wrappers.py::test_thundering_herd_connection_slots 142s -------------------------------- live log setup -------------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s WARNING habluetooth.manager:manager.py:206 PatchableBluetoothManager: does not implement _discover_service_info, subclasses must implement this method to consume discovery data 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:112 Bluetooth mgmt socket returned 0 for 6 bytes (kernel bug fix) 142s DEBUG habluetooth.channels.bluez:bluez.py:378 MGMT capability check failed with permission denied - missing NET_ADMIN/NET_RAW 142s ERROR habluetooth.manager:manager.py:362 Missing required permissions for Bluetooth management: Missing NET_ADMIN/NET_RAW capabilities for Bluetooth management. Automatic adapter recovery is unavailable. Add NET_ADMIN and NET_RAW capabilities to the container to enable it 142s INFO habluetooth.channels.bluez:bluez.py:278 Bluetooth management socket connection closed 142s DEBUG habluetooth.channels.bluez:bluez.py:310 Bluetooth management socket connection lost during shutdown 142s -------------------------------- live log call --------------------------------- 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner Proxy 1 (Good) (proxy1) 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner Proxy 2 (Good) (proxy2) 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner Proxy 3 (Bad) (proxy3) 142s 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 142s DEBUG habluetooth.wrappers:wrappers.py:309 AA:BB:CC:DD:EE:01: Looking for backend to connect 142s 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) 142s DEBUG habluetooth.wrappers:wrappers.py:337 AA:BB:CC:DD:EE:01 - Device 1 -> proxy1: Connecting via Proxy 1 (Good) (proxy1) (last rssi: -60) 142s 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 142s DEBUG habluetooth.wrappers:wrappers.py:309 AA:BB:CC:DD:EE:02: Looking for backend to connect 142s 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) 142s DEBUG habluetooth.wrappers:wrappers.py:337 AA:BB:CC:DD:EE:02 - Device 2 -> proxy1: Connecting via Proxy 1 (Good) (proxy1) (last rssi: -60) 142s 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 142s DEBUG habluetooth.wrappers:wrappers.py:309 AA:BB:CC:DD:EE:03: Looking for backend to connect 142s 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) 142s DEBUG habluetooth.wrappers:wrappers.py:337 AA:BB:CC:DD:EE:03 - Device 3 -> proxy2: Connecting via Proxy 2 (Good) (proxy2) (last rssi: -60) 142s 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 142s DEBUG habluetooth.wrappers:wrappers.py:309 AA:BB:CC:DD:EE:04: Looking for backend to connect 142s 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) 142s DEBUG habluetooth.wrappers:wrappers.py:337 AA:BB:CC:DD:EE:04 - Device 4 -> proxy2: Connecting via Proxy 2 (Good) (proxy2) (last rssi: -60) 142s 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 142s DEBUG habluetooth.wrappers:wrappers.py:309 AA:BB:CC:DD:EE:05: Looking for backend to connect 142s 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) 142s DEBUG habluetooth.wrappers:wrappers.py:337 AA:BB:CC:DD:EE:05 - Device 5 -> proxy1: Connecting via Proxy 1 (Good) (proxy1) (last rssi: -60) 142s 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 142s DEBUG habluetooth.wrappers:wrappers.py:309 AA:BB:CC:DD:EE:06: Looking for backend to connect 142s 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) 142s DEBUG habluetooth.wrappers:wrappers.py:337 AA:BB:CC:DD:EE:06 - Device 6 -> proxy2: Connecting via Proxy 2 (Good) (proxy2) (last rssi: -60) 142s 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 142s DEBUG habluetooth.wrappers:wrappers.py:309 AA:BB:CC:DD:EE:07: Looking for backend to connect 142s 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) 142s DEBUG habluetooth.wrappers:wrappers.py:337 AA:BB:CC:DD:EE:07 - Device 7 -> proxy3: Connecting via Proxy 3 (Bad) (proxy3) (last rssi: -95) 142s DEBUG habluetooth.wrappers:wrappers.py:378 AA:BB:CC:DD:EE:01 - Device 1 -> proxy1: Connected via Proxy 1 (Good) (proxy1) (last rssi: -60) 142s DEBUG habluetooth.wrappers:wrappers.py:378 AA:BB:CC:DD:EE:02 - Device 2 -> proxy1: Connected via Proxy 1 (Good) (proxy1) (last rssi: -60) 142s DEBUG habluetooth.wrappers:wrappers.py:378 AA:BB:CC:DD:EE:03 - Device 3 -> proxy2: Connected via Proxy 2 (Good) (proxy2) (last rssi: -60) 142s DEBUG habluetooth.wrappers:wrappers.py:378 AA:BB:CC:DD:EE:04 - Device 4 -> proxy2: Connected via Proxy 2 (Good) (proxy2) (last rssi: -60) 142s DEBUG habluetooth.wrappers:wrappers.py:378 AA:BB:CC:DD:EE:05 - Device 5 -> proxy1: Connected via Proxy 1 (Good) (proxy1) (last rssi: -60) 142s DEBUG habluetooth.wrappers:wrappers.py:378 AA:BB:CC:DD:EE:06 - Device 6 -> proxy2: Connected via Proxy 2 (Good) (proxy2) (last rssi: -60) 142s DEBUG habluetooth.wrappers:wrappers.py:378 AA:BB:CC:DD:EE:07 - Device 7 -> proxy3: Connected via Proxy 3 (Bad) (proxy3) (last rssi: -95) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner Proxy 1 (Good) (proxy1) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner Proxy 2 (Good) (proxy2) 142s DEBUG habluetooth.manager:manager.py:816 Unregistering scanner Proxy 3 (Bad) (proxy3) 142s PASSED [100%] 142s ------------------------------ live log teardown ------------------------------- 142s DEBUG habluetooth.manager:manager.py:377 Stopping bluetooth manager 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s 142s 142s =================================== FAILURES =================================== 142s __________ test_adapter_needs_reset_at_start[org.bluez.Error.Failed] ___________ 142s 142s caplog = <_pytest.logging.LogCaptureFixture object at 0xf4e672fdc590> 142s error = 'org.bluez.Error.Failed' 142s 142s @pytest.mark.asyncio 142s @pytest.mark.skipif(IS_WINDOWS) 142s @pytest.mark.parametrize("error", NEED_RESET_ERRORS) 142s async def test_adapter_needs_reset_at_start( 142s caplog: pytest.LogCaptureFixture, error: str 142s ) -> None: 142s """Test we cycle the adapter when it needs a restart.""" 142s called_start = 0 142s called_stop = 0 142s _callback = None 142s mock_discovered: list[Any] = [] 142s 142s class MockBleakScanner: 142s async def start(self, *args, **kwargs): 142s """Mock Start.""" 142s nonlocal called_start 142s called_start += 1 142s if called_start < 3: 142s raise BleakError(error) 142s 142s async def stop(self, *args, **kwargs): 142s """Mock Start.""" 142s nonlocal called_stop 142s called_stop += 1 142s 142s @property 142s def discovered_devices(self): 142s """Mock discovered_devices.""" 142s nonlocal mock_discovered 142s return mock_discovered 142s 142s def register_detection_callback( 142s self, callback: AdvertisementDataCallback 142s ) -> None: 142s """Mock Register Detection Callback.""" 142s nonlocal _callback 142s _callback = callback 142s 142s mock_scanner = MockBleakScanner() 142s 142s with ( 142s patch("habluetooth.scanner.OriginalBleakScanner", return_value=mock_scanner), 142s patch( 142s "habluetooth.util.recover_adapter", return_value=True 142s ) as mock_recover_adapter, 142s ): 142s scanner = HaScanner(BluetoothScanningMode.ACTIVE, "hci0", "AA:BB:CC:DD:EE:FF") 142s scanner.async_setup() 142s > await scanner.async_start() 142s 142s tests/test_scanner.py:340: 142s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 142s /usr/lib/python3/dist-packages/habluetooth/scanner.py:336: in async_start 142s await self._async_start() 142s /usr/lib/python3/dist-packages/habluetooth/scanner.py:344: in _async_start 142s await self._async_on_successful_start() 142s /usr/lib/python3/dist-packages/habluetooth/scanner.py:350: in _async_on_successful_start 142s await restore_discoveries(self.scanner, self.adapter) 142s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 142s 142s scanner = .MockBleakScanner object at 0xf4e672f2e7b0> 142s adapter = 'hci0' 142s 142s async def restore_discoveries(scanner: BleakScanner, adapter: str) -> None: 142s """Restore discoveries from the bus.""" 142s if not IS_LINUX: 142s # This is only supported on Linux 142s return 142s if not (properties := await _get_properties()): 142s _LOGGER.debug("Failed to restore discoveries for %s", adapter) 142s return 142s > backend = scanner._backend 142s E AttributeError: 'MockBleakScanner' object has no attribute '_backend' 142s 142s /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:641: AttributeError 142s ------------------------------ Captured log setup ------------------------------ 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s ------------------------------ Captured log call ------------------------------- 142s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 142s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 142s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (1/4): org.bluez.Error.Failed 142s Traceback (most recent call last): 142s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 142s await self.scanner.start() 142s File "/tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 142s raise BleakError(error) 142s bleak.exc.BleakError: org.bluez.Error.Failed 142s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 142s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (2/4) 142s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:615 hci0 (AA:BB:CC:DD:EE:FF): adapter stopped responding; executing reset 142s DEBUG habluetooth.scanner:scanner.py:617 hci0 (AA:BB:CC:DD:EE:FF): adapter reset result: True 142s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (2/4): org.bluez.Error.Failed 142s Traceback (most recent call last): 142s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 142s await self.scanner.start() 142s File "/tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 142s raise BleakError(error) 142s bleak.exc.BleakError: org.bluez.Error.Failed 142s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 142s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (3/4) 142s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (3/4) 142s 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': {}}} 142s ---------------------------- Captured log teardown ----------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s ________ test_adapter_needs_reset_at_start[org.bluez.Error.InProgress] _________ 142s 142s caplog = <_pytest.logging.LogCaptureFixture object at 0xf4e672f7fee0> 142s error = 'org.bluez.Error.InProgress' 142s 142s @pytest.mark.asyncio 142s @pytest.mark.skipif(IS_WINDOWS) 142s @pytest.mark.parametrize("error", NEED_RESET_ERRORS) 142s async def test_adapter_needs_reset_at_start( 142s caplog: pytest.LogCaptureFixture, error: str 142s ) -> None: 142s """Test we cycle the adapter when it needs a restart.""" 142s called_start = 0 142s called_stop = 0 142s _callback = None 142s mock_discovered: list[Any] = [] 142s 142s class MockBleakScanner: 142s async def start(self, *args, **kwargs): 142s """Mock Start.""" 142s nonlocal called_start 142s called_start += 1 142s if called_start < 3: 142s raise BleakError(error) 142s 142s async def stop(self, *args, **kwargs): 142s """Mock Start.""" 142s nonlocal called_stop 142s called_stop += 1 142s 142s @property 142s def discovered_devices(self): 142s """Mock discovered_devices.""" 142s nonlocal mock_discovered 142s return mock_discovered 142s 142s def register_detection_callback( 142s self, callback: AdvertisementDataCallback 142s ) -> None: 142s """Mock Register Detection Callback.""" 142s nonlocal _callback 142s _callback = callback 142s 142s mock_scanner = MockBleakScanner() 142s 142s with ( 142s patch("habluetooth.scanner.OriginalBleakScanner", return_value=mock_scanner), 142s patch( 142s "habluetooth.util.recover_adapter", return_value=True 142s ) as mock_recover_adapter, 142s ): 142s scanner = HaScanner(BluetoothScanningMode.ACTIVE, "hci0", "AA:BB:CC:DD:EE:FF") 142s scanner.async_setup() 142s > await scanner.async_start() 142s 142s tests/test_scanner.py:340: 142s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 142s /usr/lib/python3/dist-packages/habluetooth/scanner.py:336: in async_start 142s await self._async_start() 142s /usr/lib/python3/dist-packages/habluetooth/scanner.py:344: in _async_start 142s await self._async_on_successful_start() 142s /usr/lib/python3/dist-packages/habluetooth/scanner.py:350: in _async_on_successful_start 142s await restore_discoveries(self.scanner, self.adapter) 142s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 142s 142s scanner = .MockBleakScanner object at 0xf4e672f2eba0> 142s adapter = 'hci0' 142s 142s async def restore_discoveries(scanner: BleakScanner, adapter: str) -> None: 142s """Restore discoveries from the bus.""" 142s if not IS_LINUX: 142s # This is only supported on Linux 142s return 142s if not (properties := await _get_properties()): 142s _LOGGER.debug("Failed to restore discoveries for %s", adapter) 142s return 142s > backend = scanner._backend 142s E AttributeError: 'MockBleakScanner' object has no attribute '_backend' 142s 142s /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:641: AttributeError 142s ------------------------------ Captured log setup ------------------------------ 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s ------------------------------ Captured log call ------------------------------- 142s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 142s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 142s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (1/4): org.bluez.Error.InProgress 142s Traceback (most recent call last): 142s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 142s await self.scanner.start() 142s File "/tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 142s raise BleakError(error) 142s bleak.exc.BleakError: org.bluez.Error.InProgress 142s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 142s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (2/4) 142s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:615 hci0 (AA:BB:CC:DD:EE:FF): adapter stopped responding; executing reset 142s DEBUG habluetooth.scanner:scanner.py:617 hci0 (AA:BB:CC:DD:EE:FF): adapter reset result: True 142s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (2/4): org.bluez.Error.InProgress 142s Traceback (most recent call last): 142s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 142s await self.scanner.start() 142s File "/tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 142s raise BleakError(error) 142s bleak.exc.BleakError: org.bluez.Error.InProgress 142s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 142s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (3/4) 142s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (3/4) 142s 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': {}}} 142s ---------------------------- Captured log teardown ----------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s _________ test_adapter_needs_reset_at_start[org.bluez.Error.NotReady] __________ 142s 142s caplog = <_pytest.logging.LogCaptureFixture object at 0xf4e672f7f0e0> 142s error = 'org.bluez.Error.NotReady' 142s 142s @pytest.mark.asyncio 142s @pytest.mark.skipif(IS_WINDOWS) 142s @pytest.mark.parametrize("error", NEED_RESET_ERRORS) 142s async def test_adapter_needs_reset_at_start( 142s caplog: pytest.LogCaptureFixture, error: str 142s ) -> None: 142s """Test we cycle the adapter when it needs a restart.""" 142s called_start = 0 142s called_stop = 0 142s _callback = None 142s mock_discovered: list[Any] = [] 142s 142s class MockBleakScanner: 142s async def start(self, *args, **kwargs): 142s """Mock Start.""" 142s nonlocal called_start 142s called_start += 1 142s if called_start < 3: 142s raise BleakError(error) 142s 142s async def stop(self, *args, **kwargs): 142s """Mock Start.""" 142s nonlocal called_stop 142s called_stop += 1 142s 142s @property 142s def discovered_devices(self): 142s """Mock discovered_devices.""" 142s nonlocal mock_discovered 142s return mock_discovered 142s 142s def register_detection_callback( 142s self, callback: AdvertisementDataCallback 142s ) -> None: 142s """Mock Register Detection Callback.""" 142s nonlocal _callback 142s _callback = callback 142s 142s mock_scanner = MockBleakScanner() 142s 142s with ( 142s patch("habluetooth.scanner.OriginalBleakScanner", return_value=mock_scanner), 142s patch( 142s "habluetooth.util.recover_adapter", return_value=True 142s ) as mock_recover_adapter, 142s ): 142s scanner = HaScanner(BluetoothScanningMode.ACTIVE, "hci0", "AA:BB:CC:DD:EE:FF") 142s scanner.async_setup() 142s > await scanner.async_start() 142s 142s tests/test_scanner.py:340: 142s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 142s /usr/lib/python3/dist-packages/habluetooth/scanner.py:336: in async_start 142s await self._async_start() 142s /usr/lib/python3/dist-packages/habluetooth/scanner.py:344: in _async_start 142s await self._async_on_successful_start() 142s /usr/lib/python3/dist-packages/habluetooth/scanner.py:350: in _async_on_successful_start 142s await restore_discoveries(self.scanner, self.adapter) 142s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 142s 142s scanner = .MockBleakScanner object at 0xf4e672f2de80> 142s adapter = 'hci0' 142s 142s async def restore_discoveries(scanner: BleakScanner, adapter: str) -> None: 142s """Restore discoveries from the bus.""" 142s if not IS_LINUX: 142s # This is only supported on Linux 142s return 142s if not (properties := await _get_properties()): 142s _LOGGER.debug("Failed to restore discoveries for %s", adapter) 142s return 142s > backend = scanner._backend 142s E AttributeError: 'MockBleakScanner' object has no attribute '_backend' 142s 142s /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:641: AttributeError 142s ------------------------------ Captured log setup ------------------------------ 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s ------------------------------ Captured log call ------------------------------- 142s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 142s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 142s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (1/4): org.bluez.Error.NotReady 142s Traceback (most recent call last): 142s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 142s await self.scanner.start() 142s File "/tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 142s raise BleakError(error) 142s bleak.exc.BleakError: org.bluez.Error.NotReady 142s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 142s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (2/4) 142s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:615 hci0 (AA:BB:CC:DD:EE:FF): adapter stopped responding; executing reset 142s DEBUG habluetooth.scanner:scanner.py:617 hci0 (AA:BB:CC:DD:EE:FF): adapter reset result: True 142s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (2/4): org.bluez.Error.NotReady 142s Traceback (most recent call last): 142s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 142s await self.scanner.start() 142s File "/tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 142s raise BleakError(error) 142s bleak.exc.BleakError: org.bluez.Error.NotReady 142s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 142s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (3/4) 142s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (3/4) 142s 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': {}}} 142s ---------------------------- Captured log teardown ----------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s _________________ test_adapter_needs_reset_at_start[not found] _________________ 142s 142s caplog = <_pytest.logging.LogCaptureFixture object at 0xf4e67303f930> 142s error = 'not found' 142s 142s @pytest.mark.asyncio 142s @pytest.mark.skipif(IS_WINDOWS) 142s @pytest.mark.parametrize("error", NEED_RESET_ERRORS) 142s async def test_adapter_needs_reset_at_start( 142s caplog: pytest.LogCaptureFixture, error: str 142s ) -> None: 142s """Test we cycle the adapter when it needs a restart.""" 142s called_start = 0 142s called_stop = 0 142s _callback = None 142s mock_discovered: list[Any] = [] 142s 142s class MockBleakScanner: 142s async def start(self, *args, **kwargs): 142s """Mock Start.""" 142s nonlocal called_start 142s called_start += 1 142s if called_start < 3: 142s raise BleakError(error) 142s 142s async def stop(self, *args, **kwargs): 142s """Mock Start.""" 142s nonlocal called_stop 142s called_stop += 1 142s 142s @property 142s def discovered_devices(self): 142s """Mock discovered_devices.""" 142s nonlocal mock_discovered 142s return mock_discovered 142s 142s def register_detection_callback( 142s self, callback: AdvertisementDataCallback 142s ) -> None: 142s """Mock Register Detection Callback.""" 142s nonlocal _callback 142s _callback = callback 142s 142s mock_scanner = MockBleakScanner() 142s 142s with ( 142s patch("habluetooth.scanner.OriginalBleakScanner", return_value=mock_scanner), 142s patch( 142s "habluetooth.util.recover_adapter", return_value=True 142s ) as mock_recover_adapter, 142s ): 142s scanner = HaScanner(BluetoothScanningMode.ACTIVE, "hci0", "AA:BB:CC:DD:EE:FF") 142s scanner.async_setup() 142s > await scanner.async_start() 142s 142s tests/test_scanner.py:340: 142s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 142s /usr/lib/python3/dist-packages/habluetooth/scanner.py:336: in async_start 142s await self._async_start() 142s /usr/lib/python3/dist-packages/habluetooth/scanner.py:344: in _async_start 142s await self._async_on_successful_start() 142s /usr/lib/python3/dist-packages/habluetooth/scanner.py:350: in _async_on_successful_start 142s await restore_discoveries(self.scanner, self.adapter) 142s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 142s 142s scanner = .MockBleakScanner object at 0xf4e672f2fb60> 142s adapter = 'hci0' 142s 142s async def restore_discoveries(scanner: BleakScanner, adapter: str) -> None: 142s """Restore discoveries from the bus.""" 142s if not IS_LINUX: 142s # This is only supported on Linux 142s return 142s if not (properties := await _get_properties()): 142s _LOGGER.debug("Failed to restore discoveries for %s", adapter) 142s return 142s > backend = scanner._backend 142s E AttributeError: 'MockBleakScanner' object has no attribute '_backend' 142s 142s /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:641: AttributeError 142s ------------------------------ Captured log setup ------------------------------ 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s ------------------------------ Captured log call ------------------------------- 142s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 142s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 142s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (1/4): not found 142s Traceback (most recent call last): 142s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 142s await self.scanner.start() 142s File "/tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 142s raise BleakError(error) 142s bleak.exc.BleakError: not found 142s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 142s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (2/4) 142s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:615 hci0 (AA:BB:CC:DD:EE:FF): adapter stopped responding; executing reset 142s DEBUG habluetooth.scanner:scanner.py:617 hci0 (AA:BB:CC:DD:EE:FF): adapter reset result: True 142s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (2/4): not found 142s Traceback (most recent call last): 142s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 142s await self.scanner.start() 142s File "/tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_scanner.py", line 310, in start 142s raise BleakError(error) 142s bleak.exc.BleakError: not found 142s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 142s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (3/4) 142s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (3/4) 142s 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': {}}} 142s ---------------------------- Captured log teardown ----------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s _______________________ test_recovery_from_dbus_restart ________________________ 142s 142s @pytest.mark.asyncio 142s @pytest.mark.skipif(IS_WINDOWS) 142s async def test_recovery_from_dbus_restart() -> None: 142s """Test we can recover when DBus gets restarted out from under us.""" 142s called_start = 0 142s called_stop = 0 142s _callback = None 142s mock_discovered: list[Any] = [] 142s 142s class MockBleakScanner: 142s def __init__(self, detection_callback, *args, **kwargs): 142s nonlocal _callback 142s _callback = detection_callback 142s 142s async def start(self, *args, **kwargs): 142s """Mock Start.""" 142s nonlocal called_start 142s called_start += 1 142s 142s async def stop(self, *args, **kwargs): 142s """Mock Start.""" 142s nonlocal called_stop 142s called_stop += 1 142s 142s @property 142s def discovered_devices(self): 142s """Mock discovered_devices.""" 142s nonlocal mock_discovered 142s return mock_discovered 142s 142s with patch( 142s "habluetooth.scanner.OriginalBleakScanner", 142s MockBleakScanner, 142s ): 142s scanner = HaScanner(BluetoothScanningMode.ACTIVE, "hci0", "AA:BB:CC:DD:EE:FF") 142s scanner.async_setup() 142s > await scanner.async_start() 142s 142s tests/test_scanner.py:382: 142s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 142s /usr/lib/python3/dist-packages/habluetooth/scanner.py:336: in async_start 142s await self._async_start() 142s /usr/lib/python3/dist-packages/habluetooth/scanner.py:344: in _async_start 142s await self._async_on_successful_start() 142s /usr/lib/python3/dist-packages/habluetooth/scanner.py:350: in _async_on_successful_start 142s await restore_discoveries(self.scanner, self.adapter) 142s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 142s 142s scanner = .MockBleakScanner object at 0xf4e672f2fcb0> 142s adapter = 'hci0' 142s 142s async def restore_discoveries(scanner: BleakScanner, adapter: str) -> None: 142s """Restore discoveries from the bus.""" 142s if not IS_LINUX: 142s # This is only supported on Linux 142s return 142s if not (properties := await _get_properties()): 142s _LOGGER.debug("Failed to restore discoveries for %s", adapter) 142s return 142s > backend = scanner._backend 142s E AttributeError: 'MockBleakScanner' object has no attribute '_backend' 142s 142s /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:641: AttributeError 142s ------------------------------ Captured log setup ------------------------------ 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s ------------------------------ Captured log call ------------------------------- 142s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 142s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 142s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (1/4) 142s 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': {}}} 142s ---------------------------- Captured log teardown ----------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s ____________________________ test_adapter_recovery _____________________________ 142s 142s @pytest.mark.asyncio 142s @pytest.mark.skipif(IS_WINDOWS) 142s async def test_adapter_recovery() -> None: 142s """Test we can recover when the adapter stops responding.""" 142s called_start = 0 142s called_stop = 0 142s _callback = None 142s mock_discovered: list[Any] = [] 142s 142s class MockBleakScanner: 142s async def start(self, *args, **kwargs): 142s """Mock Start.""" 142s nonlocal called_start 142s called_start += 1 142s 142s async def stop(self, *args, **kwargs): 142s """Mock Start.""" 142s nonlocal called_stop 142s called_stop += 1 142s 142s @property 142s def discovered_devices(self): 142s """Mock discovered_devices.""" 142s nonlocal mock_discovered 142s return mock_discovered 142s 142s def register_detection_callback( 142s self, callback: AdvertisementDataCallback 142s ) -> None: 142s """Mock Register Detection Callback.""" 142s nonlocal _callback 142s _callback = callback 142s 142s mock_scanner = MockBleakScanner() 142s start_time_monotonic = time.monotonic() 142s 142s with ( 142s patch_bluetooth_time( 142s start_time_monotonic, 142s ), 142s patch( 142s "habluetooth.scanner.OriginalBleakScanner", 142s return_value=mock_scanner, 142s ), 142s ): 142s scanner = HaScanner(BluetoothScanningMode.ACTIVE, "hci0", "AA:BB:CC:DD:EE:FF") 142s scanner.async_setup() 142s > await scanner.async_start() 142s 142s tests/test_scanner.py:475: 142s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 142s /usr/lib/python3/dist-packages/habluetooth/scanner.py:336: in async_start 142s await self._async_start() 142s /usr/lib/python3/dist-packages/habluetooth/scanner.py:344: in _async_start 142s await self._async_on_successful_start() 142s /usr/lib/python3/dist-packages/habluetooth/scanner.py:350: in _async_on_successful_start 142s await restore_discoveries(self.scanner, self.adapter) 142s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 142s 142s scanner = .MockBleakScanner object at 0xf4e672f2fe00> 142s adapter = 'hci0' 142s 142s async def restore_discoveries(scanner: BleakScanner, adapter: str) -> None: 142s """Restore discoveries from the bus.""" 142s if not IS_LINUX: 142s # This is only supported on Linux 142s return 142s if not (properties := await _get_properties()): 142s _LOGGER.debug("Failed to restore discoveries for %s", adapter) 142s return 142s > backend = scanner._backend 142s E AttributeError: 'MockBleakScanner' object has no attribute '_backend' 142s 142s /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:641: AttributeError 142s ------------------------------ Captured log setup ------------------------------ 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s ------------------------------ Captured log call ------------------------------- 142s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 142s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 142s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (1/4) 142s 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': {}}} 142s ---------------------------- Captured log teardown ----------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s ________________ test_adapter_scanner_fails_to_start_first_time ________________ 142s 142s @pytest.mark.asyncio 142s @pytest.mark.skipif(IS_WINDOWS) 142s async def test_adapter_scanner_fails_to_start_first_time() -> None: 142s """ 142s Test we can recover when the adapter stops responding. 142s 142s The first recovery fails. 142s """ 142s called_start = 0 142s called_stop = 0 142s _callback = None 142s mock_discovered: list[Any] = [] 142s 142s class MockBleakScanner: 142s async def start(self, *args, **kwargs): 142s """Mock Start.""" 142s nonlocal called_start 142s called_start += 1 142s if called_start == 1: 142s return # Start ok the first time 142s if called_start < 4: 142s raise BleakError("Failed to start") 142s 142s async def stop(self, *args, **kwargs): 142s """Mock Start.""" 142s nonlocal called_stop 142s called_stop += 1 142s 142s @property 142s def discovered_devices(self): 142s """Mock discovered_devices.""" 142s nonlocal mock_discovered 142s return mock_discovered 142s 142s def register_detection_callback( 142s self, callback: AdvertisementDataCallback 142s ) -> None: 142s """Mock Register Detection Callback.""" 142s nonlocal _callback 142s _callback = callback 142s 142s mock_scanner = MockBleakScanner() 142s start_time_monotonic = time.monotonic() 142s 142s with ( 142s patch_bluetooth_time( 142s start_time_monotonic, 142s ), 142s patch( 142s "habluetooth.scanner.OriginalBleakScanner", 142s return_value=mock_scanner, 142s ), 142s ): 142s scanner = HaScanner(BluetoothScanningMode.ACTIVE, "hci0", "AA:BB:CC:DD:EE:FF") 142s scanner.async_setup() 142s > await scanner.async_start() 142s 142s tests/test_scanner.py:580: 142s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 142s /usr/lib/python3/dist-packages/habluetooth/scanner.py:336: in async_start 142s await self._async_start() 142s /usr/lib/python3/dist-packages/habluetooth/scanner.py:344: in _async_start 142s await self._async_on_successful_start() 142s /usr/lib/python3/dist-packages/habluetooth/scanner.py:350: in _async_on_successful_start 142s await restore_discoveries(self.scanner, self.adapter) 142s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 142s 142s scanner = .MockBleakScanner object at 0xf4e672f2eba0> 142s adapter = 'hci0' 142s 142s async def restore_discoveries(scanner: BleakScanner, adapter: str) -> None: 142s """Restore discoveries from the bus.""" 142s if not IS_LINUX: 142s # This is only supported on Linux 142s return 142s if not (properties := await _get_properties()): 142s _LOGGER.debug("Failed to restore discoveries for %s", adapter) 142s return 142s > backend = scanner._backend 142s E AttributeError: 'MockBleakScanner' object has no attribute '_backend' 142s 142s /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:641: AttributeError 142s ------------------------------ Captured log setup ------------------------------ 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s ------------------------------ Captured log call ------------------------------- 142s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 142s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 142s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (1/4) 142s 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': {}}} 142s ---------------------------- Captured log teardown ----------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s _____________ test_adapter_fails_to_start_and_takes_a_bit_to_init ______________ 142s 142s caplog = <_pytest.logging.LogCaptureFixture object at 0xf4e6730a2c10> 142s 142s @pytest.mark.asyncio 142s async def test_adapter_fails_to_start_and_takes_a_bit_to_init( 142s caplog: pytest.LogCaptureFixture, 142s ) -> None: 142s """Test we can recover the adapter at startup and we wait for Dbus to init.""" 142s called_start = 0 142s called_stop = 0 142s _callback = None 142s mock_discovered: list[Any] = [] 142s 142s class MockBleakScanner: 142s async def start(self, *args, **kwargs): 142s """Mock Start.""" 142s nonlocal called_start 142s called_start += 1 142s if called_start == 1: 142s raise BleakError("org.freedesktop.DBus.Error.UnknownObject") 142s if called_start == 2: 142s raise BleakError("org.bluez.Error.InProgress") 142s if called_start == 3: 142s raise BleakError("org.bluez.Error.InProgress") 142s 142s async def stop(self, *args, **kwargs): 142s """Mock Start.""" 142s nonlocal called_stop 142s called_stop += 1 142s 142s @property 142s def discovered_devices(self): 142s """Mock discovered_devices.""" 142s nonlocal mock_discovered 142s return mock_discovered 142s 142s def register_detection_callback( 142s self, callback: AdvertisementDataCallback 142s ) -> None: 142s """Mock Register Detection Callback.""" 142s nonlocal _callback 142s _callback = callback 142s 142s mock_scanner = MockBleakScanner() 142s start_time_monotonic = time.monotonic() 142s 142s with ( 142s patch( 142s "habluetooth.scanner.ADAPTER_INIT_TIME", 142s 0, 142s ), 142s patch_bluetooth_time( 142s start_time_monotonic, 142s ), 142s patch( 142s "habluetooth.scanner.OriginalBleakScanner", 142s return_value=mock_scanner, 142s ), 142s patch( 142s "habluetooth.util.recover_adapter", return_value=True 142s ) as mock_recover_adapter, 142s ): 142s scanner = HaScanner(BluetoothScanningMode.ACTIVE, "hci0", "AA:BB:CC:DD:EE:FF") 142s scanner.async_setup() 142s > await scanner.async_start() 142s 142s tests/test_scanner.py:705: 142s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 142s /usr/lib/python3/dist-packages/habluetooth/scanner.py:336: in async_start 142s await self._async_start() 142s /usr/lib/python3/dist-packages/habluetooth/scanner.py:344: in _async_start 142s await self._async_on_successful_start() 142s /usr/lib/python3/dist-packages/habluetooth/scanner.py:350: in _async_on_successful_start 142s await restore_discoveries(self.scanner, self.adapter) 142s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 142s 142s scanner = .MockBleakScanner object at 0xf4e672f2e660> 142s adapter = 'hci0' 142s 142s async def restore_discoveries(scanner: BleakScanner, adapter: str) -> None: 142s """Restore discoveries from the bus.""" 142s if not IS_LINUX: 142s # This is only supported on Linux 142s return 142s if not (properties := await _get_properties()): 142s _LOGGER.debug("Failed to restore discoveries for %s", adapter) 142s return 142s > backend = scanner._backend 142s E AttributeError: 'MockBleakScanner' object has no attribute '_backend' 142s 142s /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:641: AttributeError 142s ------------------------------ Captured log setup ------------------------------ 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s ------------------------------ Captured log call ------------------------------- 142s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 142s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 142s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:462 hci0 (AA:BB:CC:DD:EE:FF): Waiting for adapter to initialize; attempt (1/4) 142s 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 142s Traceback (most recent call last): 142s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 142s await self.scanner.start() 142s File "/tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_scanner.py", line 660, in start 142s raise BleakError("org.freedesktop.DBus.Error.UnknownObject") 142s bleak.exc.BleakError: org.freedesktop.DBus.Error.UnknownObject 142s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 142s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (2/4) 142s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:615 hci0 (AA:BB:CC:DD:EE:FF): adapter stopped responding; executing reset 142s DEBUG habluetooth.scanner:scanner.py:617 hci0 (AA:BB:CC:DD:EE:FF): adapter reset result: True 142s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (2/4): org.bluez.Error.InProgress 142s Traceback (most recent call last): 142s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 142s await self.scanner.start() 142s File "/tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_scanner.py", line 662, in start 142s raise BleakError("org.bluez.Error.InProgress") 142s bleak.exc.BleakError: org.bluez.Error.InProgress 142s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 142s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (3/4) 142s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (3/4): org.bluez.Error.InProgress 142s Traceback (most recent call last): 142s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 142s await self.scanner.start() 142s File "/tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_scanner.py", line 664, in start 142s raise BleakError("org.bluez.Error.InProgress") 142s bleak.exc.BleakError: org.bluez.Error.InProgress 142s 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) 142s 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')]}} 142s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (4/4) 142s 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) 142s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (4/4) 142s 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': {}}} 142s ---------------------------- Captured log teardown ----------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s _________________ test_restart_takes_longer_than_watchdog_time _________________ 142s 142s caplog = <_pytest.logging.LogCaptureFixture object at 0xf4e673036c10> 142s 142s @pytest.mark.asyncio 142s async def test_restart_takes_longer_than_watchdog_time( 142s caplog: pytest.LogCaptureFixture, 142s ) -> None: 142s """ 142s Test we do not try to recover the adapter again. 142s 142s If the restart is still in progress. 142s """ 142s release_start_event = asyncio.Event() 142s called_start = 0 142s 142s class MockBleakScanner: 142s async def start(self, *args, **kwargs): 142s """Mock Start.""" 142s nonlocal called_start 142s called_start += 1 142s if called_start == 1: 142s return 142s await release_start_event.wait() 142s 142s async def stop(self, *args, **kwargs): 142s """Mock Start.""" 142s 142s @property 142s def discovered_devices(self): 142s """Mock discovered_devices.""" 142s return [] 142s 142s def register_detection_callback( 142s self, callback: AdvertisementDataCallback 142s ) -> None: 142s """Mock Register Detection Callback.""" 142s 142s mock_scanner = MockBleakScanner() 142s start_time_monotonic = time.monotonic() 142s 142s with ( 142s patch( 142s "habluetooth.scanner.ADAPTER_INIT_TIME", 142s 0, 142s ), 142s patch_bluetooth_time( 142s start_time_monotonic, 142s ), 142s patch( 142s "habluetooth.scanner.OriginalBleakScanner", 142s return_value=mock_scanner, 142s ), 142s patch("habluetooth.util.recover_adapter", return_value=True), 142s ): 142s scanner = HaScanner(BluetoothScanningMode.ACTIVE, "hci0", "AA:BB:CC:DD:EE:FF") 142s scanner.async_setup() 142s > await scanner.async_start() 142s 142s tests/test_scanner.py:767: 142s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 142s /usr/lib/python3/dist-packages/habluetooth/scanner.py:336: in async_start 142s await self._async_start() 142s /usr/lib/python3/dist-packages/habluetooth/scanner.py:344: in _async_start 142s await self._async_on_successful_start() 142s /usr/lib/python3/dist-packages/habluetooth/scanner.py:350: in _async_on_successful_start 142s await restore_discoveries(self.scanner, self.adapter) 142s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 142s 142s scanner = .MockBleakScanner object at 0xf4e672f2fe00> 142s adapter = 'hci0' 142s 142s async def restore_discoveries(scanner: BleakScanner, adapter: str) -> None: 142s """Restore discoveries from the bus.""" 142s if not IS_LINUX: 142s # This is only supported on Linux 142s return 142s if not (properties := await _get_properties()): 142s _LOGGER.debug("Failed to restore discoveries for %s", adapter) 142s return 142s > backend = scanner._backend 142s E AttributeError: 'MockBleakScanner' object has no attribute '_backend' 142s 142s /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:641: AttributeError 142s ------------------------------ Captured log setup ------------------------------ 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s ------------------------------ Captured log call ------------------------------- 142s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 142s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 142s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (1/4) 142s 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': {}}} 142s ---------------------------- Captured log teardown ----------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s _________________ test_adapter_init_fails_fallback_to_passive __________________ 142s 142s caplog = <_pytest.logging.LogCaptureFixture object at 0xf4e673036b30> 142s 142s @pytest.mark.asyncio 142s async def test_adapter_init_fails_fallback_to_passive( 142s caplog: pytest.LogCaptureFixture, 142s ) -> None: 142s """Test we fallback to passive when adapter init fails.""" 142s called_start = 0 142s called_stop = 0 142s _callback = None 142s mock_discovered: list[Any] = [] 142s 142s class MockBleakScanner: 142s async def start(self, *args, **kwargs): 142s """Mock Start.""" 142s nonlocal called_start 142s called_start += 1 142s if called_start == 1: 142s raise BleakError("org.freedesktop.DBus.Error.UnknownObject") 142s if called_start == 2: 142s raise BleakError("org.bluez.Error.InProgress") 142s if called_start == 3: 142s raise BleakError("org.bluez.Error.InProgress") 142s 142s async def stop(self, *args, **kwargs): 142s """Mock Start.""" 142s nonlocal called_stop 142s called_stop += 1 142s 142s @property 142s def discovered_devices(self): 142s """Mock discovered_devices.""" 142s nonlocal mock_discovered 142s return mock_discovered 142s 142s def register_detection_callback( 142s self, callback: AdvertisementDataCallback 142s ) -> None: 142s """Mock Register Detection Callback.""" 142s nonlocal _callback 142s _callback = callback 142s 142s @property 142s def discovered_devices_and_advertisement_data(self) -> dict[str, Any]: 142s """Mock discovered_devices.""" 142s return {} 142s 142s mock_scanner = MockBleakScanner() 142s start_time_monotonic = time.monotonic() 142s 142s with ( 142s patch( 142s "habluetooth.scanner.IS_LINUX", 142s True, 142s ), 142s patch( 142s "habluetooth.scanner.ADAPTER_INIT_TIME", 142s 0, 142s ), 142s patch_bluetooth_time( 142s start_time_monotonic, 142s ), 142s patch( 142s "habluetooth.scanner.OriginalBleakScanner", 142s return_value=mock_scanner, 142s ), 142s patch( 142s "habluetooth.util.recover_adapter", return_value=True 142s ) as mock_recover_adapter, 142s ): 142s scanner = HaScanner(BluetoothScanningMode.ACTIVE, "hci0", "AA:BB:CC:DD:EE:FF") 142s scanner.async_setup() 142s > await scanner.async_start() 142s 142s tests/test_scanner.py:895: 142s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 142s /usr/lib/python3/dist-packages/habluetooth/scanner.py:336: in async_start 142s await self._async_start() 142s /usr/lib/python3/dist-packages/habluetooth/scanner.py:344: in _async_start 142s await self._async_on_successful_start() 142s /usr/lib/python3/dist-packages/habluetooth/scanner.py:350: in _async_on_successful_start 142s await restore_discoveries(self.scanner, self.adapter) 142s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 142s 142s scanner = .MockBleakScanner object at 0xf4e672f2f0e0> 142s adapter = 'hci0' 142s 142s async def restore_discoveries(scanner: BleakScanner, adapter: str) -> None: 142s """Restore discoveries from the bus.""" 142s if not IS_LINUX: 142s # This is only supported on Linux 142s return 142s if not (properties := await _get_properties()): 142s _LOGGER.debug("Failed to restore discoveries for %s", adapter) 142s return 142s > backend = scanner._backend 142s E AttributeError: 'MockBleakScanner' object has no attribute '_backend' 142s 142s /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:641: AttributeError 142s ------------------------------ Captured log setup ------------------------------ 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s ------------------------------ Captured log call ------------------------------- 142s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 142s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 142s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:462 hci0 (AA:BB:CC:DD:EE:FF): Waiting for adapter to initialize; attempt (1/4) 142s 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 142s Traceback (most recent call last): 142s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 142s await self.scanner.start() 142s File "/tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_scanner.py", line 841, in start 142s raise BleakError("org.freedesktop.DBus.Error.UnknownObject") 142s bleak.exc.BleakError: org.freedesktop.DBus.Error.UnknownObject 142s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 142s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (2/4) 142s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:615 hci0 (AA:BB:CC:DD:EE:FF): adapter stopped responding; executing reset 142s DEBUG habluetooth.scanner:scanner.py:617 hci0 (AA:BB:CC:DD:EE:FF): adapter reset result: True 142s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (2/4): org.bluez.Error.InProgress 142s Traceback (most recent call last): 142s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 142s await self.scanner.start() 142s File "/tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_scanner.py", line 843, in start 142s raise BleakError("org.bluez.Error.InProgress") 142s bleak.exc.BleakError: org.bluez.Error.InProgress 142s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'detection_callback': >, 'adapter': 'hci0'} 142s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (3/4) 142s DEBUG habluetooth.scanner:scanner.py:633 hci0 (AA:BB:CC:DD:EE:FF): Stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:494 hci0 (AA:BB:CC:DD:EE:FF): BleakError while starting bluetooth; attempt: (3/4): org.bluez.Error.InProgress 142s Traceback (most recent call last): 142s File "/usr/lib/python3/dist-packages/habluetooth/scanner.py", line 403, in _async_start_attempt 142s await self.scanner.start() 142s File "/tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_scanner.py", line 845, in start 142s raise BleakError("org.bluez.Error.InProgress") 142s bleak.exc.BleakError: org.bluez.Error.InProgress 142s 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) 142s 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')]}} 142s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (4/4) 142s 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) 142s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (4/4) 142s 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': {}}} 142s ---------------------------- Captured log teardown ----------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s __________________ test_scanner_with_bluez_mgmt_side_channel ___________________ 142s 142s mock_btmgmt_socket = 142s 142s @pytest.mark.asyncio 142s @pytest.mark.skipif(NOT_POSIX) 142s async def test_scanner_with_bluez_mgmt_side_channel(mock_btmgmt_socket: Mock) -> None: 142s """Test scanner receiving advertisements via BlueZ management side channel.""" 142s # Mock capability check for the entire test 142s with patch.object(MGMTBluetoothCtl, "_check_capabilities", return_value=True): 142s 142s # Create a custom manager that tracks discovered devices 142s class TestBluetoothManager(BluetoothManager): 142s def __init__(self, *args, **kwargs): 142s super().__init__(*args, **kwargs) 142s self.discovered_infos = [] 142s 142s def _discover_service_info( 142s self, service_info: BluetoothServiceInfoBleak 142s ) -> None: 142s """Track discovered service info.""" 142s self.discovered_infos.append(service_info) 142s 142s # Create manager and setup mgmt controller 142s adapters = FakeBluetoothAdapters() 142s slot_manager = BleakSlotManager() 142s manager = TestBluetoothManager(adapters, slot_manager) 142s set_manager(manager) 142s 142s # Set up the manager first 142s await manager.async_setup() 142s 142s # Create and setup the mgmt controller with the manager's side channel scanners 142s mgmt_ctl = MGMTBluetoothCtl( 142s timeout=5.0, scanners=manager._side_channel_scanners 142s ) 142s 142s # Mock the protocol setup 142s mock_protocol = Mock(spec=BluetoothMGMTProtocol) 142s mock_transport = Mock() 142s mock_protocol.transport = mock_transport 142s 142s async def mock_setup(): 142s mgmt_ctl.protocol = mock_protocol 142s mgmt_ctl._on_connection_lost_future = ( 142s asyncio.get_running_loop().create_future() 142s ) 142s 142s mgmt_ctl.setup = mock_setup # type: ignore[method-assign] 142s 142s # Inject mgmt controller into manager 142s manager._mgmt_ctl = mgmt_ctl 142s manager.has_advertising_side_channel = True 142s 142s # Verify get_bluez_mgmt_ctl returns our controller 142s assert manager.get_bluez_mgmt_ctl() is mgmt_ctl 142s 142s # Register scanner 142s scanner = HaScanner(BluetoothScanningMode.ACTIVE, "hci0", "AA:BB:CC:DD:EE:FF") 142s scanner.async_setup() 142s manager.async_register_scanner(scanner, connection_slots=2) 142s 142s # Start scanner - should be created without detection callback 142s with patch("habluetooth.scanner.OriginalBleakScanner") as mock_scanner_class: 142s mock_scanner = Mock() 142s mock_scanner.start = AsyncMock() 142s mock_scanner.stop = AsyncMock() 142s mock_scanner.discovered_devices = [] 142s mock_scanner_class.return_value = mock_scanner 142s 142s > await scanner.async_start() 142s 142s tests/test_scanner.py:1002: 142s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 142s /usr/lib/python3/dist-packages/habluetooth/scanner.py:336: in async_start 142s await self._async_start() 142s /usr/lib/python3/dist-packages/habluetooth/scanner.py:344: in _async_start 142s await self._async_on_successful_start() 142s /usr/lib/python3/dist-packages/habluetooth/scanner.py:350: in _async_on_successful_start 142s await restore_discoveries(self.scanner, self.adapter) 142s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 142s 142s scanner = 142s adapter = 'hci0' 142s 142s async def restore_discoveries(scanner: BleakScanner, adapter: str) -> None: 142s """Restore discoveries from the bus.""" 142s if not IS_LINUX: 142s # This is only supported on Linux 142s return 142s if not (properties := await _get_properties()): 142s _LOGGER.debug("Failed to restore discoveries for %s", adapter) 142s return 142s backend = scanner._backend 142s > before = len(backend.seen_devices) 142s E TypeError: object of type 'Mock' has no len() 142s 142s /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:642: TypeError 142s ------------------------------ Captured log setup ------------------------------ 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s ------------------------------ Captured log call ------------------------------- 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s ERROR asyncio:base_events.py:1879 Exception in callback _SelectorTransport._add_reader() 142s handle: 142s Traceback (most recent call last): 142s File "/usr/lib/python3.13/asyncio/events.py", line 89, in _run 142s self._context.run(self._callback, *self._args) 142s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 142s File "/usr/lib/python3.13/asyncio/selector_events.py", line 920, in _add_reader 142s self._loop._add_reader(fd, callback, *args) 142s ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 142s File "/usr/lib/python3.13/asyncio/selector_events.py", line 279, in _add_reader 142s self._selector.register(fd, selectors.EVENT_READ, 142s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^ 142s (handle, None)) 142s ^^^^^^^^^^^^^^^ 142s File "/usr/lib/python3.13/selectors.py", line 345, in register 142s self._selector.register(key.fd, poller_events) 142s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ 142s OSError: [Errno 9] Bad file descriptor 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:FF) 142s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'adapter': 'hci0'} 142s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:FF): Force stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:FF): Starting bluetooth discovery attempt: (1/4) 142s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:FF): Success while starting bluetooth; attempt: (1/4) 142s 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': {}}} 142s ---------------------------- Captured log teardown ----------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s ______________________ test_bluez_mgmt_protocol_data_flow ______________________ 142s 142s mock_btmgmt_socket = 142s 142s @pytest.mark.asyncio 142s @pytest.mark.skipif(NOT_POSIX) 142s async def test_bluez_mgmt_protocol_data_flow(mock_btmgmt_socket: Mock) -> None: 142s """Test data flow from BlueZ protocol through manager to scanner.""" 142s # Mock capability check for the entire test 142s with patch.object(MGMTBluetoothCtl, "_check_capabilities", return_value=True): 142s 142s # Create manager 142s class TestBluetoothManager(BluetoothManager): 142s def __init__(self, *args, **kwargs): 142s super().__init__(*args, **kwargs) 142s self.discovered_infos = [] 142s 142s def _discover_service_info( 142s self, service_info: BluetoothServiceInfoBleak 142s ) -> None: 142s """Track discovered service info.""" 142s self.discovered_infos.append(service_info) 142s 142s adapters = FakeBluetoothAdapters() 142s slot_manager = BleakSlotManager() 142s manager = TestBluetoothManager(adapters, slot_manager) 142s set_manager(manager) 142s 142s # Set up manager first 142s await manager.async_setup() 142s 142s # Create mgmt controller with the manager's side channel scanners dictionary 142s mgmt_ctl = MGMTBluetoothCtl( 142s timeout=5.0, scanners=manager._side_channel_scanners 142s ) 142s 142s # We'll capture the protocol when it's created 142s captured_protocol: BluetoothMGMTProtocol | None = None 142s 142s async def mock_create_connection(sock, protocol_factory, *args, **kwargs): 142s nonlocal captured_protocol 142s captured_protocol = protocol_factory() 142s mock_transport = Mock() 142s captured_protocol.connection_made(mock_transport) 142s return mock_transport, captured_protocol 142s 142s with patch.object( 142s asyncio.get_running_loop(), 142s "_create_connection_transport", 142s mock_create_connection, 142s ): 142s await mgmt_ctl.setup() 142s 142s # Set mgmt controller on manager 142s manager._mgmt_ctl = mgmt_ctl 142s manager.has_advertising_side_channel = True 142s 142s # Register scanners for hci0 and hci1 142s scanner0 = HaScanner(BluetoothScanningMode.ACTIVE, "hci0", "AA:BB:CC:DD:EE:00") 142s scanner0.async_setup() 142s manager.async_register_scanner(scanner0, connection_slots=2) 142s 142s scanner1 = HaScanner(BluetoothScanningMode.ACTIVE, "hci1", "AA:BB:CC:DD:EE:01") 142s scanner1.async_setup() 142s manager.async_register_scanner(scanner1, connection_slots=2) 142s 142s # Start scanners 142s with patch("habluetooth.scanner.OriginalBleakScanner") as mock_scanner_class: 142s mock_scanner = Mock() 142s mock_scanner.start = AsyncMock() 142s mock_scanner.stop = AsyncMock() 142s mock_scanner.discovered_devices = [] 142s mock_scanner_class.return_value = mock_scanner 142s > await scanner0.async_start() 142s 142s tests/test_scanner.py:1180: 142s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 142s /usr/lib/python3/dist-packages/habluetooth/scanner.py:336: in async_start 142s await self._async_start() 142s /usr/lib/python3/dist-packages/habluetooth/scanner.py:344: in _async_start 142s await self._async_on_successful_start() 142s /usr/lib/python3/dist-packages/habluetooth/scanner.py:350: in _async_on_successful_start 142s await restore_discoveries(self.scanner, self.adapter) 142s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 142s 142s scanner = 142s adapter = 'hci0' 142s 142s async def restore_discoveries(scanner: BleakScanner, adapter: str) -> None: 142s """Restore discoveries from the bus.""" 142s if not IS_LINUX: 142s # This is only supported on Linux 142s return 142s if not (properties := await _get_properties()): 142s _LOGGER.debug("Failed to restore discoveries for %s", adapter) 142s return 142s backend = scanner._backend 142s > before = len(backend.seen_devices) 142s E TypeError: object of type 'Mock' has no len() 142s 142s /usr/lib/python3/dist-packages/bleak_retry_connector/__init__.py:642: TypeError 142s ------------------------------ Captured log setup ------------------------------ 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s ------------------------------ Captured log call ------------------------------- 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s ERROR asyncio:base_events.py:1879 Exception in callback _SelectorTransport._add_reader() 142s handle: 142s Traceback (most recent call last): 142s File "/usr/lib/python3.13/asyncio/events.py", line 89, in _run 142s self._context.run(self._callback, *self._args) 142s ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 142s File "/usr/lib/python3.13/asyncio/selector_events.py", line 920, in _add_reader 142s self._loop._add_reader(fd, callback, *args) 142s ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ 142s File "/usr/lib/python3.13/asyncio/selector_events.py", line 279, in _add_reader 142s self._selector.register(fd, selectors.EVENT_READ, 142s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^ 142s (handle, None)) 142s ^^^^^^^^^^^^^^^ 142s File "/usr/lib/python3.13/selectors.py", line 345, in register 142s self._selector.register(key.fd, poller_events) 142s ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ 142s OSError: [Errno 9] Bad file descriptor 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.channels.bluez:bluez.py:334 Establishing Bluetooth management socket connection 142s DEBUG habluetooth.channels.bluez:bluez.py:359 Bluetooth management socket connection established 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci0 (AA:BB:CC:DD:EE:00) 142s DEBUG habluetooth.manager:manager.py:835 Registering scanner hci1 (AA:BB:CC:DD:EE:01) 142s DEBUG habluetooth.scanner:scanner.py:145 Initializing bluetooth scanner with {'scanning_mode': 'active', 'adapter': 'hci0'} 142s DEBUG habluetooth.scanner:scanner.py:646 hci0 (AA:BB:CC:DD:EE:00): Force stopping bluetooth discovery 142s DEBUG habluetooth.scanner:scanner.py:504 hci0 (AA:BB:CC:DD:EE:00): Starting bluetooth discovery attempt: (1/4) 142s DEBUG habluetooth.scanner:scanner.py:478 hci0 (AA:BB:CC:DD:EE:00): Success while starting bluetooth; attempt: (1/4) 142s 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': {}}} 142s ---------------------------- Captured log teardown ----------------------------- 142s DEBUG asyncio:selector_events.py:64 Using selector: EpollSelector 142s =============================== warnings summary =============================== 142s tests/test_base_scanner.py:861 142s /tmp/autopkgtest.oJw0fd/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) 142s class TestScanner(BaseHaScanner): 142s 142s tests/channels/test_bluez.py: 49 warnings 142s /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:866: DeprecationWarning: The event_loop fixture provided by pytest-asyncio has been redefined in 142s /tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/channels/test_bluez.py:44 142s Replacing the event_loop fixture with a custom implementation is deprecated 142s and will lead to errors in the future. 142s If you want to request an asyncio event loop with a scope other than function 142s scope, use the "loop_scope" argument to the asyncio mark when marking the tests. 142s If you want to return different types of event loops, use the event_loop_policy 142s fixture. 142s 142s warnings.warn( 142s 142s tests/test_base_scanner.py: 9 warnings 142s tests/test_manager.py: 3 warnings 142s tests/test_wrappers.py: 19 warnings 142s /tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/__init__.py:64: DeprecationWarning: Passing additional arguments for BLEDevice is deprecated and has no effect. 142s return BLEDevice(**new) 142s 142s tests/test_base_scanner.py::test_remote_scanner_expires_non_connectable 142s /tmp/autopkgtest.oJw0fd/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 142s assert len(scanner._discovered_device_timestamps) == 1 142s 142s tests/test_base_scanner.py::test_remote_scanner_expires_non_connectable 142s /tmp/autopkgtest.oJw0fd/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 142s assert len(scanner._discovered_device_timestamps) == 0 142s 142s tests/test_base_scanner.py::test_remote_scanner_expires_non_connectable 142s /tmp/autopkgtest.oJw0fd/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 142s assert len(scanner._discovered_device_timestamps) == 0 142s 142s tests/test_base_scanner.py::test_score_with_no_allocations 142s /tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_base_scanner.py:881: DeprecationWarning: Passing additional arguments for BLEDevice is deprecated and has no effect. 142s ble_device = BLEDevice( 142s 142s tests/test_base_scanner.py::test_score_with_all_slots_free 142s /tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_base_scanner.py:923: DeprecationWarning: Passing additional arguments for BLEDevice is deprecated and has no effect. 142s ble_device = BLEDevice( 142s 142s tests/test_base_scanner.py::test_score_with_one_slot_remaining 142s /tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_base_scanner.py:970: DeprecationWarning: Passing additional arguments for BLEDevice is deprecated and has no effect. 142s ble_device = BLEDevice( 142s 142s tests/test_base_scanner.py::test_score_with_no_slots_available 142s /tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_base_scanner.py:1019: DeprecationWarning: Passing additional arguments for BLEDevice is deprecated and has no effect. 142s ble_device = BLEDevice( 142s 142s tests/test_base_scanner.py::test_score_comparison_with_different_slot_availability 142s /tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_base_scanner.py:1068: DeprecationWarning: Passing additional arguments for BLEDevice is deprecated and has no effect. 142s ble_device = BLEDevice( 142s 142s tests/test_base_scanner.py::test_score_with_connections_in_progress_and_slots 142s /tmp/autopkgtest.oJw0fd/autopkgtest_tmp/build/tests/test_base_scanner.py:1170: DeprecationWarning: Passing additional arguments for BLEDevice is deprecated and has no effect. 142s ble_device = BLEDevice( 142s 142s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 142s =========================== short test summary info ============================ 142s FAILED tests/test_scanner.py::test_adapter_needs_reset_at_start[org.bluez.Error.Failed] 142s FAILED tests/test_scanner.py::test_adapter_needs_reset_at_start[org.bluez.Error.InProgress] 142s FAILED tests/test_scanner.py::test_adapter_needs_reset_at_start[org.bluez.Error.NotReady] 142s FAILED tests/test_scanner.py::test_adapter_needs_reset_at_start[not found] - ... 142s FAILED tests/test_scanner.py::test_recovery_from_dbus_restart - AttributeErro... 142s FAILED tests/test_scanner.py::test_adapter_recovery - AttributeError: 'MockBl... 142s FAILED tests/test_scanner.py::test_adapter_scanner_fails_to_start_first_time 142s FAILED tests/test_scanner.py::test_adapter_fails_to_start_and_takes_a_bit_to_init 142s FAILED tests/test_scanner.py::test_restart_takes_longer_than_watchdog_time - ... 142s FAILED tests/test_scanner.py::test_adapter_init_fails_fallback_to_passive - A... 142s FAILED tests/test_scanner.py::test_scanner_with_bluez_mgmt_side_channel - Typ... 142s FAILED tests/test_scanner.py::test_bluez_mgmt_protocol_data_flow - TypeError:... 142s ===== 12 failed, 174 passed, 1 skipped, 1 deselected, 90 warnings in 4.30s ===== 142s Task was destroyed but it is pending! 142s task: wait_for=> 142s Task was destroyed but it is pending! 142s task: wait_for=> 142s E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /tmp/autopkgtest.oJw0fd/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" 142s pybuild-autopkgtest: error: pybuild --autopkgtest --test-pytest -i python{version} -p 3.13 returned exit code 13 142s make: *** [/tmp/x0RFVC5wkM/run:4: pybuild-autopkgtest] Error 25 142s pybuild-autopkgtest: error: /tmp/x0RFVC5wkM/run pybuild-autopkgtest returned exit code 2 143s autopkgtest [17:16:14]: test pybuild-autopkgtest: -----------------------] 143s pybuild-autopkgtest FAIL non-zero exit status 25 143s autopkgtest [17:16:14]: test pybuild-autopkgtest: - - - - - - - - - - results - - - - - - - - - - 144s autopkgtest [17:16:15]: @@@@@@@@@@@@@@@@@@@@ summary 144s pybuild-autopkgtest FAIL non-zero exit status 25