0s autopkgtest [15:45:52]: starting date and time: 2024-11-13 15:45:52+0000 0s autopkgtest [15:45:52]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [15:45:52]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.jpa7oh0r/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:python3-defaults,src:python3-stdlib-extensions --apt-upgrade git-repo-updater --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' -- lxd -r lxd-armhf-10.145.243.149 lxd-armhf-10.145.243.149:autopkgtest/ubuntu/plucky/armhf 54s autopkgtest [15:46:46]: testbed dpkg architecture: armhf 56s autopkgtest [15:46:48]: testbed apt version: 2.9.8 56s autopkgtest [15:46:48]: @@@@@@@@@@@@@@@@@@@@ test bed setup 64s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 64s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [950 kB] 65s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [17.2 kB] 65s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [104 kB] 65s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 65s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [104 kB] 65s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [638 kB] 65s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [17.2 kB] 65s Fetched 1911 kB in 1s (2206 kB/s) 65s Reading package lists... 83s tee: /proc/self/fd/2: Permission denied 104s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 104s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 104s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 104s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 106s Reading package lists... 106s Reading package lists... 106s Building dependency tree... 106s Reading state information... 106s Calculating upgrade... 107s The following NEW packages will be installed: 107s python3.13-gdbm 107s The following packages will be upgraded: 107s libgnutls30t64 libjson-glib-1.0-0 libjson-glib-1.0-common libpython3-stdlib 107s libutempter0 python3 python3-gdbm python3-minimal 107s 8 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 107s Need to get 1131 kB of archives. 107s After this operation, 95.2 kB of additional disk space will be used. 107s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-minimal armhf 3.12.7-1 [27.4 kB] 107s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3 armhf 3.12.7-1 [24.0 kB] 107s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libpython3-stdlib armhf 3.12.7-1 [10.0 kB] 107s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libgnutls30t64 armhf 3.8.8-2ubuntu1 [955 kB] 108s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-gdbm armhf 3.13.0-2 [29.5 kB] 108s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-gdbm armhf 3.12.7-1 [8642 B] 108s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-common all 1.10.0+ds-3 [5586 B] 108s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-0 armhf 1.10.0+ds-3 [61.7 kB] 108s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf libutempter0 armhf 1.2.1-4 [9062 B] 108s Fetched 1131 kB in 1s (2030 kB/s) 108s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59559 files and directories currently installed.) 108s Preparing to unpack .../python3-minimal_3.12.7-1_armhf.deb ... 108s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 108s Setting up python3-minimal (3.12.7-1) ... 108s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59559 files and directories currently installed.) 108s Preparing to unpack .../python3_3.12.7-1_armhf.deb ... 108s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 108s Preparing to unpack .../libpython3-stdlib_3.12.7-1_armhf.deb ... 108s Unpacking libpython3-stdlib:armhf (3.12.7-1) over (3.12.6-0ubuntu1) ... 108s Preparing to unpack .../libgnutls30t64_3.8.8-2ubuntu1_armhf.deb ... 108s Unpacking libgnutls30t64:armhf (3.8.8-2ubuntu1) over (3.8.6-2ubuntu1) ... 108s Setting up libgnutls30t64:armhf (3.8.8-2ubuntu1) ... 108s Selecting previously unselected package python3.13-gdbm. 109s (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 ... 59559 files and directories currently installed.) 109s Preparing to unpack .../python3.13-gdbm_3.13.0-2_armhf.deb ... 109s Unpacking python3.13-gdbm (3.13.0-2) ... 109s Preparing to unpack .../python3-gdbm_3.12.7-1_armhf.deb ... 109s Unpacking python3-gdbm:armhf (3.12.7-1) over (3.12.6-1ubuntu1) ... 109s Preparing to unpack .../libjson-glib-1.0-common_1.10.0+ds-3_all.deb ... 109s Unpacking libjson-glib-1.0-common (1.10.0+ds-3) over (1.10.0+ds-2) ... 109s Preparing to unpack .../libjson-glib-1.0-0_1.10.0+ds-3_armhf.deb ... 109s Unpacking libjson-glib-1.0-0:armhf (1.10.0+ds-3) over (1.10.0+ds-2) ... 109s Preparing to unpack .../libutempter0_1.2.1-4_armhf.deb ... 109s Unpacking libutempter0:armhf (1.2.1-4) over (1.2.1-3build1) ... 109s Setting up libutempter0:armhf (1.2.1-4) ... 109s Setting up libjson-glib-1.0-common (1.10.0+ds-3) ... 109s Setting up python3.13-gdbm (3.13.0-2) ... 109s Setting up libpython3-stdlib:armhf (3.12.7-1) ... 109s Setting up python3 (3.12.7-1) ... 109s Setting up libjson-glib-1.0-0:armhf (1.10.0+ds-3) ... 109s Setting up python3-gdbm:armhf (3.12.7-1) ... 109s Processing triggers for man-db (2.12.1-3) ... 110s Processing triggers for libc-bin (2.40-1ubuntu3) ... 110s Reading package lists... 110s Building dependency tree... 110s Reading state information... 111s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 113s autopkgtest [15:47:45]: rebooting testbed after setup commands that affected boot 182s autopkgtest [15:48:54]: testbed running kernel: Linux 6.8.0-48-generic #48~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 7 11:49:53 UTC 2 221s autopkgtest [15:49:33]: @@@@@@@@@@@@@@@@@@@@ apt-source git-repo-updater 231s Get:1 http://ftpmaster.internal/ubuntu plucky/universe git-repo-updater 0.5.1-4 (dsc) [2227 B] 231s Get:2 http://ftpmaster.internal/ubuntu plucky/universe git-repo-updater 0.5.1-4 (tar) [11.4 kB] 231s Get:3 http://ftpmaster.internal/ubuntu plucky/universe git-repo-updater 0.5.1-4 (diff) [2716 B] 231s gpgv: Signature made Tue Oct 20 00:43:29 2020 UTC 231s gpgv: using RSA key 8A2044F84F716A85B77FF76311DF4294CCA39893 231s gpgv: Can't check signature: No public key 231s dpkg-source: warning: cannot verify inline signature for ./git-repo-updater_0.5.1-4.dsc: no acceptable signature found 231s autopkgtest [15:49:43]: testing package git-repo-updater version 0.5.1-4 234s autopkgtest [15:49:46]: build not needed 236s autopkgtest [15:49:48]: test upstream-tests: preparing testbed 247s Reading package lists... 247s Building dependency tree... 247s Reading state information... 248s Starting pkgProblemResolver with broken count: 0 248s Starting 2 pkgProblemResolver with broken count: 0 248s Done 248s The following additional packages will be installed: 248s git git-man liberror-perl libpython3.13-minimal libpython3.13-stdlib 248s python3-all python3-colorama python3-git python3-git-repo-updater 248s python3-gitdb python3-iniconfig python3-packaging python3-pluggy 248s python3-pytest python3-smmap python3.13 python3.13-minimal 248s Suggested packages: 248s git-daemon-run | git-daemon-sysvinit git-doc git-email git-gui gitk gitweb 248s git-cvs git-mediawiki git-svn python-git-doc python3.13-venv python3.13-doc 248s binfmt-support 248s The following NEW packages will be installed: 248s autopkgtest-satdep git git-man liberror-perl libpython3.13-minimal 248s libpython3.13-stdlib python3-all python3-colorama python3-git 248s python3-git-repo-updater python3-gitdb python3-iniconfig python3-packaging 248s python3-pluggy python3-pytest python3-smmap python3.13 python3.13-minimal 249s 0 upgraded, 18 newly installed, 0 to remove and 0 not upgraded. 249s Need to get 11.6 MB/11.6 MB of archives. 249s After this operation, 51.7 MB of additional disk space will be used. 249s Get:1 /tmp/autopkgtest.Qxvrr0/1-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [744 B] 249s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-minimal armhf 3.13.0-2 [866 kB] 249s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-minimal armhf 3.13.0-2 [1854 kB] 249s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf liberror-perl all 0.17029-2 [25.6 kB] 249s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf git-man all 1:2.45.2-1ubuntu1 [1122 kB] 249s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf git armhf 1:2.45.2-1ubuntu1 [4504 kB] 250s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-stdlib armhf 3.13.0-2 [1972 kB] 250s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13 armhf 3.13.0-2 [719 kB] 250s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-all armhf 3.12.7-1 [890 B] 250s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf python3-colorama all 0.4.6-4 [32.1 kB] 250s Get:11 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-smmap all 6.0.0-1 [20.5 kB] 250s Get:12 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-gitdb all 4.0.11-1 [46.2 kB] 250s Get:13 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-git all 3.1.37-3 [138 kB] 250s Get:14 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-git-repo-updater all 0.5.1-4 [12.3 kB] 250s Get:15 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-iniconfig all 1.1.1-2 [6024 B] 250s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf python3-packaging all 24.1-1 [41.4 kB] 250s Get:17 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pluggy all 1.5.0-1 [21.0 kB] 250s Get:18 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest all 8.3.3-1 [251 kB] 250s Fetched 11.6 MB in 1s (9293 kB/s) 250s Selecting previously unselected package libpython3.13-minimal:armhf. 250s (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 ... 59566 files and directories currently installed.) 250s Preparing to unpack .../00-libpython3.13-minimal_3.13.0-2_armhf.deb ... 250s Unpacking libpython3.13-minimal:armhf (3.13.0-2) ... 250s Selecting previously unselected package python3.13-minimal. 250s Preparing to unpack .../01-python3.13-minimal_3.13.0-2_armhf.deb ... 250s Unpacking python3.13-minimal (3.13.0-2) ... 250s Selecting previously unselected package liberror-perl. 250s Preparing to unpack .../02-liberror-perl_0.17029-2_all.deb ... 250s Unpacking liberror-perl (0.17029-2) ... 250s Selecting previously unselected package git-man. 250s Preparing to unpack .../03-git-man_1%3a2.45.2-1ubuntu1_all.deb ... 250s Unpacking git-man (1:2.45.2-1ubuntu1) ... 250s Selecting previously unselected package git. 250s Preparing to unpack .../04-git_1%3a2.45.2-1ubuntu1_armhf.deb ... 250s Unpacking git (1:2.45.2-1ubuntu1) ... 251s Selecting previously unselected package libpython3.13-stdlib:armhf. 251s Preparing to unpack .../05-libpython3.13-stdlib_3.13.0-2_armhf.deb ... 251s Unpacking libpython3.13-stdlib:armhf (3.13.0-2) ... 251s Selecting previously unselected package python3.13. 251s Preparing to unpack .../06-python3.13_3.13.0-2_armhf.deb ... 251s Unpacking python3.13 (3.13.0-2) ... 251s Selecting previously unselected package python3-all. 251s Preparing to unpack .../07-python3-all_3.12.7-1_armhf.deb ... 251s Unpacking python3-all (3.12.7-1) ... 251s Selecting previously unselected package python3-colorama. 251s Preparing to unpack .../08-python3-colorama_0.4.6-4_all.deb ... 251s Unpacking python3-colorama (0.4.6-4) ... 251s Selecting previously unselected package python3-smmap. 251s Preparing to unpack .../09-python3-smmap_6.0.0-1_all.deb ... 251s Unpacking python3-smmap (6.0.0-1) ... 251s Selecting previously unselected package python3-gitdb. 251s Preparing to unpack .../10-python3-gitdb_4.0.11-1_all.deb ... 251s Unpacking python3-gitdb (4.0.11-1) ... 251s Selecting previously unselected package python3-git. 251s Preparing to unpack .../11-python3-git_3.1.37-3_all.deb ... 251s Unpacking python3-git (3.1.37-3) ... 251s Selecting previously unselected package python3-git-repo-updater. 251s Preparing to unpack .../12-python3-git-repo-updater_0.5.1-4_all.deb ... 251s Unpacking python3-git-repo-updater (0.5.1-4) ... 251s Selecting previously unselected package python3-iniconfig. 251s Preparing to unpack .../13-python3-iniconfig_1.1.1-2_all.deb ... 251s Unpacking python3-iniconfig (1.1.1-2) ... 251s Selecting previously unselected package python3-packaging. 251s Preparing to unpack .../14-python3-packaging_24.1-1_all.deb ... 251s Unpacking python3-packaging (24.1-1) ... 251s Selecting previously unselected package python3-pluggy. 251s Preparing to unpack .../15-python3-pluggy_1.5.0-1_all.deb ... 251s Unpacking python3-pluggy (1.5.0-1) ... 251s Selecting previously unselected package python3-pytest. 251s Preparing to unpack .../16-python3-pytest_8.3.3-1_all.deb ... 251s Unpacking python3-pytest (8.3.3-1) ... 251s Selecting previously unselected package autopkgtest-satdep. 251s Preparing to unpack .../17-1-autopkgtest-satdep.deb ... 251s Unpacking autopkgtest-satdep (0) ... 251s Setting up python3-iniconfig (1.1.1-2) ... 252s Setting up python3-colorama (0.4.6-4) ... 252s Setting up liberror-perl (0.17029-2) ... 252s Setting up libpython3.13-minimal:armhf (3.13.0-2) ... 252s Setting up python3-packaging (24.1-1) ... 252s Setting up python3-pluggy (1.5.0-1) ... 252s Setting up python3.13-minimal (3.13.0-2) ... 253s Setting up git-man (1:2.45.2-1ubuntu1) ... 253s Setting up python3-smmap (6.0.0-1) ... 253s Setting up libpython3.13-stdlib:armhf (3.13.0-2) ... 253s Setting up python3.13 (3.13.0-2) ... 254s Setting up python3-pytest (8.3.3-1) ... 255s Setting up python3-all (3.12.7-1) ... 255s Setting up python3-gitdb (4.0.11-1) ... 255s Setting up git (1:2.45.2-1ubuntu1) ... 255s Setting up python3-git (3.1.37-3) ... 256s Setting up python3-git-repo-updater (0.5.1-4) ... 256s Setting up autopkgtest-satdep (0) ... 256s Processing triggers for man-db (2.12.1-3) ... 257s Processing triggers for systemd (256.5-2ubuntu4) ... 269s (Reading database ... 61736 files and directories currently installed.) 269s Removing autopkgtest-satdep (0) ... 275s autopkgtest [15:50:27]: test upstream-tests: [----------------------- 277s '/tmp/autopkgtest.Qxvrr0/build.SON/src/gitup/test' -> '/tmp/autopkgtest.Qxvrr0/autopkgtest_tmp/test' 277s '/tmp/autopkgtest.Qxvrr0/build.SON/src/gitup/test/__init__.py' -> '/tmp/autopkgtest.Qxvrr0/autopkgtest_tmp/test/__init__.py' 277s '/tmp/autopkgtest.Qxvrr0/build.SON/src/gitup/test/test_bookmarks.py' -> '/tmp/autopkgtest.Qxvrr0/autopkgtest_tmp/test/test_bookmarks.py' 277s '/tmp/autopkgtest.Qxvrr0/build.SON/src/gitup/test/test_cli.py' -> '/tmp/autopkgtest.Qxvrr0/autopkgtest_tmp/test/test_cli.py' 277s . 277s ./test 277s ./test/__init__.py 277s ./test/test_bookmarks.py 277s ./test/test_cli.py 278s ============================= test session starts ============================== 278s platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.13 278s cachedir: .pytest_cache 278s rootdir: /tmp/autopkgtest.Qxvrr0/autopkgtest_tmp 278s plugins: typeguard-4.4.1 278s collecting ... collected 2 items 278s 278s test/test_bookmarks.py::test_empty_list PASSED 278s test/test_cli.py::test_cli_version Traceback (most recent call last): 278s File "", line 198, in _run_module_as_main 278s File "", line 88, in _run_code 278s File "/usr/lib/python3/dist-packages/gitup/__main__.py", line 6, in 278s from gitup.cli import run 278s File "/usr/lib/python3/dist-packages/gitup/cli.py", line 18, in 278s from gitup.update import update_bookmarks, update_directories, run_command 278s File "/usr/lib/python3/dist-packages/gitup/update.py", line 10, in 278s import pipes 278s ModuleNotFoundError: No module named 'pipes' 278s FAILED 278s 278s =================================== FAILURES =================================== 278s _______________________________ test_cli_version _______________________________ 278s 278s def test_cli_version(): 278s """make sure we're using the right version of gitup""" 278s > output = run_cli("-v") 278s 278s test/test_cli.py:21: 278s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 278s test/test_cli.py:16: in run_cli 278s output = subprocess.check_output(cmd) 278s /usr/lib/python3.13/subprocess.py:472: in check_output 278s return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, 278s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 278s 278s input = None, capture_output = False, timeout = None, check = True 278s popenargs = (['/usr/bin/python3.13', '-m', 'gitup', '-v'],) 278s kwargs = {'stdout': -1} 278s process = 278s stdout = b'', stderr = None, retcode = 1 278s 278s def run(*popenargs, 278s input=None, capture_output=False, timeout=None, check=False, **kwargs): 278s """Run command with arguments and return a CompletedProcess instance. 278s 278s The returned instance will have attributes args, returncode, stdout and 278s stderr. By default, stdout and stderr are not captured, and those attributes 278s will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, 278s or pass capture_output=True to capture both. 278s 278s If check is True and the exit code was non-zero, it raises a 278s CalledProcessError. The CalledProcessError object will have the return code 278s in the returncode attribute, and output & stderr attributes if those streams 278s were captured. 278s 278s If timeout is given, and the process takes too long, a TimeoutExpired 278s exception will be raised. 278s 278s There is an optional argument "input", allowing you to 278s pass bytes or a string to the subprocess's stdin. If you use this argument 278s you may not also use the Popen constructor's "stdin" argument, as 278s it will be used internally. 278s 278s By default, all communication is in bytes, and therefore any "input" should 278s be bytes, and the stdout and stderr will be bytes. If in text mode, any 278s "input" should be a string, and stdout and stderr will be strings decoded 278s according to locale encoding, or by "encoding" if set. Text mode is 278s triggered by setting any of text, encoding, errors or universal_newlines. 278s 278s The other arguments are the same as for the Popen constructor. 278s """ 278s if input is not None: 278s if kwargs.get('stdin') is not None: 278s raise ValueError('stdin and input arguments may not both be used.') 278s kwargs['stdin'] = PIPE 278s 278s if capture_output: 278s if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: 278s raise ValueError('stdout and stderr arguments may not be used ' 278s 'with capture_output.') 278s kwargs['stdout'] = PIPE 278s kwargs['stderr'] = PIPE 278s 278s with Popen(*popenargs, **kwargs) as process: 278s try: 278s stdout, stderr = process.communicate(input, timeout=timeout) 278s except TimeoutExpired as exc: 278s process.kill() 278s if _mswindows: 278s # Windows accumulates the output in a single blocking 278s # read() call run on child threads, with the timeout 278s # being done in a join() on those threads. communicate() 278s # _after_ kill() is required to collect that and add it 278s # to the exception. 278s exc.stdout, exc.stderr = process.communicate() 278s else: 278s # POSIX _communicate already populated the output so 278s # far into the TimeoutExpired exception. 278s process.wait() 278s raise 278s except: # Including KeyboardInterrupt, communicate handled that. 278s process.kill() 278s # We don't call process.wait() as .__exit__ does that for us. 278s raise 278s retcode = process.poll() 278s if check and retcode: 278s > raise CalledProcessError(retcode, process.args, 278s output=stdout, stderr=stderr) 278s E subprocess.CalledProcessError: Command '['/usr/bin/python3.13', '-m', 'gitup', '-v']' returned non-zero exit status 1. 278s 278s /usr/lib/python3.13/subprocess.py:577: CalledProcessError 278s =========================== short test summary info ============================ 278s FAILED test/test_cli.py::test_cli_version - subprocess.CalledProcessError: Co... 278s ========================= 1 failed, 1 passed in 0.24s ========================== 278s autopkgtest [15:50:30]: test upstream-tests: -----------------------] 282s upstream-tests FAIL non-zero exit status 1 282s autopkgtest [15:50:34]: test upstream-tests: - - - - - - - - - - results - - - - - - - - - - 283s autopkgtest [15:50:35]: test upstream-tests: - - - - - - - - - - stderr - - - - - - - - - - 283s Traceback (most recent call last): 283s File "", line 198, in _run_module_as_main 283s File "", line 88, in _run_code 283s File "/usr/lib/python3/dist-packages/gitup/__main__.py", line 6, in 283s from gitup.cli import run 283s File "/usr/lib/python3/dist-packages/gitup/cli.py", line 18, in 283s from gitup.update import update_bookmarks, update_directories, run_command 283s File "/usr/lib/python3/dist-packages/gitup/update.py", line 10, in 283s import pipes 283s ModuleNotFoundError: No module named 'pipes' 287s autopkgtest [15:50:39]: @@@@@@@@@@@@@@@@@@@@ summary 287s upstream-tests FAIL non-zero exit status 1