0s autopkgtest [13:25:29]: starting date and time: 2024-06-30 13:25:29+0000 0s autopkgtest [13:25:29]: git checkout: 85adf9a1 setup-testbed: prevent /tmp from getting a tmpfs mount 0s autopkgtest [13:25:29]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.p61pvtw0/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,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src:pytest --apt-upgrade python-libtmux --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=pytest/8.2.2-1ubuntu1 -- lxd -r lxd-armhf-10.145.243.194 lxd-armhf-10.145.243.194:autopkgtest/ubuntu/oracular/armhf 23s autopkgtest [13:25:52]: testbed dpkg architecture: armhf 25s autopkgtest [13:25:54]: testbed apt version: 2.9.5 25s autopkgtest [13:25:54]: @@@@@@@@@@@@@@@@@@@@ test bed setup 33s Get:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease [110 kB] 33s Get:2 http://ftpmaster.internal/ubuntu oracular-proposed/universe Sources [382 kB] 33s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse Sources [2576 B] 33s Get:4 http://ftpmaster.internal/ubuntu oracular-proposed/main Sources [43.7 kB] 33s Get:5 http://ftpmaster.internal/ubuntu oracular-proposed/restricted Sources [7052 B] 33s Get:6 http://ftpmaster.internal/ubuntu oracular-proposed/main armhf Packages [57.0 kB] 33s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/restricted armhf Packages [1368 B] 33s Get:8 http://ftpmaster.internal/ubuntu oracular-proposed/universe armhf Packages [279 kB] 33s Get:9 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse armhf Packages [1768 B] 33s Fetched 885 kB in 1s (1068 kB/s) 33s Reading package lists... 50s tee: /proc/self/fd/2: Permission denied 71s Hit:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease 71s Hit:2 http://ftpmaster.internal/ubuntu oracular InRelease 71s Hit:3 http://ftpmaster.internal/ubuntu oracular-updates InRelease 71s Hit:4 http://ftpmaster.internal/ubuntu oracular-security InRelease 73s Reading package lists... 73s Reading package lists... 73s Building dependency tree... 73s Reading state information... 74s Calculating upgrade... 75s The following packages will be upgraded: 75s lto-disabled-list 75s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 75s Need to get 12.3 kB of archives. 75s After this operation, 0 B of additional disk space will be used. 75s Get:1 http://ftpmaster.internal/ubuntu oracular/main armhf lto-disabled-list all 50 [12.3 kB] 76s Fetched 12.3 kB in 0s (77.1 kB/s) 76s (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 ... 58374 files and directories currently installed.) 76s Preparing to unpack .../lto-disabled-list_50_all.deb ... 76s Unpacking lto-disabled-list (50) over (49) ... 76s Setting up lto-disabled-list (50) ... 76s Reading package lists... 77s Building dependency tree... 77s Reading state information... 77s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 79s autopkgtest [13:26:48]: rebooting testbed after setup commands that affected boot 118s autopkgtest [13:27:27]: testbed running kernel: Linux 6.5.0-41-generic #41~22.04.2-Ubuntu SMP PREEMPT_DYNAMIC Mon Jun 3 16:28:24 UTC 2 144s autopkgtest [13:27:53]: @@@@@@@@@@@@@@@@@@@@ apt-source python-libtmux 154s Get:1 http://ftpmaster.internal/ubuntu oracular/universe python-libtmux 0.37.0-1 (dsc) [1816 B] 154s Get:2 http://ftpmaster.internal/ubuntu oracular/universe python-libtmux 0.37.0-1 (tar) [222 kB] 154s Get:3 http://ftpmaster.internal/ubuntu oracular/universe python-libtmux 0.37.0-1 (diff) [3248 B] 154s gpgv: Signature made Tue May 14 06:37:37 2024 UTC 154s gpgv: using RSA key 02A4A46D5B6B5CFE3124C87710BE8983F3D59D64 154s gpgv: Can't check signature: No public key 154s dpkg-source: warning: cannot verify inline signature for ./python-libtmux_0.37.0-1.dsc: no acceptable signature found 154s autopkgtest [13:28:03]: testing package python-libtmux version 0.37.0-1 156s autopkgtest [13:28:05]: build not needed 158s autopkgtest [13:28:07]: test pytest: preparing testbed 168s Reading package lists... 168s Building dependency tree... 168s Reading state information... 169s Starting pkgProblemResolver with broken count: 0 169s Starting 2 pkgProblemResolver with broken count: 0 169s Done 170s The following additional packages will be installed: 170s python3-all python3-iniconfig python3-libtmux python3-packaging 170s python3-pluggy python3-pytest python3-pytest-mock 170s python3-pytest-rerunfailures 170s Suggested packages: 170s python-pytest-mock-doc 170s The following NEW packages will be installed: 170s autopkgtest-satdep python3-all python3-iniconfig python3-libtmux 170s python3-packaging python3-pluggy python3-pytest python3-pytest-mock 170s python3-pytest-rerunfailures 170s 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. 170s Need to get 386 kB/386 kB of archives. 170s After this operation, 1945 kB of additional disk space will be used. 170s Get:1 /tmp/autopkgtest.C1cG6X/1-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [752 B] 170s Get:2 http://ftpmaster.internal/ubuntu oracular/main armhf python3-all armhf 3.12.3-0ubuntu1 [886 B] 170s Get:3 http://ftpmaster.internal/ubuntu oracular/universe armhf python3-iniconfig all 1.1.1-2 [6024 B] 170s Get:4 http://ftpmaster.internal/ubuntu oracular/universe armhf python3-libtmux all 0.37.0-1 [40.9 kB] 170s Get:5 http://ftpmaster.internal/ubuntu oracular/main armhf python3-packaging all 24.0-1 [41.1 kB] 170s Get:6 http://ftpmaster.internal/ubuntu oracular/universe armhf python3-pluggy all 1.5.0-1 [21.0 kB] 170s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/universe armhf python3-pytest all 8.2.2-1ubuntu1 [250 kB] 170s Get:8 http://ftpmaster.internal/ubuntu oracular/universe armhf python3-pytest-mock all 3.14.0-1 [11.6 kB] 170s Get:9 http://ftpmaster.internal/ubuntu oracular/universe armhf python3-pytest-rerunfailures all 12.0-1 [14.1 kB] 171s Fetched 386 kB in 1s (764 kB/s) 171s Selecting previously unselected package python3-all. 171s (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 ... 58374 files and directories currently installed.) 171s Preparing to unpack .../0-python3-all_3.12.3-0ubuntu1_armhf.deb ... 171s Unpacking python3-all (3.12.3-0ubuntu1) ... 171s Selecting previously unselected package python3-iniconfig. 171s Preparing to unpack .../1-python3-iniconfig_1.1.1-2_all.deb ... 171s Unpacking python3-iniconfig (1.1.1-2) ... 171s Selecting previously unselected package python3-libtmux. 171s Preparing to unpack .../2-python3-libtmux_0.37.0-1_all.deb ... 171s Unpacking python3-libtmux (0.37.0-1) ... 171s Selecting previously unselected package python3-packaging. 171s Preparing to unpack .../3-python3-packaging_24.0-1_all.deb ... 171s Unpacking python3-packaging (24.0-1) ... 171s Selecting previously unselected package python3-pluggy. 171s Preparing to unpack .../4-python3-pluggy_1.5.0-1_all.deb ... 171s Unpacking python3-pluggy (1.5.0-1) ... 171s Selecting previously unselected package python3-pytest. 171s Preparing to unpack .../5-python3-pytest_8.2.2-1ubuntu1_all.deb ... 171s Unpacking python3-pytest (8.2.2-1ubuntu1) ... 171s Selecting previously unselected package python3-pytest-mock. 171s Preparing to unpack .../6-python3-pytest-mock_3.14.0-1_all.deb ... 171s Unpacking python3-pytest-mock (3.14.0-1) ... 171s Selecting previously unselected package python3-pytest-rerunfailures. 171s Preparing to unpack .../7-python3-pytest-rerunfailures_12.0-1_all.deb ... 171s Unpacking python3-pytest-rerunfailures (12.0-1) ... 171s Selecting previously unselected package autopkgtest-satdep. 171s Preparing to unpack .../8-1-autopkgtest-satdep.deb ... 171s Unpacking autopkgtest-satdep (0) ... 171s Setting up python3-iniconfig (1.1.1-2) ... 171s Setting up python3-libtmux (0.37.0-1) ... 171s Setting up python3-all (3.12.3-0ubuntu1) ... 171s Setting up python3-packaging (24.0-1) ... 171s Setting up python3-pluggy (1.5.0-1) ... 172s Setting up python3-pytest (8.2.2-1ubuntu1) ... 172s Setting up python3-pytest-mock (3.14.0-1) ... 172s Setting up python3-pytest-rerunfailures (12.0-1) ... 172s Setting up autopkgtest-satdep (0) ... 172s Processing triggers for man-db (2.12.1-2) ... 184s (Reading database ... 58599 files and directories currently installed.) 184s Removing autopkgtest-satdep (0) ... 189s autopkgtest [13:28:38]: test pytest: [----------------------- 191s === python3.12 === 191s /usr/lib/python3/dist-packages/libtmux/pytest_plugin.py:48: PytestRemovedIn9Warning: Marks applied to fixtures have no effect 191s See docs: https://docs.pytest.org/en/stable/deprecations.html#applying-a-mark-to-a-fixture-function 191s @pytest.mark.skipif(USING_ZSH, reason="Using ZSH") 192s ============================= test session starts ============================== 192s platform linux -- Python 3.12.4, pytest-8.2.2, pluggy-1.5.0 192s rootdir: /tmp/autopkgtest.C1cG6X/autopkgtest_tmp 192s plugins: libtmux-0.37.0, mock-3.14.0, rerunfailures-12.0 192s collected 295 items / 9 deselected / 286 selected 192s 192s tests/_internal/test_query_list.py ..................................... [ 12%] 192s . [ 13%] 192s tests/legacy_api/test_common.py .................... [ 20%] 193s tests/legacy_api/test_pane.py ..... [ 22%] 194s tests/legacy_api/test_server.py .................. [ 28%] 196s tests/legacy_api/test_session.py ..........................s [ 37%] 197s tests/legacy_api/test_tmuxobject.py ..... [ 39%] 197s tests/legacy_api/test_version.py ................. [ 45%] 201s tests/legacy_api/test_window.py .......s..................s [ 54%] 201s tests/test_common.py .................... [ 61%] 201s tests/test_dataclasses.py .. [ 62%] 203s tests/test_pane.py ......... [ 65%] 204s tests/test_server.py .................... [ 72%] 206s tests/test_session.py .F........................s [ 82%] 206s tests/test_test.py . [ 82%] 207s tests/test_tmuxobject.py ..... [ 84%] 207s tests/test_version.py ................. [ 90%] 211s tests/test_window.py ..........................s. [100%] 211s 211s =================================== FAILURES =================================== 211s ______________________________ test_select_window ______________________________ 211s 211s session = Session($1 libtmux_o6xj_pwr) 211s 211s def test_select_window(session: Session) -> None: 211s """Session.select_window moves window.""" 211s # get the current window_base_index, since different user tmux config 211s # may start at 0 or 1, or whatever they want. 211s window_idx = session.active_window.window_index 211s assert window_idx is not None 211s window_base_index = int(window_idx) 211s 211s session.new_window(window_name="test_window") 211s window_count = len(session.windows) 211s 211s assert window_count >= 2 # 2 or more windows 211s 211s assert len(session.windows) == window_count 211s 211s # tmux selects a window, moves to it, shows it as active_window 211s selected_window1 = session.select_window(window_base_index) 211s assert isinstance(selected_window1, Window) 211s active_window1 = session.active_window 211s 211s assert selected_window1 == active_window1 211s > assert selected_window1.__dict__ == active_window1.__dict__ 211s E AssertionError: assert {'active_wind...e': None, ...} == {'active_wind...e': None, ...} 211s E 211s E Omitting 124 identical items, use -vv to show 211s E Differing items: 211s E {'history_bytes': '1368'} != {'history_bytes': '1768'} 211s E {'cursor_x': '0'} != {'cursor_x': '71'} 211s E Use -v to get more diff 211s 211s tests/test_session.py:53: AssertionError 211s =============================== warnings summary =============================== 211s tests/legacy_api/test_pane.py::test_resize_pane 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_pane.py:13: DeprecationWarning: Session.attached_window() is deprecated in favor of Session.active_window() 211s window = session.attached_window 211s 211s tests/legacy_api/test_pane.py::test_resize_pane 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_pane.py:16: DeprecationWarning: Window.attached_pane() is deprecated in favor of Window.active_pane() 211s pane1 = window.attached_pane 211s 211s tests/legacy_api/test_pane.py::test_resize_pane 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_pane.py:18: DeprecationWarning: Item lookups, e.g. pane['pane_height'] is deprecated 211s pane1_height = pane1["pane_height"] 211s 211s tests/legacy_api/test_pane.py::test_resize_pane 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_pane.py:19: DeprecationWarning: Window.split_window() is deprecated in favor of Window.split() 211s window.split_window() 211s 211s tests/legacy_api/test_pane.py::test_resize_pane 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_pane.py:21: DeprecationWarning: Deprecated: Use Pane.resize() instead of Pane.resize_pane() 211s pane1.resize_pane(height=4) 211s 211s tests/legacy_api/test_pane.py::test_resize_pane 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_pane.py:22: DeprecationWarning: Item lookups, e.g. pane['pane_height'] is deprecated 211s assert pane1["pane_height"] != pane1_height 211s 211s tests/legacy_api/test_pane.py::test_resize_pane 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_pane.py:23: DeprecationWarning: Item lookups, e.g. pane['pane_height'] is deprecated 211s assert int(pane1["pane_height"]) == 4 211s 211s tests/legacy_api/test_pane.py::test_resize_pane 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_pane.py:25: DeprecationWarning: Deprecated: Use Pane.resize() instead of Pane.resize_pane() 211s pane1.resize_pane(height=3) 211s 211s tests/legacy_api/test_pane.py::test_resize_pane 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_pane.py:26: DeprecationWarning: Item lookups, e.g. pane['pane_height'] is deprecated 211s assert int(pane1["pane_height"]) == 3 211s 211s tests/legacy_api/test_pane.py::test_send_keys 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_pane.py:31: DeprecationWarning: Session.attached_window() is deprecated in favor of Session.active_window() 211s pane = session.attached_window.attached_pane 211s 211s tests/legacy_api/test_pane.py::test_send_keys 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_pane.py:31: DeprecationWarning: Window.attached_pane() is deprecated in favor of Window.active_pane() 211s pane = session.attached_window.attached_pane 211s 211s tests/legacy_api/test_pane.py::test_set_height 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_pane.py:45: DeprecationWarning: Window.split_window() is deprecated in favor of Window.split() 211s window.split_window() 211s 211s tests/legacy_api/test_pane.py::test_set_height 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_pane.py:46: DeprecationWarning: Window.attached_pane() is deprecated in favor of Window.active_pane() 211s pane1 = window.attached_pane 211s 211s tests/legacy_api/test_pane.py::test_set_height 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_pane.py:48: DeprecationWarning: Item lookups, e.g. pane['pane_height'] is deprecated 211s pane1_height = pane1["pane_height"] 211s 211s tests/legacy_api/test_pane.py::test_set_height 211s tests/test_pane.py::test_set_height 211s /usr/lib/python3/dist-packages/libtmux/pane.py:685: DeprecationWarning: Deprecated: Use Pane.resize() instead of Pane.resize_pane() 211s self.resize_pane(height=height) 211s 211s tests/legacy_api/test_pane.py::test_set_height 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_pane.py:51: DeprecationWarning: Item lookups, e.g. pane['pane_height'] is deprecated 211s assert pane1["pane_height"] != pane1_height 211s 211s tests/legacy_api/test_pane.py::test_set_height 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_pane.py:52: DeprecationWarning: Item lookups, e.g. pane['pane_height'] is deprecated 211s assert int(pane1["pane_height"]) == 4 211s 211s tests/legacy_api/test_pane.py::test_set_width 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_pane.py:58: DeprecationWarning: Window.split_window() is deprecated in favor of Window.split() 211s window.split_window() 211s 211s tests/legacy_api/test_pane.py::test_set_width 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_pane.py:61: DeprecationWarning: Window.attached_pane() is deprecated in favor of Window.active_pane() 211s pane1 = window.attached_pane 211s 211s tests/legacy_api/test_pane.py::test_set_width 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_pane.py:63: DeprecationWarning: Item lookups, e.g. pane['pane_width'] is deprecated 211s pane1_width = pane1["pane_width"] 211s 211s tests/legacy_api/test_pane.py::test_set_width 211s tests/test_pane.py::test_set_width 211s /usr/lib/python3/dist-packages/libtmux/pane.py:674: DeprecationWarning: Deprecated: Use Pane.resize() instead of Pane.resize_pane() 211s self.resize_pane(width=width) 211s 211s tests/legacy_api/test_pane.py::test_set_width 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_pane.py:66: DeprecationWarning: Item lookups, e.g. pane['pane_width'] is deprecated 211s assert pane1["pane_width"] != pane1_width 211s 211s tests/legacy_api/test_pane.py::test_set_width 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_pane.py:67: DeprecationWarning: Item lookups, e.g. pane['pane_width'] is deprecated 211s assert int(pane1["pane_width"]) == 10 211s 211s tests/legacy_api/test_pane.py::test_capture_pane 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_pane.py:82: DeprecationWarning: Session.attached_window() is deprecated in favor of Session.active_window() 211s pane = session.attached_window.attached_pane 211s 211s tests/legacy_api/test_pane.py::test_capture_pane 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_pane.py:82: DeprecationWarning: Window.attached_pane() is deprecated in favor of Window.active_pane() 211s pane = session.attached_window.attached_pane 211s 211s tests/legacy_api/test_server.py::test_has_session 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_server.py:17: DeprecationWarning: Session.get() is deprecated 211s session_name = session.get("session_name") 211s 211s tests/legacy_api/test_server.py::test_new_session 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_server.py:95: DeprecationWarning: Session.get() is deprecated 211s assert mysession.get("session_name") == "test_new_session" 211s 211s tests/legacy_api/test_server.py::test_new_session_no_name 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_server.py:102: DeprecationWarning: Session.get() is deprecated 211s first_session_name = first_session.get("session_name") 211s 211s tests/legacy_api/test_server.py::test_new_session_no_name 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_server.py:110: DeprecationWarning: Session.get() is deprecated 211s second_session_name = second_session.get("session_name") 211s 211s tests/legacy_api/test_server.py::test_new_session_shell 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_server.py:120: DeprecationWarning: Session.list_windows() is deprecated 211s window = mysession.list_windows()[0] 211s 211s tests/legacy_api/test_server.py::test_new_session_shell 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_server.py:121: DeprecationWarning: list_panes() is deprecated 211s pane = window.list_panes()[0] 211s 211s tests/legacy_api/test_server.py::test_new_session_shell 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_server.py:122: DeprecationWarning: Session.get() is deprecated 211s assert mysession.get("session_name") == "test_new_session" 211s 211s tests/legacy_api/test_server.py::test_new_session_shell 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_server.py:125: DeprecationWarning: Pane.get() is deprecated 211s pane_start_command = pane.get("pane_start_command") 211s 211s tests/legacy_api/test_session.py::test_has_session 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_session.py:22: DeprecationWarning: Session.get() is deprecated 211s TEST_SESSION_NAME = session.get("session_name") 211s 211s tests/legacy_api/test_session.py::test_select_window 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_session.py:35: DeprecationWarning: Session.attached_window() is deprecated in favor of Session.active_window() 211s window_idx = session.attached_window.get("window_index") 211s 211s tests/legacy_api/test_session.py::test_select_window 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_session.py:35: DeprecationWarning: Window.get() is deprecated 211s window_idx = session.attached_window.get("window_index") 211s 211s tests/legacy_api/test_session.py::test_select_window 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_session.py:40: DeprecationWarning: Session._windows is deprecated 211s window_count = len(session._windows) 211s 211s tests/legacy_api/test_session.py::test_select_window 211s tests/legacy_api/test_session.py::test_select_window_returns_Window 211s tests/legacy_api/test_window.py::test_select_window 211s tests/legacy_api/test_window.py::test_fresh_window_data 211s /usr/lib/python3/dist-packages/libtmux/session.py:942: DeprecationWarning: Session._list_windows() is deprecated 211s return self._list_windows() 211s 211s tests/legacy_api/test_session.py::test_select_window 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_session.py:44: DeprecationWarning: Session._windows is deprecated 211s assert len(session._windows) == window_count 211s 211s tests/legacy_api/test_session.py::test_select_window 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_session.py:49: DeprecationWarning: Session.attached_window() is deprecated in favor of Session.active_window() 211s attached_window1 = session.attached_window 211s 211s tests/legacy_api/test_session.py::test_select_window 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_session.py:58: DeprecationWarning: Session.attached_window() is deprecated in favor of Session.active_window() 211s attached_window2 = session.attached_window 211s 211s tests/legacy_api/test_session.py::test_select_window_returns_Window 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_session.py:70: DeprecationWarning: Session._windows is deprecated 211s window_count = len(session._windows) 211s 211s tests/legacy_api/test_session.py::test_select_window_returns_Window 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_session.py:71: DeprecationWarning: Session._windows is deprecated 211s assert len(session._windows) == window_count 211s 211s tests/legacy_api/test_session.py::test_select_window_returns_Window 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_session.py:73: DeprecationWarning: Session.attached_window() is deprecated in favor of Session.active_window() 211s window_idx = session.attached_window.get("window_index") 211s 211s tests/legacy_api/test_session.py::test_select_window_returns_Window 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_session.py:73: DeprecationWarning: Window.get() is deprecated 211s window_idx = session.attached_window.get("window_index") 211s 211s tests/legacy_api/test_session.py::test_attached_window 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_session.py:82: DeprecationWarning: Session.attached_window() is deprecated in favor of Session.active_window() 211s assert isinstance(session.attached_window, Window) 211s 211s tests/legacy_api/test_session.py::test_attached_pane 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_session.py:87: DeprecationWarning: Session.attached_pane() is deprecated in favor of Session.active_pane() 211s assert isinstance(session.attached_pane, Pane) 211s 211s tests/legacy_api/test_session.py::test_session_rename 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_session.py:92: DeprecationWarning: Session.get() is deprecated 211s session_name = session.get("session_name") 211s 211s tests/legacy_api/test_session.py::test_session_rename 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_session.py:98: DeprecationWarning: Session.get() is deprecated 211s session_name = session.get("session_name") 211s 211s tests/legacy_api/test_session.py::test_session_rename 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_session.py:102: DeprecationWarning: Session.get() is deprecated 211s session_name = session.get("session_name") 211s 211s tests/legacy_api/test_session.py::test_new_session 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_session.py:113: DeprecationWarning: Session.get() is deprecated 211s assert new_session.get("session_name") == new_session_name 211s 211s tests/legacy_api/test_session.py::test_new_window_with_environment[environment0] 211s tests/legacy_api/test_session.py::test_new_window_with_environment[environment1] 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_session.py:290: DeprecationWarning: Window.attached_pane() is deprecated in favor of Window.active_pane() 211s pane = window.attached_pane 211s 211s tests/legacy_api/test_tmuxobject.py::test_find_where 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:21: DeprecationWarning: Session.get() is deprecated 211s session_id = session.get("session_id") 211s 211s tests/legacy_api/test_tmuxobject.py::test_find_where 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:24: DeprecationWarning: Server.find_where() is deprecated 211s assert server.find_where({"session_id": session_id}) == session 211s 211s tests/legacy_api/test_tmuxobject.py::test_find_where 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:25: DeprecationWarning: Server.find_where() is deprecated 211s assert isinstance(server.find_where({"session_id": session_id}), Session) 211s 211s tests/legacy_api/test_tmuxobject.py::test_find_where 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:29: DeprecationWarning: Window.get() is deprecated 211s window_id = window.get("window_id") 211s 211s tests/legacy_api/test_tmuxobject.py::test_find_where 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:32: DeprecationWarning: Session.find_where() is deprecated 211s assert session.find_where({"window_id": window_id}) == window 211s 211s tests/legacy_api/test_tmuxobject.py::test_find_where 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:33: DeprecationWarning: Session.find_where() is deprecated 211s assert isinstance(session.find_where({"window_id": window_id}), Window) 211s 211s tests/legacy_api/test_tmuxobject.py::test_find_where 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:37: DeprecationWarning: Pane.get() is deprecated 211s pane_id = pane.get("pane_id") 211s 211s tests/legacy_api/test_tmuxobject.py::test_find_where 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:40: DeprecationWarning: Window.find_where() is deprecated 211s assert window.find_where({"pane_id": pane_id}) == pane 211s 211s tests/legacy_api/test_tmuxobject.py::test_find_where 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:41: DeprecationWarning: Window.find_where() is deprecated 211s assert isinstance(window.find_where({"pane_id": pane_id}), Pane) 211s 211s tests/legacy_api/test_tmuxobject.py::test_find_where_None 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:52: DeprecationWarning: Server.find_where() is deprecated 211s assert server.find_where({"session_name": nonexistent_session}) is None 211s 211s tests/legacy_api/test_tmuxobject.py::test_find_where_multiple_infos 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:58: DeprecationWarning: Session.get() is deprecated 211s session_id = session.get("session_id") 211s 211s tests/legacy_api/test_tmuxobject.py::test_find_where_multiple_infos 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:60: DeprecationWarning: Session.get() is deprecated 211s session_name = session.get("session_name") 211s 211s tests/legacy_api/test_tmuxobject.py::test_find_where_multiple_infos 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:63: DeprecationWarning: Server.find_where() is deprecated 211s find_where = server.find_where( 211s 211s tests/legacy_api/test_tmuxobject.py::test_find_where_multiple_infos 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:72: DeprecationWarning: Window.get() is deprecated 211s window_id = window.get("window_id") 211s 211s tests/legacy_api/test_tmuxobject.py::test_find_where_multiple_infos 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:74: DeprecationWarning: Window.get() is deprecated 211s window_index = window.get("window_index") 211s 211s tests/legacy_api/test_tmuxobject.py::test_find_where_multiple_infos 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:77: DeprecationWarning: Session.find_where() is deprecated 211s find_where_window = session.find_where( 211s 211s tests/legacy_api/test_tmuxobject.py::test_find_where_multiple_infos 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:86: DeprecationWarning: Pane.get() is deprecated 211s pane_id = pane.get("pane_id") 211s 211s tests/legacy_api/test_tmuxobject.py::test_find_where_multiple_infos 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:88: DeprecationWarning: Pane.get() is deprecated 211s pane_tty = pane.get("pane_tty") 211s 211s tests/legacy_api/test_tmuxobject.py::test_find_where_multiple_infos 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:91: DeprecationWarning: Window.find_where() is deprecated 211s find_where_pane = window.find_where( 211s 211s tests/legacy_api/test_tmuxobject.py::test_where 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:101: DeprecationWarning: Session.attached_window() is deprecated in favor of Session.active_window() 211s window = session.attached_window 211s 211s tests/legacy_api/test_tmuxobject.py::test_where 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:102: DeprecationWarning: Window.split_window() is deprecated in favor of Window.split() 211s window.split_window() # create second pane 211s 211s tests/legacy_api/test_tmuxobject.py::test_where 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:105: DeprecationWarning: Session.get() is deprecated 211s session_id = session.get("session_id") 211s 211s tests/legacy_api/test_tmuxobject.py::test_where 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:107: DeprecationWarning: Session.get() is deprecated 211s session_name = session.get("session_name") 211s 211s tests/legacy_api/test_tmuxobject.py::test_where 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:110: DeprecationWarning: Server.find_where() is deprecated 211s server_sessions = server.where( 211s 211s tests/legacy_api/test_tmuxobject.py::test_where 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:121: DeprecationWarning: Window.get() is deprecated 211s window_id = window.get("window_id") 211s 211s tests/legacy_api/test_tmuxobject.py::test_where 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:124: DeprecationWarning: Window.get() is deprecated 211s window_index = window.get("window_index") 211s 211s tests/legacy_api/test_tmuxobject.py::test_where 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:127: DeprecationWarning: Session.where() is deprecated 211s session_windows = session.where( 211s 211s tests/legacy_api/test_tmuxobject.py::test_where 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:138: DeprecationWarning: Pane.get() is deprecated 211s pane_id = pane.get("pane_id") 211s 211s tests/legacy_api/test_tmuxobject.py::test_where 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:141: DeprecationWarning: Pane.get() is deprecated 211s pane_tty = pane.get("pane_tty") 211s 211s tests/legacy_api/test_tmuxobject.py::test_where 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:144: DeprecationWarning: Window.where() is deprecated 211s window_panes = window.where({"pane_id": pane_id, "pane_tty": pane_tty}) 211s 211s tests/legacy_api/test_tmuxobject.py::test_get_by_id 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:154: DeprecationWarning: Session.attached_window() is deprecated in favor of Session.active_window() 211s window = session.attached_window 211s 211s tests/legacy_api/test_tmuxobject.py::test_get_by_id 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:156: DeprecationWarning: Window.split_window() is deprecated in favor of Window.split() 211s window.split_window() # create second pane 211s 211s tests/legacy_api/test_tmuxobject.py::test_get_by_id 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:159: DeprecationWarning: Session.get() is deprecated 211s session_id = session.get("session_id") 211s 211s tests/legacy_api/test_tmuxobject.py::test_get_by_id 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:161: DeprecationWarning: Server.get_by_id() is deprecated 211s get_session_by_id = server.get_by_id(session_id) 211s 211s tests/legacy_api/test_tmuxobject.py::test_get_by_id 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:165: DeprecationWarning: Server.get_by_id() is deprecated 211s assert server.get_by_id("$" + next(namer)) is None 211s 211s tests/legacy_api/test_tmuxobject.py::test_get_by_id 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:169: DeprecationWarning: Window.get() is deprecated 211s window_id = window.get("window_id") 211s 211s tests/legacy_api/test_tmuxobject.py::test_get_by_id 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:172: DeprecationWarning: Session.get_by_id() is deprecated 211s get_window_by_id = session.get_by_id(window_id) 211s 211s tests/legacy_api/test_tmuxobject.py::test_get_by_id 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:177: DeprecationWarning: Session.get_by_id() is deprecated 211s assert session.get_by_id("@" + next(namer)) is None 211s 211s tests/legacy_api/test_tmuxobject.py::test_get_by_id 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:181: DeprecationWarning: Pane.get() is deprecated 211s pane_id = pane.get("pane_id") 211s 211s tests/legacy_api/test_tmuxobject.py::test_get_by_id 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:184: DeprecationWarning: Window.get_by_id() is deprecated 211s get_pane_by_id = window.get_by_id(pane_id) 211s 211s tests/legacy_api/test_tmuxobject.py::test_get_by_id 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_tmuxobject.py:188: DeprecationWarning: Window.get_by_id() is deprecated 211s assert window.get_by_id("%" + next(namer)) is None 211s 211s tests/legacy_api/test_window.py::test_select_window 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:22: DeprecationWarning: Session._windows is deprecated 211s window_count = len(session._windows) 211s 211s tests/legacy_api/test_window.py::test_select_window 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:27: DeprecationWarning: Session.attached_window() is deprecated in favor of Session.active_window() 211s assert session.attached_window is not None 211s 211s tests/legacy_api/test_window.py::test_select_window 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:28: DeprecationWarning: Session.attached_window() is deprecated in favor of Session.active_window() 211s assert session.attached_window.index is not None 211s 211s tests/legacy_api/test_window.py::test_select_window 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:29: DeprecationWarning: Session.attached_window() is deprecated in favor of Session.active_window() 211s window_base_index = int(session.attached_window.index) 211s 211s tests/legacy_api/test_window.py::test_select_window 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:39: DeprecationWarning: Session.attached_window() is deprecated in favor of Session.active_window() 211s assert window_base_index == int(session.attached_window.index) 211s 211s tests/legacy_api/test_window.py::test_select_window 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:42: DeprecationWarning: Session.attached_window() is deprecated in favor of Session.active_window() 211s assert int(window_base_index) + 1 == int(session.attached_window.index) 211s 211s tests/legacy_api/test_window.py::test_select_window 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:44: DeprecationWarning: Session._windows is deprecated 211s assert len(session._windows) == 2 211s 211s tests/legacy_api/test_window.py::test_fresh_window_data 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:49: DeprecationWarning: Session.attached_window() is deprecated in favor of Session.active_window() 211s attached_window = session.attached_window 211s 211s tests/legacy_api/test_window.py::test_fresh_window_data 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:57: DeprecationWarning: Session.attached_window() is deprecated in favor of Session.active_window() 211s assert len(session.attached_window.panes) == 1 211s 211s tests/legacy_api/test_window.py::test_fresh_window_data 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:58: DeprecationWarning: Session._windows is deprecated 211s current_windows = len(session._windows) 211s 211s tests/legacy_api/test_window.py::test_fresh_window_data 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:59: DeprecationWarning: Session.get() is deprecated 211s assert session.get("session_id") != "@0" 211s 211s tests/legacy_api/test_window.py::test_fresh_window_data 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:62: DeprecationWarning: Session.attached_window() is deprecated in favor of Session.active_window() 211s assert len(session.attached_window.panes) == 1 211s 211s tests/legacy_api/test_window.py::test_fresh_window_data 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:67: DeprecationWarning: Session.attached_window() is deprecated in favor of Session.active_window() 211s assert len(session.attached_window.panes) == 1 211s 211s tests/legacy_api/test_window.py::test_fresh_window_data 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:70: DeprecationWarning: Session.attached_window() is deprecated in favor of Session.active_window() 211s window = session.attached_window 211s 211s tests/legacy_api/test_window.py::test_fresh_window_data 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:72: DeprecationWarning: Session.attached_window() is deprecated in favor of Session.active_window() 211s assert len(session.attached_window.panes) == 1 211s 211s tests/legacy_api/test_window.py::test_fresh_window_data 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:73: DeprecationWarning: Window.split_window() is deprecated in favor of Window.split() 211s window.split_window() 211s 211s tests/legacy_api/test_window.py::test_fresh_window_data 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:75: DeprecationWarning: Session.attached_window() is deprecated in favor of Session.active_window() 211s attached_window = session.attached_window 211s 211s tests/legacy_api/test_window.py::test_fresh_window_data 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:79: DeprecationWarning: Session.attached_pane() is deprecated in favor of Session.active_pane() 211s attached_pane = session.attached_pane 211s 211s tests/legacy_api/test_window.py::test_fresh_window_data 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:84: DeprecationWarning: Session.attached_pane() is deprecated in favor of Session.active_pane() 211s attached_pane = session.attached_pane 211s 211s tests/legacy_api/test_window.py::test_fresh_window_data 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:89: DeprecationWarning: Session._windows is deprecated 211s assert current_windows == len(session._windows) 211s 211s tests/legacy_api/test_window.py::test_fresh_window_data 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:92: DeprecationWarning: Session._windows is deprecated 211s assert current_windows == len(session._windows) 211s 211s tests/legacy_api/test_window.py::test_fresh_window_data 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:97: DeprecationWarning: Session._windows is deprecated 211s assert current_windows == len(session._windows) 211s 211s tests/legacy_api/test_window.py::test_newest_pane_data 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:105: DeprecationWarning: Window.split_window() is deprecated in favor of Window.split() 211s window.split_window(attach=True) 211s 211s tests/legacy_api/test_window.py::test_newest_pane_data 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:110: DeprecationWarning: Window.split_window() is deprecated in favor of Window.split() 211s window.split_window(attach=True) 211s 211s tests/legacy_api/test_window.py::test_attached_pane 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:116: DeprecationWarning: Session.attached_window() is deprecated in favor of Session.active_window() 211s window = session.attached_window # current window 211s 211s tests/legacy_api/test_window.py::test_attached_pane 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:117: DeprecationWarning: Window.attached_pane() is deprecated in favor of Window.active_pane() 211s assert isinstance(window.attached_pane, Pane) 211s 211s tests/legacy_api/test_window.py::test_split_window 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:124: DeprecationWarning: Window.split_window() is deprecated in favor of Window.split() 211s pane = window.split_window() 211s 211s tests/legacy_api/test_window.py::test_split_window_shell 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:137: DeprecationWarning: Window.split_window() is deprecated in favor of Window.split() 211s pane = window.split_window(shell=cmd) 211s 211s tests/legacy_api/test_window.py::test_split_window_shell 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:144: DeprecationWarning: Pane.get() is deprecated 211s assert pane.get("pane_start_command", "").replace('"', "") == cmd 211s 211s tests/legacy_api/test_window.py::test_split_window_horizontal 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:153: DeprecationWarning: Window.split_window() is deprecated in favor of Window.split() 211s pane = window.split_window(vertical=False) 211s 211s tests/legacy_api/test_window.py::test_split_window_size 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:188: DeprecationWarning: Window.split_window() is deprecated in favor of Window.split() 211s pane = window.split_window(size=10) 211s 211s tests/legacy_api/test_window.py::test_split_window_size 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:191: DeprecationWarning: Window.split_window() is deprecated in favor of Window.split() 211s pane = window.split_window(vertical=False, size=10) 211s 211s tests/legacy_api/test_window.py::test_split_window_size 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:194: DeprecationWarning: Window.split_window() is deprecated in favor of Window.split() 211s pane = window.split_window(size="10%") 211s 211s tests/legacy_api/test_window.py::test_split_window_size 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:197: DeprecationWarning: Window.split_window() is deprecated in favor of Window.split() 211s pane = window.split_window(vertical=False, size="10%") 211s 211s tests/legacy_api/test_window.py::test_window_rename[test-ha ha ha fjewlkjflwef] 211s tests/legacy_api/test_window.py::test_window_rename[test-hello \\ wazzup 0] 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:229: DeprecationWarning: Session.attached_window() is deprecated in favor of Session.active_window() 211s assert window == session.attached_window 211s 211s tests/legacy_api/test_window.py::test_window_rename[test-ha ha ha fjewlkjflwef] 211s tests/legacy_api/test_window.py::test_window_rename[test-hello \\ wazzup 0] 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:230: DeprecationWarning: Window.get() is deprecated 211s assert window.get("window_name") == window_name_before 211s 211s tests/legacy_api/test_window.py::test_window_rename[test-ha ha ha fjewlkjflwef] 211s tests/legacy_api/test_window.py::test_window_rename[test-hello \\ wazzup 0] 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:234: DeprecationWarning: Session.attached_window() is deprecated in favor of Session.active_window() 211s window = session.attached_window 211s 211s tests/legacy_api/test_window.py::test_window_rename[test-ha ha ha fjewlkjflwef] 211s tests/legacy_api/test_window.py::test_window_rename[test-hello \\ wazzup 0] 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:236: DeprecationWarning: Window.get() is deprecated 211s assert window.get("window_name") == window_name_after 211s 211s tests/legacy_api/test_window.py::test_window_rename[test-ha ha ha fjewlkjflwef] 211s tests/legacy_api/test_window.py::test_window_rename[test-hello \\ wazzup 0] 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:238: DeprecationWarning: Session.attached_window() is deprecated in favor of Session.active_window() 211s window = session.attached_window 211s 211s tests/legacy_api/test_window.py::test_window_rename[test-ha ha ha fjewlkjflwef] 211s tests/legacy_api/test_window.py::test_window_rename[test-hello \\ wazzup 0] 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:240: DeprecationWarning: Window.get() is deprecated 211s assert window.get("window_name") == window_name_after 211s 211s tests/legacy_api/test_window.py::test_kill_window 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:249: DeprecationWarning: Session.attached_window() is deprecated in favor of Session.active_window() 211s w = session.attached_window 211s 211s tests/legacy_api/test_window.py::test_kill_window 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:251: DeprecationWarning: Window.get() is deprecated 211s assert isinstance(w.get("window_id"), str) 211s 211s tests/legacy_api/test_window.py::test_kill_window 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:252: DeprecationWarning: Window.get() is deprecated 211s assert len(session.windows.filter(window_id=w.get("window_id"))) == 1 211s 211s tests/legacy_api/test_window.py::test_kill_window 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:254: DeprecationWarning: Window.kill_server() is deprecated in favor of Window.kill() 211s w.kill_window() 211s 211s tests/legacy_api/test_window.py::test_kill_window 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:256: DeprecationWarning: Window.get() is deprecated 211s assert len(session.windows.filter(window_id=w.get("window_id"))) == 0 211s 211s tests/legacy_api/test_window.py::test_move_window_to_other_session 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:353: DeprecationWarning: Session.get() is deprecated 211s window.move_window(session=new_session.get("session_id")) 211s 211s tests/legacy_api/test_window.py::test_move_window_to_other_session 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:354: DeprecationWarning: Window.get() is deprecated 211s window_id = window.get("window_id") 211s 211s tests/legacy_api/test_window.py::test_move_window_to_other_session 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:356: DeprecationWarning: Session.get_by_id() is deprecated 211s assert new_session.get_by_id(window_id) == window 211s 211s tests/legacy_api/test_window.py::test_empty_window_name 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:374: DeprecationWarning: Session.attached_window() is deprecated in favor of Session.active_window() 211s assert window == session.attached_window 211s 211s tests/legacy_api/test_window.py::test_empty_window_name 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:375: DeprecationWarning: Window.get() is deprecated 211s assert window.get("window_name") == "''" 211s 211s tests/legacy_api/test_window.py::test_split_window_with_environment[environment0] 211s tests/legacy_api/test_window.py::test_split_window_with_environment[environment1] 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/legacy_api/test_window.py:408: DeprecationWarning: Window.split_window() is deprecated in favor of Window.split() 211s pane = window.split_window( 211s 211s tests/test_dataclasses.py::test_pane 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/test_dataclasses.py:64: DeprecationWarning: Deprecated: Use Pane.resize() instead of Pane.resize_pane() 211s pane.resize_pane(adjustment_direction=ResizeAdjustmentDirection.Down, adjustment=25) 211s 211s tests/test_dataclasses.py::test_pane 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/test_dataclasses.py:65: DeprecationWarning: Deprecated: Use Pane.resize() instead of Pane.resize_pane() 211s pane.resize_pane( 211s 211s tests/test_pane.py::test_resize_pane 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/test_pane.py:213: DeprecationWarning: Deprecated: Use Pane.resize() instead of Pane.resize_pane() 211s pane.resize_pane( 211s 211s tests/test_pane.py::test_resize_pane 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/test_pane.py:220: DeprecationWarning: Deprecated: Use Pane.resize() instead of Pane.resize_pane() 211s pane.resize_pane( 211s 211s tests/test_pane.py::test_resize_pane 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/test_pane.py:229: DeprecationWarning: Deprecated: Use Pane.resize() instead of Pane.resize_pane() 211s pane.resize_pane( 211s 211s tests/test_pane.py::test_resize_pane 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/test_pane.py:236: DeprecationWarning: Deprecated: Use Pane.resize() instead of Pane.resize_pane() 211s pane.resize_pane( 211s 211s tests/test_pane.py::test_resize_pane 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/test_pane.py:247: DeprecationWarning: Deprecated: Use Pane.resize() instead of Pane.resize_pane() 211s pane.resize_pane( 211s 211s tests/test_pane.py::test_resize_pane 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/test_pane.py:255: DeprecationWarning: Deprecated: Use Pane.resize() instead of Pane.resize_pane() 211s pane.resize_pane( 211s 211s tests/test_pane.py::test_resize_pane 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/test_pane.py:264: DeprecationWarning: Deprecated: Use Pane.resize() instead of Pane.resize_pane() 211s pane.resize_pane(height=50) 211s 211s tests/test_pane.py::test_resize_pane 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/test_pane.py:267: DeprecationWarning: Deprecated: Use Pane.resize() instead of Pane.resize_pane() 211s pane.resize_pane(height=2) 211s 211s tests/test_pane.py::test_resize_pane 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/test_pane.py:269: DeprecationWarning: Deprecated: Use Pane.resize() instead of Pane.resize_pane() 211s pane.resize_pane( 211s 211s tests/test_window.py::test_kill_window 211s /tmp/autopkgtest.C1cG6X/autopkgtest_tmp/tests/test_window.py:250: DeprecationWarning: Window.kill_server() is deprecated in favor of Window.kill() 211s w.kill_window() 211s 211s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 211s =========================== short test summary info ============================ 211s FAILED tests/test_session.py::test_select_window - AssertionError: assert {'a... 211s ==== 1 failed, 280 passed, 5 skipped, 9 deselected, 169 warnings in 19.04s ===== 211s autopkgtest [13:29:00]: test pytest: -----------------------] 215s pytest FAIL non-zero exit status 1 215s autopkgtest [13:29:04]: test pytest: - - - - - - - - - - results - - - - - - - - - - 219s autopkgtest [13:29:08]: test autodep8-python3: preparing testbed 246s autopkgtest [13:29:35]: testbed dpkg architecture: armhf 248s autopkgtest [13:29:37]: testbed apt version: 2.9.5 248s autopkgtest [13:29:37]: @@@@@@@@@@@@@@@@@@@@ test bed setup 255s Get:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease [110 kB] 256s Get:2 http://ftpmaster.internal/ubuntu oracular-proposed/main Sources [43.7 kB] 256s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/universe Sources [382 kB] 256s Get:4 http://ftpmaster.internal/ubuntu oracular-proposed/restricted Sources [7052 B] 256s Get:5 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse Sources [2576 B] 256s Get:6 http://ftpmaster.internal/ubuntu oracular-proposed/main armhf Packages [57.0 kB] 256s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/restricted armhf Packages [1368 B] 256s Get:8 http://ftpmaster.internal/ubuntu oracular-proposed/universe armhf Packages [279 kB] 256s Get:9 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse armhf Packages [1768 B] 256s Fetched 885 kB in 1s (997 kB/s) 256s Reading package lists... 271s tee: /proc/self/fd/2: Permission denied 292s Hit:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease 292s Hit:2 http://ftpmaster.internal/ubuntu oracular InRelease 292s Hit:3 http://ftpmaster.internal/ubuntu oracular-updates InRelease 293s Hit:4 http://ftpmaster.internal/ubuntu oracular-security InRelease 294s Reading package lists... 294s Reading package lists... 294s Building dependency tree... 294s Reading state information... 294s Calculating upgrade... 295s The following packages will be upgraded: 295s lto-disabled-list 295s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 295s Need to get 12.3 kB of archives. 295s After this operation, 0 B of additional disk space will be used. 295s Get:1 http://ftpmaster.internal/ubuntu oracular/main armhf lto-disabled-list all 50 [12.3 kB] 295s Fetched 12.3 kB in 0s (81.6 kB/s) 296s (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 ... 58374 files and directories currently installed.) 296s Preparing to unpack .../lto-disabled-list_50_all.deb ... 296s Unpacking lto-disabled-list (50) over (49) ... 296s Setting up lto-disabled-list (50) ... 296s Reading package lists... 296s Building dependency tree... 296s Reading state information... 297s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 299s autopkgtest [13:30:28]: rebooting testbed after setup commands that affected boot 371s Reading package lists... 371s Building dependency tree... 371s Reading state information... 372s Starting pkgProblemResolver with broken count: 0 372s Starting 2 pkgProblemResolver with broken count: 0 372s Done 373s The following additional packages will be installed: 373s python3-all python3-libtmux 373s The following NEW packages will be installed: 373s autopkgtest-satdep python3-all python3-libtmux 373s 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. 373s Need to get 41.8 kB/42.5 kB of archives. 373s After this operation, 240 kB of additional disk space will be used. 373s Get:1 /tmp/autopkgtest.C1cG6X/2-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [712 B] 373s Get:2 http://ftpmaster.internal/ubuntu oracular/main armhf python3-all armhf 3.12.3-0ubuntu1 [886 B] 373s Get:3 http://ftpmaster.internal/ubuntu oracular/universe armhf python3-libtmux all 0.37.0-1 [40.9 kB] 374s Fetched 41.8 kB in 0s (124 kB/s) 374s Selecting previously unselected package python3-all. 374s (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 ... 58374 files and directories currently installed.) 374s Preparing to unpack .../python3-all_3.12.3-0ubuntu1_armhf.deb ... 374s Unpacking python3-all (3.12.3-0ubuntu1) ... 374s Selecting previously unselected package python3-libtmux. 374s Preparing to unpack .../python3-libtmux_0.37.0-1_all.deb ... 374s Unpacking python3-libtmux (0.37.0-1) ... 374s Selecting previously unselected package autopkgtest-satdep. 374s Preparing to unpack .../2-autopkgtest-satdep.deb ... 374s Unpacking autopkgtest-satdep (0) ... 374s Setting up python3-libtmux (0.37.0-1) ... 374s Setting up python3-all (3.12.3-0ubuntu1) ... 374s Setting up autopkgtest-satdep (0) ... 385s (Reading database ... 58407 files and directories currently installed.) 385s Removing autopkgtest-satdep (0) ... 396s autopkgtest [13:32:05]: test autodep8-python3: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing with $py:" ; $py -c "import libtmux; print(libtmux)" ; done 396s autopkgtest [13:32:05]: test autodep8-python3: [----------------------- 398s Testing with python3.12: 398s 398s autopkgtest [13:32:07]: test autodep8-python3: -----------------------] 402s autodep8-python3 PASS (superficial) 402s autopkgtest [13:32:11]: test autodep8-python3: - - - - - - - - - - results - - - - - - - - - - 406s autopkgtest [13:32:15]: @@@@@@@@@@@@@@@@@@@@ summary 406s pytest FAIL non-zero exit status 1 406s autodep8-python3 PASS (superficial)