0s autopkgtest [20:41:40]: starting date and time: 2024-11-23 20:41:40+0000 0s autopkgtest [20:41:40]: git checkout: 6408f825 Correct logic in old-systemd fallback code 0s autopkgtest [20:41:40]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.bp5nay4p/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 --apt-upgrade pypandoc --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 -- lxd -r lxd-armhf-10.145.243.36 lxd-armhf-10.145.243.36:autopkgtest/ubuntu/plucky/armhf 54s autopkgtest [20:42:34]: testbed dpkg architecture: armhf 56s autopkgtest [20:42:36]: testbed apt version: 2.9.8 56s autopkgtest [20:42:36]: @@@@@@@@@@@@@@@@@@@@ test bed setup 64s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 65s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9704 B] 65s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [13.6 kB] 65s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [925 kB] 65s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [53.2 kB] 65s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [61.7 kB] 65s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Packages [756 B] 65s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [721 kB] 65s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [5924 B] 65s Fetched 1865 kB in 1s (1954 kB/s) 65s Reading package lists... 83s tee: /proc/self/fd/2: Permission denied 106s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 106s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 106s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 106s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 108s Reading package lists... 108s Reading package lists... 108s Building dependency tree... 108s Reading state information... 109s Calculating upgrade... 110s The following packages will be upgraded: 110s bash debconf debconf-i18n dracut-install libpython3-stdlib pinentry-curses 110s python3 python3-blinker python3-debconf python3-minimal vim-common vim-tiny 110s xxd 110s 13 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 110s Need to get 2311 kB of archives. 110s After this operation, 4096 B of additional disk space will be used. 110s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf bash armhf 5.2.32-1ubuntu2 [673 kB] 111s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-minimal armhf 3.12.7-1 [27.4 kB] 111s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3 armhf 3.12.7-1 [24.0 kB] 111s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libpython3-stdlib armhf 3.12.7-1 [10.0 kB] 111s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf debconf-i18n all 1.5.87ubuntu1 [204 kB] 111s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf python3-debconf all 1.5.87ubuntu1 [4156 B] 111s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf debconf all 1.5.87ubuntu1 [124 kB] 111s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf vim-tiny armhf 2:9.1.0861-1ubuntu1 [694 kB] 111s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf vim-common all 2:9.1.0861-1ubuntu1 [395 kB] 111s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf xxd armhf 2:9.1.0861-1ubuntu1 [67.0 kB] 111s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf dracut-install armhf 105-2ubuntu2 [37.5 kB] 111s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf pinentry-curses armhf 1.3.1-0ubuntu2 [40.0 kB] 111s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf python3-blinker all 1.9.0-1 [10.7 kB] 111s Preconfiguring packages ... 111s Fetched 2311 kB in 1s (3313 kB/s) 111s (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 ... 59616 files and directories currently installed.) 111s Preparing to unpack .../bash_5.2.32-1ubuntu2_armhf.deb ... 111s Unpacking bash (5.2.32-1ubuntu2) over (5.2.32-1ubuntu1) ... 111s Setting up bash (5.2.32-1ubuntu2) ... 111s update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode 112s (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 ... 59616 files and directories currently installed.) 112s Preparing to unpack .../python3-minimal_3.12.7-1_armhf.deb ... 112s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 112s Setting up python3-minimal (3.12.7-1) ... 112s (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 ... 59616 files and directories currently installed.) 112s Preparing to unpack .../python3_3.12.7-1_armhf.deb ... 112s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 112s Preparing to unpack .../libpython3-stdlib_3.12.7-1_armhf.deb ... 112s Unpacking libpython3-stdlib:armhf (3.12.7-1) over (3.12.6-0ubuntu1) ... 112s Preparing to unpack .../debconf-i18n_1.5.87ubuntu1_all.deb ... 112s Unpacking debconf-i18n (1.5.87ubuntu1) over (1.5.86ubuntu1) ... 112s Preparing to unpack .../python3-debconf_1.5.87ubuntu1_all.deb ... 112s Unpacking python3-debconf (1.5.87ubuntu1) over (1.5.86ubuntu1) ... 112s Preparing to unpack .../debconf_1.5.87ubuntu1_all.deb ... 112s Unpacking debconf (1.5.87ubuntu1) over (1.5.86ubuntu1) ... 113s Setting up debconf (1.5.87ubuntu1) ... 113s (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 ... 59616 files and directories currently installed.) 113s Preparing to unpack .../0-vim-tiny_2%3a9.1.0861-1ubuntu1_armhf.deb ... 113s Unpacking vim-tiny (2:9.1.0861-1ubuntu1) over (2:9.1.0777-1ubuntu1) ... 113s Preparing to unpack .../1-vim-common_2%3a9.1.0861-1ubuntu1_all.deb ... 113s Unpacking vim-common (2:9.1.0861-1ubuntu1) over (2:9.1.0777-1ubuntu1) ... 113s Preparing to unpack .../2-xxd_2%3a9.1.0861-1ubuntu1_armhf.deb ... 113s Unpacking xxd (2:9.1.0861-1ubuntu1) over (2:9.1.0777-1ubuntu1) ... 113s Preparing to unpack .../3-dracut-install_105-2ubuntu2_armhf.deb ... 113s Unpacking dracut-install (105-2ubuntu2) over (105-1ubuntu1) ... 113s Preparing to unpack .../4-pinentry-curses_1.3.1-0ubuntu2_armhf.deb ... 113s Unpacking pinentry-curses (1.3.1-0ubuntu2) over (1.2.1-3ubuntu5) ... 113s Preparing to unpack .../5-python3-blinker_1.9.0-1_all.deb ... 113s Unpacking python3-blinker (1.9.0-1) over (1.8.2-1) ... 113s Setting up pinentry-curses (1.3.1-0ubuntu2) ... 113s Setting up debconf-i18n (1.5.87ubuntu1) ... 113s Setting up xxd (2:9.1.0861-1ubuntu1) ... 113s Setting up vim-common (2:9.1.0861-1ubuntu1) ... 113s Setting up dracut-install (105-2ubuntu2) ... 113s Setting up libpython3-stdlib:armhf (3.12.7-1) ... 113s Setting up python3 (3.12.7-1) ... 114s Setting up vim-tiny (2:9.1.0861-1ubuntu1) ... 114s Setting up python3-blinker (1.9.0-1) ... 114s Setting up python3-debconf (1.5.87ubuntu1) ... 114s Processing triggers for debianutils (5.21) ... 114s Processing triggers for install-info (7.1.1-1) ... 114s Processing triggers for man-db (2.13.0-1) ... 116s Reading package lists... 116s Building dependency tree... 116s Reading state information... 117s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 119s autopkgtest [20:43:39]: rebooting testbed after setup commands that affected boot 187s autopkgtest [20:44:47]: testbed running kernel: Linux 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 18:12:14 UTC 2 215s autopkgtest [20:45:15]: @@@@@@@@@@@@@@@@@@@@ apt-source pypandoc 225s Get:1 http://ftpmaster.internal/ubuntu plucky/universe pypandoc 1.13+ds0-1 (dsc) [2402 B] 225s Get:2 http://ftpmaster.internal/ubuntu plucky/universe pypandoc 1.13+ds0-1 (tar) [23.6 kB] 225s Get:3 http://ftpmaster.internal/ubuntu plucky/universe pypandoc 1.13+ds0-1 (diff) [5688 B] 225s gpgv: Signature made Fri Sep 27 21:46:55 2024 UTC 225s gpgv: using RSA key 8F6DE104377F3B11E741748731F3144544A1741A 225s gpgv: issuer "tchet@debian.org" 225s gpgv: Can't check signature: No public key 225s dpkg-source: warning: cannot verify inline signature for ./pypandoc_1.13+ds0-1.dsc: no acceptable signature found 225s autopkgtest [20:45:25]: testing package pypandoc version 1.13+ds0-1 227s autopkgtest [20:45:27]: build not needed 229s autopkgtest [20:45:29]: test autodep8: preparing testbed 239s Reading package lists... 240s Building dependency tree... 240s Reading state information... 241s Starting pkgProblemResolver with broken count: 0 241s Starting 2 pkgProblemResolver with broken count: 0 241s Done 242s The following additional packages will be installed: 242s fontconfig-config fonts-dejavu-core fonts-dejavu-mono fonts-lmodern 242s libcairo2 libfontconfig1 libfontenc1 libfreetype6 libgraphite2-3 242s libharfbuzz0b libice6 libkpathsea6 liblua5.4-0 libmpfi0 libpaper-utils 242s libpaper1 libpixman-1-0 libpotrace0 libptexenc1 libpython3.13-minimal 242s libpython3.13-stdlib libsm6 libsynctex2 libteckit0 libtexlua53-5 libxaw7 242s libxcb-render0 libxcb-shm0 libxi6 libxmu6 libxpm4 libxrender1 libxt6t64 242s libzzip-0-13t64 lmodern pandoc pandoc-data python3-all python3-iniconfig 242s python3-packaging python3-pandocfilters python3-pluggy python3-pypandoc 242s python3-pytest python3.13 python3.13-minimal t1utils tex-common texlive-base 242s texlive-binaries texlive-latex-base texlive-latex-recommended x11-common 242s xdg-utils xfonts-encodings xfonts-utils 242s Suggested packages: 242s libmpfi-doc texlive-xetex texlive-luatex pandoc-citeproc texlive-latex-extra 242s context wkhtmltopdf librsvg2-bin groff ghc nodejs php python ruby 242s r-base-core libjs-mathjax libjs-katex citation-style-language-styles 242s python3.13-venv python3.13-doc binfmt-support debhelper ghostscript gv 242s | postscript-viewer perl-tk xpdf | pdf-viewer xzdec texlive-binaries-sse2 242s hintview texlive-latex-base-doc wp2latex texlive-latex-recommended-doc 242s texlive-pstricks 242s Recommended packages: 242s dvisvgm libfile-mimeinfo-perl libnet-dbus-perl libx11-protocol-perl 242s x11-utils x11-xserver-utils 242s The following NEW packages will be installed: 242s autopkgtest-satdep fontconfig-config fonts-dejavu-core fonts-dejavu-mono 242s fonts-lmodern libcairo2 libfontconfig1 libfontenc1 libfreetype6 242s libgraphite2-3 libharfbuzz0b libice6 libkpathsea6 liblua5.4-0 libmpfi0 242s libpaper-utils libpaper1 libpixman-1-0 libpotrace0 libptexenc1 242s libpython3.13-minimal libpython3.13-stdlib libsm6 libsynctex2 libteckit0 242s libtexlua53-5 libxaw7 libxcb-render0 libxcb-shm0 libxi6 libxmu6 libxpm4 242s libxrender1 libxt6t64 libzzip-0-13t64 lmodern pandoc pandoc-data python3-all 242s python3-iniconfig python3-packaging python3-pandocfilters python3-pluggy 242s python3-pypandoc python3-pytest python3.13 python3.13-minimal t1utils 242s tex-common texlive-base texlive-binaries texlive-latex-base 242s texlive-latex-recommended x11-common xdg-utils xfonts-encodings xfonts-utils 242s 0 upgraded, 57 newly installed, 0 to remove and 0 not upgraded. 242s Need to get 102 MB/102 MB of archives. 242s After this operation, 453 MB of additional disk space will be used. 242s Get:1 /tmp/autopkgtest.PgEokE/1-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [760 B] 242s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-minimal armhf 3.13.0-2 [866 kB] 242s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-minimal armhf 3.13.0-2 [1854 kB] 243s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf fonts-dejavu-mono all 2.37-8 [502 kB] 243s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf fonts-dejavu-core all 2.37-8 [835 kB] 243s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf fontconfig-config armhf 2.15.0-1.1ubuntu2 [37.4 kB] 243s Get:7 http://ftpmaster.internal/ubuntu plucky/universe armhf fonts-lmodern all 2.005-1 [4799 kB] 243s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf libfreetype6 armhf 2.13.3+dfsg-1 [330 kB] 243s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf libfontconfig1 armhf 2.15.0-1.1ubuntu2 [113 kB] 243s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf libpixman-1-0 armhf 0.44.0-3 [183 kB] 243s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-render0 armhf 1.17.0-2 [15.3 kB] 243s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-shm0 armhf 1.17.0-2 [5774 B] 243s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf libxrender1 armhf 1:0.9.10-1.1build1 [16.0 kB] 243s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf libcairo2 armhf 1.18.2-2 [484 kB] 243s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf libfontenc1 armhf 1:1.1.8-1build1 [11.5 kB] 243s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf libgraphite2-3 armhf 1.3.14-2ubuntu1 [64.8 kB] 243s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf libharfbuzz0b armhf 10.0.1-1 [463 kB] 243s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf x11-common all 1:7.7+23ubuntu3 [21.7 kB] 243s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf libice6 armhf 2:1.1.1-1 [36.5 kB] 243s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf libkpathsea6 armhf 2024.20240313.70630+ds-5 [58.8 kB] 243s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf liblua5.4-0 armhf 5.4.6-3build2 [133 kB] 243s Get:22 http://ftpmaster.internal/ubuntu plucky/universe armhf libmpfi0 armhf 1.5.4+ds-4 [28.0 kB] 243s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf libpaper1 armhf 1.1.29build1 [12.6 kB] 243s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf libpaper-utils armhf 1.1.29build1 [8184 B] 243s Get:25 http://ftpmaster.internal/ubuntu plucky/universe armhf libpotrace0 armhf 1.16-2build1 [15.2 kB] 243s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf libptexenc1 armhf 2024.20240313.70630+ds-5 [37.7 kB] 243s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-stdlib armhf 3.13.0-2 [1972 kB] 243s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf libsm6 armhf 2:1.2.4-1 [15.1 kB] 243s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf libsynctex2 armhf 2024.20240313.70630+ds-5 [48.0 kB] 243s Get:30 http://ftpmaster.internal/ubuntu plucky/universe armhf libteckit0 armhf 2.5.12+ds1-1 [323 kB] 243s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf libtexlua53-5 armhf 2024.20240313.70630+ds-5 [98.1 kB] 243s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf libxt6t64 armhf 1:1.2.1-1.2build1 [145 kB] 243s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libxmu6 armhf 2:1.1.3-3build2 [40.4 kB] 243s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libxpm4 armhf 1:3.5.17-1build2 [30.1 kB] 243s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf libxaw7 armhf 2:1.0.16-1 [154 kB] 243s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf libxi6 armhf 2:1.8.2-1 [26.5 kB] 243s Get:37 http://ftpmaster.internal/ubuntu plucky/universe armhf libzzip-0-13t64 armhf 0.13.72+dfsg.1-1.2build1 [24.4 kB] 243s Get:38 http://ftpmaster.internal/ubuntu plucky/universe armhf tex-common all 6.18 [32.8 kB] 243s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf xfonts-encodings all 1:1.0.5-0ubuntu2 [578 kB] 243s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf xfonts-utils armhf 1:7.7+7 [90.6 kB] 243s Get:41 http://ftpmaster.internal/ubuntu plucky/universe armhf lmodern all 2.005-1 [9542 kB] 244s Get:42 http://ftpmaster.internal/ubuntu plucky/universe armhf pandoc-data all 3.1.11.1-3 [78.7 kB] 244s Get:43 http://ftpmaster.internal/ubuntu plucky/universe armhf pandoc armhf 3.1.11.1+ds-2 [36.7 MB] 245s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13 armhf 3.13.0-2 [719 kB] 245s Get:45 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-all armhf 3.12.7-1 [890 B] 245s Get:46 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-iniconfig all 1.1.1-2 [6024 B] 245s Get:47 http://ftpmaster.internal/ubuntu plucky/main armhf python3-packaging all 24.2-1 [51.5 kB] 245s Get:48 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pandocfilters all 1.5.1-1 [23.6 kB] 245s Get:49 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pluggy all 1.5.0-1 [21.0 kB] 245s Get:50 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pypandoc all 1.13+ds0-1 [32.1 kB] 245s Get:51 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest all 8.3.3-1 [251 kB] 245s Get:52 http://ftpmaster.internal/ubuntu plucky/main armhf t1utils armhf 1.41-4build3 [51.8 kB] 245s Get:53 http://ftpmaster.internal/ubuntu plucky/universe armhf texlive-binaries armhf 2024.20240313.70630+ds-5 [7093 kB] 245s Get:54 http://ftpmaster.internal/ubuntu plucky/main armhf xdg-utils all 1.2.1-0ubuntu1 [67.5 kB] 245s Get:55 http://ftpmaster.internal/ubuntu plucky/universe armhf texlive-base all 2024.20241115-1 [22.5 MB] 246s Get:56 http://ftpmaster.internal/ubuntu plucky/universe armhf texlive-latex-base all 2024.20241115-1 [1260 kB] 246s Get:57 http://ftpmaster.internal/ubuntu plucky/universe armhf texlive-latex-recommended all 2024.20241115-1 [8739 kB] 247s Preconfiguring packages ... 247s Fetched 102 MB in 4s (22.8 MB/s) 247s Selecting previously unselected package libpython3.13-minimal:armhf. 247s (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 ... 59616 files and directories currently installed.) 247s Preparing to unpack .../00-libpython3.13-minimal_3.13.0-2_armhf.deb ... 247s Unpacking libpython3.13-minimal:armhf (3.13.0-2) ... 247s Selecting previously unselected package python3.13-minimal. 247s Preparing to unpack .../01-python3.13-minimal_3.13.0-2_armhf.deb ... 247s Unpacking python3.13-minimal (3.13.0-2) ... 247s Selecting previously unselected package fonts-dejavu-mono. 247s Preparing to unpack .../02-fonts-dejavu-mono_2.37-8_all.deb ... 247s Unpacking fonts-dejavu-mono (2.37-8) ... 247s Selecting previously unselected package fonts-dejavu-core. 247s Preparing to unpack .../03-fonts-dejavu-core_2.37-8_all.deb ... 247s Unpacking fonts-dejavu-core (2.37-8) ... 247s Selecting previously unselected package fontconfig-config. 247s Preparing to unpack .../04-fontconfig-config_2.15.0-1.1ubuntu2_armhf.deb ... 247s Unpacking fontconfig-config (2.15.0-1.1ubuntu2) ... 247s Selecting previously unselected package fonts-lmodern. 247s Preparing to unpack .../05-fonts-lmodern_2.005-1_all.deb ... 247s Unpacking fonts-lmodern (2.005-1) ... 248s Selecting previously unselected package libfreetype6:armhf. 248s Preparing to unpack .../06-libfreetype6_2.13.3+dfsg-1_armhf.deb ... 248s Unpacking libfreetype6:armhf (2.13.3+dfsg-1) ... 248s Selecting previously unselected package libfontconfig1:armhf. 248s Preparing to unpack .../07-libfontconfig1_2.15.0-1.1ubuntu2_armhf.deb ... 248s Unpacking libfontconfig1:armhf (2.15.0-1.1ubuntu2) ... 248s Selecting previously unselected package libpixman-1-0:armhf. 248s Preparing to unpack .../08-libpixman-1-0_0.44.0-3_armhf.deb ... 248s Unpacking libpixman-1-0:armhf (0.44.0-3) ... 248s Selecting previously unselected package libxcb-render0:armhf. 248s Preparing to unpack .../09-libxcb-render0_1.17.0-2_armhf.deb ... 248s Unpacking libxcb-render0:armhf (1.17.0-2) ... 248s Selecting previously unselected package libxcb-shm0:armhf. 248s Preparing to unpack .../10-libxcb-shm0_1.17.0-2_armhf.deb ... 248s Unpacking libxcb-shm0:armhf (1.17.0-2) ... 248s Selecting previously unselected package libxrender1:armhf. 248s Preparing to unpack .../11-libxrender1_1%3a0.9.10-1.1build1_armhf.deb ... 248s Unpacking libxrender1:armhf (1:0.9.10-1.1build1) ... 248s Selecting previously unselected package libcairo2:armhf. 248s Preparing to unpack .../12-libcairo2_1.18.2-2_armhf.deb ... 248s Unpacking libcairo2:armhf (1.18.2-2) ... 248s Selecting previously unselected package libfontenc1:armhf. 248s Preparing to unpack .../13-libfontenc1_1%3a1.1.8-1build1_armhf.deb ... 248s Unpacking libfontenc1:armhf (1:1.1.8-1build1) ... 248s Selecting previously unselected package libgraphite2-3:armhf. 248s Preparing to unpack .../14-libgraphite2-3_1.3.14-2ubuntu1_armhf.deb ... 248s Unpacking libgraphite2-3:armhf (1.3.14-2ubuntu1) ... 248s Selecting previously unselected package libharfbuzz0b:armhf. 248s Preparing to unpack .../15-libharfbuzz0b_10.0.1-1_armhf.deb ... 248s Unpacking libharfbuzz0b:armhf (10.0.1-1) ... 248s Selecting previously unselected package x11-common. 248s Preparing to unpack .../16-x11-common_1%3a7.7+23ubuntu3_all.deb ... 248s Unpacking x11-common (1:7.7+23ubuntu3) ... 248s Selecting previously unselected package libice6:armhf. 248s Preparing to unpack .../17-libice6_2%3a1.1.1-1_armhf.deb ... 248s Unpacking libice6:armhf (2:1.1.1-1) ... 248s Selecting previously unselected package libkpathsea6:armhf. 248s Preparing to unpack .../18-libkpathsea6_2024.20240313.70630+ds-5_armhf.deb ... 248s Unpacking libkpathsea6:armhf (2024.20240313.70630+ds-5) ... 248s Selecting previously unselected package liblua5.4-0:armhf. 248s Preparing to unpack .../19-liblua5.4-0_5.4.6-3build2_armhf.deb ... 248s Unpacking liblua5.4-0:armhf (5.4.6-3build2) ... 248s Selecting previously unselected package libmpfi0:armhf. 248s Preparing to unpack .../20-libmpfi0_1.5.4+ds-4_armhf.deb ... 248s Unpacking libmpfi0:armhf (1.5.4+ds-4) ... 248s Selecting previously unselected package libpaper1:armhf. 248s Preparing to unpack .../21-libpaper1_1.1.29build1_armhf.deb ... 248s Unpacking libpaper1:armhf (1.1.29build1) ... 248s Selecting previously unselected package libpaper-utils. 248s Preparing to unpack .../22-libpaper-utils_1.1.29build1_armhf.deb ... 248s Unpacking libpaper-utils (1.1.29build1) ... 248s Selecting previously unselected package libpotrace0:armhf. 248s Preparing to unpack .../23-libpotrace0_1.16-2build1_armhf.deb ... 248s Unpacking libpotrace0:armhf (1.16-2build1) ... 248s Selecting previously unselected package libptexenc1:armhf. 248s Preparing to unpack .../24-libptexenc1_2024.20240313.70630+ds-5_armhf.deb ... 248s Unpacking libptexenc1:armhf (2024.20240313.70630+ds-5) ... 248s Selecting previously unselected package libpython3.13-stdlib:armhf. 248s Preparing to unpack .../25-libpython3.13-stdlib_3.13.0-2_armhf.deb ... 248s Unpacking libpython3.13-stdlib:armhf (3.13.0-2) ... 248s Selecting previously unselected package libsm6:armhf. 248s Preparing to unpack .../26-libsm6_2%3a1.2.4-1_armhf.deb ... 248s Unpacking libsm6:armhf (2:1.2.4-1) ... 248s Selecting previously unselected package libsynctex2:armhf. 248s Preparing to unpack .../27-libsynctex2_2024.20240313.70630+ds-5_armhf.deb ... 248s Unpacking libsynctex2:armhf (2024.20240313.70630+ds-5) ... 248s Selecting previously unselected package libteckit0:armhf. 248s Preparing to unpack .../28-libteckit0_2.5.12+ds1-1_armhf.deb ... 248s Unpacking libteckit0:armhf (2.5.12+ds1-1) ... 248s Selecting previously unselected package libtexlua53-5:armhf. 248s Preparing to unpack .../29-libtexlua53-5_2024.20240313.70630+ds-5_armhf.deb ... 248s Unpacking libtexlua53-5:armhf (2024.20240313.70630+ds-5) ... 248s Selecting previously unselected package libxt6t64:armhf. 248s Preparing to unpack .../30-libxt6t64_1%3a1.2.1-1.2build1_armhf.deb ... 248s Unpacking libxt6t64:armhf (1:1.2.1-1.2build1) ... 249s Selecting previously unselected package libxmu6:armhf. 249s Preparing to unpack .../31-libxmu6_2%3a1.1.3-3build2_armhf.deb ... 249s Unpacking libxmu6:armhf (2:1.1.3-3build2) ... 249s Selecting previously unselected package libxpm4:armhf. 249s Preparing to unpack .../32-libxpm4_1%3a3.5.17-1build2_armhf.deb ... 249s Unpacking libxpm4:armhf (1:3.5.17-1build2) ... 249s Selecting previously unselected package libxaw7:armhf. 249s Preparing to unpack .../33-libxaw7_2%3a1.0.16-1_armhf.deb ... 249s Unpacking libxaw7:armhf (2:1.0.16-1) ... 249s Selecting previously unselected package libxi6:armhf. 249s Preparing to unpack .../34-libxi6_2%3a1.8.2-1_armhf.deb ... 249s Unpacking libxi6:armhf (2:1.8.2-1) ... 249s Selecting previously unselected package libzzip-0-13t64:armhf. 249s Preparing to unpack .../35-libzzip-0-13t64_0.13.72+dfsg.1-1.2build1_armhf.deb ... 249s Unpacking libzzip-0-13t64:armhf (0.13.72+dfsg.1-1.2build1) ... 249s Selecting previously unselected package tex-common. 249s Preparing to unpack .../36-tex-common_6.18_all.deb ... 249s Unpacking tex-common (6.18) ... 249s Selecting previously unselected package xfonts-encodings. 249s Preparing to unpack .../37-xfonts-encodings_1%3a1.0.5-0ubuntu2_all.deb ... 249s Unpacking xfonts-encodings (1:1.0.5-0ubuntu2) ... 249s Selecting previously unselected package xfonts-utils. 249s Preparing to unpack .../38-xfonts-utils_1%3a7.7+7_armhf.deb ... 249s Unpacking xfonts-utils (1:7.7+7) ... 249s Selecting previously unselected package lmodern. 249s Preparing to unpack .../39-lmodern_2.005-1_all.deb ... 249s Unpacking lmodern (2.005-1) ... 249s Selecting previously unselected package pandoc-data. 249s Preparing to unpack .../40-pandoc-data_3.1.11.1-3_all.deb ... 249s Unpacking pandoc-data (3.1.11.1-3) ... 249s Selecting previously unselected package pandoc. 249s Preparing to unpack .../41-pandoc_3.1.11.1+ds-2_armhf.deb ... 249s Unpacking pandoc (3.1.11.1+ds-2) ... 251s Selecting previously unselected package python3.13. 251s Preparing to unpack .../42-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 .../43-python3-all_3.12.7-1_armhf.deb ... 251s Unpacking python3-all (3.12.7-1) ... 251s Selecting previously unselected package python3-iniconfig. 251s Preparing to unpack .../44-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 .../45-python3-packaging_24.2-1_all.deb ... 251s Unpacking python3-packaging (24.2-1) ... 251s Selecting previously unselected package python3-pandocfilters. 251s Preparing to unpack .../46-python3-pandocfilters_1.5.1-1_all.deb ... 251s Unpacking python3-pandocfilters (1.5.1-1) ... 251s Selecting previously unselected package python3-pluggy. 251s Preparing to unpack .../47-python3-pluggy_1.5.0-1_all.deb ... 251s Unpacking python3-pluggy (1.5.0-1) ... 251s Selecting previously unselected package python3-pypandoc. 251s Preparing to unpack .../48-python3-pypandoc_1.13+ds0-1_all.deb ... 251s Unpacking python3-pypandoc (1.13+ds0-1) ... 251s Selecting previously unselected package python3-pytest. 251s Preparing to unpack .../49-python3-pytest_8.3.3-1_all.deb ... 251s Unpacking python3-pytest (8.3.3-1) ... 251s Selecting previously unselected package t1utils. 251s Preparing to unpack .../50-t1utils_1.41-4build3_armhf.deb ... 251s Unpacking t1utils (1.41-4build3) ... 251s Selecting previously unselected package texlive-binaries. 251s Preparing to unpack .../51-texlive-binaries_2024.20240313.70630+ds-5_armhf.deb ... 251s Unpacking texlive-binaries (2024.20240313.70630+ds-5) ... 251s Selecting previously unselected package xdg-utils. 251s Preparing to unpack .../52-xdg-utils_1.2.1-0ubuntu1_all.deb ... 251s Unpacking xdg-utils (1.2.1-0ubuntu1) ... 251s Selecting previously unselected package texlive-base. 251s Preparing to unpack .../53-texlive-base_2024.20241115-1_all.deb ... 251s Unpacking texlive-base (2024.20241115-1) ... 252s Selecting previously unselected package texlive-latex-base. 252s Preparing to unpack .../54-texlive-latex-base_2024.20241115-1_all.deb ... 252s Unpacking texlive-latex-base (2024.20241115-1) ... 253s Selecting previously unselected package texlive-latex-recommended. 253s Preparing to unpack .../55-texlive-latex-recommended_2024.20241115-1_all.deb ... 253s Unpacking texlive-latex-recommended (2024.20241115-1) ... 253s Selecting previously unselected package autopkgtest-satdep. 253s Preparing to unpack .../56-1-autopkgtest-satdep.deb ... 253s Unpacking autopkgtest-satdep (0) ... 253s Setting up libgraphite2-3:armhf (1.3.14-2ubuntu1) ... 253s Setting up python3-iniconfig (1.1.1-2) ... 254s Setting up libpixman-1-0:armhf (0.44.0-3) ... 254s Setting up libpaper1:armhf (1.1.29build1) ... 254s 254s Creating config file /etc/papersize with new version 254s Setting up libxpm4:armhf (1:3.5.17-1build2) ... 254s Setting up libxi6:armhf (2:1.8.2-1) ... 254s Setting up libxrender1:armhf (1:0.9.10-1.1build1) ... 254s Setting up libxcb-render0:armhf (1.17.0-2) ... 254s Setting up x11-common (1:7.7+23ubuntu3) ... 254s Setting up libxcb-shm0:armhf (1.17.0-2) ... 254s Setting up libpaper-utils (1.1.29build1) ... 254s Setting up python3-pandocfilters (1.5.1-1) ... 254s Setting up libpython3.13-minimal:armhf (3.13.0-2) ... 254s Setting up tex-common (6.18) ... 255s update-language: texlive-base not installed and configured, doing nothing! 255s Setting up libfontenc1:armhf (1:1.1.8-1build1) ... 255s Setting up python3-packaging (24.2-1) ... 255s Setting up libzzip-0-13t64:armhf (0.13.72+dfsg.1-1.2build1) ... 255s Setting up libfreetype6:armhf (2.13.3+dfsg-1) ... 255s Setting up libteckit0:armhf (2.5.12+ds1-1) ... 255s Setting up xfonts-encodings (1:1.0.5-0ubuntu2) ... 255s Setting up t1utils (1.41-4build3) ... 255s Setting up libtexlua53-5:armhf (2024.20240313.70630+ds-5) ... 255s Setting up fonts-dejavu-mono (2.37-8) ... 255s Setting up libmpfi0:armhf (1.5.4+ds-4) ... 255s Setting up fonts-dejavu-core (2.37-8) ... 255s Setting up libkpathsea6:armhf (2024.20240313.70630+ds-5) ... 255s Setting up python3-pluggy (1.5.0-1) ... 256s Setting up fonts-lmodern (2.005-1) ... 256s Setting up liblua5.4-0:armhf (5.4.6-3build2) ... 256s Setting up python3.13-minimal (3.13.0-2) ... 256s Setting up libharfbuzz0b:armhf (10.0.1-1) ... 256s Setting up pandoc-data (3.1.11.1-3) ... 256s Setting up libpython3.13-stdlib:armhf (3.13.0-2) ... 256s Setting up xdg-utils (1.2.1-0ubuntu1) ... 256s update-alternatives: using /usr/bin/xdg-open to provide /usr/bin/open (open) in auto mode 256s Setting up libsynctex2:armhf (2024.20240313.70630+ds-5) ... 256s Setting up libpotrace0:armhf (1.16-2build1) ... 256s Setting up libice6:armhf (2:1.1.1-1) ... 256s Setting up python3.13 (3.13.0-2) ... 258s Setting up fontconfig-config (2.15.0-1.1ubuntu2) ... 258s Setting up python3-pytest (8.3.3-1) ... 259s Setting up python3-all (3.12.7-1) ... 259s Setting up xfonts-utils (1:7.7+7) ... 259s Setting up libptexenc1:armhf (2024.20240313.70630+ds-5) ... 259s Setting up pandoc (3.1.11.1+ds-2) ... 259s Setting up lmodern (2.005-1) ... 259s Setting up libfontconfig1:armhf (2.15.0-1.1ubuntu2) ... 259s Setting up libsm6:armhf (2:1.2.4-1) ... 259s Setting up python3-pypandoc (1.13+ds0-1) ... 259s /usr/lib/python3/dist-packages/pypandoc/pandoc_download.py:61: SyntaxWarning: invalid escape sequence '\.' 259s regex = re.compile(r"/jgm/pandoc/releases/download/.*(?:"+processor_architecture+"|x86|mac).*\.(?:msi|deb|pkg)") 259s /usr/lib/python3/dist-packages/pypandoc/pandoc_download.py:61: SyntaxWarning: invalid escape sequence '\.' 259s regex = re.compile(r"/jgm/pandoc/releases/download/.*(?:"+processor_architecture+"|x86|mac).*\.(?:msi|deb|pkg)") 259s Setting up libcairo2:armhf (1.18.2-2) ... 259s Setting up libxt6t64:armhf (1:1.2.1-1.2build1) ... 259s Setting up libxmu6:armhf (2:1.1.3-3build2) ... 259s Setting up libxaw7:armhf (2:1.0.16-1) ... 259s Setting up texlive-binaries (2024.20240313.70630+ds-5) ... 259s update-alternatives: using /usr/bin/xdvi-xaw to provide /usr/bin/xdvi.bin (xdvi.bin) in auto mode 259s update-alternatives: using /usr/bin/bibtex.original to provide /usr/bin/bibtex (bibtex) in auto mode 259s Setting up texlive-base (2024.20241115-1) ... 260s tl-paper: setting paper size for dvips to a4: /var/lib/texmf/dvips/config/config-paper.ps 261s tl-paper: setting paper size for dvipdfmx to a4: /var/lib/texmf/dvipdfmx/dvipdfmx-paper.cfg 261s tl-paper: setting paper size for xdvi to a4: /var/lib/texmf/xdvi/XDvi-paper 261s tl-paper: setting paper size for pdftex to a4: /var/lib/texmf/tex/generic/tex-ini-files/pdftexconfig.tex 262s Setting up texlive-latex-base (2024.20241115-1) ... 262s Setting up texlive-latex-recommended (2024.20241115-1) ... 262s Setting up autopkgtest-satdep (0) ... 262s Processing triggers for systemd (256.5-2ubuntu4) ... 262s Processing triggers for man-db (2.13.0-1) ... 263s Processing triggers for install-info (7.1.1-1) ... 263s Processing triggers for libc-bin (2.40-1ubuntu3) ... 263s Processing triggers for tex-common (6.18) ... 264s Running updmap-sys. This may take some time... done. 264s Running mktexlsr /var/lib/texmf ... done. 264s Building format(s) --all. 331s This may take some time... done. 349s (Reading database ... 70222 files and directories currently installed.) 349s Removing autopkgtest-satdep (0) ... 355s autopkgtest [20:47:35]: test autodep8: [----------------------- 357s Testing with python3.13: 357s 357s Testing with python3.12: 357s 357s autopkgtest [20:47:37]: test autodep8: -----------------------] 361s autopkgtest [20:47:41]: test autodep8: - - - - - - - - - - results - - - - - - - - - - 361s autodep8 PASS 365s autopkgtest [20:47:45]: test unittests: preparing testbed 377s Reading package lists... 378s Building dependency tree... 378s Reading state information... 379s Starting pkgProblemResolver with broken count: 0 379s Starting 2 pkgProblemResolver with broken count: 0 379s Done 380s The following NEW packages will be installed: 380s autopkgtest-satdep 380s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 380s Need to get 0 B/756 B of archives. 380s After this operation, 0 B of additional disk space will be used. 380s Get:1 /tmp/autopkgtest.PgEokE/2-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [756 B] 380s Selecting previously unselected package autopkgtest-satdep. 380s (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 ... 70222 files and directories currently installed.) 380s Preparing to unpack .../2-autopkgtest-satdep.deb ... 380s Unpacking autopkgtest-satdep (0) ... 380s Setting up autopkgtest-satdep (0) ... 390s (Reading database ... 70222 files and directories currently installed.) 390s Removing autopkgtest-satdep (0) ... 396s autopkgtest [20:48:16]: test unittests: [----------------------- 398s Testing with python3.13 pytest: 399s ============================= test session starts ============================== 399s platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0 399s rootdir: /tmp/autopkgtest.PgEokE/build.gCV/src 399s configfile: pyproject.toml 399s plugins: typeguard-4.4.1 399s collected 41 items 399s 411s tests.py ...F....s..............s................. [100%] 411s 411s =================================== FAILURES =================================== 411s ______ TestPypandoc.test_basic_conversion_from_file_pattern_pathlib_glob _______ 411s 411s self = 411s 411s def test_basic_conversion_from_file_pattern_pathlib_glob(self): 411s received_from_str_filename_input = pypandoc.convert_file("./*.md", 'html').lower() 411s > received_from_path_filename_input = pypandoc.convert_file(Path(".").glob("*.md"), 'html').lower() 411s 411s tests.py:651: 411s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 411s 411s source_file = , to = 'html', format = None 411s extra_args = (), encoding = 'utf-8', outputfile = None, filters = None 411s verify_format = True, sandbox = False 411s cworkdir = '/tmp/autopkgtest.PgEokE/build.gCV/src' 411s 411s def convert_file(source_file:Union[list, str, Path, Generator], to:str, format:Union[str, None]=None, 411s extra_args:Iterable=(), encoding:str='utf-8', outputfile:Union[None, str, Path]=None, 411s filters:Union[Iterable, None]=None, verify_format:bool=True, sandbox:bool=False, 411s cworkdir:Union[str, None]=None) -> str: 411s """Converts given `source` from `format` to `to`. 411s 411s :param (str, list, pathlib.Path) source_file: If a string, should be either 411s an absolute file path, relative file path, or a file pattern (like dir/*.md). 411s If a list, should be a list of file paths, file patterns, or pathlib.Path 411s objects. In addition, pathlib.Path objects as well as the generators produced by 411s pathlib.Path.glob may be specified. 411s 411s :param str to: format into which the input should be converted; can be one of 411s `pypandoc.get_pandoc_formats()[1]` 411s 411s :param str format: the format of the inputs; will be inferred from the source_file with an 411s known filename extension; can be one of `pypandoc.get_pandoc_formats()[1]` 411s (Default value = None) 411s 411s :param list extra_args: extra arguments (list of strings) to be passed to pandoc 411s (Default value = ()) 411s 411s :param str encoding (deprecated): the encoding of the input bytes (Default value = 'utf-8') 411s 411s :param str outputfile: output will be written to outputfile or the converted content 411s returned if None. The output filename can be specified as a string 411s or pathlib.Path object. (Default value = None) 411s 411s :param list filters: pandoc filters e.g. filters=['pandoc-citeproc'] 411s 411s :param bool verify_format: Verify from and to format before converting. Should only be set False when confident of the formats and performance is an issue. 411s (Default value = True) 411s 411s :param bool sandbox: Run pandoc in pandocs own sandbox mode, limiting IO operations in readers and writers to reading the files specified on the command line. Anyone using pandoc on untrusted user input should use this option. Note: This only does something, on pandoc >= 2.15 411s (Default value = False) 411s 411s :returns: converted string (unicode) or an empty string if an outputfile was given 411s :rtype: unicode 411s 411s :raises RuntimeError: if any of the inputs are not valid of if pandoc fails with an error 411s :raises OSError: if pandoc is not found; make sure it has been installed and is available at 411s path. 411s """ 411s # check if we have a working directory 411s # if we don't, we use the current working directory 411s if cworkdir is None: 411s cworkdir = os.getcwd() 411s 411s # TODO: remove 'encoding' parameter and warning 411s if encoding != "utf-8": 411s logger.warning("The 'encoding' parameter will be removed in version 1.13. Just remove the parameter, because currently the method does not use it.") 411s 411s if _is_network_path(source_file): # if the source_file is an url 411s format = _identify_format_from_path(source_file, format) 411s return _convert_input(source_file, format, 'path', to, extra_args=extra_args, 411s outputfile=outputfile, filters=filters, 411s verify_format=verify_format, sandbox=sandbox, 411s cworkdir=cworkdir) 411s 411s # convert the source file to a path object internally 411s if isinstance(source_file, str): 411s source_file = Path(source_file) 411s elif isinstance(source_file, list): 411s source_file = [Path(x) for x in source_file] 411s elif isinstance(source_file, Generator): 411s source_file = [Path(x) for x in source_file] 411s 411s 411s # we are basically interested to figure out if its an absolute path or not 411s # if it's not, we want to prefix the working directory 411s # if it's a list, we want to prefix the working directory to each item if it's not an absolute path 411s # if it is, just use the absolute path 411s if isinstance(source_file, list): 411s source_file = [x if x.is_absolute() else Path(cworkdir, x) for x in source_file] 411s elif isinstance(source_file, Generator): 411s source_file = (x if x.is_absolute() else Path(cworkdir, x) for x in source_file) 411s # check ifjust a single path was given 411s elif isinstance(source_file, Path): 411s source_file = source_file if source_file.is_absolute() else Path(cworkdir, source_file) 411s 411s 411s discovered_source_files = [] 411s # if we have a list of files, we need to glob them 411s # if we have a single file, we need to glob it 411s # remember that we already converted the source_file to a path object 411s # so for glob.glob use both the dir and file name 411s if isinstance(source_file, list): 411s for single_source in source_file: 411s discovered_source_files.extend(glob.glob(str(single_source))) 411s if discovered_source_files == []: 411s discovered_source_files = source_file 411s else: 411s discovered_source_files.extend(glob.glob(str(source_file))) 411s if discovered_source_files == []: 411s discovered_source_files = [source_file] 411s 411s if not _identify_path(discovered_source_files): 411s > raise RuntimeError("source_file is not a valid path") 411s E RuntimeError: source_file is not a valid path 411s 411s pypandoc/__init__.py:195: RuntimeError 411s ----------------------------- Captured stdout call ----------------------------- 411s /home/ubuntu 411s =============================== warnings summary =============================== 411s pypandoc/pandoc_download.py:61 411s /tmp/autopkgtest.PgEokE/build.gCV/src/pypandoc/pandoc_download.py:61: SyntaxWarning: invalid escape sequence '\.' 411s regex = re.compile(r"/jgm/pandoc/releases/download/.*(?:"+processor_architecture+"|x86|mac).*\.(?:msi|deb|pkg)") 411s 411s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 411s =========================== short test summary info ============================ 411s FAILED tests.py::TestPypandoc::test_basic_conversion_from_file_pattern_pathlib_glob 411s ============= 1 failed, 38 passed, 2 skipped, 1 warning in 12.82s ============== 412s autopkgtest [20:48:32]: test unittests: -----------------------] 416s autopkgtest [20:48:36]: test unittests: - - - - - - - - - - results - - - - - - - - - - 416s unittests FAIL non-zero exit status 1 420s autopkgtest [20:48:40]: test autodep8-python3: preparing testbed 475s autopkgtest [20:49:35]: testbed dpkg architecture: armhf 477s autopkgtest [20:49:37]: testbed apt version: 2.9.8 477s autopkgtest [20:49:37]: @@@@@@@@@@@@@@@@@@@@ test bed setup 486s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 486s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [13.6 kB] 487s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [53.2 kB] 487s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9704 B] 487s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [925 kB] 487s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [61.7 kB] 487s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Packages [756 B] 487s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [721 kB] 487s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [5924 B] 487s Fetched 1865 kB in 1s (1887 kB/s) 487s Reading package lists... 504s tee: /proc/self/fd/2: Permission denied 526s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 526s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 526s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 526s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 528s Reading package lists... 528s Reading package lists... 529s Building dependency tree... 529s Reading state information... 530s Calculating upgrade... 531s The following packages will be upgraded: 531s bash debconf debconf-i18n dracut-install libpython3-stdlib pinentry-curses 531s python3 python3-blinker python3-debconf python3-minimal vim-common vim-tiny 531s xxd 531s 13 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 531s Need to get 2311 kB of archives. 531s After this operation, 4096 B of additional disk space will be used. 531s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf bash armhf 5.2.32-1ubuntu2 [673 kB] 531s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-minimal armhf 3.12.7-1 [27.4 kB] 531s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3 armhf 3.12.7-1 [24.0 kB] 531s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libpython3-stdlib armhf 3.12.7-1 [10.0 kB] 531s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf debconf-i18n all 1.5.87ubuntu1 [204 kB] 531s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf python3-debconf all 1.5.87ubuntu1 [4156 B] 531s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf debconf all 1.5.87ubuntu1 [124 kB] 531s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf vim-tiny armhf 2:9.1.0861-1ubuntu1 [694 kB] 531s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf vim-common all 2:9.1.0861-1ubuntu1 [395 kB] 531s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf xxd armhf 2:9.1.0861-1ubuntu1 [67.0 kB] 531s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf dracut-install armhf 105-2ubuntu2 [37.5 kB] 531s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf pinentry-curses armhf 1.3.1-0ubuntu2 [40.0 kB] 531s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf python3-blinker all 1.9.0-1 [10.7 kB] 532s Preconfiguring packages ... 532s Fetched 2311 kB in 1s (3419 kB/s) 532s (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 ... 59616 files and directories currently installed.) 532s Preparing to unpack .../bash_5.2.32-1ubuntu2_armhf.deb ... 532s Unpacking bash (5.2.32-1ubuntu2) over (5.2.32-1ubuntu1) ... 532s Setting up bash (5.2.32-1ubuntu2) ... 532s update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode 532s (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 ... 59616 files and directories currently installed.) 532s Preparing to unpack .../python3-minimal_3.12.7-1_armhf.deb ... 532s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 532s Setting up python3-minimal (3.12.7-1) ... 532s (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 ... 59616 files and directories currently installed.) 532s Preparing to unpack .../python3_3.12.7-1_armhf.deb ... 533s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 533s Preparing to unpack .../libpython3-stdlib_3.12.7-1_armhf.deb ... 533s Unpacking libpython3-stdlib:armhf (3.12.7-1) over (3.12.6-0ubuntu1) ... 533s Preparing to unpack .../debconf-i18n_1.5.87ubuntu1_all.deb ... 533s Unpacking debconf-i18n (1.5.87ubuntu1) over (1.5.86ubuntu1) ... 533s Preparing to unpack .../python3-debconf_1.5.87ubuntu1_all.deb ... 533s Unpacking python3-debconf (1.5.87ubuntu1) over (1.5.86ubuntu1) ... 533s Preparing to unpack .../debconf_1.5.87ubuntu1_all.deb ... 533s Unpacking debconf (1.5.87ubuntu1) over (1.5.86ubuntu1) ... 533s Setting up debconf (1.5.87ubuntu1) ... 533s (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 ... 59616 files and directories currently installed.) 533s Preparing to unpack .../0-vim-tiny_2%3a9.1.0861-1ubuntu1_armhf.deb ... 533s Unpacking vim-tiny (2:9.1.0861-1ubuntu1) over (2:9.1.0777-1ubuntu1) ... 533s Preparing to unpack .../1-vim-common_2%3a9.1.0861-1ubuntu1_all.deb ... 533s Unpacking vim-common (2:9.1.0861-1ubuntu1) over (2:9.1.0777-1ubuntu1) ... 533s Preparing to unpack .../2-xxd_2%3a9.1.0861-1ubuntu1_armhf.deb ... 533s Unpacking xxd (2:9.1.0861-1ubuntu1) over (2:9.1.0777-1ubuntu1) ... 533s Preparing to unpack .../3-dracut-install_105-2ubuntu2_armhf.deb ... 533s Unpacking dracut-install (105-2ubuntu2) over (105-1ubuntu1) ... 533s Preparing to unpack .../4-pinentry-curses_1.3.1-0ubuntu2_armhf.deb ... 533s Unpacking pinentry-curses (1.3.1-0ubuntu2) over (1.2.1-3ubuntu5) ... 533s Preparing to unpack .../5-python3-blinker_1.9.0-1_all.deb ... 533s Unpacking python3-blinker (1.9.0-1) over (1.8.2-1) ... 533s Setting up pinentry-curses (1.3.1-0ubuntu2) ... 533s Setting up debconf-i18n (1.5.87ubuntu1) ... 533s Setting up xxd (2:9.1.0861-1ubuntu1) ... 533s Setting up vim-common (2:9.1.0861-1ubuntu1) ... 533s Setting up dracut-install (105-2ubuntu2) ... 533s Setting up libpython3-stdlib:armhf (3.12.7-1) ... 533s Setting up python3 (3.12.7-1) ... 534s Setting up vim-tiny (2:9.1.0861-1ubuntu1) ... 534s Setting up python3-blinker (1.9.0-1) ... 534s Setting up python3-debconf (1.5.87ubuntu1) ... 534s Processing triggers for debianutils (5.21) ... 534s Processing triggers for install-info (7.1.1-1) ... 535s Processing triggers for man-db (2.13.0-1) ... 536s Reading package lists... 536s Building dependency tree... 536s Reading state information... 537s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 539s autopkgtest [20:50:39]: rebooting testbed after setup commands that affected boot 649s Reading package lists... 649s Building dependency tree... 649s Reading state information... 649s Starting pkgProblemResolver with broken count: 0 650s Starting 2 pkgProblemResolver with broken count: 0 650s Done 650s The following additional packages will be installed: 650s liblua5.4-0 libpython3.13-minimal libpython3.13-stdlib pandoc pandoc-data 650s python3-all python3-pypandoc python3.13 python3.13-minimal 650s Suggested packages: 650s texlive-latex-recommended texlive-xetex texlive-luatex pandoc-citeproc 650s texlive-latex-extra context wkhtmltopdf librsvg2-bin groff ghc nodejs php 650s python ruby r-base-core libjs-mathjax libjs-katex 650s citation-style-language-styles python3.13-venv python3.13-doc binfmt-support 650s The following NEW packages will be installed: 650s autopkgtest-satdep liblua5.4-0 libpython3.13-minimal libpython3.13-stdlib 650s pandoc pandoc-data python3-all python3-pypandoc python3.13 650s python3.13-minimal 651s 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded. 651s Need to get 42.3 MB/42.3 MB of archives. 651s After this operation, 265 MB of additional disk space will be used. 651s Get:1 /tmp/autopkgtest.PgEokE/3-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [712 B] 651s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-minimal armhf 3.13.0-2 [866 kB] 651s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-minimal armhf 3.13.0-2 [1854 kB] 651s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf liblua5.4-0 armhf 5.4.6-3build2 [133 kB] 651s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-stdlib armhf 3.13.0-2 [1972 kB] 651s Get:6 http://ftpmaster.internal/ubuntu plucky/universe armhf pandoc-data all 3.1.11.1-3 [78.7 kB] 651s Get:7 http://ftpmaster.internal/ubuntu plucky/universe armhf pandoc armhf 3.1.11.1+ds-2 [36.7 MB] 652s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13 armhf 3.13.0-2 [719 kB] 652s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-all armhf 3.12.7-1 [890 B] 652s Get:10 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pypandoc all 1.13+ds0-1 [32.1 kB] 653s Fetched 42.3 MB in 2s (22.6 MB/s) 653s Selecting previously unselected package libpython3.13-minimal:armhf. 653s (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 ... 59616 files and directories currently installed.) 653s Preparing to unpack .../0-libpython3.13-minimal_3.13.0-2_armhf.deb ... 653s Unpacking libpython3.13-minimal:armhf (3.13.0-2) ... 653s Selecting previously unselected package python3.13-minimal. 653s Preparing to unpack .../1-python3.13-minimal_3.13.0-2_armhf.deb ... 653s Unpacking python3.13-minimal (3.13.0-2) ... 653s Selecting previously unselected package liblua5.4-0:armhf. 653s Preparing to unpack .../2-liblua5.4-0_5.4.6-3build2_armhf.deb ... 653s Unpacking liblua5.4-0:armhf (5.4.6-3build2) ... 653s Selecting previously unselected package libpython3.13-stdlib:armhf. 653s Preparing to unpack .../3-libpython3.13-stdlib_3.13.0-2_armhf.deb ... 653s Unpacking libpython3.13-stdlib:armhf (3.13.0-2) ... 653s Selecting previously unselected package pandoc-data. 653s Preparing to unpack .../4-pandoc-data_3.1.11.1-3_all.deb ... 653s Unpacking pandoc-data (3.1.11.1-3) ... 653s Selecting previously unselected package pandoc. 653s Preparing to unpack .../5-pandoc_3.1.11.1+ds-2_armhf.deb ... 653s Unpacking pandoc (3.1.11.1+ds-2) ... 655s Selecting previously unselected package python3.13. 655s Preparing to unpack .../6-python3.13_3.13.0-2_armhf.deb ... 655s Unpacking python3.13 (3.13.0-2) ... 655s Selecting previously unselected package python3-all. 655s Preparing to unpack .../7-python3-all_3.12.7-1_armhf.deb ... 655s Unpacking python3-all (3.12.7-1) ... 655s Selecting previously unselected package python3-pypandoc. 655s Preparing to unpack .../8-python3-pypandoc_1.13+ds0-1_all.deb ... 655s Unpacking python3-pypandoc (1.13+ds0-1) ... 655s Selecting previously unselected package autopkgtest-satdep. 655s Preparing to unpack .../9-3-autopkgtest-satdep.deb ... 655s Unpacking autopkgtest-satdep (0) ... 655s Setting up libpython3.13-minimal:armhf (3.13.0-2) ... 655s Setting up liblua5.4-0:armhf (5.4.6-3build2) ... 655s Setting up python3.13-minimal (3.13.0-2) ... 656s Setting up pandoc-data (3.1.11.1-3) ... 656s Setting up libpython3.13-stdlib:armhf (3.13.0-2) ... 656s Setting up python3.13 (3.13.0-2) ... 657s Setting up python3-all (3.12.7-1) ... 657s Setting up pandoc (3.1.11.1+ds-2) ... 657s Setting up python3-pypandoc (1.13+ds0-1) ... 657s /usr/lib/python3/dist-packages/pypandoc/pandoc_download.py:61: SyntaxWarning: invalid escape sequence '\.' 657s regex = re.compile(r"/jgm/pandoc/releases/download/.*(?:"+processor_architecture+"|x86|mac).*\.(?:msi|deb|pkg)") 657s /usr/lib/python3/dist-packages/pypandoc/pandoc_download.py:61: SyntaxWarning: invalid escape sequence '\.' 657s regex = re.compile(r"/jgm/pandoc/releases/download/.*(?:"+processor_architecture+"|x86|mac).*\.(?:msi|deb|pkg)") 657s Setting up autopkgtest-satdep (0) ... 657s Processing triggers for systemd (256.5-2ubuntu4) ... 657s Processing triggers for man-db (2.13.0-1) ... 657s Processing triggers for libc-bin (2.40-1ubuntu3) ... 669s (Reading database ... 60594 files and directories currently installed.) 669s Removing autopkgtest-satdep (0) ... 683s autopkgtest [20:53:03]: test autodep8-python3: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing with $py:" ; $py -c "import pypandoc; print(pypandoc)" ; done 683s autopkgtest [20:53:03]: test autodep8-python3: [----------------------- 685s Testing with python3.13: 685s 685s Testing with python3.12: 686s 686s autopkgtest [20:53:06]: test autodep8-python3: -----------------------] 690s autopkgtest [20:53:10]: test autodep8-python3: - - - - - - - - - - results - - - - - - - - - - 690s autodep8-python3 PASS (superficial) 695s autopkgtest [20:53:15]: @@@@@@@@@@@@@@@@@@@@ summary 695s autodep8 PASS 695s unittests FAIL non-zero exit status 1 695s autodep8-python3 PASS (superficial)