0s autopkgtest [05:19:31]: starting date and time: 2024-11-14 05:19:31+0000 0s autopkgtest [05:19:31]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [05:19:31]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.d07q5dne/out --timeout-copy=6000 -a i386 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults,src:python3-stdlib-extensions --apt-upgrade duecredit --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' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor builder-cpu2-ram4-disk20 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-23.secgroup --name adt-plucky-i386-duecredit-20241114-051931-juju-7f2275-prod-proposed-migration-environment-15-03c0bab5-1f62-43ef-b601-f241fa8ca4de --image adt/ubuntu-plucky-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration-amd64 -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_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'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 39s autopkgtest [05:20:10]: testbed dpkg architecture: amd64 39s autopkgtest [05:20:10]: testbed apt version: 2.9.8 40s autopkgtest [05:20:11]: test architecture: i386 40s autopkgtest [05:20:11]: @@@@@@@@@@@@@@@@@@@@ test bed setup 40s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 41s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 41s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [98.6 kB] 41s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [987 kB] 41s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.4 kB] 41s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [75.0 kB] 41s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [135 kB] 41s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [32.6 kB] 41s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [755 kB] 41s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [285 kB] 41s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [9252 B] 41s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [1084 B] 41s Fetched 2474 kB in 1s (2869 kB/s) 41s Reading package lists... 44s Reading package lists... 44s Building dependency tree... 44s Reading state information... 44s Calculating upgrade... 44s The following NEW packages will be installed: 44s python3.13-gdbm 44s The following packages will be upgraded: 44s bpfcc-tools bpftrace libbpfcc libgnutls30t64 libgpgme11t64 44s libjson-glib-1.0-0 libjson-glib-1.0-common libnewt0.52 libpython3-stdlib 44s libutempter0 python3 python3-bpfcc python3-gdbm python3-minimal python3-newt 44s whiptail 45s 16 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 45s Need to get 4731 kB of archives. 45s After this operation, 608 kB of additional disk space will be used. 45s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3-minimal amd64 3.12.7-1 [27.4 kB] 45s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3 amd64 3.12.7-1 [24.0 kB] 45s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libpython3-stdlib amd64 3.12.7-1 [10.0 kB] 45s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 libgnutls30t64 amd64 3.8.8-2ubuntu1 [1085 kB] 45s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-newt amd64 0.52.24-2ubuntu4 [21.4 kB] 45s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 libnewt0.52 amd64 0.52.24-2ubuntu4 [55.4 kB] 45s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 whiptail amd64 0.52.24-2ubuntu4 [19.0 kB] 45s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13-gdbm amd64 3.13.0-2 [31.3 kB] 45s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3-gdbm amd64 3.12.7-1 [8642 B] 45s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 libbpfcc amd64 0.30.0+ds-1ubuntu5 [680 kB] 45s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-bpfcc all 0.30.0+ds-1ubuntu5 [40.4 kB] 45s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 bpfcc-tools all 0.30.0+ds-1ubuntu5 [697 kB] 45s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 bpftrace amd64 0.21.2-2ubuntu2 [1791 kB] 45s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 libgpgme11t64 amd64 1.23.2-5ubuntu4 [152 kB] 45s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 libjson-glib-1.0-common all 1.10.0+ds-3 [5586 B] 45s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 libjson-glib-1.0-0 amd64 1.10.0+ds-3 [73.1 kB] 45s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 libutempter0 amd64 1.2.1-4 [9694 B] 45s Fetched 4731 kB in 1s (6893 kB/s) 46s (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 ... 75541 files and directories currently installed.) 46s Preparing to unpack .../python3-minimal_3.12.7-1_amd64.deb ... 46s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 46s Setting up python3-minimal (3.12.7-1) ... 46s (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 ... 75541 files and directories currently installed.) 46s Preparing to unpack .../python3_3.12.7-1_amd64.deb ... 46s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 46s Preparing to unpack .../libpython3-stdlib_3.12.7-1_amd64.deb ... 46s Unpacking libpython3-stdlib:amd64 (3.12.7-1) over (3.12.6-0ubuntu1) ... 46s Preparing to unpack .../libgnutls30t64_3.8.8-2ubuntu1_amd64.deb ... 46s Unpacking libgnutls30t64:amd64 (3.8.8-2ubuntu1) over (3.8.6-2ubuntu1) ... 46s Setting up libgnutls30t64:amd64 (3.8.8-2ubuntu1) ... 46s (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 ... 75541 files and directories currently installed.) 46s Preparing to unpack .../00-python3-newt_0.52.24-2ubuntu4_amd64.deb ... 46s Unpacking python3-newt:amd64 (0.52.24-2ubuntu4) over (0.52.24-2ubuntu3) ... 46s Preparing to unpack .../01-libnewt0.52_0.52.24-2ubuntu4_amd64.deb ... 46s Unpacking libnewt0.52:amd64 (0.52.24-2ubuntu4) over (0.52.24-2ubuntu3) ... 46s Preparing to unpack .../02-whiptail_0.52.24-2ubuntu4_amd64.deb ... 46s Unpacking whiptail (0.52.24-2ubuntu4) over (0.52.24-2ubuntu3) ... 46s Selecting previously unselected package python3.13-gdbm. 46s Preparing to unpack .../03-python3.13-gdbm_3.13.0-2_amd64.deb ... 46s Unpacking python3.13-gdbm (3.13.0-2) ... 46s Preparing to unpack .../04-python3-gdbm_3.12.7-1_amd64.deb ... 46s Unpacking python3-gdbm:amd64 (3.12.7-1) over (3.12.6-1ubuntu1) ... 46s Preparing to unpack .../05-libbpfcc_0.30.0+ds-1ubuntu5_amd64.deb ... 46s Unpacking libbpfcc:amd64 (0.30.0+ds-1ubuntu5) over (0.30.0+ds-1ubuntu4) ... 46s Preparing to unpack .../06-python3-bpfcc_0.30.0+ds-1ubuntu5_all.deb ... 46s Unpacking python3-bpfcc (0.30.0+ds-1ubuntu5) over (0.30.0+ds-1ubuntu4) ... 46s Preparing to unpack .../07-bpfcc-tools_0.30.0+ds-1ubuntu5_all.deb ... 46s Unpacking bpfcc-tools (0.30.0+ds-1ubuntu5) over (0.30.0+ds-1ubuntu4) ... 47s Preparing to unpack .../08-bpftrace_0.21.2-2ubuntu2_amd64.deb ... 47s Unpacking bpftrace (0.21.2-2ubuntu2) over (0.21.2-2) ... 47s Preparing to unpack .../09-libgpgme11t64_1.23.2-5ubuntu4_amd64.deb ... 47s Unpacking libgpgme11t64:amd64 (1.23.2-5ubuntu4) over (1.18.0-4.1ubuntu4) ... 47s Preparing to unpack .../10-libjson-glib-1.0-common_1.10.0+ds-3_all.deb ... 47s Unpacking libjson-glib-1.0-common (1.10.0+ds-3) over (1.10.0+ds-2) ... 47s Preparing to unpack .../11-libjson-glib-1.0-0_1.10.0+ds-3_amd64.deb ... 47s Unpacking libjson-glib-1.0-0:amd64 (1.10.0+ds-3) over (1.10.0+ds-2) ... 47s Preparing to unpack .../12-libutempter0_1.2.1-4_amd64.deb ... 47s Unpacking libutempter0:amd64 (1.2.1-4) over (1.2.1-3build1) ... 47s Setting up libnewt0.52:amd64 (0.52.24-2ubuntu4) ... 47s Setting up libutempter0:amd64 (1.2.1-4) ... 47s Setting up whiptail (0.52.24-2ubuntu4) ... 47s Setting up libjson-glib-1.0-common (1.10.0+ds-3) ... 47s Setting up libgpgme11t64:amd64 (1.23.2-5ubuntu4) ... 47s Setting up libbpfcc:amd64 (0.30.0+ds-1ubuntu5) ... 47s Setting up python3.13-gdbm (3.13.0-2) ... 47s Setting up libpython3-stdlib:amd64 (3.12.7-1) ... 47s Setting up bpftrace (0.21.2-2ubuntu2) ... 47s Setting up python3 (3.12.7-1) ... 47s Setting up python3-newt:amd64 (0.52.24-2ubuntu4) ... 47s Setting up libjson-glib-1.0-0:amd64 (1.10.0+ds-3) ... 47s Setting up python3-bpfcc (0.30.0+ds-1ubuntu5) ... 47s Setting up python3-gdbm:amd64 (3.12.7-1) ... 47s Setting up bpfcc-tools (0.30.0+ds-1ubuntu5) ... 47s Processing triggers for man-db (2.12.1-3) ... 48s Processing triggers for libc-bin (2.40-1ubuntu3) ... 48s Reading package lists... 48s Building dependency tree... 48s Reading state information... 49s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 49s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 49s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 49s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 49s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 50s Reading package lists... 50s Reading package lists... 50s Building dependency tree... 50s Reading state information... 51s Calculating upgrade... 51s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 51s Reading package lists... 51s Building dependency tree... 51s Reading state information... 52s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 55s autopkgtest [05:20:26]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 13:41:20 UTC 2024 55s autopkgtest [05:20:26]: @@@@@@@@@@@@@@@@@@@@ apt-source duecredit 56s Get:1 http://ftpmaster.internal/ubuntu plucky/universe duecredit 0.10.2-2 (dsc) [2238 B] 56s Get:2 http://ftpmaster.internal/ubuntu plucky/universe duecredit 0.10.2-2 (tar) [84.3 kB] 56s Get:3 http://ftpmaster.internal/ubuntu plucky/universe duecredit 0.10.2-2 (diff) [4296 B] 56s gpgv: Signature made Sun Sep 22 22:39:02 2024 UTC 56s gpgv: using RSA key 8F6DE104377F3B11E741748731F3144544A1741A 56s gpgv: issuer "tchet@debian.org" 56s gpgv: Can't check signature: No public key 56s dpkg-source: warning: cannot verify inline signature for ./duecredit_0.10.2-2.dsc: no acceptable signature found 56s autopkgtest [05:20:27]: testing package duecredit version 0.10.2-2 57s autopkgtest [05:20:28]: build not needed 57s autopkgtest [05:20:28]: test command1: preparing testbed 59s Note, using file '/tmp/autopkgtest.ngDHN8/1-autopkgtest-satdep.dsc' to get the build dependencies 60s Reading package lists... 60s Building dependency tree... 60s Reading state information... 60s Starting pkgProblemResolver with broken count: 0 60s Starting 2 pkgProblemResolver with broken count: 0 60s Done 61s The following NEW packages will be installed: 61s build-essential cpp cpp-14 cpp-14-x86-64-linux-gnu cpp-x86-64-linux-gnu g++ 61s g++-14 g++-14-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-14 61s gcc-14-x86-64-linux-gnu gcc-x86-64-linux-gnu libasan8 libcc1-0 libgcc-14-dev 61s libgomp1 libhwasan0 libisl23 libitm1 liblsan0 libmpc3 libpython3.13-minimal 61s libpython3.13-stdlib libquadmath0 libstdc++-14-dev libtsan2 libubsan1 61s libxslt1.1 python3-all python3-citeproc python3-duecredit python3-iniconfig 61s python3-looseversion python3-lxml python3-packaging python3-pluggy 61s python3-pytest python3.13 python3.13-minimal 61s 0 upgraded, 40 newly installed, 0 to remove and 0 not upgraded. 61s Need to get 73.3 MB of archives. 61s After this operation, 253 MB of additional disk space will be used. 61s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3.13-minimal amd64 3.13.0-2 [879 kB] 61s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13-minimal amd64 3.13.0-2 [2188 kB] 61s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 libisl23 amd64 0.27-1 [685 kB] 61s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 libmpc3 amd64 1.3.1-1build2 [55.3 kB] 61s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14-x86-64-linux-gnu amd64 14.2.0-8ubuntu1 [11.9 MB] 62s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-14 amd64 14.2.0-8ubuntu1 [1030 B] 62s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [5452 B] 62s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 cpp amd64 4:14.1.0-2ubuntu1 [22.4 kB] 62s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 libcc1-0 amd64 14.2.0-8ubuntu1 [47.6 kB] 62s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 libgomp1 amd64 14.2.0-8ubuntu1 [148 kB] 62s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 libitm1 amd64 14.2.0-8ubuntu1 [29.1 kB] 62s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 libasan8 amd64 14.2.0-8ubuntu1 [2998 kB] 62s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 liblsan0 amd64 14.2.0-8ubuntu1 [1317 kB] 62s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 libtsan2 amd64 14.2.0-8ubuntu1 [2732 kB] 62s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 libubsan1 amd64 14.2.0-8ubuntu1 [1177 kB] 62s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 libhwasan0 amd64 14.2.0-8ubuntu1 [1634 kB] 62s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 libquadmath0 amd64 14.2.0-8ubuntu1 [153 kB] 62s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 libgcc-14-dev amd64 14.2.0-8ubuntu1 [2814 kB] 62s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14-x86-64-linux-gnu amd64 14.2.0-8ubuntu1 [23.3 MB] 63s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-14 amd64 14.2.0-8ubuntu1 [528 kB] 63s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [1214 B] 63s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 gcc amd64 4:14.1.0-2ubuntu1 [5000 B] 63s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 libstdc++-14-dev amd64 14.2.0-8ubuntu1 [2504 kB] 63s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14-x86-64-linux-gnu amd64 14.2.0-8ubuntu1 [13.3 MB] 63s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-14 amd64 14.2.0-8ubuntu1 [19.9 kB] 63s Get:26 http://ftpmaster.internal/ubuntu plucky/main amd64 g++-x86-64-linux-gnu amd64 4:14.1.0-2ubuntu1 [966 B] 63s Get:27 http://ftpmaster.internal/ubuntu plucky/main amd64 g++ amd64 4:14.1.0-2ubuntu1 [1100 B] 63s Get:28 http://ftpmaster.internal/ubuntu plucky/main amd64 build-essential amd64 12.10ubuntu1 [4928 B] 63s Get:29 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3.13-stdlib amd64 3.13.0-2 [2107 kB] 63s Get:30 http://ftpmaster.internal/ubuntu plucky/main amd64 libxslt1.1 amd64 1.1.39-0exp1ubuntu1 [169 kB] 63s Get:31 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13 amd64 3.13.0-2 [719 kB] 63s Get:32 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3-all amd64 3.12.7-1 [890 B] 63s Get:33 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-lxml amd64 5.3.0-1 [1282 kB] 63s Get:34 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-citeproc all 0.6.0-3 [98.4 kB] 63s Get:35 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-looseversion all 1.3.0-3 [8354 B] 63s Get:36 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-packaging all 24.1-1 [41.4 kB] 63s Get:37 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-duecredit all 0.10.2-2 [66.0 kB] 63s Get:38 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-iniconfig all 1.1.1-2 [6024 B] 63s Get:39 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pluggy all 1.5.0-1 [21.0 kB] 63s Get:40 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pytest all 8.3.3-1 [251 kB] 63s Fetched 73.3 MB in 2s (29.9 MB/s) 63s Selecting previously unselected package libpython3.13-minimal:amd64. 64s (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 ... 75549 files and directories currently installed.) 64s Preparing to unpack .../00-libpython3.13-minimal_3.13.0-2_amd64.deb ... 64s Unpacking libpython3.13-minimal:amd64 (3.13.0-2) ... 64s Selecting previously unselected package python3.13-minimal. 64s Preparing to unpack .../01-python3.13-minimal_3.13.0-2_amd64.deb ... 64s Unpacking python3.13-minimal (3.13.0-2) ... 64s Selecting previously unselected package libisl23:amd64. 64s Preparing to unpack .../02-libisl23_0.27-1_amd64.deb ... 64s Unpacking libisl23:amd64 (0.27-1) ... 64s Selecting previously unselected package libmpc3:amd64. 64s Preparing to unpack .../03-libmpc3_1.3.1-1build2_amd64.deb ... 64s Unpacking libmpc3:amd64 (1.3.1-1build2) ... 64s Selecting previously unselected package cpp-14-x86-64-linux-gnu. 64s Preparing to unpack .../04-cpp-14-x86-64-linux-gnu_14.2.0-8ubuntu1_amd64.deb ... 64s Unpacking cpp-14-x86-64-linux-gnu (14.2.0-8ubuntu1) ... 64s Selecting previously unselected package cpp-14. 64s Preparing to unpack .../05-cpp-14_14.2.0-8ubuntu1_amd64.deb ... 64s Unpacking cpp-14 (14.2.0-8ubuntu1) ... 64s Selecting previously unselected package cpp-x86-64-linux-gnu. 64s Preparing to unpack .../06-cpp-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 64s Unpacking cpp-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 64s Selecting previously unselected package cpp. 64s Preparing to unpack .../07-cpp_4%3a14.1.0-2ubuntu1_amd64.deb ... 64s Unpacking cpp (4:14.1.0-2ubuntu1) ... 64s Selecting previously unselected package libcc1-0:amd64. 64s Preparing to unpack .../08-libcc1-0_14.2.0-8ubuntu1_amd64.deb ... 64s Unpacking libcc1-0:amd64 (14.2.0-8ubuntu1) ... 64s Selecting previously unselected package libgomp1:amd64. 64s Preparing to unpack .../09-libgomp1_14.2.0-8ubuntu1_amd64.deb ... 64s Unpacking libgomp1:amd64 (14.2.0-8ubuntu1) ... 64s Selecting previously unselected package libitm1:amd64. 64s Preparing to unpack .../10-libitm1_14.2.0-8ubuntu1_amd64.deb ... 64s Unpacking libitm1:amd64 (14.2.0-8ubuntu1) ... 64s Selecting previously unselected package libasan8:amd64. 64s Preparing to unpack .../11-libasan8_14.2.0-8ubuntu1_amd64.deb ... 64s Unpacking libasan8:amd64 (14.2.0-8ubuntu1) ... 64s Selecting previously unselected package liblsan0:amd64. 64s Preparing to unpack .../12-liblsan0_14.2.0-8ubuntu1_amd64.deb ... 64s Unpacking liblsan0:amd64 (14.2.0-8ubuntu1) ... 64s Selecting previously unselected package libtsan2:amd64. 64s Preparing to unpack .../13-libtsan2_14.2.0-8ubuntu1_amd64.deb ... 64s Unpacking libtsan2:amd64 (14.2.0-8ubuntu1) ... 64s Selecting previously unselected package libubsan1:amd64. 64s Preparing to unpack .../14-libubsan1_14.2.0-8ubuntu1_amd64.deb ... 64s Unpacking libubsan1:amd64 (14.2.0-8ubuntu1) ... 64s Selecting previously unselected package libhwasan0:amd64. 64s Preparing to unpack .../15-libhwasan0_14.2.0-8ubuntu1_amd64.deb ... 64s Unpacking libhwasan0:amd64 (14.2.0-8ubuntu1) ... 64s Selecting previously unselected package libquadmath0:amd64. 64s Preparing to unpack .../16-libquadmath0_14.2.0-8ubuntu1_amd64.deb ... 64s Unpacking libquadmath0:amd64 (14.2.0-8ubuntu1) ... 64s Selecting previously unselected package libgcc-14-dev:amd64. 64s Preparing to unpack .../17-libgcc-14-dev_14.2.0-8ubuntu1_amd64.deb ... 64s Unpacking libgcc-14-dev:amd64 (14.2.0-8ubuntu1) ... 65s Selecting previously unselected package gcc-14-x86-64-linux-gnu. 65s Preparing to unpack .../18-gcc-14-x86-64-linux-gnu_14.2.0-8ubuntu1_amd64.deb ... 65s Unpacking gcc-14-x86-64-linux-gnu (14.2.0-8ubuntu1) ... 65s Selecting previously unselected package gcc-14. 65s Preparing to unpack .../19-gcc-14_14.2.0-8ubuntu1_amd64.deb ... 65s Unpacking gcc-14 (14.2.0-8ubuntu1) ... 65s Selecting previously unselected package gcc-x86-64-linux-gnu. 65s Preparing to unpack .../20-gcc-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 65s Unpacking gcc-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 65s Selecting previously unselected package gcc. 65s Preparing to unpack .../21-gcc_4%3a14.1.0-2ubuntu1_amd64.deb ... 65s Unpacking gcc (4:14.1.0-2ubuntu1) ... 65s Selecting previously unselected package libstdc++-14-dev:amd64. 65s Preparing to unpack .../22-libstdc++-14-dev_14.2.0-8ubuntu1_amd64.deb ... 65s Unpacking libstdc++-14-dev:amd64 (14.2.0-8ubuntu1) ... 65s Selecting previously unselected package g++-14-x86-64-linux-gnu. 65s Preparing to unpack .../23-g++-14-x86-64-linux-gnu_14.2.0-8ubuntu1_amd64.deb ... 65s Unpacking g++-14-x86-64-linux-gnu (14.2.0-8ubuntu1) ... 65s Selecting previously unselected package g++-14. 65s Preparing to unpack .../24-g++-14_14.2.0-8ubuntu1_amd64.deb ... 65s Unpacking g++-14 (14.2.0-8ubuntu1) ... 65s Selecting previously unselected package g++-x86-64-linux-gnu. 65s Preparing to unpack .../25-g++-x86-64-linux-gnu_4%3a14.1.0-2ubuntu1_amd64.deb ... 65s Unpacking g++-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 65s Selecting previously unselected package g++. 65s Preparing to unpack .../26-g++_4%3a14.1.0-2ubuntu1_amd64.deb ... 65s Unpacking g++ (4:14.1.0-2ubuntu1) ... 65s Selecting previously unselected package build-essential. 65s Preparing to unpack .../27-build-essential_12.10ubuntu1_amd64.deb ... 65s Unpacking build-essential (12.10ubuntu1) ... 65s Selecting previously unselected package libpython3.13-stdlib:amd64. 66s Preparing to unpack .../28-libpython3.13-stdlib_3.13.0-2_amd64.deb ... 66s Unpacking libpython3.13-stdlib:amd64 (3.13.0-2) ... 66s Selecting previously unselected package libxslt1.1:amd64. 66s Preparing to unpack .../29-libxslt1.1_1.1.39-0exp1ubuntu1_amd64.deb ... 66s Unpacking libxslt1.1:amd64 (1.1.39-0exp1ubuntu1) ... 66s Selecting previously unselected package python3.13. 66s Preparing to unpack .../30-python3.13_3.13.0-2_amd64.deb ... 66s Unpacking python3.13 (3.13.0-2) ... 66s Selecting previously unselected package python3-all. 66s Preparing to unpack .../31-python3-all_3.12.7-1_amd64.deb ... 66s Unpacking python3-all (3.12.7-1) ... 66s Selecting previously unselected package python3-lxml:amd64. 66s Preparing to unpack .../32-python3-lxml_5.3.0-1_amd64.deb ... 66s Unpacking python3-lxml:amd64 (5.3.0-1) ... 66s Selecting previously unselected package python3-citeproc. 66s Preparing to unpack .../33-python3-citeproc_0.6.0-3_all.deb ... 66s Unpacking python3-citeproc (0.6.0-3) ... 66s Selecting previously unselected package python3-looseversion. 66s Preparing to unpack .../34-python3-looseversion_1.3.0-3_all.deb ... 66s Unpacking python3-looseversion (1.3.0-3) ... 66s Selecting previously unselected package python3-packaging. 66s Preparing to unpack .../35-python3-packaging_24.1-1_all.deb ... 66s Unpacking python3-packaging (24.1-1) ... 66s Selecting previously unselected package python3-duecredit. 66s Preparing to unpack .../36-python3-duecredit_0.10.2-2_all.deb ... 66s Unpacking python3-duecredit (0.10.2-2) ... 66s Selecting previously unselected package python3-iniconfig. 66s Preparing to unpack .../37-python3-iniconfig_1.1.1-2_all.deb ... 66s Unpacking python3-iniconfig (1.1.1-2) ... 66s Selecting previously unselected package python3-pluggy. 66s Preparing to unpack .../38-python3-pluggy_1.5.0-1_all.deb ... 66s Unpacking python3-pluggy (1.5.0-1) ... 66s Selecting previously unselected package python3-pytest. 66s Preparing to unpack .../39-python3-pytest_8.3.3-1_all.deb ... 66s Unpacking python3-pytest (8.3.3-1) ... 66s Setting up python3-iniconfig (1.1.1-2) ... 66s Setting up libgomp1:amd64 (14.2.0-8ubuntu1) ... 66s Setting up libpython3.13-minimal:amd64 (3.13.0-2) ... 66s Setting up python3-packaging (24.1-1) ... 66s Setting up libquadmath0:amd64 (14.2.0-8ubuntu1) ... 66s Setting up libmpc3:amd64 (1.3.1-1build2) ... 66s Setting up python3-pluggy (1.5.0-1) ... 67s Setting up libubsan1:amd64 (14.2.0-8ubuntu1) ... 67s Setting up python3-looseversion (1.3.0-3) ... 67s Setting up libhwasan0:amd64 (14.2.0-8ubuntu1) ... 67s Setting up libasan8:amd64 (14.2.0-8ubuntu1) ... 67s Setting up libxslt1.1:amd64 (1.1.39-0exp1ubuntu1) ... 67s Setting up python3.13-minimal (3.13.0-2) ... 67s Setting up libtsan2:amd64 (14.2.0-8ubuntu1) ... 67s Setting up libisl23:amd64 (0.27-1) ... 67s Setting up libpython3.13-stdlib:amd64 (3.13.0-2) ... 67s Setting up libcc1-0:amd64 (14.2.0-8ubuntu1) ... 67s Setting up liblsan0:amd64 (14.2.0-8ubuntu1) ... 67s Setting up libitm1:amd64 (14.2.0-8ubuntu1) ... 67s Setting up python3.13 (3.13.0-2) ... 68s Setting up python3-pytest (8.3.3-1) ... 69s Setting up python3-all (3.12.7-1) ... 69s Setting up cpp-14-x86-64-linux-gnu (14.2.0-8ubuntu1) ... 69s Setting up cpp-14 (14.2.0-8ubuntu1) ... 69s Setting up python3-lxml:amd64 (5.3.0-1) ... 69s Setting up libgcc-14-dev:amd64 (14.2.0-8ubuntu1) ... 69s Setting up libstdc++-14-dev:amd64 (14.2.0-8ubuntu1) ... 69s Setting up cpp-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 69s Setting up python3-citeproc (0.6.0-3) ... 69s Setting up cpp (4:14.1.0-2ubuntu1) ... 69s Setting up gcc-14-x86-64-linux-gnu (14.2.0-8ubuntu1) ... 69s Setting up gcc-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 69s Setting up python3-duecredit (0.10.2-2) ... 69s Setting up gcc-14 (14.2.0-8ubuntu1) ... 69s Setting up g++-14-x86-64-linux-gnu (14.2.0-8ubuntu1) ... 69s Setting up g++-x86-64-linux-gnu (4:14.1.0-2ubuntu1) ... 69s Setting up g++-14 (14.2.0-8ubuntu1) ... 69s Setting up gcc (4:14.1.0-2ubuntu1) ... 69s Setting up g++ (4:14.1.0-2ubuntu1) ... 69s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 69s Setting up build-essential (12.10ubuntu1) ... 69s Processing triggers for systemd (256.5-2ubuntu4) ... 69s Processing triggers for man-db (2.12.1-3) ... 70s Processing triggers for libc-bin (2.40-1ubuntu3) ... 74s Reading package lists... 75s Building dependency tree... 75s Reading state information... 75s Starting pkgProblemResolver with broken count: 0 75s Starting 2 pkgProblemResolver with broken count: 0 75s Done 75s The following NEW packages will be installed: 75s autopkgtest-satdep 75s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 75s Need to get 0 B/700 B of archives. 75s After this operation, 0 B of additional disk space will be used. 75s Get:1 /tmp/autopkgtest.ngDHN8/2-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [700 B] 75s Selecting previously unselected package autopkgtest-satdep. 75s (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 ... 78012 files and directories currently installed.) 75s Preparing to unpack .../2-autopkgtest-satdep.deb ... 76s Unpacking autopkgtest-satdep (0) ... 76s Setting up autopkgtest-satdep (0) ... 76s autopkgtest: WARNING: package python3-duecredit:i386 is not installed though it should be 78s (Reading database ... 78012 files and directories currently installed.) 78s Removing autopkgtest-satdep (0) ... 79s autopkgtest [05:20:50]: test command1: for py in `py3versions -s`; do $py -m pytest -k "not test_import_doi" /usr/lib/python3/dist-packages/duecredit/tests; done 79s autopkgtest [05:20:50]: test command1: [----------------------- 79s ============================= test session starts ============================== 79s platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0 79s rootdir: /usr/lib/python3/dist-packages/duecredit/tests 79s plugins: typeguard-4.4.1 79s collected 76 items / 1 deselected / 75 selected 79s 79s ../../../../usr/lib/python3/dist-packages/duecredit/tests/test__main__.py . [ 1%] 79s .. [ 4%] 79s ../../../../usr/lib/python3/dist-packages/duecredit/tests/test_api.py .. [ 6%] 79s .ssssssss [ 18%] 79s ../../../../usr/lib/python3/dist-packages/duecredit/tests/test_cmdline.py . [ 20%] 79s .... [ 25%] 79s ../../../../usr/lib/python3/dist-packages/duecredit/tests/test_collector.py . [ 26%] 79s ........ [ 37%] 79s ../../../../usr/lib/python3/dist-packages/duecredit/tests/test_dueswitch.py . [ 38%] 79s . [ 40%] 79s ../../../../usr/lib/python3/dist-packages/duecredit/tests/test_entries.py . [ 41%] 79s . [ 42%] 79s ../../../../usr/lib/python3/dist-packages/duecredit/tests/test_injections.py . [ 44%] 79s .....ss........... [ 68%] 79s ../../../../usr/lib/python3/dist-packages/duecredit/tests/test_io.py ... [ 72%] 80s .FF....FF. [ 85%] 80s ../../../../usr/lib/python3/dist-packages/duecredit/tests/test_utils.py . [ 86%] 80s [ 86%] 80s ../../../../usr/lib/python3/dist-packages/duecredit/tests/test_versions.py . [ 88%] 80s .ssssssss [100%] 80s 80s =================================== FAILURES =================================== 80s _______________________________ test_text_output _______________________________ 80s 80s bibtex_entry = BibTeX("@ARTICLE{XXX0,\n author = {Halchenko, Yaroslav O. and Hanke, Michael},\n title = {Open is not enough. Let{'}...mber = {00022},\n doi = {10.3389/fninf.2012.00022},\n issn = {1662-5196},\n localfile = {HH12.pdf},\n}", key='XXX0') 80s style = 'harvard1' 80s 80s def format_bibtex(bibtex_entry: BibTeX, style: str = "harvard1") -> str: 80s try: 80s > import citeproc as cp 80s 80s /usr/lib/python3/dist-packages/duecredit/io.py:299: 80s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 80s /usr/lib/python3/dist-packages/citeproc/__init__.py:45: in 80s from .frontend import CitationStylesStyle, CitationStylesBibliography 80s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 80s 80s 80s import os 80s 80s from warnings import warn 80s 80s > from lxml import etree 80s E ImportError: cannot import name 'etree' from 'lxml' (/usr/lib/python3/dist-packages/lxml/__init__.py) 80s 80s /usr/lib/python3/dist-packages/citeproc/frontend.py:6: ImportError 80s 80s During handling of the above exception, another exception occurred: 80s 80s def test_text_output() -> None: 80s entry = BibTeX(_sample_bibtex) 80s entry2 = BibTeX(_sample_bibtex2) 80s 80s # in this case, since we're not citing any module or method, we shouldn't 80s # output anything 80s collector = DueCreditCollector() 80s collector.cite(entry, path="package") 80s 80s strio = StringIO() 80s TextOutput(strio, collector).dump(tags=["*"]) 80s value = strio.getvalue() 80s assert "0 packages cited" in value, "value was %s" % value 80s assert "0 modules cited" in value, "value was %s" % value 80s assert "0 functions cited" in value, "value was %s" % value 80s 80s # but it should be cited if cite_module=True 80s collector = DueCreditCollector() 80s collector.cite(entry, path="package", cite_module=True) 80s 80s strio = StringIO() 80s > TextOutput(strio, collector).dump(tags=["*"]) 80s 80s /usr/lib/python3/dist-packages/duecredit/tests/test_io.py:306: 80s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 80s /usr/lib/python3/dist-packages/duecredit/io.py:247: in dump 80s self.fd.write(get_text_rendering(cit.entry, style=self.style)) 80s /usr/lib/python3/dist-packages/duecredit/io.py:256: in get_text_rendering 80s return format_bibtex(entry, style=style) 80s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 80s 80s bibtex_entry = BibTeX("@ARTICLE{XXX0,\n author = {Halchenko, Yaroslav O. and Hanke, Michael},\n title = {Open is not enough. Let{'}...mber = {00022},\n doi = {10.3389/fninf.2012.00022},\n issn = {1662-5196},\n localfile = {HH12.pdf},\n}", key='XXX0') 80s style = 'harvard1' 80s 80s def format_bibtex(bibtex_entry: BibTeX, style: str = "harvard1") -> str: 80s try: 80s import citeproc as cp 80s from citeproc.source.bibtex import BibTeX as cpBibTeX 80s except ImportError as e: 80s > raise RuntimeError( 80s "For formatted output we need citeproc and all of its dependencies " 80s "(such as lxml) but there is a problem while importing citeproc: %s" 80s % str(e) 80s ) 80s E RuntimeError: For formatted output we need citeproc and all of its dependencies (such as lxml) but there is a problem while importing citeproc: cannot import name 'etree' from 'lxml' (/usr/lib/python3/dist-packages/lxml/__init__.py) 80s 80s /usr/lib/python3/dist-packages/duecredit/io.py:302: RuntimeError 80s _______________________ test_text_output_dump_formatting _______________________ 80s 80s bibtex_entry = BibTeX("@ARTICLE{XXX0,\n author = {Halchenko, Yaroslav O. and Hanke, Michael},\n title = {Open is not enough. Let{'}...mber = {00022},\n doi = {10.3389/fninf.2012.00022},\n issn = {1662-5196},\n localfile = {HH12.pdf},\n}", key='XXX0') 80s style = 'harvard1' 80s 80s def format_bibtex(bibtex_entry: BibTeX, style: str = "harvard1") -> str: 80s try: 80s > import citeproc as cp 80s 80s /usr/lib/python3/dist-packages/duecredit/io.py:299: 80s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 80s /usr/lib/python3/dist-packages/citeproc/__init__.py:45: in 80s from .frontend import CitationStylesStyle, CitationStylesBibliography 80s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 80s 80s 80s import os 80s 80s from warnings import warn 80s 80s > from lxml import etree 80s E ImportError: cannot import name 'etree' from 'lxml' (/usr/lib/python3/dist-packages/lxml/__init__.py) 80s 80s /usr/lib/python3/dist-packages/citeproc/frontend.py:6: ImportError 80s 80s During handling of the above exception, another exception occurred: 80s 80s def test_text_output_dump_formatting() -> None: 80s due = DueCreditCollector() 80s 80s # XXX: atm just to see if it spits out stuff 80s @due.dcite( 80s BibTeX(_sample_bibtex), 80s description="solution to life", 80s path="mymodule", 80s version="0.0.16", 80s ) 80s def mymodule(arg1: Any, kwarg2: Any = "blah") -> Any: 80s """docstring""" 80s assert arg1 == "magical" 80s assert kwarg2 == 1 80s 80s @due.dcite( 80s BibTeX(_sample_bibtex2), 80s description="solution to life", 80s path="mymodule:myfunction", 80s ) 80s def myfunction(arg42): 80s pass 80s 80s myfunction("argh") 80s return "load" 80s 80s # check we don't have anything output 80s strio = StringIO() 80s TextOutput(strio, due).dump(tags=["*"]) 80s value = strio.getvalue() 80s assert "0 modules cited" in value, f"value was {value}" 80s assert "0 functions cited" in value, f"value was {value}" 80s 80s # now we call it -- check it prints stuff 80s strio = StringIO() 80s mymodule("magical", kwarg2=1) 80s > TextOutput(strio, due).dump(tags=["*"]) 80s 80s /usr/lib/python3/dist-packages/duecredit/tests/test_io.py:381: 80s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 80s /usr/lib/python3/dist-packages/duecredit/io.py:247: in dump 80s self.fd.write(get_text_rendering(cit.entry, style=self.style)) 80s /usr/lib/python3/dist-packages/duecredit/io.py:256: in get_text_rendering 80s return format_bibtex(entry, style=style) 80s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 80s 80s bibtex_entry = BibTeX("@ARTICLE{XXX0,\n author = {Halchenko, Yaroslav O. and Hanke, Michael},\n title = {Open is not enough. Let{'}...mber = {00022},\n doi = {10.3389/fninf.2012.00022},\n issn = {1662-5196},\n localfile = {HH12.pdf},\n}", key='XXX0') 80s style = 'harvard1' 80s 80s def format_bibtex(bibtex_entry: BibTeX, style: str = "harvard1") -> str: 80s try: 80s import citeproc as cp 80s from citeproc.source.bibtex import BibTeX as cpBibTeX 80s except ImportError as e: 80s > raise RuntimeError( 80s "For formatted output we need citeproc and all of its dependencies " 80s "(such as lxml) but there is a problem while importing citeproc: %s" 80s % str(e) 80s ) 80s E RuntimeError: For formatted output we need citeproc and all of its dependencies (such as lxml) but there is a problem while importing citeproc: cannot import name 'etree' from 'lxml' (/usr/lib/python3/dist-packages/lxml/__init__.py) 80s 80s /usr/lib/python3/dist-packages/duecredit/io.py:302: RuntimeError 80s ________________________ test_format_bibtex_zenodo_doi _________________________ 80s 80s bibtex_entry = BibTeX('@data{0b1284ba-5ce5-4367-84f3-c44b4962ad90,\n doi = {10.5281/zenodo.50186},\n url = {https://doi.org/10....ipype: Release candidate 1 for version 0.12.0},\n year = {2016}\n }', key='0b1284ba-5ce5-4367-84f3-c44b4962ad90') 80s style = 'harvard1' 80s 80s def format_bibtex(bibtex_entry: BibTeX, style: str = "harvard1") -> str: 80s try: 80s > import citeproc as cp 80s 80s /usr/lib/python3/dist-packages/duecredit/io.py:299: 80s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 80s /usr/lib/python3/dist-packages/citeproc/__init__.py:45: in 80s from .frontend import CitationStylesStyle, CitationStylesBibliography 80s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 80s 80s 80s import os 80s 80s from warnings import warn 80s 80s > from lxml import etree 80s E ImportError: cannot import name 'etree' from 'lxml' (/usr/lib/python3/dist-packages/lxml/__init__.py) 80s 80s /usr/lib/python3/dist-packages/citeproc/frontend.py:6: ImportError 80s 80s During handling of the above exception, another exception occurred: 80s 80s def test_format_bibtex_zenodo_doi() -> None: 80s """ 80s test that we can correctly parse bibtex entries obtained from a zenodo doi 80s """ 80s # this was fetched on 2016-05-10 80s bibtex_zenodo = """ 80s @data{0b1284ba-5ce5-4367-84f3-c44b4962ad90, 80s doi = {10.5281/zenodo.50186}, 80s url = {https://doi.org/10.5281/zenodo.50186}, 80s author = {Satrajit Ghosh; Chris Filo Gorgolewski; Oscar Esteban; 80s Erik Ziegler; David Ellis; cindeem; Michael Waskom; Dav Clark; Michael; 80s Fred Loney; Alexandre M. S.; Michael Notter; Hans Johnson; 80s Anisha Keshavan; Yaroslav Halchenko; Carlo Hamalainen; Blake Dewey; 80s Ben Cipollini; Daniel Clark; Julia Huntenburg; Drew Erickson; 80s Michael Hanke; moloney; Jason W; Demian Wassermann; cdla; 80s Nolan Nichols; Chris Markiewicz; Jarrod Millman; Arman Eshaghi; }, 80s publisher = {Zenodo}, 80s title = {nipype: Release candidate 1 for version 0.12.0}, 80s year = {2016} 80s } 80s """ 80s > assert ( 80s format_bibtex(BibTeX(bibtex_zenodo)) 80s == """Ghosh, S. et al., 2016. nipype: Release candidate 1 for version 0.12.0.""" 80s ) 80s 80s /usr/lib/python3/dist-packages/duecredit/tests/test_io.py:612: 80s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 80s 80s bibtex_entry = BibTeX('@data{0b1284ba-5ce5-4367-84f3-c44b4962ad90,\n doi = {10.5281/zenodo.50186},\n url = {https://doi.org/10....ipype: Release candidate 1 for version 0.12.0},\n year = {2016}\n }', key='0b1284ba-5ce5-4367-84f3-c44b4962ad90') 80s style = 'harvard1' 80s 80s def format_bibtex(bibtex_entry: BibTeX, style: str = "harvard1") -> str: 80s try: 80s import citeproc as cp 80s from citeproc.source.bibtex import BibTeX as cpBibTeX 80s except ImportError as e: 80s > raise RuntimeError( 80s "For formatted output we need citeproc and all of its dependencies " 80s "(such as lxml) but there is a problem while importing citeproc: %s" 80s % str(e) 80s ) 80s E RuntimeError: For formatted output we need citeproc and all of its dependencies (such as lxml) but there is a problem while importing citeproc: cannot import name 'etree' from 'lxml' (/usr/lib/python3/dist-packages/lxml/__init__.py) 80s 80s /usr/lib/python3/dist-packages/duecredit/io.py:302: RuntimeError 80s ____________________ test_format_bibtex_with_utf_characters ____________________ 80s 80s bibtex_entry = BibTeX('@misc{https://doi.org/10.5281/zenodo.60847,\n doi = {10.5281/zenodo.60847},\n url = {http://zenodo.org/recor...\n title = {nibabel 2.0.1},\n publisher = {Zenodo},\n year = {2015}\n}', key='https://doi.org/10.5281/zenodo.60847') 80s style = 'harvard1' 80s 80s def format_bibtex(bibtex_entry: BibTeX, style: str = "harvard1") -> str: 80s try: 80s > import citeproc as cp 80s 80s /usr/lib/python3/dist-packages/duecredit/io.py:299: 80s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 80s /usr/lib/python3/dist-packages/citeproc/__init__.py:45: in 80s from .frontend import CitationStylesStyle, CitationStylesBibliography 80s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 80s 80s 80s import os 80s 80s from warnings import warn 80s 80s > from lxml import etree 80s E ImportError: cannot import name 'etree' from 'lxml' (/usr/lib/python3/dist-packages/lxml/__init__.py) 80s 80s /usr/lib/python3/dist-packages/citeproc/frontend.py:6: ImportError 80s 80s During handling of the above exception, another exception occurred: 80s 80s def test_format_bibtex_with_utf_characters() -> None: 80s """ 80s test that we can correctly parse bibtex entry if it contains utf-8 characters 80s """ 80s # this was fetched on 2017-08-16 80s # replaced Brett with Brótt to have utf-8 characters in first author's name as well 80s bibtex_utf8 = ( 80s "@misc{https://doi.org/10.5281/zenodo.60847,\n doi = {10.5281/zenodo.60847},\n url = {" 80s "http://zenodo.org/record/60847},\n author = {Brótt, Matthew and Hanke, Michael and Cipollini, " 80s "Ben and {Marc-Alexandre Côté} and Markiewicz, Chris and Gerhard, Stephan and Larson, " 80s "Eric and Lee, Gregory R. and Halchenko, Yaroslav and Kastman, Erik and {Cindeem} and Morency, " 80s "Félix C. and {Moloney} and Millman, Jarrod and Rokem, Ariel and {Jaeilepp} and Gramfort, " 80s "Alexandre and Bosch, Jasper J.F. Van Den and {Krish Subramaniam} and Nichols, Nolan and {Embaker} " 80s "and {Bpinsard} and {Chaselgrove} and Oosterhof, Nikolaas N. and St-Jean, Samuel and {Bago " 80s "Amirbekian} and Nimmo-Smith, Ian and {Satrajit Ghosh}},\n keywords = {},\n title = {nibabel " 80s "2.0.1},\n publisher = {Zenodo},\n year = {2015}\n} " 80s ) 80s > assert ( 80s format_bibtex(BibTeX(bibtex_utf8)) == "Brótt, M. et al., 2015. nibabel 2.0.1." 80s ) 80s 80s /usr/lib/python3/dist-packages/duecredit/tests/test_io.py:635: 80s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 80s 80s bibtex_entry = BibTeX('@misc{https://doi.org/10.5281/zenodo.60847,\n doi = {10.5281/zenodo.60847},\n url = {http://zenodo.org/recor...\n title = {nibabel 2.0.1},\n publisher = {Zenodo},\n year = {2015}\n}', key='https://doi.org/10.5281/zenodo.60847') 80s style = 'harvard1' 80s 80s def format_bibtex(bibtex_entry: BibTeX, style: str = "harvard1") -> str: 80s try: 80s import citeproc as cp 80s from citeproc.source.bibtex import BibTeX as cpBibTeX 80s except ImportError as e: 80s > raise RuntimeError( 80s "For formatted output we need citeproc and all of its dependencies " 80s "(such as lxml) but there is a problem while importing citeproc: %s" 80s % str(e) 80s ) 80s E RuntimeError: For formatted output we need citeproc and all of its dependencies (such as lxml) but there is a problem while importing citeproc: cannot import name 'etree' from 'lxml' (/usr/lib/python3/dist-packages/lxml/__init__.py) 80s 80s /usr/lib/python3/dist-packages/duecredit/io.py:302: RuntimeError 80s =============================== warnings summary =============================== 80s ../../../../usr/lib/python3/dist-packages/_pytest/cacheprovider.py:475 80s /usr/lib/python3/dist-packages/_pytest/cacheprovider.py:475: PytestCacheWarning: could not create cache path /usr/lib/python3/dist-packages/duecredit/tests/.pytest_cache/v/cache/nodeids: [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/duecredit/tests/pytest-cache-files-_z6_8txk' 80s config.cache.set("cache/nodeids", sorted(self.cached_nodeids)) 80s 80s ../../../../usr/lib/python3/dist-packages/_pytest/cacheprovider.py:429 80s /usr/lib/python3/dist-packages/_pytest/cacheprovider.py:429: PytestCacheWarning: could not create cache path /usr/lib/python3/dist-packages/duecredit/tests/.pytest_cache/v/cache/lastfailed: [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/duecredit/tests/pytest-cache-files-zsr85nz1' 80s config.cache.set("cache/lastfailed", self.lastfailed) 80s 80s ../../../../usr/lib/python3/dist-packages/_pytest/stepwise.py:51 80s /usr/lib/python3/dist-packages/_pytest/stepwise.py:51: PytestCacheWarning: could not create cache path /usr/lib/python3/dist-packages/duecredit/tests/.pytest_cache/v/cache/stepwise: [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/duecredit/tests/pytest-cache-files-5lif4ds3' 80s session.config.cache.set(STEPWISE_CACHE_DIR, []) 80s 80s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 80s =========================== short test summary info ============================ 80s FAILED ../../../../usr/lib/python3/dist-packages/duecredit/tests/test_io.py::test_text_output 80s FAILED ../../../../usr/lib/python3/dist-packages/duecredit/tests/test_io.py::test_text_output_dump_formatting 80s FAILED ../../../../usr/lib/python3/dist-packages/duecredit/tests/test_io.py::test_format_bibtex_zenodo_doi 80s FAILED ../../../../usr/lib/python3/dist-packages/duecredit/tests/test_io.py::test_format_bibtex_with_utf_characters 80s ====== 4 failed, 53 passed, 18 skipped, 1 deselected, 3 warnings in 0.53s ====== 80s autopkgtest [05:20:51]: test command1: -----------------------] 80s command1 FAIL non-zero exit status 1 80s autopkgtest [05:20:51]: test command1: - - - - - - - - - - results - - - - - - - - - - 81s autopkgtest [05:20:52]: test command2: preparing testbed 83s Reading package lists... 84s Building dependency tree... 84s Reading state information... 84s Starting pkgProblemResolver with broken count: 0 84s Starting 2 pkgProblemResolver with broken count: 0 84s Done 84s The following NEW packages will be installed: 84s autopkgtest-satdep 84s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 84s Need to get 0 B/696 B of archives. 84s After this operation, 0 B of additional disk space will be used. 84s Get:1 /tmp/autopkgtest.ngDHN8/4-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [696 B] 85s Selecting previously unselected package autopkgtest-satdep. 85s (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 ... 78012 files and directories currently installed.) 85s Preparing to unpack .../4-autopkgtest-satdep.deb ... 85s Unpacking autopkgtest-satdep (0) ... 85s Setting up autopkgtest-satdep (0) ... 85s autopkgtest: WARNING: package python3-duecredit:i386 is not installed though it should be 87s (Reading database ... 78012 files and directories currently installed.) 87s Removing autopkgtest-satdep (0) ... 87s autopkgtest [05:20:58]: test command2: for py in `py3versions -s`; do $py -m pytest -k test_import_doi /usr/lib/python3/dist-packages/duecredit/tests; done 87s autopkgtest [05:20:58]: test command2: [----------------------- 88s ============================= test session starts ============================== 88s platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0 88s rootdir: /usr/lib/python3/dist-packages/duecredit/tests 88s plugins: typeguard-4.4.1 88s collected 76 items / 75 deselected / 1 selected 88s 91s ../../../../usr/lib/python3/dist-packages/duecredit/tests/test_io.py . [100%] 91s 91s =============================== warnings summary =============================== 91s ../../../../usr/lib/python3/dist-packages/_pytest/cacheprovider.py:475 91s /usr/lib/python3/dist-packages/_pytest/cacheprovider.py:475: PytestCacheWarning: could not create cache path /usr/lib/python3/dist-packages/duecredit/tests/.pytest_cache/v/cache/nodeids: [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/duecredit/tests/pytest-cache-files-la0nkrfh' 91s config.cache.set("cache/nodeids", sorted(self.cached_nodeids)) 91s 91s ../../../../usr/lib/python3/dist-packages/_pytest/stepwise.py:51 91s /usr/lib/python3/dist-packages/_pytest/stepwise.py:51: PytestCacheWarning: could not create cache path /usr/lib/python3/dist-packages/duecredit/tests/.pytest_cache/v/cache/stepwise: [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/duecredit/tests/pytest-cache-files-n6h_092s' 91s session.config.cache.set(STEPWISE_CACHE_DIR, []) 91s 91s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 91s ================= 1 passed, 75 deselected, 2 warnings in 3.49s ================= 92s ============================= test session starts ============================== 92s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 92s rootdir: /usr/lib/python3/dist-packages/duecredit/tests 92s plugins: typeguard-4.4.1 92s collected 76 items / 75 deselected / 1 selected 92s 93s ../../../../usr/lib/python3/dist-packages/duecredit/tests/test_io.py . [100%] 93s 93s =============================== warnings summary =============================== 93s ../../../../usr/lib/python3/dist-packages/_pytest/cacheprovider.py:475 93s /usr/lib/python3/dist-packages/_pytest/cacheprovider.py:475: PytestCacheWarning: could not create cache path /usr/lib/python3/dist-packages/duecredit/tests/.pytest_cache/v/cache/nodeids: [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/duecredit/tests/pytest-cache-files-hoapt8zn' 93s config.cache.set("cache/nodeids", sorted(self.cached_nodeids)) 93s 93s ../../../../usr/lib/python3/dist-packages/_pytest/stepwise.py:51 93s /usr/lib/python3/dist-packages/_pytest/stepwise.py:51: PytestCacheWarning: could not create cache path /usr/lib/python3/dist-packages/duecredit/tests/.pytest_cache/v/cache/stepwise: [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/duecredit/tests/pytest-cache-files-mabje6_z' 93s session.config.cache.set(STEPWISE_CACHE_DIR, []) 93s 93s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 93s ================= 1 passed, 75 deselected, 2 warnings in 1.02s ================= 93s autopkgtest [05:21:04]: test command2: -----------------------] 93s autopkgtest [05:21:04]: test command2: - - - - - - - - - - results - - - - - - - - - - 93s command2 PASS 94s autopkgtest [05:21:05]: @@@@@@@@@@@@@@@@@@@@ summary 94s command1 FAIL non-zero exit status 1 94s command2 PASS 98s nova [W] Skipping flock for amd64 98s Creating nova instance adt-plucky-i386-duecredit-20241114-051931-juju-7f2275-prod-proposed-migration-environment-15-03c0bab5-1f62-43ef-b601-f241fa8ca4de from image adt/ubuntu-plucky-amd64-server-20241113.img (UUID 62c21ac4-2290-4c8d-8313-dddd18eacff4)...