0s autopkgtest [20:55:30]: starting date and time: 2025-07-10 20:55:30+0000 0s autopkgtest [20:55:30]: git checkout: 508d4a25 a-v-ssh wait_for_ssh: demote "ssh connection failed" to a debug message 0s autopkgtest [20:55:30]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.05dfd85u/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,localhost,localdomain,internal,login.ubuntu.com,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src:home-assistant-bluetooth --apt-upgrade home-assistant-bluetooth --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=home-assistant-bluetooth/1.13.1-4 -- lxd -r lxd-armhf-10.145.243.210 lxd-armhf-10.145.243.210:autopkgtest/ubuntu/questing/armhf 23s autopkgtest [20:55:53]: testbed dpkg architecture: armhf 25s autopkgtest [20:55:55]: testbed apt version: 3.1.3 28s autopkgtest [20:55:58]: @@@@@@@@@@@@@@@@@@@@ test bed setup 30s autopkgtest [20:56:00]: testbed release detected to be: None 37s autopkgtest [20:56:07]: updating testbed package index (apt update) 39s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [249 kB] 40s Get:2 http://ftpmaster.internal/ubuntu questing InRelease [249 kB] 40s Get:3 http://ftpmaster.internal/ubuntu questing-updates InRelease [110 kB] 40s Get:4 http://ftpmaster.internal/ubuntu questing-security InRelease [110 kB] 40s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [180 kB] 40s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [35.6 kB] 40s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [15.4 kB] 40s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main armhf Packages [49.2 kB] 40s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/universe armhf Packages [162 kB] 40s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/multiverse armhf Packages [3452 B] 40s Get:11 http://ftpmaster.internal/ubuntu questing/universe Sources [21.1 MB] 41s Get:12 http://ftpmaster.internal/ubuntu questing/main Sources [1387 kB] 41s Get:13 http://ftpmaster.internal/ubuntu questing/main armhf Packages [1361 kB] 41s Get:14 http://ftpmaster.internal/ubuntu questing/universe armhf Packages [15.2 MB] 45s Fetched 40.2 MB in 6s (6949 kB/s) 46s Reading package lists... 52s autopkgtest [20:56:22]: upgrading testbed (apt dist-upgrade and autopurge) 54s Reading package lists... 54s Building dependency tree... 54s Reading state information... 54s Calculating upgrade... 55s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 56s Reading package lists... 57s Building dependency tree... 57s Reading state information... 57s Solving dependencies... 58s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 60s autopkgtest [20:56:30]: rebooting testbed after setup commands that affected boot 98s autopkgtest [20:57:08]: testbed running kernel: Linux 6.8.0-58-generic #60~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 28 14:48:37 UTC 2 121s autopkgtest [20:57:31]: @@@@@@@@@@@@@@@@@@@@ apt-source home-assistant-bluetooth 130s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/universe home-assistant-bluetooth 1.13.1-4 (dsc) [2485 B] 130s Get:2 http://ftpmaster.internal/ubuntu questing-proposed/universe home-assistant-bluetooth 1.13.1-4 (tar) [53.2 kB] 130s Get:3 http://ftpmaster.internal/ubuntu questing-proposed/universe home-assistant-bluetooth 1.13.1-4 (diff) [3660 B] 130s gpgv: Signature made Tue Jul 8 09:17:33 2025 UTC 130s gpgv: using RSA key FB8ACFA78C726089C38AD0269605A1098C63B92A 130s gpgv: Can't check signature: No public key 130s dpkg-source: warning: cannot verify inline signature for ./home-assistant-bluetooth_1.13.1-4.dsc: no acceptable signature found 130s autopkgtest [20:57:40]: testing package home-assistant-bluetooth version 1.13.1-4 132s autopkgtest [20:57:42]: build not needed 134s autopkgtest [20:57:44]: test run-tests: preparing testbed 136s Reading package lists... 136s Building dependency tree... 136s Reading state information... 136s Solving dependencies... 137s The following NEW packages will be installed: 137s bluez fonts-font-awesome fonts-lato ieee-data libasound2-data libasound2t64 137s libdw1t64 libjs-jquery libjs-sphinxdoc libjs-underscore python3-aiooui 137s python3-all python3-async-interrupt python3-bleak 137s python3-bleak-retry-connector python3-bluetooth-adapters 137s python3-bluetooth-auto-recovery python3-bluetooth-data-tools 137s python3-btsocket python3-dbus-fast python3-habluetooth 137s python3-home-assistant-bluetooth python3-iniconfig python3-packaging 137s python3-pluggy python3-pyric python3-pytest python3-uart-devices 137s python3-usb-devices sphinx-rtd-theme-common 137s 0 upgraded, 30 newly installed, 0 to remove and 0 not upgraded. 137s Need to get 10.8 MB of archives. 137s After this operation, 44.4 MB of additional disk space will be used. 137s Get:1 http://ftpmaster.internal/ubuntu questing/main armhf fonts-lato all 2.015-1 [2781 kB] 138s Get:2 http://ftpmaster.internal/ubuntu questing/main armhf libasound2-data all 1.2.14-1ubuntu1 [21.2 kB] 138s Get:3 http://ftpmaster.internal/ubuntu questing/main armhf libasound2t64 armhf 1.2.14-1ubuntu1 [351 kB] 138s Get:4 http://ftpmaster.internal/ubuntu questing/main armhf libdw1t64 armhf 0.193-1 [248 kB] 138s Get:5 http://ftpmaster.internal/ubuntu questing/main armhf bluez armhf 5.83-1~exp1 [1407 kB] 138s Get:6 http://ftpmaster.internal/ubuntu questing/main armhf fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [516 kB] 138s Get:7 http://ftpmaster.internal/ubuntu questing/main armhf ieee-data all 20240722 [2300 kB] 139s Get:8 http://ftpmaster.internal/ubuntu questing/main armhf libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 139s Get:9 http://ftpmaster.internal/ubuntu questing/main armhf libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 139s Get:10 http://ftpmaster.internal/ubuntu questing/main armhf libjs-sphinxdoc all 8.2.3-1ubuntu2 [28.0 kB] 139s Get:11 http://ftpmaster.internal/ubuntu questing/universe armhf python3-aiooui all 0.1.9-1 [312 kB] 139s Get:12 http://ftpmaster.internal/ubuntu questing/main armhf python3-all armhf 3.13.5-1 [882 B] 139s Get:13 http://ftpmaster.internal/ubuntu questing/universe armhf python3-async-interrupt all 1.2.2-1 [6604 B] 139s Get:14 http://ftpmaster.internal/ubuntu questing/universe armhf python3-dbus-fast armhf 2.44.1-1 [667 kB] 139s Get:15 http://ftpmaster.internal/ubuntu questing/universe armhf python3-bleak all 0.22.3-1 [94.7 kB] 139s Get:16 http://ftpmaster.internal/ubuntu questing/universe armhf python3-uart-devices all 0.1.1-1 [6742 B] 139s Get:17 http://ftpmaster.internal/ubuntu questing/universe armhf python3-usb-devices all 0.4.5-2 [9014 B] 139s Get:18 http://ftpmaster.internal/ubuntu questing/universe armhf python3-bluetooth-adapters all 0.21.4-1 [13.5 kB] 139s Get:19 http://ftpmaster.internal/ubuntu questing/universe armhf python3-bleak-retry-connector all 4.0.0-1 [15.6 kB] 139s Get:20 http://ftpmaster.internal/ubuntu questing/universe armhf python3-btsocket all 0.3.0-1 [19.0 kB] 139s Get:21 http://ftpmaster.internal/ubuntu questing/universe armhf python3-pyric all 0.1.6.4+git20170421.0562b17-1 [114 kB] 139s Get:22 http://ftpmaster.internal/ubuntu questing/main armhf sphinx-rtd-theme-common all 3.0.2+dfsg-3 [1013 kB] 139s Get:23 http://ftpmaster.internal/ubuntu questing/universe armhf python3-bluetooth-auto-recovery all 1.5.2-1 [29.0 kB] 139s Get:24 http://ftpmaster.internal/ubuntu questing/universe armhf python3-bluetooth-data-tools armhf 1.28.2-1 [11.6 kB] 139s Get:25 http://ftpmaster.internal/ubuntu questing/universe armhf python3-habluetooth armhf 3.48.2-1 [65.2 kB] 139s Get:26 http://ftpmaster.internal/ubuntu questing-proposed/universe armhf python3-home-assistant-bluetooth armhf 1.13.1-4 [8126 B] 139s Get:27 http://ftpmaster.internal/ubuntu questing/universe armhf python3-iniconfig all 1.1.1-2 [6024 B] 139s Get:28 http://ftpmaster.internal/ubuntu questing/main armhf python3-packaging all 25.0-1 [52.8 kB] 139s Get:29 http://ftpmaster.internal/ubuntu questing/universe armhf python3-pluggy all 1.5.0-1 [21.0 kB] 139s Get:30 http://ftpmaster.internal/ubuntu questing/universe armhf python3-pytest all 8.3.5-2 [252 kB] 140s Fetched 10.8 MB in 2s (5255 kB/s) 140s Selecting previously unselected package fonts-lato. 140s (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 ... 59841 files and directories currently installed.) 140s Preparing to unpack .../00-fonts-lato_2.015-1_all.deb ... 140s Unpacking fonts-lato (2.015-1) ... 140s Selecting previously unselected package libasound2-data. 140s Preparing to unpack .../01-libasound2-data_1.2.14-1ubuntu1_all.deb ... 140s Unpacking libasound2-data (1.2.14-1ubuntu1) ... 140s Selecting previously unselected package libasound2t64:armhf. 140s Preparing to unpack .../02-libasound2t64_1.2.14-1ubuntu1_armhf.deb ... 140s Unpacking libasound2t64:armhf (1.2.14-1ubuntu1) ... 140s Selecting previously unselected package libdw1t64:armhf. 140s Preparing to unpack .../03-libdw1t64_0.193-1_armhf.deb ... 140s Unpacking libdw1t64:armhf (0.193-1) ... 140s Selecting previously unselected package bluez. 140s Preparing to unpack .../04-bluez_5.83-1~exp1_armhf.deb ... 140s Unpacking bluez (5.83-1~exp1) ... 140s Selecting previously unselected package fonts-font-awesome. 140s Preparing to unpack .../05-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ... 140s Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 140s Selecting previously unselected package ieee-data. 140s Preparing to unpack .../06-ieee-data_20240722_all.deb ... 140s Unpacking ieee-data (20240722) ... 141s Selecting previously unselected package libjs-jquery. 141s Preparing to unpack .../07-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 141s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 141s Selecting previously unselected package libjs-underscore. 141s Preparing to unpack .../08-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 141s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 141s Selecting previously unselected package libjs-sphinxdoc. 141s Preparing to unpack .../09-libjs-sphinxdoc_8.2.3-1ubuntu2_all.deb ... 141s Unpacking libjs-sphinxdoc (8.2.3-1ubuntu2) ... 141s Selecting previously unselected package python3-aiooui. 141s Preparing to unpack .../10-python3-aiooui_0.1.9-1_all.deb ... 141s Unpacking python3-aiooui (0.1.9-1) ... 141s Selecting previously unselected package python3-all. 141s Preparing to unpack .../11-python3-all_3.13.5-1_armhf.deb ... 141s Unpacking python3-all (3.13.5-1) ... 141s Selecting previously unselected package python3-async-interrupt. 141s Preparing to unpack .../12-python3-async-interrupt_1.2.2-1_all.deb ... 141s Unpacking python3-async-interrupt (1.2.2-1) ... 141s Selecting previously unselected package python3-dbus-fast. 141s Preparing to unpack .../13-python3-dbus-fast_2.44.1-1_armhf.deb ... 141s Unpacking python3-dbus-fast (2.44.1-1) ... 141s Selecting previously unselected package python3-bleak. 141s Preparing to unpack .../14-python3-bleak_0.22.3-1_all.deb ... 141s Unpacking python3-bleak (0.22.3-1) ... 141s Selecting previously unselected package python3-uart-devices. 141s Preparing to unpack .../15-python3-uart-devices_0.1.1-1_all.deb ... 141s Unpacking python3-uart-devices (0.1.1-1) ... 141s Selecting previously unselected package python3-usb-devices. 141s Preparing to unpack .../16-python3-usb-devices_0.4.5-2_all.deb ... 141s Unpacking python3-usb-devices (0.4.5-2) ... 141s Selecting previously unselected package python3-bluetooth-adapters. 141s Preparing to unpack .../17-python3-bluetooth-adapters_0.21.4-1_all.deb ... 141s Unpacking python3-bluetooth-adapters (0.21.4-1) ... 141s Selecting previously unselected package python3-bleak-retry-connector. 141s Preparing to unpack .../18-python3-bleak-retry-connector_4.0.0-1_all.deb ... 141s Unpacking python3-bleak-retry-connector (4.0.0-1) ... 141s Selecting previously unselected package python3-btsocket. 141s Preparing to unpack .../19-python3-btsocket_0.3.0-1_all.deb ... 141s Unpacking python3-btsocket (0.3.0-1) ... 141s Selecting previously unselected package python3-pyric. 141s Preparing to unpack .../20-python3-pyric_0.1.6.4+git20170421.0562b17-1_all.deb ... 141s Unpacking python3-pyric (0.1.6.4+git20170421.0562b17-1) ... 141s Selecting previously unselected package sphinx-rtd-theme-common. 141s Preparing to unpack .../21-sphinx-rtd-theme-common_3.0.2+dfsg-3_all.deb ... 141s Unpacking sphinx-rtd-theme-common (3.0.2+dfsg-3) ... 141s Selecting previously unselected package python3-bluetooth-auto-recovery. 141s Preparing to unpack .../22-python3-bluetooth-auto-recovery_1.5.2-1_all.deb ... 141s Unpacking python3-bluetooth-auto-recovery (1.5.2-1) ... 141s Selecting previously unselected package python3-bluetooth-data-tools. 141s Preparing to unpack .../23-python3-bluetooth-data-tools_1.28.2-1_armhf.deb ... 141s Unpacking python3-bluetooth-data-tools (1.28.2-1) ... 141s Selecting previously unselected package python3-habluetooth. 141s Preparing to unpack .../24-python3-habluetooth_3.48.2-1_armhf.deb ... 141s Unpacking python3-habluetooth (3.48.2-1) ... 141s Selecting previously unselected package python3-home-assistant-bluetooth. 141s Preparing to unpack .../25-python3-home-assistant-bluetooth_1.13.1-4_armhf.deb ... 141s Unpacking python3-home-assistant-bluetooth (1.13.1-4) ... 141s Selecting previously unselected package python3-iniconfig. 141s Preparing to unpack .../26-python3-iniconfig_1.1.1-2_all.deb ... 141s Unpacking python3-iniconfig (1.1.1-2) ... 142s Selecting previously unselected package python3-packaging. 142s Preparing to unpack .../27-python3-packaging_25.0-1_all.deb ... 142s Unpacking python3-packaging (25.0-1) ... 142s Selecting previously unselected package python3-pluggy. 142s Preparing to unpack .../28-python3-pluggy_1.5.0-1_all.deb ... 142s Unpacking python3-pluggy (1.5.0-1) ... 142s Selecting previously unselected package python3-pytest. 142s Preparing to unpack .../29-python3-pytest_8.3.5-2_all.deb ... 142s Unpacking python3-pytest (8.3.5-2) ... 142s Setting up python3-iniconfig (1.1.1-2) ... 142s Setting up python3-aiooui (0.1.9-1) ... 142s Setting up python3-uart-devices (0.1.1-1) ... 142s Setting up fonts-lato (2.015-1) ... 142s Setting up python3-usb-devices (0.4.5-2) ... 142s Setting up python3-bluetooth-data-tools (1.28.2-1) ... 142s Setting up python3-all (3.13.5-1) ... 142s Setting up python3-btsocket (0.3.0-1) ... 143s Setting up libdw1t64:armhf (0.193-1) ... 143s Setting up libasound2-data (1.2.14-1ubuntu1) ... 143s Setting up python3-packaging (25.0-1) ... 143s Setting up libasound2t64:armhf (1.2.14-1ubuntu1) ... 143s Setting up python3-pluggy (1.5.0-1) ... 143s Setting up python3-async-interrupt (1.2.2-1) ... 143s Setting up ieee-data (20240722) ... 143s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 143s Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 143s Setting up sphinx-rtd-theme-common (3.0.2+dfsg-3) ... 143s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 143s Setting up python3-pyric (0.1.6.4+git20170421.0562b17-1) ... 143s Setting up python3-pytest (8.3.5-2) ... 144s Setting up bluez (5.83-1~exp1) ... 144s Created symlink '/etc/systemd/user/default.target.wants/mpris-proxy.service' → '/usr/lib/systemd/user/mpris-proxy.service'. 145s Failed to preset unit: Unit /etc/systemd/system/bluetooth.service is masked 145s /usr/bin/deb-systemd-helper: error: systemctl preset failed on bluetooth.service: No such file or directory 145s bluetooth.service is a disabled or a static unit, not starting it. 145s Setting up libjs-sphinxdoc (8.2.3-1ubuntu2) ... 145s Setting up python3-dbus-fast (2.44.1-1) ... 145s Setting up python3-bleak (0.22.3-1) ... 146s Setting up python3-bluetooth-adapters (0.21.4-1) ... 146s Setting up python3-bleak-retry-connector (4.0.0-1) ... 146s Setting up python3-bluetooth-auto-recovery (1.5.2-1) ... 146s Setting up python3-habluetooth (3.48.2-1) ... 146s Setting up python3-home-assistant-bluetooth (1.13.1-4) ... 146s Processing triggers for man-db (2.13.1-1) ... 148s Processing triggers for dbus (1.16.2-2ubuntu1) ... 148s Processing triggers for libc-bin (2.41-6ubuntu2) ... 155s autopkgtest [20:58:05]: test run-tests: [----------------------- 157s ============================= test session starts ============================== 157s platform linux -- Python 3.13.5, pytest-8.3.5, pluggy-1.5.0 -- /usr/bin/python3.13 157s cachedir: .pytest_cache 157s rootdir: /tmp/autopkgtest.NxiBfl/autopkgtest_tmp 157s plugins: typeguard-4.4.2 157s collecting ... collected 6 items 157s 157s tests/test_models.py::test_model PASSED [ 16%] 157s tests/test_models.py::test_model_from_bleak FAILED [ 33%] 157s 157s =================================== FAILURES =================================== 157s ____________________________ test_model_from_bleak _____________________________ 157s 157s def test_model_from_bleak(): 157s > switchbot_device = BLEDevice("44:44:33:11:23:45", "wohand", {}) 157s E TypeError: BLEDevice.__init__() missing 1 required positional argument: 'rssi' 157s 157s tests/test_models.py:45: TypeError 157s =========================== short test summary info ============================ 157s FAILED tests/test_models.py::test_model_from_bleak - TypeError: BLEDevice.__i... 157s !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! 157s ========================= 1 failed, 1 passed in 0.16s ========================== 158s autopkgtest [20:58:08]: test run-tests: -----------------------] 161s autopkgtest [20:58:11]: test run-tests: - - - - - - - - - - results - - - - - - - - - - 161s run-tests FAIL non-zero exit status 1 165s autopkgtest [20:58:15]: @@@@@@@@@@@@@@@@@@@@ summary 165s run-tests FAIL non-zero exit status 1