0s autopkgtest [11:30:20]: starting date and time: 2025-11-17 11:30:20+0000 0s autopkgtest [11:30:20]: git checkout: 508d4a25 a-v-ssh wait_for_ssh: demote "ssh connection failed" to a debug message 0s autopkgtest [11:30:20]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.56_tl5pc/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:python-pytest-asyncio,src:python3-defaults --apt-upgrade pysmartapp --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=python-pytest-asyncio/1.2.0-1 python3-defaults/3.13.7-2' -- lxd -r lxd-armhf-10.145.243.58 lxd-armhf-10.145.243.58:autopkgtest/ubuntu/resolute/armhf 21s autopkgtest [11:30:41]: testbed dpkg architecture: armhf 23s autopkgtest [11:30:43]: testbed apt version: 3.1.11 27s autopkgtest [11:30:47]: @@@@@@@@@@@@@@@@@@@@ test bed setup 29s autopkgtest [11:30:49]: testbed release detected to be: None 37s autopkgtest [11:30:57]: updating testbed package index (apt update) 39s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [87.8 kB] 39s Get:2 http://ftpmaster.internal/ubuntu resolute InRelease [87.8 kB] 39s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 39s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 40s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [868 kB] 40s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [81.1 kB] 40s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [9848 B] 40s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [22.9 kB] 40s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf Packages [138 kB] 40s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted armhf Packages [940 B] 40s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf Packages [536 kB] 40s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse armhf Packages [9684 B] 40s Get:13 http://ftpmaster.internal/ubuntu resolute/main Sources [1416 kB] 40s Get:14 http://ftpmaster.internal/ubuntu resolute/universe Sources [21.3 MB] 42s Get:15 http://ftpmaster.internal/ubuntu resolute/main armhf Packages [1369 kB] 42s Get:16 http://ftpmaster.internal/ubuntu resolute/universe armhf Packages [15.2 MB] 46s Fetched 41.1 MB in 6s (6340 kB/s) 47s Reading package lists... 52s autopkgtest [11:31:12]: upgrading testbed (apt dist-upgrade and autopurge) 54s Reading package lists... 55s Building dependency tree... 55s Reading state information... 55s Calculating upgrade... 56s The following packages will be upgraded: 56s libpython3-stdlib python3 python3-minimal usbutils 56s 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 56s Need to get 140 kB of archives. 56s After this operation, 0 B of additional disk space will be used. 56s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3-minimal armhf 3.13.7-2 [27.8 kB] 56s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3 armhf 3.13.7-2 [23.9 kB] 56s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf libpython3-stdlib armhf 3.13.7-2 [10.6 kB] 56s Get:4 http://ftpmaster.internal/ubuntu resolute/main armhf usbutils armhf 1:019-1 [77.7 kB] 57s Fetched 140 kB in 0s (378 kB/s) 57s (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 ... 65904 files and directories currently installed.) 57s Preparing to unpack .../python3-minimal_3.13.7-2_armhf.deb ... 57s Unpacking python3-minimal (3.13.7-2) over (3.13.7-1) ... 57s Setting up python3-minimal (3.13.7-2) ... 57s (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 ... 65904 files and directories currently installed.) 57s Preparing to unpack .../python3_3.13.7-2_armhf.deb ... 57s Unpacking python3 (3.13.7-2) over (3.13.7-1) ... 57s Preparing to unpack .../libpython3-stdlib_3.13.7-2_armhf.deb ... 57s Unpacking libpython3-stdlib:armhf (3.13.7-2) over (3.13.7-1) ... 57s Preparing to unpack .../usbutils_1%3a019-1_armhf.deb ... 57s Unpacking usbutils (1:019-1) over (1:018-2) ... 57s Setting up usbutils (1:019-1) ... 57s Setting up libpython3-stdlib:armhf (3.13.7-2) ... 57s Setting up python3 (3.13.7-2) ... 58s Processing triggers for man-db (2.13.1-1) ... 60s Reading package lists... 61s Building dependency tree... 61s Reading state information... 61s Solving dependencies... 62s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 63s autopkgtest [11:31:23]: rebooting testbed after setup commands that affected boot 107s autopkgtest [11:32:07]: testbed running kernel: Linux 6.8.0-86-generic #87~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 29 09:26:46 UTC 2 132s autopkgtest [11:32:32]: @@@@@@@@@@@@@@@@@@@@ apt-source pysmartapp 142s Get:1 http://ftpmaster.internal/ubuntu resolute/universe pysmartapp 0.3.5-2 (dsc) [2369 B] 142s Get:2 http://ftpmaster.internal/ubuntu resolute/universe pysmartapp 0.3.5-2 (tar) [18.7 kB] 142s Get:3 http://ftpmaster.internal/ubuntu resolute/universe pysmartapp 0.3.5-2 (diff) [2484 B] 142s gpgv: Signature made Tue Sep 10 03:31:19 2024 UTC 142s gpgv: using RSA key FB8ACFA78C726089C38AD0269605A1098C63B92A 142s gpgv: Can't check signature: No public key 142s dpkg-source: warning: cannot verify inline signature for ./pysmartapp_0.3.5-2.dsc: no acceptable signature found 142s autopkgtest [11:32:42]: testing package pysmartapp version 0.3.5-2 144s autopkgtest [11:32:44]: build not needed 146s autopkgtest [11:32:46]: test run-tests: preparing testbed 148s Reading package lists... 148s Building dependency tree... 148s Reading state information... 148s Solving dependencies... 148s Some packages could not be installed. This may mean that you have 148s requested an impossible situation or if you are using the unstable 148s distribution that some required packages have not yet been created 148s or been moved out of Incoming. 148s The following information may help to resolve the situation: 148s 148s The following packages have unmet dependencies: 149s satisfy:command-line : Depends: python3-all but it is not going to be installed 149s Depends: python3-pytest but it is not going to be installed 149s Depends: python3-pytest-asyncio but it is not going to be installed 149s Depends: python3-pytest-timeout but it is not going to be installed 149s Depends: python3-pysmartapp but it is not going to be installed 149s E: Unable to satisfy dependencies. Reached two conflicting decisions: 149s 1. python3-pytest:armhf=8.4.2-1 is not selected for install 149s 2. python3-pytest:armhf=8.4.2-1 is selected for install because: 149s 1. satisfy:command-line:armhf=1 is selected for install 149s 2. satisfy:command-line:armhf Depends python3-pytest-asyncio 149s 3. python3-pytest-asyncio:armhf is available in versions 1.2.0-1, 0.25.1-1 149s [selected python3-pytest-asyncio:armhf=1.2.0-1 for install] 149s 4. python3-pytest-asyncio:armhf=1.2.0-1 Depends python3-pytest (>= 8.4.0) 149s For context, additional choices that could not be installed: 149s * In python3-pytest-asyncio:armhf is available in versions 1.2.0-1, 0.25.1-1: 149s - python3-pytest-asyncio:armhf=0.25.1-1 is not selected for install 149s autopkgtest: WARNING: Test dependencies are unsatisfiable with using apt pinning. Retrying with using all packages from resolute-proposed 152s Reading package lists... 153s Building dependency tree... 153s Reading state information... 153s Solving dependencies... 153s The following NEW packages will be installed: 153s libpython3.14-minimal libpython3.14-stdlib python3-all 153s python3-async-generator python3-httpsig python3-iniconfig python3-pluggy 153s python3-pycryptodome python3-pysmartapp python3-pytest 153s python3-pytest-asyncio python3-pytest-timeout python3.14 python3.14-minimal 154s 0 upgraded, 14 newly installed, 0 to remove and 39 not upgraded. 154s Need to get 7579 kB of archives. 154s After this operation, 28.0 MB of additional disk space will be used. 154s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf libpython3.14-minimal armhf 3.14.0-4 [892 kB] 154s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf python3.14-minimal armhf 3.14.0-4 [2146 kB] 154s Get:3 http://ftpmaster.internal/ubuntu resolute/main armhf libpython3.14-stdlib armhf 3.14.0-4 [2270 kB] 154s Get:4 http://ftpmaster.internal/ubuntu resolute/main armhf python3.14 armhf 3.14.0-4 [805 kB] 154s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3-all armhf 3.13.7-2 [890 B] 154s Get:6 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-async-generator all 1.10-7 [18.1 kB] 154s Get:7 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-pycryptodome armhf 3.20.0+dfsg-3build1 [1089 kB] 154s Get:8 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-httpsig all 1.3.0-3 [16.5 kB] 154s Get:9 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-iniconfig all 2.1.0-1 [6840 B] 154s Get:10 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-pluggy all 1.6.0-1 [21.0 kB] 154s Get:11 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-pysmartapp all 0.3.5-2 [10.1 kB] 154s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf python3-pytest all 8.4.2-1 [268 kB] 154s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf python3-pytest-asyncio all 1.2.0-1 [13.6 kB] 154s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf python3-pytest-timeout all 2.4.0-2 [22.5 kB] 155s Fetched 7579 kB in 1s (8040 kB/s) 155s Selecting previously unselected package libpython3.14-minimal:armhf. 155s (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 ... 65904 files and directories currently installed.) 155s Preparing to unpack .../00-libpython3.14-minimal_3.14.0-4_armhf.deb ... 155s Unpacking libpython3.14-minimal:armhf (3.14.0-4) ... 155s Selecting previously unselected package python3.14-minimal. 155s Preparing to unpack .../01-python3.14-minimal_3.14.0-4_armhf.deb ... 155s Unpacking python3.14-minimal (3.14.0-4) ... 155s Selecting previously unselected package libpython3.14-stdlib:armhf. 155s Preparing to unpack .../02-libpython3.14-stdlib_3.14.0-4_armhf.deb ... 155s Unpacking libpython3.14-stdlib:armhf (3.14.0-4) ... 155s Selecting previously unselected package python3.14. 155s Preparing to unpack .../03-python3.14_3.14.0-4_armhf.deb ... 155s Unpacking python3.14 (3.14.0-4) ... 155s Selecting previously unselected package python3-all. 155s Preparing to unpack .../04-python3-all_3.13.7-2_armhf.deb ... 155s Unpacking python3-all (3.13.7-2) ... 155s Selecting previously unselected package python3-async-generator. 155s Preparing to unpack .../05-python3-async-generator_1.10-7_all.deb ... 155s Unpacking python3-async-generator (1.10-7) ... 155s Selecting previously unselected package python3-pycryptodome. 155s Preparing to unpack .../06-python3-pycryptodome_3.20.0+dfsg-3build1_armhf.deb ... 155s Unpacking python3-pycryptodome (3.20.0+dfsg-3build1) ... 155s Selecting previously unselected package python3-httpsig. 155s Preparing to unpack .../07-python3-httpsig_1.3.0-3_all.deb ... 155s Unpacking python3-httpsig (1.3.0-3) ... 155s Selecting previously unselected package python3-iniconfig. 155s Preparing to unpack .../08-python3-iniconfig_2.1.0-1_all.deb ... 155s Unpacking python3-iniconfig (2.1.0-1) ... 155s Selecting previously unselected package python3-pluggy. 155s Preparing to unpack .../09-python3-pluggy_1.6.0-1_all.deb ... 155s Unpacking python3-pluggy (1.6.0-1) ... 155s Selecting previously unselected package python3-pysmartapp. 155s Preparing to unpack .../10-python3-pysmartapp_0.3.5-2_all.deb ... 155s Unpacking python3-pysmartapp (0.3.5-2) ... 155s Selecting previously unselected package python3-pytest. 156s Preparing to unpack .../11-python3-pytest_8.4.2-1_all.deb ... 156s Unpacking python3-pytest (8.4.2-1) ... 156s Selecting previously unselected package python3-pytest-asyncio. 156s Preparing to unpack .../12-python3-pytest-asyncio_1.2.0-1_all.deb ... 156s Unpacking python3-pytest-asyncio (1.2.0-1) ... 156s Selecting previously unselected package python3-pytest-timeout. 156s Preparing to unpack .../13-python3-pytest-timeout_2.4.0-2_all.deb ... 156s Unpacking python3-pytest-timeout (2.4.0-2) ... 156s Setting up python3-iniconfig (2.1.0-1) ... 156s Setting up python3-async-generator (1.10-7) ... 156s Setting up python3-pycryptodome (3.20.0+dfsg-3build1) ... 157s Setting up libpython3.14-minimal:armhf (3.14.0-4) ... 157s Setting up python3-httpsig (1.3.0-3) ... 157s Setting up python3-pluggy (1.6.0-1) ... 158s Setting up python3.14-minimal (3.14.0-4) ... 159s Setting up python3-pysmartapp (0.3.5-2) ... 159s Setting up libpython3.14-stdlib:armhf (3.14.0-4) ... 159s Setting up python3-pytest (8.4.2-1) ... 160s Setting up python3-pytest-asyncio (1.2.0-1) ... 160s Setting up python3.14 (3.14.0-4) ... 161s Setting up python3-pytest-timeout (2.4.0-2) ... 161s Setting up python3-all (3.13.7-2) ... 161s Processing triggers for man-db (2.13.1-1) ... 162s Processing triggers for systemd (257.9-0ubuntu2) ... 170s autopkgtest [11:33:10]: test run-tests: [----------------------- 172s /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:15: DeprecationWarning: 'asyncio.AbstractEventLoopPolicy' is deprecated and slated for removal in Python 3.16 172s from asyncio import AbstractEventLoop, AbstractEventLoopPolicy 172s /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:252: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset. 172s 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" 172s 172s warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET)) 172s ============================= test session starts ============================== 172s platform linux -- Python 3.14.0, pytest-8.4.2, pluggy-1.6.0 -- /usr/bin/python3.14 172s cachedir: .pytest_cache 172s rootdir: /tmp/autopkgtest.FBn2Sx/autopkgtest_tmp 172s plugins: typeguard-4.4.2, asyncio-1.2.0, timeout-2.4.0 172s asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function 172s collecting ... collected 53 items 172s 172s tests/test_config.py::TestConfigRequest::test_init PASSED [ 1%] 172s tests/test_config.py::TestConfigRequest::test_process_invalid PASSED [ 3%] 172s tests/test_dispatch.py::TestDispatcher::test_connect PASSED [ 5%] 172s tests/test_dispatch.py::TestDispatcher::test_disconnect PASSED [ 7%] 173s tests/test_dispatch.py::TestDispatcher::test_disconnect_all PASSED [ 9%] 173s tests/test_dispatch.py::TestDispatcher::test_already_disconnected PASSED [ 11%] 173s tests/test_dispatch.py::TestDispatcher::test_send_async_handler PASSED [ 13%] 173s tests/test_dispatch.py::TestDispatcher::test_send_async_partial_handler PASSED [ 15%] 173s tests/test_dispatch.py::TestDispatcher::test_send PASSED [ 16%] 173s tests/test_dispatch.py::TestDispatcher::test_custom_connect_and_send PASSED [ 18%] 173s tests/test_event.py::TestEventRequest::test_init PASSED [ 20%] 173s tests/test_event.py::TestEvent::test_init_device_event PASSED [ 22%] 173s tests/test_event.py::TestEvent::test_init_device_event_with_data PASSED [ 24%] 173s tests/test_event.py::TestEvent::test_init_timer_event PASSED [ 26%] 173s tests/test_install.py::TestInstallRequest::test_init PASSED [ 28%] 173s tests/test_oauthcallback.py::TestOAuthCallbackRequest::test_init PASSED [ 30%] 173s tests/test_ping.py::TestPingRequest::test_init PASSED [ 32%] 173s tests/test_request.py::TestResponse::test_to_data PASSED [ 33%] 173s tests/test_request.py::TestEmptyDataResponse::test_init PASSED [ 35%] 173s tests/test_request.py::TestEmptyDataResponse::test_to_data PASSED [ 37%] 173s tests/test_request.py::TestEmptyDataResponse::test_name PASSED [ 39%] 173s tests/test_request.py::TestRequest::test_process_raises PASSED [ 41%] 173s tests/test_smartapp.py::TestSmartApp::test_initialize FAILED [ 43%] 173s 173s =================================== FAILURES =================================== 173s _________________________ TestSmartApp.test_initialize _________________________ 173s 173s @staticmethod 173s def test_initialize(): 173s """Tests the property initialization.""" 173s # Arrange 173s path = '/my/test/path' 173s public_key = 'test' 173s > dispatcher = Dispatcher() 173s ^^^^^^^^^^^^ 173s 173s tests/test_smartapp.py:27: 173s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 173s /usr/lib/python3/dist-packages/pysmartapp/dispatch.py:22: in __init__ 173s self._loop = loop or asyncio.get_event_loop() 173s ^^^^^^^^^^^^^^^^^^^^^^^^ 173s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 173s 173s self = 173s 173s def get_event_loop(self): 173s """Get the event loop for the current context. 173s 173s Returns an instance of EventLoop or raises an exception. 173s """ 173s if self._local._loop is None: 173s > raise RuntimeError('There is no current event loop in thread %r.' 173s % threading.current_thread().name) 173s E RuntimeError: There is no current event loop in thread 'MainThread'. 173s 173s /usr/lib/python3.14/asyncio/events.py:715: RuntimeError 173s =============================== warnings summary =============================== 173s ../../../usr/lib/python3/dist-packages/httpsig/__init__.py:1 173s /usr/lib/python3/dist-packages/httpsig/__init__.py:1: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html 173s from pkg_resources import get_distribution, DistributionNotFound 173s 173s tests/test_dispatch.py::TestDispatcher::test_send_async_handler 173s tests/test_dispatch.py::TestDispatcher::test_send_async_partial_handler 173s tests/test_dispatch.py::TestDispatcher::test_send 173s /usr/lib/python3/dist-packages/pysmartapp/dispatch.py:76: DeprecationWarning: 'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16; use inspect.iscoroutinefunction() instead 173s if asyncio.iscoroutinefunction(check_target): 173s 173s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 173s =========================== short test summary info ============================ 173s FAILED tests/test_smartapp.py::TestSmartApp::test_initialize - RuntimeError: ... 173s !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! 173s =================== 1 failed, 22 passed, 4 warnings in 0.19s =================== 173s autopkgtest [11:33:13]: test run-tests: -----------------------] 177s autopkgtest [11:33:17]: test run-tests: - - - - - - - - - - results - - - - - - - - - - 177s run-tests FAIL non-zero exit status 1 181s autopkgtest [11:33:21]: @@@@@@@@@@@@@@@@@@@@ summary 181s run-tests FAIL non-zero exit status 1