0s autopkgtest [14:52:13]: starting date and time: 2024-11-09 14:52:13+0000 0s autopkgtest [14:52:13]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [14:52:13]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.h2wnvi_o/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:isodate,src:sphinx --apt-upgrade rdflib --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=isodate/0.7.0-1 sphinx/7.4.7-4' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-arm64-47.secgroup --name adt-plucky-arm64-rdflib-20241109-145212-juju-7f2275-prod-proposed-migration-environment-15-a4af3821-4c1c-4b04-be65-c916a8936c45 --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration -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/ 68s autopkgtest [14:53:21]: testbed dpkg architecture: arm64 69s autopkgtest [14:53:22]: testbed apt version: 2.9.8 69s autopkgtest [14:53:22]: @@@@@@@@@@@@@@@@@@@@ test bed setup 70s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 70s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [1004 kB] 71s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.3 kB] 71s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 71s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [104 kB] 72s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [144 kB] 72s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [50.3 kB] 72s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [725 kB] 73s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [17.1 kB] 73s Fetched 2141 kB in 3s (624 kB/s) 73s Reading package lists... 75s Reading package lists... 76s Building dependency tree... 76s Reading state information... 76s Calculating upgrade... 76s The following NEW packages will be installed: 76s systemd-cryptsetup 76s The following packages will be upgraded: 76s base-passwd bash-completion libattr1 libbpf1 libbsd0 libbytesize-common 76s libbytesize1 libdrm-common libdrm2 libjson-glib-1.0-0 76s libjson-glib-1.0-common libmaxminddb0 libmnl0 libnghttp2-14 libnspr4 76s libnss-systemd libpam-systemd libpython3.12-minimal libpython3.12-stdlib 76s libpython3.12t64 libsystemd-shared libsystemd0 libudev1 libudisks2-0 76s liburcu8t64 linux-firmware openssh-client openssh-server openssh-sftp-server 76s pci.ids python3-gi python3-idna python3-jsonpatch python3-lazr.restfulclient 76s python3-urllib3 python3-wadllib python3.12 python3.12-gdbm 76s python3.12-minimal systemd systemd-resolved systemd-sysv systemd-timesyncd 76s udev udisks2 usbutils 77s 46 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 77s Need to get 557 MB of archives. 77s After this operation, 27.2 MB of additional disk space will be used. 77s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 base-passwd arm64 3.6.5 [53.5 kB] 77s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.12t64 arm64 3.12.7-2 [2312 kB] 80s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.12 arm64 3.12.7-2 [661 kB] 81s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.12-stdlib arm64 3.12.7-2 [2048 kB] 83s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.12-minimal arm64 3.12.7-2 [2233 kB] 83s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.12-minimal arm64 3.12.7-2 [833 kB] 83s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 libnss-systemd arm64 256.5-2ubuntu4 [162 kB] 83s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 systemd-timesyncd arm64 256.5-2ubuntu4 [39.5 kB] 83s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 systemd-resolved arm64 256.5-2ubuntu4 [312 kB] 83s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 libsystemd-shared arm64 256.5-2ubuntu4 [2152 kB] 83s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 libsystemd0 arm64 256.5-2ubuntu4 [446 kB] 84s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 systemd-sysv arm64 256.5-2ubuntu4 [11.9 kB] 84s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 libpam-systemd arm64 256.5-2ubuntu4 [242 kB] 84s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 systemd arm64 256.5-2ubuntu4 [3356 kB] 84s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 udev arm64 256.5-2ubuntu4 [1950 kB] 84s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 libudev1 arm64 256.5-2ubuntu4 [194 kB] 84s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 openssh-sftp-server arm64 1:9.7p1-7ubuntu5 [36.7 kB] 84s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 openssh-server arm64 1:9.7p1-7ubuntu5 [507 kB] 85s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 openssh-client arm64 1:9.7p1-7ubuntu5 [891 kB] 85s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 libattr1 arm64 1:2.5.2-2 [11.5 kB] 85s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 libbsd0 arm64 0.12.2-2 [41.1 kB] 85s Get:22 http://ftpmaster.internal/ubuntu plucky/main arm64 libbpf1 arm64 1:1.4.6-1 [175 kB] 85s Get:23 http://ftpmaster.internal/ubuntu plucky/main arm64 libmnl0 arm64 1.0.5-3 [12.4 kB] 85s Get:24 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-gi arm64 3.50.0-3 [241 kB] 85s Get:25 http://ftpmaster.internal/ubuntu plucky/main arm64 bash-completion all 1:2.14.0-2 [210 kB] 85s Get:26 http://ftpmaster.internal/ubuntu plucky/main arm64 libdrm-common all 2.4.123-1 [8436 B] 85s Get:27 http://ftpmaster.internal/ubuntu plucky/main arm64 libdrm2 arm64 2.4.123-1 [42.2 kB] 85s Get:28 http://ftpmaster.internal/ubuntu plucky/main arm64 libmaxminddb0 arm64 1.11.0-1 [18.7 kB] 85s Get:29 http://ftpmaster.internal/ubuntu plucky/main arm64 libnghttp2-14 arm64 1.64.0-1 [74.5 kB] 85s Get:30 http://ftpmaster.internal/ubuntu plucky/main arm64 liburcu8t64 arm64 0.14.1-1 [63.5 kB] 85s Get:31 http://ftpmaster.internal/ubuntu plucky/main arm64 pci.ids all 0.0~2024.10.24-1 [279 kB] 85s Get:32 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.12-gdbm arm64 3.12.7-2 [29.8 kB] 85s Get:33 http://ftpmaster.internal/ubuntu plucky/main arm64 usbutils arm64 1:018-1 [80.9 kB] 85s Get:34 http://ftpmaster.internal/ubuntu plucky/main arm64 libbytesize1 arm64 2.11-1ubuntu1 [13.0 kB] 85s Get:35 http://ftpmaster.internal/ubuntu plucky/main arm64 libbytesize-common all 2.11-1ubuntu1 [3584 B] 85s Get:36 http://ftpmaster.internal/ubuntu plucky/main arm64 libjson-glib-1.0-common all 1.10.0+ds-2 [5502 B] 85s Get:37 http://ftpmaster.internal/ubuntu plucky/main arm64 libjson-glib-1.0-0 arm64 1.10.0+ds-2 [66.4 kB] 85s Get:38 http://ftpmaster.internal/ubuntu plucky/main arm64 libnspr4 arm64 2:4.35-1.1ubuntu2 [116 kB] 85s Get:39 http://ftpmaster.internal/ubuntu plucky/main arm64 udisks2 arm64 2.10.1-11ubuntu1 [293 kB] 85s Get:40 http://ftpmaster.internal/ubuntu plucky/main arm64 libudisks2-0 arm64 2.10.1-11ubuntu1 [173 kB] 85s Get:41 http://ftpmaster.internal/ubuntu plucky/main arm64 linux-firmware arm64 20241108.git3bbb13a7-0ubuntu1 [536 MB] 297s Get:42 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-idna all 3.8-2 [47.0 kB] 297s Get:43 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-jsonpatch all 1.32-4 [12.2 kB] 297s Get:44 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-wadllib all 2.0.0-1 [36.7 kB] 297s Get:45 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-lazr.restfulclient all 0.14.6-2 [50.9 kB] 297s Get:46 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-urllib3 all 2.0.7-2ubuntu0.1 [93.1 kB] 298s Get:47 http://ftpmaster.internal/ubuntu plucky/main arm64 systemd-cryptsetup arm64 256.5-2ubuntu4 [117 kB] 298s Preconfiguring packages ... 298s Fetched 557 MB in 3min 41s (2517 kB/s) 298s (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 ... 79695 files and directories currently installed.) 298s Preparing to unpack .../base-passwd_3.6.5_arm64.deb ... 298s Unpacking base-passwd (3.6.5) over (3.6.4) ... 298s Setting up base-passwd (3.6.5) ... 299s (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 ... 79696 files and directories currently installed.) 299s Preparing to unpack .../0-libpython3.12t64_3.12.7-2_arm64.deb ... 299s Unpacking libpython3.12t64:arm64 (3.12.7-2) over (3.12.7-1) ... 299s Preparing to unpack .../1-python3.12_3.12.7-2_arm64.deb ... 299s Unpacking python3.12 (3.12.7-2) over (3.12.7-1) ... 299s Preparing to unpack .../2-libpython3.12-stdlib_3.12.7-2_arm64.deb ... 299s Unpacking libpython3.12-stdlib:arm64 (3.12.7-2) over (3.12.7-1) ... 299s Preparing to unpack .../3-python3.12-minimal_3.12.7-2_arm64.deb ... 299s Unpacking python3.12-minimal (3.12.7-2) over (3.12.7-1) ... 299s Preparing to unpack .../4-libpython3.12-minimal_3.12.7-2_arm64.deb ... 299s Unpacking libpython3.12-minimal:arm64 (3.12.7-2) over (3.12.7-1) ... 299s Preparing to unpack .../5-libnss-systemd_256.5-2ubuntu4_arm64.deb ... 299s Unpacking libnss-systemd:arm64 (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 299s Preparing to unpack .../6-systemd-timesyncd_256.5-2ubuntu4_arm64.deb ... 299s Unpacking systemd-timesyncd (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 299s Preparing to unpack .../7-systemd-resolved_256.5-2ubuntu4_arm64.deb ... 299s Unpacking systemd-resolved (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 300s Preparing to unpack .../8-libsystemd-shared_256.5-2ubuntu4_arm64.deb ... 300s Unpacking libsystemd-shared:arm64 (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 300s Preparing to unpack .../9-libsystemd0_256.5-2ubuntu4_arm64.deb ... 300s Unpacking libsystemd0:arm64 (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 300s Setting up libsystemd0:arm64 (256.5-2ubuntu4) ... 300s (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 ... 79696 files and directories currently installed.) 300s Preparing to unpack .../systemd-sysv_256.5-2ubuntu4_arm64.deb ... 300s Unpacking systemd-sysv (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 300s Preparing to unpack .../libpam-systemd_256.5-2ubuntu4_arm64.deb ... 300s Unpacking libpam-systemd:arm64 (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 300s Preparing to unpack .../systemd_256.5-2ubuntu4_arm64.deb ... 300s Unpacking systemd (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 300s Preparing to unpack .../udev_256.5-2ubuntu4_arm64.deb ... 300s Unpacking udev (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 301s Preparing to unpack .../libudev1_256.5-2ubuntu4_arm64.deb ... 301s Unpacking libudev1:arm64 (256.5-2ubuntu4) over (256.5-2ubuntu3) ... 301s Setting up libudev1:arm64 (256.5-2ubuntu4) ... 301s (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 ... 79696 files and directories currently installed.) 301s Preparing to unpack .../openssh-sftp-server_1%3a9.7p1-7ubuntu5_arm64.deb ... 301s Unpacking openssh-sftp-server (1:9.7p1-7ubuntu5) over (1:9.7p1-7ubuntu4) ... 301s Preparing to unpack .../openssh-server_1%3a9.7p1-7ubuntu5_arm64.deb ... 301s Unpacking openssh-server (1:9.7p1-7ubuntu5) over (1:9.7p1-7ubuntu4) ... 301s Preparing to unpack .../openssh-client_1%3a9.7p1-7ubuntu5_arm64.deb ... 301s Unpacking openssh-client (1:9.7p1-7ubuntu5) over (1:9.7p1-7ubuntu4) ... 301s Preparing to unpack .../libattr1_1%3a2.5.2-2_arm64.deb ... 301s Unpacking libattr1:arm64 (1:2.5.2-2) over (1:2.5.2-1build2) ... 301s Setting up libattr1:arm64 (1:2.5.2-2) ... 301s (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 ... 79696 files and directories currently installed.) 301s Preparing to unpack .../libbsd0_0.12.2-2_arm64.deb ... 301s Unpacking libbsd0:arm64 (0.12.2-2) over (0.12.2-1) ... 301s Setting up libbsd0:arm64 (0.12.2-2) ... 301s (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 ... 79696 files and directories currently installed.) 301s Preparing to unpack .../00-libbpf1_1%3a1.4.6-1_arm64.deb ... 301s Unpacking libbpf1:arm64 (1:1.4.6-1) over (1:1.4.5-1) ... 302s Preparing to unpack .../01-libmnl0_1.0.5-3_arm64.deb ... 302s Unpacking libmnl0:arm64 (1.0.5-3) over (1.0.5-2build1) ... 302s Preparing to unpack .../02-python3-gi_3.50.0-3_arm64.deb ... 302s Unpacking python3-gi (3.50.0-3) over (3.48.2-1) ... 302s Preparing to unpack .../03-bash-completion_1%3a2.14.0-2_all.deb ... 302s Unpacking bash-completion (1:2.14.0-2) over (1:2.14.0-1) ... 302s Preparing to unpack .../04-libdrm-common_2.4.123-1_all.deb ... 302s Unpacking libdrm-common (2.4.123-1) over (2.4.122-1) ... 302s Preparing to unpack .../05-libdrm2_2.4.123-1_arm64.deb ... 302s Unpacking libdrm2:arm64 (2.4.123-1) over (2.4.122-1) ... 302s Preparing to unpack .../06-libmaxminddb0_1.11.0-1_arm64.deb ... 302s Unpacking libmaxminddb0:arm64 (1.11.0-1) over (1.10.0-1) ... 302s Preparing to unpack .../07-libnghttp2-14_1.64.0-1_arm64.deb ... 302s Unpacking libnghttp2-14:arm64 (1.64.0-1) over (1.62.1-2) ... 302s Preparing to unpack .../08-liburcu8t64_0.14.1-1_arm64.deb ... 302s Unpacking liburcu8t64:arm64 (0.14.1-1) over (0.14.0-4) ... 302s Preparing to unpack .../09-pci.ids_0.0~2024.10.24-1_all.deb ... 302s Unpacking pci.ids (0.0~2024.10.24-1) over (0.0~2024.09.12-1) ... 302s Preparing to unpack .../10-python3.12-gdbm_3.12.7-2_arm64.deb ... 302s Unpacking python3.12-gdbm (3.12.7-2) over (3.12.7-1) ... 303s Preparing to unpack .../11-usbutils_1%3a018-1_arm64.deb ... 303s Unpacking usbutils (1:018-1) over (1:017-3build1) ... 303s Preparing to unpack .../12-libbytesize1_2.11-1ubuntu1_arm64.deb ... 303s Unpacking libbytesize1:arm64 (2.11-1ubuntu1) over (2.10-1ubuntu2) ... 303s Preparing to unpack .../13-libbytesize-common_2.11-1ubuntu1_all.deb ... 303s Unpacking libbytesize-common (2.11-1ubuntu1) over (2.10-1ubuntu2) ... 303s Preparing to unpack .../14-libjson-glib-1.0-common_1.10.0+ds-2_all.deb ... 303s Unpacking libjson-glib-1.0-common (1.10.0+ds-2) over (1.8.0-2build2) ... 303s Preparing to unpack .../15-libjson-glib-1.0-0_1.10.0+ds-2_arm64.deb ... 303s Unpacking libjson-glib-1.0-0:arm64 (1.10.0+ds-2) over (1.8.0-2build2) ... 303s Preparing to unpack .../16-libnspr4_2%3a4.35-1.1ubuntu2_arm64.deb ... 303s Unpacking libnspr4:arm64 (2:4.35-1.1ubuntu2) over (2:4.35-1.1ubuntu1) ... 303s Preparing to unpack .../17-udisks2_2.10.1-11ubuntu1_arm64.deb ... 303s Unpacking udisks2 (2.10.1-11ubuntu1) over (2.10.1-9ubuntu2) ... 303s Preparing to unpack .../18-libudisks2-0_2.10.1-11ubuntu1_arm64.deb ... 303s Unpacking libudisks2-0:arm64 (2.10.1-11ubuntu1) over (2.10.1-9ubuntu2) ... 303s Preparing to unpack .../19-linux-firmware_20241108.git3bbb13a7-0ubuntu1_arm64.deb ... 303s Unpacking linux-firmware (20241108.git3bbb13a7-0ubuntu1) over (20240913.gita34e7a5f-0ubuntu2) ... 306s Preparing to unpack .../20-python3-idna_3.8-2_all.deb ... 306s Unpacking python3-idna (3.8-2) over (3.6-2.1) ... 306s Preparing to unpack .../21-python3-jsonpatch_1.32-4_all.deb ... 306s Unpacking python3-jsonpatch (1.32-4) over (1.32-3) ... 306s Preparing to unpack .../22-python3-wadllib_2.0.0-1_all.deb ... 306s Unpacking python3-wadllib (2.0.0-1) over (1.3.6-5) ... 306s Preparing to unpack .../23-python3-lazr.restfulclient_0.14.6-2_all.deb ... 306s Unpacking python3-lazr.restfulclient (0.14.6-2) over (0.14.6-1) ... 306s Preparing to unpack .../24-python3-urllib3_2.0.7-2ubuntu0.1_all.deb ... 307s Unpacking python3-urllib3 (2.0.7-2ubuntu0.1) over (2.0.7-2) ... 307s Selecting previously unselected package systemd-cryptsetup. 307s Preparing to unpack .../25-systemd-cryptsetup_256.5-2ubuntu4_arm64.deb ... 307s Unpacking systemd-cryptsetup (256.5-2ubuntu4) ... 307s Setting up liburcu8t64:arm64 (0.14.1-1) ... 307s Setting up pci.ids (0.0~2024.10.24-1) ... 307s Setting up linux-firmware (20241108.git3bbb13a7-0ubuntu1) ... 307s Setting up openssh-client (1:9.7p1-7ubuntu5) ... 307s Setting up libmaxminddb0:arm64 (1.11.0-1) ... 307s Setting up python3.12-gdbm (3.12.7-2) ... 307s Setting up python3-jsonpatch (1.32-4) ... 307s Setting up libpython3.12-minimal:arm64 (3.12.7-2) ... 307s Setting up libnghttp2-14:arm64 (1.64.0-1) ... 307s Setting up usbutils (1:018-1) ... 307s Setting up libnspr4:arm64 (2:4.35-1.1ubuntu2) ... 307s Setting up bash-completion (1:2.14.0-2) ... 307s Setting up python3-wadllib (2.0.0-1) ... 307s Setting up python3-gi (3.50.0-3) ... 307s Setting up libbytesize-common (2.11-1ubuntu1) ... 307s Setting up libmnl0:arm64 (1.0.5-3) ... 307s Setting up python3-idna (3.8-2) ... 307s Setting up libsystemd-shared:arm64 (256.5-2ubuntu4) ... 307s Setting up python3-urllib3 (2.0.7-2ubuntu0.1) ... 308s Setting up libjson-glib-1.0-common (1.10.0+ds-2) ... 308s Setting up libbytesize1:arm64 (2.11-1ubuntu1) ... 308s Setting up python3-lazr.restfulclient (0.14.6-2) ... 308s Setting up libdrm-common (2.4.123-1) ... 308s Setting up libbpf1:arm64 (1:1.4.6-1) ... 308s Setting up libudisks2-0:arm64 (2.10.1-11ubuntu1) ... 308s Setting up python3.12-minimal (3.12.7-2) ... 309s Setting up openssh-sftp-server (1:9.7p1-7ubuntu5) ... 309s Setting up libpython3.12-stdlib:arm64 (3.12.7-2) ... 309s Setting up openssh-server (1:9.7p1-7ubuntu5) ... 310s Setting up python3.12 (3.12.7-2) ... 311s Setting up systemd (256.5-2ubuntu4) ... 311s /usr/lib/tmpfiles.d/legacy.conf:13: Duplicate line for path "/run/lock", ignoring. 311s Created symlink '/run/systemd/system/tmp.mount' → '/dev/null'. 311s /usr/lib/tmpfiles.d/legacy.conf:13: Duplicate line for path "/run/lock", ignoring. 312s Setting up libjson-glib-1.0-0:arm64 (1.10.0+ds-2) ... 312s Setting up libpython3.12t64:arm64 (3.12.7-2) ... 312s Setting up systemd-cryptsetup (256.5-2ubuntu4) ... 312s Setting up systemd-timesyncd (256.5-2ubuntu4) ... 312s systemd-time-wait-sync.service is a disabled or a static unit not running, not starting it. 312s Setting up udev (256.5-2ubuntu4) ... 313s Setting up libdrm2:arm64 (2.4.123-1) ... 313s Setting up systemd-resolved (256.5-2ubuntu4) ... 314s Setting up udisks2 (2.10.1-11ubuntu1) ... 314s Setting up systemd-sysv (256.5-2ubuntu4) ... 314s Setting up libnss-systemd:arm64 (256.5-2ubuntu4) ... 314s Setting up libpam-systemd:arm64 (256.5-2ubuntu4) ... 314s Processing triggers for libc-bin (2.40-1ubuntu3) ... 314s Processing triggers for ufw (0.36.2-8) ... 314s Processing triggers for man-db (2.12.1-3) ... 316s Processing triggers for dbus (1.14.10-4ubuntu5) ... 316s Processing triggers for shared-mime-info (2.4-5) ... 316s Processing triggers for initramfs-tools (0.142ubuntu34) ... 316s update-initramfs: Generating /boot/initrd.img-6.11.0-8-generic 316s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 331s System running in EFI mode, skipping. 332s Reading package lists... 332s Building dependency tree... 332s Reading state information... 333s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 333s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 333s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 333s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 333s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 334s Reading package lists... 334s Reading package lists... 334s Building dependency tree... 334s Reading state information... 335s Calculating upgrade... 335s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 335s Reading package lists... 336s Building dependency tree... 336s Reading state information... 336s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 337s autopkgtest [14:57:50]: rebooting testbed after setup commands that affected boot 360s autopkgtest [14:58:13]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 14:19:41 UTC 2024 363s autopkgtest [14:58:16]: @@@@@@@@@@@@@@@@@@@@ apt-source rdflib 372s Get:1 http://ftpmaster.internal/ubuntu plucky/universe rdflib 7.0.0-1 (dsc) [2840 B] 372s Get:2 http://ftpmaster.internal/ubuntu plucky/universe rdflib 7.0.0-1 (tar) [5024 kB] 372s Get:3 http://ftpmaster.internal/ubuntu plucky/universe rdflib 7.0.0-1 (diff) [32.0 kB] 372s gpgv: Signature made Sat Jun 15 12:54:16 2024 UTC 372s gpgv: using RSA key 8F6DE104377F3B11E741748731F3144544A1741A 372s gpgv: issuer "tchet@debian.org" 372s gpgv: Can't check signature: No public key 372s dpkg-source: warning: cannot verify inline signature for ./rdflib_7.0.0-1.dsc: no acceptable signature found 373s autopkgtest [14:58:26]: testing package rdflib version 7.0.0-1 373s autopkgtest [14:58:26]: build not needed 375s autopkgtest [14:58:28]: test python3: preparing testbed 377s Reading package lists... 377s Building dependency tree... 377s Reading state information... 378s Starting pkgProblemResolver with broken count: 0 378s Starting 2 pkgProblemResolver with broken count: 0 378s Done 379s The following additional packages will be installed: 379s libjs-jquery libjs-jquery-hotkeys libjs-jquery-isonscreen 379s libjs-jquery-metadata libjs-jquery-tablesorter 379s libjs-jquery-throttle-debounce libjs-sphinxdoc libjs-underscore 379s python-rdflib-doc python-rdflib-tools python3-coverage python3-html5lib 379s python3-iniconfig python3-isodate python3-packaging python3-pip 379s python3-pluggy python3-pytest python3-pytest-cov python3-rdflib 379s python3-sparqlwrapper python3-webencodings python3-wheel 379s Suggested packages: 379s python-coverage-doc python3-genshi python3-lxml 379s Recommended packages: 379s javascript-common build-essential python3-dev 379s The following NEW packages will be installed: 379s autopkgtest-satdep libjs-jquery libjs-jquery-hotkeys libjs-jquery-isonscreen 379s libjs-jquery-metadata libjs-jquery-tablesorter 379s libjs-jquery-throttle-debounce libjs-sphinxdoc libjs-underscore 379s python-rdflib-doc python-rdflib-tools python3-coverage python3-html5lib 379s python3-iniconfig python3-isodate python3-packaging python3-pip 379s python3-pluggy python3-pytest python3-pytest-cov python3-rdflib 379s python3-sparqlwrapper python3-webencodings python3-wheel 379s 0 upgraded, 24 newly installed, 0 to remove and 0 not upgraded. 379s Need to get 4119 kB/4120 kB of archives. 379s After this operation, 32.5 MB of additional disk space will be used. 379s Get:1 /tmp/autopkgtest.56N0Yx/1-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [776 B] 379s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 379s Get:3 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjs-jquery-hotkeys all 0~20130707+git2d51e3a9+dfsg-2.1 [11.5 kB] 379s Get:4 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjs-jquery-metadata all 12-4 [6582 B] 379s Get:5 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjs-jquery-tablesorter all 1:2.31.3+dfsg1-4 [192 kB] 380s Get:6 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjs-jquery-throttle-debounce all 1.1+dfsg.1-2 [12.5 kB] 380s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 380s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libjs-sphinxdoc all 7.4.7-4 [158 kB] 380s Get:9 http://ftpmaster.internal/ubuntu plucky/universe arm64 python-rdflib-doc all 7.0.0-1 [778 kB] 381s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 python3-isodate all 0.7.0-1 [18.6 kB] 381s Get:11 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-rdflib all 7.0.0-1 [405 kB] 381s Get:12 http://ftpmaster.internal/ubuntu plucky/universe arm64 python-rdflib-tools all 7.0.0-1 [9624 B] 381s Get:13 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-coverage arm64 7.4.4+dfsg1-0ubuntu2 [148 kB] 382s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-webencodings all 0.5.1-5 [11.5 kB] 382s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-html5lib all 1.2-1 [90.8 kB] 382s Get:16 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-iniconfig all 1.1.1-2 [6024 B] 382s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.1-1 [41.4 kB] 382s Get:18 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-wheel all 0.44.0-1 [54.2 kB] 382s Get:19 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pip all 24.2+dfsg-1 [1398 kB] 383s Get:20 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pluggy all 1.5.0-1 [21.0 kB] 383s Get:21 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest all 8.3.2-1 [251 kB] 384s Get:22 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjs-jquery-isonscreen all 1.2.0-1.1 [3244 B] 384s Get:23 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest-cov all 5.0.0-1 [21.3 kB] 384s Get:24 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-sparqlwrapper all 2.0.0-2 [37.0 kB] 384s Fetched 4119 kB in 5s (820 kB/s) 384s Selecting previously unselected package libjs-jquery. 385s (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 ... 79934 files and directories currently installed.) 385s Preparing to unpack .../00-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 385s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 385s Selecting previously unselected package libjs-jquery-hotkeys. 385s Preparing to unpack .../01-libjs-jquery-hotkeys_0~20130707+git2d51e3a9+dfsg-2.1_all.deb ... 385s Unpacking libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2.1) ... 385s Selecting previously unselected package libjs-jquery-metadata. 385s Preparing to unpack .../02-libjs-jquery-metadata_12-4_all.deb ... 385s Unpacking libjs-jquery-metadata (12-4) ... 385s Selecting previously unselected package libjs-jquery-tablesorter. 385s Preparing to unpack .../03-libjs-jquery-tablesorter_1%3a2.31.3+dfsg1-4_all.deb ... 385s Unpacking libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... 385s Selecting previously unselected package libjs-jquery-throttle-debounce. 385s Preparing to unpack .../04-libjs-jquery-throttle-debounce_1.1+dfsg.1-2_all.deb ... 385s Unpacking libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 385s Selecting previously unselected package libjs-underscore. 385s Preparing to unpack .../05-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 385s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 385s Selecting previously unselected package libjs-sphinxdoc. 385s Preparing to unpack .../06-libjs-sphinxdoc_7.4.7-4_all.deb ... 385s Unpacking libjs-sphinxdoc (7.4.7-4) ... 385s Selecting previously unselected package python-rdflib-doc. 385s Preparing to unpack .../07-python-rdflib-doc_7.0.0-1_all.deb ... 385s Unpacking python-rdflib-doc (7.0.0-1) ... 385s Selecting previously unselected package python3-isodate. 385s Preparing to unpack .../08-python3-isodate_0.7.0-1_all.deb ... 385s Unpacking python3-isodate (0.7.0-1) ... 385s Selecting previously unselected package python3-rdflib. 385s Preparing to unpack .../09-python3-rdflib_7.0.0-1_all.deb ... 385s Unpacking python3-rdflib (7.0.0-1) ... 385s Selecting previously unselected package python-rdflib-tools. 385s Preparing to unpack .../10-python-rdflib-tools_7.0.0-1_all.deb ... 385s Unpacking python-rdflib-tools (7.0.0-1) ... 385s Selecting previously unselected package python3-coverage. 385s Preparing to unpack .../11-python3-coverage_7.4.4+dfsg1-0ubuntu2_arm64.deb ... 385s Unpacking python3-coverage (7.4.4+dfsg1-0ubuntu2) ... 385s Selecting previously unselected package python3-webencodings. 385s Preparing to unpack .../12-python3-webencodings_0.5.1-5_all.deb ... 385s Unpacking python3-webencodings (0.5.1-5) ... 385s Selecting previously unselected package python3-html5lib. 385s Preparing to unpack .../13-python3-html5lib_1.2-1_all.deb ... 385s Unpacking python3-html5lib (1.2-1) ... 385s Selecting previously unselected package python3-iniconfig. 385s Preparing to unpack .../14-python3-iniconfig_1.1.1-2_all.deb ... 385s Unpacking python3-iniconfig (1.1.1-2) ... 385s Selecting previously unselected package python3-packaging. 385s Preparing to unpack .../15-python3-packaging_24.1-1_all.deb ... 385s Unpacking python3-packaging (24.1-1) ... 385s Selecting previously unselected package python3-wheel. 385s Preparing to unpack .../16-python3-wheel_0.44.0-1_all.deb ... 385s Unpacking python3-wheel (0.44.0-1) ... 385s Selecting previously unselected package python3-pip. 385s Preparing to unpack .../17-python3-pip_24.2+dfsg-1_all.deb ... 385s Unpacking python3-pip (24.2+dfsg-1) ... 385s Selecting previously unselected package python3-pluggy. 385s Preparing to unpack .../18-python3-pluggy_1.5.0-1_all.deb ... 385s Unpacking python3-pluggy (1.5.0-1) ... 385s Selecting previously unselected package python3-pytest. 385s Preparing to unpack .../19-python3-pytest_8.3.2-1_all.deb ... 385s Unpacking python3-pytest (8.3.2-1) ... 385s Selecting previously unselected package libjs-jquery-isonscreen. 385s Preparing to unpack .../20-libjs-jquery-isonscreen_1.2.0-1.1_all.deb ... 385s Unpacking libjs-jquery-isonscreen (1.2.0-1.1) ... 385s Selecting previously unselected package python3-pytest-cov. 386s Preparing to unpack .../21-python3-pytest-cov_5.0.0-1_all.deb ... 386s Unpacking python3-pytest-cov (5.0.0-1) ... 386s Selecting previously unselected package python3-sparqlwrapper. 386s Preparing to unpack .../22-python3-sparqlwrapper_2.0.0-2_all.deb ... 386s Unpacking python3-sparqlwrapper (2.0.0-2) ... 386s Selecting previously unselected package autopkgtest-satdep. 386s Preparing to unpack .../23-1-autopkgtest-satdep.deb ... 386s Unpacking autopkgtest-satdep (0) ... 386s Setting up python3-iniconfig (1.1.1-2) ... 386s Setting up python3-coverage (7.4.4+dfsg1-0ubuntu2) ... 386s Setting up libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 386s Setting up python3-wheel (0.44.0-1) ... 386s Setting up python3-webencodings (0.5.1-5) ... 386s Setting up python3-isodate (0.7.0-1) ... 386s Setting up python3-packaging (24.1-1) ... 387s Setting up python3-pip (24.2+dfsg-1) ... 388s Setting up python3-html5lib (1.2-1) ... 388s Setting up python3-pluggy (1.5.0-1) ... 388s Setting up python3-rdflib (7.0.0-1) ... 389s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 389s Setting up libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2.1) ... 389s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 389s Setting up python-rdflib-tools (7.0.0-1) ... 389s Setting up python3-sparqlwrapper (2.0.0-2) ... 389s Setting up python3-pytest (8.3.2-1) ... 389s Setting up libjs-jquery-metadata (12-4) ... 389s Setting up libjs-jquery-isonscreen (1.2.0-1.1) ... 389s Setting up libjs-sphinxdoc (7.4.7-4) ... 389s Setting up libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... 389s Setting up python-rdflib-doc (7.0.0-1) ... 389s Setting up python3-pytest-cov (5.0.0-1) ... 389s Setting up autopkgtest-satdep (0) ... 389s Processing triggers for man-db (2.12.1-3) ... 394s (Reading database ... 81720 files and directories currently installed.) 394s Removing autopkgtest-satdep (0) ... 394s autopkgtest [14:58:47]: test python3: [----------------------- 402s ============================= test session starts ============================== 402s platform linux -- Python 3.12.7+, pytest-8.3.2, pluggy-1.5.0 402s rootdir: /tmp/autopkgtest.56N0Yx/build.xNT/src 402s configfile: pyproject.toml 402s plugins: cov-5.0.0, typeguard-4.4.1 402s collected 7629 items / 1 deselected / 1 skipped / 7628 selected 402s 402s docs/namespaces_and_bindings.rst . [ 0%] 402s docs/rdf_terms.rst . [ 0%] 402s test/data/suites/trix/test_trix.py ..........x....xxx..xxx.xxx.......... [ 0%] 402s ......x..x.x...................xxxxxxxxx [ 1%] 402s test/jsonld/test_api.py . [ 1%] 402s test/jsonld/test_compaction.py ........... [ 1%] 402s test/jsonld/test_context.py .................... [ 1%] 402s test/jsonld/test_localsuite.py ... [ 1%] 402s test/jsonld/test_named_graphs.py ... [ 1%] 402s test/jsonld/test_onedotone.py .......................................... [ 2%] 403s ........................................................................ [ 3%] 404s ........................................................................ [ 3%] 406s ........................................................................ [ 4%] 406s .... [ 4%] 406s test/jsonld/test_pythonparse.py . [ 4%] 406s test/jsonld/test_testsuite.py .......................................... [ 5%] 406s ........................................................................ [ 6%] 406s ............. [ 6%] 406s test/jsonld/test_util.py x................. [ 6%] 406s test/test_conjunctivegraph/test_conjunctive_graph.py ..... [ 6%] 406s test/test_conjunctivegraph/test_conjunctivegraph_generators.py ........ [ 7%] 406s test/test_conjunctivegraph/test_conjunctivegraph_operator_combinations.py . [ 7%] 406s .... [ 7%] 406s test/test_dataset/test_dataset.py ..... [ 7%] 406s test/test_dataset/test_dataset_default_graph.py .................... [ 7%] 406s test/test_dataset/test_dataset_generators.py ........ [ 7%] 412s test/test_examples.py .......s........... [ 7%] 412s test/test_extras/test_extras_external_graph_libs.py ss [ 7%] 412s test/test_extras/test_infixowl/test_annotatableterms.py ... [ 7%] 413s test/test_extras/test_infixowl/test_basic.py .... [ 7%] 413s test/test_extras/test_infixowl/test_booleanclass.py xx...... [ 8%] 413s test/test_extras/test_infixowl/test_class.py ....... [ 8%] 413s test/test_extras/test_infixowl/test_componentterms.py ... [ 8%] 414s test/test_extras/test_infixowl/test_context.py . [ 8%] 415s test/test_extras/test_infixowl/test_cover.py ................... [ 8%] 415s test/test_extras/test_infixowl/test_enumerated_class.py .. [ 8%] 415s test/test_extras/test_infixowl/test_individual.py ..... [ 8%] 415s test/test_extras/test_infixowl/test_logic_structuring.py . [ 8%] 416s test/test_extras/test_infixowl/test_manchester_syntax.py .. [ 8%] 416s test/test_extras/test_infixowl/test_ontology.py .. [ 8%] 416s test/test_extras/test_infixowl/test_property.py . [ 8%] 416s test/test_extras/test_infixowl/test_restriction.py ...............x [ 8%] 416s test/test_extras/test_infixowl/test_rubric.py ........ [ 8%] 416s test/test_graph/test_aggregate_graphs.py .. [ 8%] 416s test/test_graph/test_batch_add.py .......... [ 9%] 416s test/test_graph/test_canonicalization.py ..........x [ 9%] 416s test/test_graph/test_container.py ................. [ 9%] 416s test/test_graph/test_diff.py ..x..x [ 9%] 418s test/test_graph/test_graph.py .................. [ 9%] 418s test/test_graph/test_graph_cbd.py .... [ 9%] 418s test/test_graph/test_graph_context.py .......... [ 9%] 418s test/test_graph/test_graph_formula.py .. [ 9%] 418s test/test_graph/test_graph_generators.py ....... [ 10%] 420s test/test_graph/test_graph_http.py ....... [ 10%] 420s test/test_graph/test_graph_items.py . [ 10%] 420s test/test_graph/test_graph_operator.py ... [ 10%] 420s test/test_graph/test_graph_redirect.py . [ 10%] 420s test/test_graph/test_graph_store.py ........................... [ 10%] 420s test/test_graph/test_namespace_rebinding.py ....x......... [ 10%] 420s test/test_graph/test_skolemization.py ......... [ 10%] 420s test/test_graph/test_slice.py . [ 10%] 420s test/test_graph/test_variants.py .x.xx........ [ 11%] 420s test/test_having.py ... [ 11%] 420s test/test_issues/test_issue084.py ........ [ 11%] 420s test/test_issues/test_issue1003.py ......... [ 11%] 420s test/test_issues/test_issue1043.py . [ 11%] 420s test/test_issues/test_issue1141.py ... [ 11%] 420s test/test_issues/test_issue1160.py . [ 11%] 420s test/test_issues/test_issue1404.py . [ 11%] 420s test/test_issues/test_issue1484.py .. [ 11%] 420s test/test_issues/test_issue160.py . [ 11%] 420s test/test_issues/test_issue161.py . [ 11%] 420s test/test_issues/test_issue1808.py . [ 11%] 420s test/test_issues/test_issue184.py . [ 11%] 420s test/test_issues/test_issue1873.py .. [ 11%] 420s test/test_issues/test_issue190.py xx [ 11%] 420s test/test_issues/test_issue1998.py . [ 11%] 420s test/test_issues/test_issue200.py . [ 11%] 421s test/test_issues/test_issue209.py . [ 11%] 421s test/test_issues/test_issue223.py . [ 11%] 421s test/test_issues/test_issue247.py . [ 11%] 421s test/test_issues/test_issue248.py . [ 11%] 421s test/test_issues/test_issue274.py ................................. [ 12%] 421s test/test_issues/test_issue363.py .. [ 12%] 421s test/test_issues/test_issue379.py .. [ 12%] 421s test/test_issues/test_issue381.py ....... [ 12%] 421s test/test_issues/test_issue432.py . [ 12%] 421s test/test_issues/test_issue446.py . [ 12%] 421s test/test_issues/test_issue492.py . [ 12%] 421s test/test_issues/test_issue523.py . [ 12%] 421s test/test_issues/test_issue532.py . [ 12%] 421s test/test_issues/test_issue535.py . [ 12%] 421s test/test_issues/test_issue545.py . [ 12%] 421s test/test_issues/test_issue554.py . [ 12%] 421s test/test_issues/test_issue563.py .. [ 12%] 421s test/test_issues/test_issue579.py . [ 12%] 421s test/test_issues/test_issue604.py . [ 12%] 421s test/test_issues/test_issue655.py . [ 12%] 421s test/test_issues/test_issue715.py . [ 12%] 421s test/test_issues/test_issue733.py .. [ 12%] 421s test/test_issues/test_issue801.py . [ 12%] 421s test/test_issues/test_issue893.py . [ 12%] 421s test/test_issues/test_issue910.py .... [ 12%] 421s test/test_issues/test_issue920.py . [ 12%] 421s test/test_issues/test_issue923.py . [ 12%] 421s test/test_issues/test_issue953.py . [ 12%] 421s test/test_issues/test_issue977.py .. [ 12%] 421s test/test_issues/test_issue980.py . [ 12%] 421s test/test_issues/test_issue_git_200.py . [ 12%] 421s test/test_issues/test_issue_git_336.py . [ 12%] 421s test/test_literal/test_datetime.py ....... [ 12%] 421s test/test_literal/test_duration.py ........ [ 12%] 421s test/test_literal/test_hex_binary.py .. [ 12%] 421s test/test_literal/test_literal.py ...................................... [ 13%] 421s ...................F......F............................................. [ 14%] 421s ........................................................................ [ 15%] 422s .xxxxxxxxxx................ [ 15%] 422s test/test_literal/test_literal_html5lib.py ....... [ 15%] 422s test/test_literal/test_normalized_string.py .... [ 15%] 422s test/test_literal/test_term.py ....... [ 15%] 422s test/test_literal/test_tokendatatype.py ..... [ 15%] 422s test/test_literal/test_uriref_literal_comparison.py .......... [ 15%] 422s test/test_literal/test_xmlliterals.py ...... [ 16%] 422s test/test_misc/test_b64_binary.py . [ 16%] 422s test/test_misc/test_collection.py . [ 16%] 422s test/test_misc/test_conventions.py . [ 16%] 422s test/test_misc/test_events.py . [ 16%] 422s test/test_misc/test_input_source.py .................................... [ 16%] 422s ........................................................................ [ 17%] 422s ........................................................................ [ 18%] 422s ........................... [ 18%] 422s test/test_misc/test_networking_redirect.py ..................... [ 19%] 422s test/test_misc/test_parse_file_guess_format.py .... [ 19%] 422s test/test_misc/test_path_div_future.py . [ 19%] 424s test/test_misc/test_plugins.py .. [ 19%] 424s test/test_misc/test_prefix_types.py . [ 19%] 424s test/test_misc/test_resource.py . [ 19%] 425s test/test_misc/test_security.py ........ [ 19%] 425s test/test_n3.py ................ [ 19%] 426s test/test_namespace/test_definednamespace.py ........................... [ 19%] 426s ........................................................................ [ 20%] 426s ......................................... [ 21%] 427s test/test_namespace/test_definednamespace_creator.py ..... [ 21%] 427s test/test_namespace/test_definednamespace_dir.py . [ 21%] 428s test/test_namespace/test_namespace.py ......x........................... [ 21%] 428s ............ [ 22%] 428s test/test_namespace/test_namespacemanager.py ........................... [ 22%] 428s ...x......... [ 22%] 428s test/test_nt_misc.py ...................... [ 22%] 429s test/test_parsers/test_broken_parse_data_from_jena.py .xxxxx.x [ 22%] 429s test/test_parsers/test_empty_xml_base.py .. [ 22%] 429s test/test_parsers/test_n3parse_of_rdf_lists.py .. [ 22%] 430s test/test_parsers/test_nquads.py ........... [ 23%] 430s test/test_parsers/test_parser.py .... [ 23%] 430s test/test_parsers/test_parser_helpers.py . [ 23%] 430s test/test_parsers/test_parser_hext.py ...... [ 23%] 430s test/test_parsers/test_parser_reads_from_pathlike_object.py . [ 23%] 430s test/test_parsers/test_parser_structure.py . [ 23%] 430s test/test_parsers/test_parser_turtlelike.py ............................ [ 23%] 430s ...........................................................x.x.......... [ 24%] 430s ........................................................................ [ 25%] 430s ........................................ [ 26%] 430s test/test_parsers/test_swap_n3.py .x.x.x...xx..xxx.x.x...xx..x. [ 26%] 430s test/test_parsers/test_trix_parse.py ... [ 26%] 430s test/test_path.py ..................... [ 26%] 430s test/test_roundtrip.py ..x...................x.......................... [ 27%] 430s ........................................................................ [ 28%] 431s ................................................x....................... [ 29%] 431s ........................................................................ [ 30%] 431s ........................................................................ [ 31%] 431s ........................................................................ [ 32%] 431s ........................................................................ [ 33%] 432s ........................................................................ [ 34%] 432s ........................................................................ [ 34%] 432s ........................................................................ [ 35%] 433s ................................................x....x........x......... [ 36%] 433s ........................................................................ [ 37%] 433s ........................x.........xx...........x.x...................... [ 38%] 434s ....x.x................................................................. [ 39%] 434s ........................................................................ [ 40%] 434s ........................................................................ [ 41%] 435s ..................................x..................................... [ 42%] 435s ........................................................................ [ 43%] 435s ........................................................................ [ 44%] 436s ...............x.x...................................................... [ 45%] 436s ........................................................................ [ 46%] 437s ................................xx.......x...............x.............. [ 47%] 437s ............xx.........................................x................ [ 48%] 437s ....................x...........x. [ 48%] 437s test/test_serializers/test_finalnewline.py . [ 48%] 437s test/test_serializers/test_prettyxml.py ....... [ 48%] 439s test/test_serializers/test_serializer.py .................x.x.x.x.x.x.x. [ 49%] 439s x.x.x.x.x........................xxxxxxxxxxxxxxxxxxxxxxxx............... [ 50%] 439s .....................................................................x.x [ 51%] 440s .x.x.x.x.x.x.x.x.x.x.................................................... [ 51%] 440s ....................... [ 52%] 440s test/test_serializers/test_serializer_hext.py ...... [ 52%] 440s test/test_serializers/test_serializer_jsonld.py .. [ 52%] 440s test/test_serializers/test_serializer_longturtle.py . [ 52%] 440s test/test_serializers/test_serializer_n3.py .... [ 52%] 440s test/test_serializers/test_serializer_trix.py .. [ 52%] 440s test/test_serializers/test_serializer_turtle.py ..... [ 52%] 440s test/test_serializers/test_serializer_xml.py ..... [ 52%] 440s test/test_serializers/test_xmlwriter_qname.py ..... [ 52%] 440s test/test_skolem_genid.py . [ 52%] 440s test/test_sparql/test_agg_distinct.py ..... [ 52%] 440s test/test_sparql/test_agg_undef.py ........ [ 52%] 440s test/test_sparql/test_construct_bindings.py . [ 52%] 440s test/test_sparql/test_datetime_processing.py .... [ 52%] 440s test/test_sparql/test_evaluate_bind.py ... [ 52%] 441s test/test_sparql/test_expressions.py ...... [ 53%] 441s test/test_sparql/test_forward_slash_escapes.py .x.x.x [ 53%] 441s test/test_sparql/test_functions.py ..................................... [ 53%] 441s ................................................. [ 54%] 442s test/test_sparql/test_initbindings.py .......................... [ 54%] 442s test/test_sparql/test_operators.py ... [ 54%] 442s test/test_sparql/test_prefixed_name.py ................................. [ 55%] 442s ..................... [ 55%] 442s test/test_sparql/test_prepare.py .. [ 55%] 442s test/test_sparql/test_result.py ......xx.........xxx.xx................. [ 55%] 442s .x...x...x................................ [ 56%] 448s test/test_sparql/test_service.py ............ [ 56%] 448s test/test_sparql/test_sparql.py ...x..........x...x..................... [ 57%] 449s ................ [ 57%] 450s test/test_sparql/test_sparql_parser.py .. [ 57%] 450s test/test_sparql/test_subselect.py .... [ 57%] 451s test/test_sparql/test_translate_algebra.py ............................. [ 57%] 454s ..x.........x. [ 57%] 454s test/test_sparql/test_tsvresults.py . [ 57%] 454s test/test_store/test_namespace_binding.py .............................. [ 58%] 454s .......................................x.x [ 58%] 454s test/test_store/test_nodepickler.py ... [ 58%] 454s test/test_store/test_store.py ... [ 59%] 454s test/test_store/test_store_auditable.py ........................ [ 59%] 454s test/test_store/test_store_berkeleydb.py ssssss [ 59%] 454s test/test_store/test_store_memorystore.py .. [ 59%] 455s test/test_store/test_store_sparqlstore.py ......... [ 59%] 455s test/test_store/test_store_sparqlstore_query.py .... [ 59%] 455s test/test_store/test_store_sparqlstore_sparqlconnector.py .. [ 59%] 455s test/test_store/test_store_sparqlupdatestore_mock.py ... [ 59%] 455s test/test_store/test_store_triple_store.py ... [ 59%] 457s test/test_tools/test_chunk_serializer.py ........... [ 59%] 457s test/test_tools/test_csv2rdf.py .. [ 59%] 457s test/test_trig.py ............ [ 60%] 457s test/test_turtle_quoting.py ............................................ [ 60%] 457s ........................................................................ [ 61%] 457s ........................................................................ [ 62%] 457s ........................................................................ [ 63%] 457s ........................................................................ [ 64%] 457s ........................................................................ [ 65%] 457s ........................................................................ [ 66%] 457s ........................................................................ [ 67%] 457s ........................................................................ [ 68%] 457s ................. [ 68%] 457s test/test_turtle_sort_issue613.py .. [ 68%] 457s test/test_typing.py . [ 68%] 457s test/test_util.py ..............................................xxx..... [ 69%] 457s ............................... [ 69%] 457s test/test_w3c_spec/test_n3_w3c.py ......x...................x........... [ 70%] 457s ...........xxxxxxxxxx........xxxxxxxxxxxxx.............................. [ 70%] 457s .x.x.xx.........xxx..x.x................................................ [ 71%] 457s ..............................................................x......... [ 72%] 458s ................x................. [ 73%] 458s test/test_w3c_spec/test_nquads_w3c.py .................................. [ 73%] 458s ..xxxx.........xxs................................. [ 74%] 458s test/test_w3c_spec/test_nt_w3c.py ...................xxxx.........xxx... [ 74%] 458s .............................x [ 75%] 458s test/test_w3c_spec/test_rdfxml_w3c.py .................................. [ 75%] 459s ........................................................................ [ 76%] 459s ............................................................... [ 77%] 459s test/test_w3c_spec/test_sparql10_w3c.py ..................ss............ [ 77%] 460s ...........Xx..............................x............................ [ 78%] 461s ....................................................x................... [ 79%] 462s ........................................................................ [ 80%] 466s ......................s.........................x......x..x............. [ 81%] 469s .................x............x......................................... [ 82%] 470s ........................x..............xxx...xxxxxxxx... [ 83%] 470s test/test_w3c_spec/test_sparql11_w3c.py ...............x.xxxx........... [ 83%] 471s .x...................................................................... [ 84%] 472s .............................x...x....x...xxxxxxx.xxx.....xxxxx......... [ 85%] 474s ..xx......xxxx..xxxxxxxxxxxxxxxx.....x.x................................ [ 86%] 475s ..............................xx........................................ [ 87%] 476s ...........xsssssss..................................................... [ 88%] 476s .xxx.............xxx..x................................................. [ 89%] 478s .................xx.....xxx.x.................ssssssssssssssssssssssssss [ 90%] 478s sssssssssss [ 90%] 479s test/test_w3c_spec/test_sparql_rdflib.py .........................xxxx [ 90%] 479s test/test_w3c_spec/test_trig_w3c.py ....xxxx............................ [ 91%] 479s ........................................................................ [ 92%] 479s ....x................................................................... [ 93%] 480s ........xxxxx..........xxxx...xx..xx.x.........x.xxxx..xxx........xx.... [ 94%] 480s ..............................xxxx.x.......xxxx......................... [ 95%] 480s ........... [ 95%] 480s test/test_w3c_spec/test_turtle_w3c.py .................................. [ 95%] 481s ...................................................................x.... [ 96%] 481s .......................................................................x [ 97%] 481s xxxx...........xxxx...xx..xx.x.............xxxx..xxx........xx.......... [ 98%] 481s ........................xxxx.x........... [ 99%] 482s test/utils/test/test_httpservermock.py .. [ 99%] 482s test/utils/test/test_iri.py ......... [ 99%] 482s test/utils/test/test_outcome.py ......... [ 99%] 482s test/utils/test/test_result.py ........... [ 99%] 484s test/utils/test/test_testutils.py ................................. [100%] 484s 484s =================================== FAILURES =================================== 484s __ test_literal_addsub[2006-07-01T20:52:00-2006-11-01T12:50:00-bminusa-P123D] __ 484s 484s a = rdflib.term.Literal('2006-07-01T20:52:00', datatype=rdflib.term.URIRef('http://www.w3.org/2001/XMLSchema#date')) 484s b = rdflib.term.Literal('2006-11-01T12:50:00', datatype=rdflib.term.URIRef('http://www.w3.org/2001/XMLSchema#date')) 484s op = 'bminusa' 484s expected_result = rdflib.term.Literal('P123D', datatype=rdflib.term.URIRef('http://www.w3.org/2001/XMLSchema#duration')) 484s 484s @pytest.mark.parametrize( 484s "a, b, op, expected_result", 484s [ 484s pytest.param( 484s Literal("20:00:00", datatype=_XSD_STRING), 484s Literal("23:30:00", datatype=_XSD_STRING), 484s "bminusa", 484s TypeError(r"unsupported operand type\(s\) for -: 'str' and 'str'"), 484s id="Attempt to subtract strings", 484s ), 484s pytest.param( 484s Literal("20:00:00", datatype=_XSD_TIME), 484s Literal("23:30:00", datatype=_XSD_STRING), 484s "aplusb", 484s TypeError( 484s "Cannot add a Literal of datatype http://www.w3.org/2001/XMLSchema#string to a Literal of datatype http://www.w3.org/2001/XMLSchema#time" 484s ), 484s id="Attempt to add string to time", 484s ), 484s pytest.param( 484s Literal("20:00:00", datatype=_XSD_TIME), 484s Literal("23:30:00", datatype=_XSD_STRING), 484s "bminusa", 484s TypeError( 484s "Cannot subtract a Literal of datatype http://www.w3.org/2001/XMLSchema#time from a Literal of datatype http://www.w3.org/2001/XMLSchema#string" 484s ), 484s id="Attempt to subtract string from time", 484s ), 484s pytest.param( 484s Literal("20:52:00", datatype=_XSD_TIME), 484s Literal("12", datatype=_XSD_INTEGER), 484s "aplusb", 484s TypeError( 484s "Cannot add a Literal of datatype http://www.w3.org/2001/XMLSchema#integer to a Literal of datatype http://www.w3.org/2001/XMLSchema#time" 484s ), 484s id="Attempt to add integer to time", 484s ), 484s pytest.param( 484s Literal("20:52:00", datatype=_XSD_TIME), 484s Literal("12", datatype=_XSD_INTEGER), 484s "bplusa", 484s TypeError( 484s "Cannot add a Literal of datatype http://www.w3.org/2001/XMLSchema#time to a Literal of datatype http://www.w3.org/2001/XMLSchema#integer" 484s ), 484s id="Attempt to add time to integer", 484s ), 484s pytest.param( 484s Literal("20:52:00", datatype=_XSD_TIME), 484s Literal("12", datatype=_XSD_INTEGER), 484s "aminusb", 484s TypeError( 484s "Cannot subtract a Literal of datatype http://www.w3.org/2001/XMLSchema#integer from a Literal of datatype http://www.w3.org/2001/XMLSchema#time" 484s ), 484s id="Attempt to subtract integer from time", 484s ), 484s pytest.param( 484s Literal("20:52:00", datatype=_XSD_TIME), 484s Literal("12", datatype=_XSD_INTEGER), 484s "bminusa", 484s TypeError( 484s "Cannot subtract a Literal of datatype http://www.w3.org/2001/XMLSchema#time from a Literal of datatype http://www.w3.org/2001/XMLSchema#integer" 484s ), 484s id="Attempt to subtract time from integer", 484s ), 484s pytest.param( 484s Literal("12", datatype=_XSD_INTEGER), 484s Literal("P122DT15H58M", datatype=_XSD_DURATION), 484s "aplusb", 484s TypeError( 484s "Cannot add a Literal of datatype http://www.w3.org/2001/XMLSchema#duration to a Literal of datatype http://www.w3.org/2001/XMLSchema#integer" 484s ), 484s id="Attempt to add duration to integer", 484s ), 484s pytest.param( 484s Literal("12", datatype=_XSD_INTEGER), 484s Literal("P122DT15H58M", datatype=_XSD_DURATION), 484s "bplusa", 484s TypeError( 484s "Cannot add a Literal of datatype http://www.w3.org/2001/XMLSchema#integer to a Literal of datatype http://www.w3.org/2001/XMLSchema#duration" 484s ), 484s id="Attempt to add integer to duration", 484s ), 484s pytest.param( 484s Literal("12", datatype=_XSD_INTEGER), 484s Literal("P122DT15H58M", datatype=_XSD_DURATION), 484s "aminusb", 484s TypeError( 484s "Cannot subtract a Literal of datatype http://www.w3.org/2001/XMLSchema#duration from a Literal of datatype http://www.w3.org/2001/XMLSchema#integer" 484s ), 484s id="Attempt to subtract duration from integer", 484s ), 484s pytest.param( 484s Literal("12", datatype=_XSD_INTEGER), 484s Literal("P122DT15H58M", datatype=_XSD_DURATION), 484s "bminusa", 484s TypeError( 484s "Cannot subtract a Literal of datatype http://www.w3.org/2001/XMLSchema#integer from a Literal of datatype http://www.w3.org/2001/XMLSchema#duration" 484s ), 484s id="Attempt to subtract integer from duration", 484s ), 484s ( 484s Literal("2006-01-01T20:50:00", datatype=_XSD_DATETIME), 484s Literal("2006-02-01T20:50:00", datatype=_XSD_DATETIME), 484s "bminusa", 484s Literal("P31D", datatype=_XSD_DURATION), 484s ), 484s ( 484s Literal("2006-01-02T20:50:00", datatype=_XSD_DATETIME), 484s Literal("2006-05-01T20:50:00", datatype=_XSD_DATETIME), 484s "bminusa", 484s Literal("P119D", datatype=_XSD_DURATION), 484s ), 484s ( 484s Literal("2006-07-01T20:52:00", datatype=_XSD_DATETIME), 484s Literal("2006-11-01T12:50:00", datatype=_XSD_DATETIME), 484s "aminusb", 484s Literal("-P122DT15H58M", datatype=_XSD_DURATION), 484s ), 484s ( 484s Literal("2006-07-01T20:52:00", datatype=_XSD_DATETIME), 484s Literal("2006-11-01T12:50:00", datatype=_XSD_DATETIME), 484s "bminusa", 484s Literal("P122DT15H58M", datatype=_XSD_DURATION), 484s ), 484s ( 484s Literal("2006-07-01T20:52:00", datatype=_XSD_DATE), 484s Literal("2006-11-01T12:50:00", datatype=_XSD_DATE), 484s "bminusa", 484s Literal("P123D", datatype=_XSD_DURATION), 484s ), 484s ( 484s Literal("2006-08-01", datatype=_XSD_DATE), 484s Literal("2006-11-01", datatype=_XSD_DATE), 484s "bminusa", 484s Literal("P92D", datatype=_XSD_DURATION), 484s ), 484s ( 484s Literal("20:52:00", datatype=_XSD_TIME), 484s Literal("12:50:00", datatype=_XSD_TIME), 484s "bminusa", 484s Literal("-PT8H2M", datatype=_XSD_DURATION), 484s ), 484s ( 484s Literal("20:00:00", datatype=_XSD_TIME), 484s Literal("23:30:00", datatype=_XSD_TIME), 484s "bminusa", 484s Literal("PT3H30M", datatype=_XSD_DURATION), 484s ), 484s ( 484s Literal("2006-01-01T20:50:00", datatype=_XSD_DATETIME), 484s Literal("P31D", datatype=_XSD_DURATION), 484s "aplusb", 484s Literal("2006-02-01T20:50:00", datatype=_XSD_DATETIME), 484s ), 484s ( 484s Literal("2006-01-02T20:50:00", datatype=_XSD_DATETIME), 484s Literal("P119D", datatype=_XSD_DURATION), 484s "aplusb", 484s Literal("2006-05-01T20:50:00", datatype=_XSD_DATETIME), 484s ), 484s ( 484s Literal("2006-07-01T20:52:00", datatype=_XSD_DATETIME), 484s Literal("P122DT15H58M", datatype=_XSD_DURATION), 484s "aplusb", 484s Literal("2006-11-01T12:50:00", datatype=_XSD_DATETIME), 484s ), 484s ( 484s Literal("2006-07-01T20:52:00", datatype=_XSD_DATE), 484s Literal("P123D", datatype=_XSD_DURATION), 484s "aplusb", 484s Literal("2006-11-01T12:50:00", datatype=_XSD_DATE), 484s ), 484s ( 484s Literal("2006-08-01", datatype=_XSD_DATE), 484s Literal("P92D", datatype=_XSD_DURATION), 484s "aplusb", 484s Literal("2006-11-01", datatype=_XSD_DATE), 484s ), 484s ( 484s Literal("20:52:00", datatype=_XSD_TIME), 484s Literal("-PT8H2M", datatype=_XSD_DURATION), 484s "aplusb", 484s Literal("12:50:00", datatype=_XSD_TIME), 484s ), 484s ( 484s Literal("20:00:00", datatype=_XSD_TIME), 484s Literal("PT3H30M", datatype=_XSD_DURATION), 484s "aplusb", 484s Literal("23:30:00", datatype=_XSD_TIME), 484s ), 484s ( 484s Literal("3", datatype=_XSD_INTEGER), 484s Literal("5", datatype=_XSD_INTEGER), 484s "aplusb", 484s Literal("8", datatype=_XSD_INTEGER), 484s ), 484s ( 484s Literal("3", datatype=_XSD_INTEGER), 484s Literal("5", datatype=_XSD_INTEGER), 484s "bminusa", 484s Literal("2", datatype=_XSD_INTEGER), 484s ), 484s ( 484s Literal("5.3", datatype=_XSD_FLOAT), 484s Literal("8.5", datatype=_XSD_FLOAT), 484s "bminusa", 484s Literal("3.2", datatype=_XSD_FLOAT), 484s ), 484s ( 484s Literal("5.3", datatype=_XSD_DECIMAL), 484s Literal("8.5", datatype=_XSD_DECIMAL), 484s "bminusa", 484s Literal("3.2", datatype=_XSD_DECIMAL), 484s ), 484s ( 484s Literal("5.3", datatype=_XSD_DOUBLE), 484s Literal("8.5", datatype=_XSD_DOUBLE), 484s "aminusb", 484s Literal("-3.2", datatype=_XSD_DOUBLE), 484s ), 484s ( 484s Literal("8.5", datatype=_XSD_DOUBLE), 484s Literal("5.3", datatype=_XSD_DOUBLE), 484s "aminusb", 484s Literal("3.2", datatype=_XSD_DOUBLE), 484s ), 484s ( 484s Literal(isodate.Duration(hours=1)), 484s Literal(isodate.Duration(hours=1)), 484s "aplusb", 484s Literal(isodate.Duration(hours=2)), 484s ), 484s ( 484s Literal(datetime.timedelta(days=1)), 484s Literal(datetime.timedelta(days=1)), 484s "aplusb", 484s Literal(datetime.timedelta(days=2)), 484s ), 484s ( 484s Literal(datetime.time.fromisoformat("04:23:01.000384")), 484s Literal(isodate.Duration(hours=1)), 484s "aplusb", 484s Literal("05:23:01.000384", datatype=XSD.time), 484s ), 484s ( 484s Literal(datetime.date.fromisoformat("2011-11-04")), 484s Literal(isodate.Duration(days=1)), 484s "aplusb", 484s Literal("2011-11-05", datatype=XSD.date), 484s ), 484s ( 484s Literal(datetime.datetime.fromisoformat("2011-11-04 00:05:23.283+00:00")), 484s Literal(isodate.Duration(days=1)), 484s "aplusb", 484s Literal("2011-11-05T00:05:23.283000+00:00", datatype=XSD.dateTime), 484s ), 484s ( 484s Literal(datetime.time.fromisoformat("04:23:01.000384")), 484s Literal(datetime.timedelta(hours=1)), 484s "aplusb", 484s Literal("05:23:01.000384", datatype=XSD.time), 484s ), 484s ( 484s Literal(datetime.date.fromisoformat("2011-11-04")), 484s Literal(datetime.timedelta(days=1)), 484s "aplusb", 484s Literal("2011-11-05", datatype=XSD.date), 484s ), 484s ( 484s Literal(datetime.datetime.fromisoformat("2011-11-04 00:05:23.283+00:00")), 484s Literal(datetime.timedelta(days=1)), 484s "aplusb", 484s Literal("2011-11-05T00:05:23.283000+00:00", datatype=XSD.dateTime), 484s ), 484s ( 484s Literal(datetime.time.fromisoformat("04:23:01.000384")), 484s Literal(isodate.Duration(hours=1)), 484s "aminusb", 484s Literal("03:23:01.000384", datatype=XSD.time), 484s ), 484s ( 484s Literal(datetime.date.fromisoformat("2011-11-04")), 484s Literal(isodate.Duration(days=1)), 484s "aminusb", 484s Literal("2011-11-03", datatype=XSD.date), 484s ), 484s ( 484s Literal(datetime.datetime.fromisoformat("2011-11-04 00:05:23.283+00:00")), 484s Literal(isodate.Duration(days=1)), 484s "aminusb", 484s Literal("2011-11-03T00:05:23.283000+00:00", datatype=XSD.dateTime), 484s ), 484s ( 484s Literal(datetime.time.fromisoformat("04:23:01.000384")), 484s Literal(datetime.timedelta(hours=1)), 484s "aminusb", 484s Literal("03:23:01.000384", datatype=XSD.time), 484s ), 484s ( 484s Literal(datetime.date.fromisoformat("2011-11-04")), 484s Literal(datetime.timedelta(days=1)), 484s "aminusb", 484s Literal("2011-11-03", datatype=XSD.date), 484s ), 484s ( 484s Literal(datetime.datetime.fromisoformat("2011-11-04 00:05:23.283+00:00")), 484s Literal(datetime.timedelta(days=1)), 484s "aminusb", 484s Literal("2011-11-03T00:05:23.283000+00:00", datatype=XSD.dateTime), 484s ), 484s ( 484s Literal("5", datatype=XSD.integer), 484s Literal("10", datatype=XSD.integer), 484s "bminusa", 484s Literal("5", datatype=XSD.integer), 484s ), 484s ( 484s Literal("5"), 484s Literal("10", datatype=_XSD_INTEGER), 484s "aminusb", 484s TypeError( 484s "Minuend Literal must have Numeric, Date, Datetime or Time datatype." 484s ), 484s ), 484s ( 484s Literal("5"), 484s Literal("10", datatype=_XSD_INTEGER), 484s "bminusa", 484s TypeError( 484s "Subtrahend Literal must have Numeric, Date, Datetime or Time datatype." 484s ), 484s ), 484s *affix_tuples( 484s ( 484s Literal("5", datatype=_XSD_INTEGER), 484s Literal("10", datatype=_XSD_FLOAT), 484s ), 484s [ 484s ("aminusb", Literal("-5", datatype=_XSD_DECIMAL)), 484s ("aplusb", Literal("15", datatype=_XSD_DECIMAL)), 484s ("bminusa", Literal("5", datatype=_XSD_DECIMAL)), 484s ("bplusa", Literal("15", datatype=_XSD_DECIMAL)), 484s ], 484s None, 484s ), 484s *affix_tuples( 484s ( 484s Literal("5", datatype=_XSD_FLOAT), 484s Literal("10", datatype=_XSD_DECIMAL), 484s ), 484s [ 484s ("aminusb", Literal("-5", datatype=_XSD_DECIMAL)), 484s ("aplusb", Literal("15", datatype=_XSD_DECIMAL)), 484s ("bminusa", Literal("5", datatype=_XSD_DECIMAL)), 484s ("bplusa", Literal("15", datatype=_XSD_DECIMAL)), 484s ], 484s None, 484s ), 484s *affix_tuples( 484s ( 484s Literal("5", datatype=_XSD_FLOAT), 484s Literal("10", datatype=_XSD_DOUBLE), 484s ), 484s [ 484s ("aminusb", Literal("-5", datatype=_XSD_DECIMAL)), 484s ("aplusb", Literal("15", datatype=_XSD_DECIMAL)), 484s ("bminusa", Literal("5", datatype=_XSD_DECIMAL)), 484s ("bplusa", Literal("15", datatype=_XSD_DECIMAL)), 484s ], 484s None, 484s ), 484s *affix_tuples( 484s ( 484s Literal(Decimal("1.2121214312312")), 484s Literal(1), 484s ), 484s [ 484s ("aminusb", Literal(Decimal("0.212121"))), 484s ("aplusb", Literal(Decimal("2.212121"))), 484s ("bminusa", Literal(Decimal("-0.212121"))), 484s ("bplusa", Literal(Decimal("2.212121"))), 484s ], 484s None, 484s ), 484s *affix_tuples( 484s ( 484s Literal("P31D", datatype=_XSD_DURATION), 484s Literal("P5D", datatype=_XSD_DURATION), 484s ), 484s [ 484s ("aplusb", Literal("P36D", datatype=_XSD_DURATION)), 484s ("aminusb", Literal("P26D", datatype=_XSD_DURATION)), 484s ], 484s None, 484s ), 484s *affix_tuples( 484s ( 484s Literal("P119D", datatype=_XSD_DURATION), 484s Literal("2006-01-02T20:50:00", datatype=_XSD_DATETIME), 484s ), 484s [ 484s ("aplusb", TypeError(r".*datatype.*")), 484s ("aminusb", TypeError(r".*datatype.*")), 484s ], 484s None, 484s ), 484s *affix_tuples( 484s ( 484s Literal(isodate.Duration(days=4)), 484s Literal(datetime.timedelta(days=1)), 484s ), 484s [ 484s ( 484s "aplusb", 484s TypeError( 484s r"Cannot add a Literal of datatype.*to a Literal of datatype.*" 484s ), 484s ), 484s ( 484s "aminusb", 484s TypeError( 484s r"Cannot subtract a Literal of datatype.*from a Literal of datatype.*" 484s ), 484s ), 484s ], 484s None, 484s ), 484s *affix_tuples( 484s ( 484s Literal(isodate.Duration(days=4)), 484s Literal(isodate.Duration(days=1)), 484s ), 484s [ 484s ("aplusb", Literal(isodate.Duration(days=5))), 484s ("aminusb", Literal(isodate.Duration(days=3))), 484s ], 484s None, 484s ), 484s *affix_tuples( 484s ( 484s Literal(datetime.timedelta(hours=4)), 484s Literal(datetime.timedelta(hours=1)), 484s ), 484s [ 484s ("aplusb", Literal(datetime.timedelta(hours=5))), 484s ("aminusb", Literal(datetime.timedelta(hours=3))), 484s ], 484s None, 484s ), 484s ], 484s ) 484s def test_literal_addsub( 484s a: Literal, 484s b: Literal, 484s op: str, 484s expected_result: OutcomePrimitive[Literal], 484s ) -> None: 484s checker = OutcomeChecker[Literal].from_primitive(expected_result) 484s with checker.context(): 484s if op == "aplusb": 484s result = a + b 484s 484s elif op == "aminusb": 484s result = a - b 484s elif op == "bminusa": 484s > result = b - a 484s 484s test/test_literal/test_literal.py:637: 484s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 484s rdflib/term.py:940: in __sub__ 484s self.toPython() - val.toPython(), 484s rdflib/term.py:940: in __sub__ 484s self.toPython() - val.toPython(), 484s E RecursionError: maximum recursion depth exceeded 484s !!! Recursion detected (same locals & position) 484s __ test_literal_addsub[2006-07-01T20:52:00-P123D-aplusb-2006-11-01T12:50:00] ___ 484s 484s a = rdflib.term.Literal('2006-07-01T20:52:00', datatype=rdflib.term.URIRef('http://www.w3.org/2001/XMLSchema#date')) 484s b = rdflib.term.Literal('P123D', datatype=rdflib.term.URIRef('http://www.w3.org/2001/XMLSchema#duration')) 484s op = 'aplusb' 484s expected_result = rdflib.term.Literal('2006-11-01T12:50:00', datatype=rdflib.term.URIRef('http://www.w3.org/2001/XMLSchema#date')) 484s 484s @pytest.mark.parametrize( 484s "a, b, op, expected_result", 484s [ 484s pytest.param( 484s Literal("20:00:00", datatype=_XSD_STRING), 484s Literal("23:30:00", datatype=_XSD_STRING), 484s "bminusa", 484s TypeError(r"unsupported operand type\(s\) for -: 'str' and 'str'"), 484s id="Attempt to subtract strings", 484s ), 484s pytest.param( 484s Literal("20:00:00", datatype=_XSD_TIME), 484s Literal("23:30:00", datatype=_XSD_STRING), 484s "aplusb", 484s TypeError( 484s "Cannot add a Literal of datatype http://www.w3.org/2001/XMLSchema#string to a Literal of datatype http://www.w3.org/2001/XMLSchema#time" 484s ), 484s id="Attempt to add string to time", 484s ), 484s pytest.param( 484s Literal("20:00:00", datatype=_XSD_TIME), 484s Literal("23:30:00", datatype=_XSD_STRING), 484s "bminusa", 484s TypeError( 484s "Cannot subtract a Literal of datatype http://www.w3.org/2001/XMLSchema#time from a Literal of datatype http://www.w3.org/2001/XMLSchema#string" 484s ), 484s id="Attempt to subtract string from time", 484s ), 484s pytest.param( 484s Literal("20:52:00", datatype=_XSD_TIME), 484s Literal("12", datatype=_XSD_INTEGER), 484s "aplusb", 484s TypeError( 484s "Cannot add a Literal of datatype http://www.w3.org/2001/XMLSchema#integer to a Literal of datatype http://www.w3.org/2001/XMLSchema#time" 484s ), 484s id="Attempt to add integer to time", 484s ), 484s pytest.param( 484s Literal("20:52:00", datatype=_XSD_TIME), 484s Literal("12", datatype=_XSD_INTEGER), 484s "bplusa", 484s TypeError( 484s "Cannot add a Literal of datatype http://www.w3.org/2001/XMLSchema#time to a Literal of datatype http://www.w3.org/2001/XMLSchema#integer" 484s ), 484s id="Attempt to add time to integer", 484s ), 484s pytest.param( 484s Literal("20:52:00", datatype=_XSD_TIME), 484s Literal("12", datatype=_XSD_INTEGER), 484s "aminusb", 484s TypeError( 484s "Cannot subtract a Literal of datatype http://www.w3.org/2001/XMLSchema#integer from a Literal of datatype http://www.w3.org/2001/XMLSchema#time" 484s ), 484s id="Attempt to subtract integer from time", 484s ), 484s pytest.param( 484s Literal("20:52:00", datatype=_XSD_TIME), 484s Literal("12", datatype=_XSD_INTEGER), 484s "bminusa", 484s TypeError( 484s "Cannot subtract a Literal of datatype http://www.w3.org/2001/XMLSchema#time from a Literal of datatype http://www.w3.org/2001/XMLSchema#integer" 484s ), 484s id="Attempt to subtract time from integer", 484s ), 484s pytest.param( 484s Literal("12", datatype=_XSD_INTEGER), 484s Literal("P122DT15H58M", datatype=_XSD_DURATION), 484s "aplusb", 484s TypeError( 484s "Cannot add a Literal of datatype http://www.w3.org/2001/XMLSchema#duration to a Literal of datatype http://www.w3.org/2001/XMLSchema#integer" 484s ), 484s id="Attempt to add duration to integer", 484s ), 484s pytest.param( 484s Literal("12", datatype=_XSD_INTEGER), 484s Literal("P122DT15H58M", datatype=_XSD_DURATION), 484s "bplusa", 484s TypeError( 484s "Cannot add a Literal of datatype http://www.w3.org/2001/XMLSchema#integer to a Literal of datatype http://www.w3.org/2001/XMLSchema#duration" 484s ), 484s id="Attempt to add integer to duration", 484s ), 484s pytest.param( 484s Literal("12", datatype=_XSD_INTEGER), 484s Literal("P122DT15H58M", datatype=_XSD_DURATION), 484s "aminusb", 484s TypeError( 484s "Cannot subtract a Literal of datatype http://www.w3.org/2001/XMLSchema#duration from a Literal of datatype http://www.w3.org/2001/XMLSchema#integer" 484s ), 484s id="Attempt to subtract duration from integer", 484s ), 484s pytest.param( 484s Literal("12", datatype=_XSD_INTEGER), 484s Literal("P122DT15H58M", datatype=_XSD_DURATION), 484s "bminusa", 484s TypeError( 484s "Cannot subtract a Literal of datatype http://www.w3.org/2001/XMLSchema#integer from a Literal of datatype http://www.w3.org/2001/XMLSchema#duration" 484s ), 484s id="Attempt to subtract integer from duration", 484s ), 484s ( 484s Literal("2006-01-01T20:50:00", datatype=_XSD_DATETIME), 484s Literal("2006-02-01T20:50:00", datatype=_XSD_DATETIME), 484s "bminusa", 484s Literal("P31D", datatype=_XSD_DURATION), 484s ), 484s ( 484s Literal("2006-01-02T20:50:00", datatype=_XSD_DATETIME), 484s Literal("2006-05-01T20:50:00", datatype=_XSD_DATETIME), 484s "bminusa", 484s Literal("P119D", datatype=_XSD_DURATION), 484s ), 484s ( 484s Literal("2006-07-01T20:52:00", datatype=_XSD_DATETIME), 484s Literal("2006-11-01T12:50:00", datatype=_XSD_DATETIME), 484s "aminusb", 484s Literal("-P122DT15H58M", datatype=_XSD_DURATION), 484s ), 484s ( 484s Literal("2006-07-01T20:52:00", datatype=_XSD_DATETIME), 484s Literal("2006-11-01T12:50:00", datatype=_XSD_DATETIME), 484s "bminusa", 484s Literal("P122DT15H58M", datatype=_XSD_DURATION), 484s ), 484s ( 484s Literal("2006-07-01T20:52:00", datatype=_XSD_DATE), 484s Literal("2006-11-01T12:50:00", datatype=_XSD_DATE), 484s "bminusa", 484s Literal("P123D", datatype=_XSD_DURATION), 484s ), 484s ( 484s Literal("2006-08-01", datatype=_XSD_DATE), 484s Literal("2006-11-01", datatype=_XSD_DATE), 484s "bminusa", 484s Literal("P92D", datatype=_XSD_DURATION), 484s ), 484s ( 484s Literal("20:52:00", datatype=_XSD_TIME), 484s Literal("12:50:00", datatype=_XSD_TIME), 484s "bminusa", 484s Literal("-PT8H2M", datatype=_XSD_DURATION), 484s ), 484s ( 484s Literal("20:00:00", datatype=_XSD_TIME), 484s Literal("23:30:00", datatype=_XSD_TIME), 484s "bminusa", 484s Literal("PT3H30M", datatype=_XSD_DURATION), 484s ), 484s ( 484s Literal("2006-01-01T20:50:00", datatype=_XSD_DATETIME), 484s Literal("P31D", datatype=_XSD_DURATION), 484s "aplusb", 484s Literal("2006-02-01T20:50:00", datatype=_XSD_DATETIME), 484s ), 484s ( 484s Literal("2006-01-02T20:50:00", datatype=_XSD_DATETIME), 484s Literal("P119D", datatype=_XSD_DURATION), 484s "aplusb", 484s Literal("2006-05-01T20:50:00", datatype=_XSD_DATETIME), 484s ), 484s ( 484s Literal("2006-07-01T20:52:00", datatype=_XSD_DATETIME), 484s Literal("P122DT15H58M", datatype=_XSD_DURATION), 484s "aplusb", 484s Literal("2006-11-01T12:50:00", datatype=_XSD_DATETIME), 484s ), 484s ( 484s Literal("2006-07-01T20:52:00", datatype=_XSD_DATE), 484s Literal("P123D", datatype=_XSD_DURATION), 484s "aplusb", 484s Literal("2006-11-01T12:50:00", datatype=_XSD_DATE), 484s ), 484s ( 484s Literal("2006-08-01", datatype=_XSD_DATE), 484s Literal("P92D", datatype=_XSD_DURATION), 484s "aplusb", 484s Literal("2006-11-01", datatype=_XSD_DATE), 484s ), 484s ( 484s Literal("20:52:00", datatype=_XSD_TIME), 484s Literal("-PT8H2M", datatype=_XSD_DURATION), 484s "aplusb", 484s Literal("12:50:00", datatype=_XSD_TIME), 484s ), 484s ( 484s Literal("20:00:00", datatype=_XSD_TIME), 484s Literal("PT3H30M", datatype=_XSD_DURATION), 484s "aplusb", 484s Literal("23:30:00", datatype=_XSD_TIME), 484s ), 484s ( 484s Literal("3", datatype=_XSD_INTEGER), 484s Literal("5", datatype=_XSD_INTEGER), 484s "aplusb", 484s Literal("8", datatype=_XSD_INTEGER), 484s ), 484s ( 484s Literal("3", datatype=_XSD_INTEGER), 484s Literal("5", datatype=_XSD_INTEGER), 484s "bminusa", 484s Literal("2", datatype=_XSD_INTEGER), 484s ), 484s ( 484s Literal("5.3", datatype=_XSD_FLOAT), 484s Literal("8.5", datatype=_XSD_FLOAT), 484s "bminusa", 484s Literal("3.2", datatype=_XSD_FLOAT), 484s ), 484s ( 484s Literal("5.3", datatype=_XSD_DECIMAL), 484s Literal("8.5", datatype=_XSD_DECIMAL), 484s "bminusa", 484s Literal("3.2", datatype=_XSD_DECIMAL), 484s ), 484s ( 484s Literal("5.3", datatype=_XSD_DOUBLE), 484s Literal("8.5", datatype=_XSD_DOUBLE), 484s "aminusb", 484s Literal("-3.2", datatype=_XSD_DOUBLE), 484s ), 484s ( 484s Literal("8.5", datatype=_XSD_DOUBLE), 484s Literal("5.3", datatype=_XSD_DOUBLE), 484s "aminusb", 484s Literal("3.2", datatype=_XSD_DOUBLE), 484s ), 484s ( 484s Literal(isodate.Duration(hours=1)), 484s Literal(isodate.Duration(hours=1)), 484s "aplusb", 484s Literal(isodate.Duration(hours=2)), 484s ), 484s ( 484s Literal(datetime.timedelta(days=1)), 484s Literal(datetime.timedelta(days=1)), 484s "aplusb", 484s Literal(datetime.timedelta(days=2)), 484s ), 484s ( 484s Literal(datetime.time.fromisoformat("04:23:01.000384")), 484s Literal(isodate.Duration(hours=1)), 484s "aplusb", 484s Literal("05:23:01.000384", datatype=XSD.time), 484s ), 484s ( 484s Literal(datetime.date.fromisoformat("2011-11-04")), 484s Literal(isodate.Duration(days=1)), 484s "aplusb", 484s Literal("2011-11-05", datatype=XSD.date), 484s ), 484s ( 484s Literal(datetime.datetime.fromisoformat("2011-11-04 00:05:23.283+00:00")), 484s Literal(isodate.Duration(days=1)), 484s "aplusb", 484s Literal("2011-11-05T00:05:23.283000+00:00", datatype=XSD.dateTime), 484s ), 484s ( 484s Literal(datetime.time.fromisoformat("04:23:01.000384")), 484s Literal(datetime.timedelta(hours=1)), 484s "aplusb", 484s Literal("05:23:01.000384", datatype=XSD.time), 484s ), 484s ( 484s Literal(datetime.date.fromisoformat("2011-11-04")), 484s Literal(datetime.timedelta(days=1)), 484s "aplusb", 484s Literal("2011-11-05", datatype=XSD.date), 484s ), 484s ( 484s Literal(datetime.datetime.fromisoformat("2011-11-04 00:05:23.283+00:00")), 484s Literal(datetime.timedelta(days=1)), 484s "aplusb", 484s Literal("2011-11-05T00:05:23.283000+00:00", datatype=XSD.dateTime), 484s ), 484s ( 484s Literal(datetime.time.fromisoformat("04:23:01.000384")), 484s Literal(isodate.Duration(hours=1)), 484s "aminusb", 484s Literal("03:23:01.000384", datatype=XSD.time), 484s ), 484s ( 484s Literal(datetime.date.fromisoformat("2011-11-04")), 484s Literal(isodate.Duration(days=1)), 484s "aminusb", 484s Literal("2011-11-03", datatype=XSD.date), 484s ), 484s ( 484s Literal(datetime.datetime.fromisoformat("2011-11-04 00:05:23.283+00:00")), 484s Literal(isodate.Duration(days=1)), 484s "aminusb", 484s Literal("2011-11-03T00:05:23.283000+00:00", datatype=XSD.dateTime), 484s ), 484s ( 484s Literal(datetime.time.fromisoformat("04:23:01.000384")), 484s Literal(datetime.timedelta(hours=1)), 484s "aminusb", 484s Literal("03:23:01.000384", datatype=XSD.time), 484s ), 484s ( 484s Literal(datetime.date.fromisoformat("2011-11-04")), 484s Literal(datetime.timedelta(days=1)), 484s "aminusb", 484s Literal("2011-11-03", datatype=XSD.date), 484s ), 484s ( 484s Literal(datetime.datetime.fromisoformat("2011-11-04 00:05:23.283+00:00")), 484s Literal(datetime.timedelta(days=1)), 484s "aminusb", 484s Literal("2011-11-03T00:05:23.283000+00:00", datatype=XSD.dateTime), 484s ), 484s ( 484s Literal("5", datatype=XSD.integer), 484s Literal("10", datatype=XSD.integer), 484s "bminusa", 484s Literal("5", datatype=XSD.integer), 484s ), 484s ( 484s Literal("5"), 484s Literal("10", datatype=_XSD_INTEGER), 484s "aminusb", 484s TypeError( 484s "Minuend Literal must have Numeric, Date, Datetime or Time datatype." 484s ), 484s ), 484s ( 484s Literal("5"), 484s Literal("10", datatype=_XSD_INTEGER), 484s "bminusa", 484s TypeError( 484s "Subtrahend Literal must have Numeric, Date, Datetime or Time datatype." 484s ), 484s ), 484s *affix_tuples( 484s ( 484s Literal("5", datatype=_XSD_INTEGER), 484s Literal("10", datatype=_XSD_FLOAT), 484s ), 484s [ 484s ("aminusb", Literal("-5", datatype=_XSD_DECIMAL)), 484s ("aplusb", Literal("15", datatype=_XSD_DECIMAL)), 484s ("bminusa", Literal("5", datatype=_XSD_DECIMAL)), 484s ("bplusa", Literal("15", datatype=_XSD_DECIMAL)), 484s ], 484s None, 484s ), 484s *affix_tuples( 484s ( 484s Literal("5", datatype=_XSD_FLOAT), 484s Literal("10", datatype=_XSD_DECIMAL), 484s ), 484s [ 484s ("aminusb", Literal("-5", datatype=_XSD_DECIMAL)), 484s ("aplusb", Literal("15", datatype=_XSD_DECIMAL)), 484s ("bminusa", Literal("5", datatype=_XSD_DECIMAL)), 484s ("bplusa", Literal("15", datatype=_XSD_DECIMAL)), 484s ], 484s None, 484s ), 484s *affix_tuples( 484s ( 484s Literal("5", datatype=_XSD_FLOAT), 484s Literal("10", datatype=_XSD_DOUBLE), 484s ), 484s [ 484s ("aminusb", Literal("-5", datatype=_XSD_DECIMAL)), 484s ("aplusb", Literal("15", datatype=_XSD_DECIMAL)), 484s ("bminusa", Literal("5", datatype=_XSD_DECIMAL)), 484s ("bplusa", Literal("15", datatype=_XSD_DECIMAL)), 484s ], 484s None, 484s ), 484s *affix_tuples( 484s ( 484s Literal(Decimal("1.2121214312312")), 484s Literal(1), 484s ), 484s [ 484s ("aminusb", Literal(Decimal("0.212121"))), 484s ("aplusb", Literal(Decimal("2.212121"))), 484s ("bminusa", Literal(Decimal("-0.212121"))), 484s ("bplusa", Literal(Decimal("2.212121"))), 484s ], 484s None, 484s ), 484s *affix_tuples( 484s ( 484s Literal("P31D", datatype=_XSD_DURATION), 484s Literal("P5D", datatype=_XSD_DURATION), 484s ), 484s [ 484s ("aplusb", Literal("P36D", datatype=_XSD_DURATION)), 484s ("aminusb", Literal("P26D", datatype=_XSD_DURATION)), 484s ], 484s None, 484s ), 484s *affix_tuples( 484s ( 484s Literal("P119D", datatype=_XSD_DURATION), 484s Literal("2006-01-02T20:50:00", datatype=_XSD_DATETIME), 484s ), 484s [ 484s ("aplusb", TypeError(r".*datatype.*")), 484s ("aminusb", TypeError(r".*datatype.*")), 484s ], 484s None, 484s ), 484s *affix_tuples( 484s ( 484s Literal(isodate.Duration(days=4)), 484s Literal(datetime.timedelta(days=1)), 484s ), 484s [ 484s ( 484s "aplusb", 484s TypeError( 484s r"Cannot add a Literal of datatype.*to a Literal of datatype.*" 484s ), 484s ), 484s ( 484s "aminusb", 484s TypeError( 484s r"Cannot subtract a Literal of datatype.*from a Literal of datatype.*" 484s ), 484s ), 484s ], 484s None, 484s ), 484s *affix_tuples( 484s ( 484s Literal(isodate.Duration(days=4)), 484s Literal(isodate.Duration(days=1)), 484s ), 484s [ 484s ("aplusb", Literal(isodate.Duration(days=5))), 484s ("aminusb", Literal(isodate.Duration(days=3))), 484s ], 484s None, 484s ), 484s *affix_tuples( 484s ( 484s Literal(datetime.timedelta(hours=4)), 484s Literal(datetime.timedelta(hours=1)), 484s ), 484s [ 484s ("aplusb", Literal(datetime.timedelta(hours=5))), 484s ("aminusb", Literal(datetime.timedelta(hours=3))), 484s ], 484s None, 484s ), 484s ], 484s ) 484s def test_literal_addsub( 484s a: Literal, 484s b: Literal, 484s op: str, 484s expected_result: OutcomePrimitive[Literal], 484s ) -> None: 484s checker = OutcomeChecker[Literal].from_primitive(expected_result) 484s with checker.context(): 484s if op == "aplusb": 484s > result = a + b 484s 484s test/test_literal/test_literal.py:632: 484s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 484s rdflib/term.py:797: in __add__ 484s difference = date1 + duration 484s rdflib/term.py:797: in __add__ 484s difference = date1 + duration 484s rdflib/term.py:797: in __add__ 484s difference = date1 + duration 484s E RecursionError: maximum recursion depth exceeded 484s !!! Recursion detected (same locals & position) 484s =============================== warnings summary =============================== 484s test/test_issues/test_issue200.py::TestRandomSeedInFork::test_bnode_id_differs_in_fork 484s /tmp/autopkgtest.56N0Yx/build.xNT/src/test/test_issues/test_issue200.py:22: DeprecationWarning: This process (pid=1730) is multi-threaded, use of fork() may lead to deadlocks in the child. 484s pid = os.fork() 484s 484s test/test_literal/test_literal.py::test_ill_typed_literals[yes-http://www.w3.org/2001/XMLSchema#boolean-True] 484s /tmp/autopkgtest.56N0Yx/build.xNT/src/rdflib/term.py:1719: UserWarning: Parsing weird boolean, 'yes' does not map to True or False 484s warnings.warn( 484s 484s test/test_namespace/test_definednamespace.py::test_inspect[DFNSDefaults] 484s /usr/lib/python3.12/inspect.py:2563: UserWarning: Code: _partialmethod is not defined in namespace DFNSDefaults 484s partialmethod = obj._partialmethod 484s 484s test/test_namespace/test_definednamespace.py::test_inspect[DFNSWarnNoFail] 484s /usr/lib/python3.12/inspect.py:2563: UserWarning: Code: _partialmethod is not defined in namespace DFNSWarnNoFail 484s partialmethod = obj._partialmethod 484s 484s test/test_namespace/test_definednamespace.py::test_inspect[DFNSDefaultsEmpty] 484s /usr/lib/python3.12/inspect.py:2563: UserWarning: Code: _partialmethod is not defined in namespace DFNSDefaultsEmpty 484s partialmethod = obj._partialmethod 484s 484s test/test_namespace/test_namespace.py::TestNamespacePrefix::test_closed_namespace 484s /tmp/autopkgtest.56N0Yx/build.xNT/src/test/test_namespace/test_namespace.py:228: UserWarning: DefinedNamespace does not address deprecated properties 484s warn("DefinedNamespace does not address deprecated properties") 484s 484s test/test_parsers/test_n3parse_of_rdf_lists.py::TestOWLCollectionTest::test_collection_rdfxml 484s /tmp/autopkgtest.56N0Yx/build.xNT/src/rdflib/plugins/serializers/rdfxml.py:280: UserWarning: Assertions on rdflib.term.BNode('N36a7ea62f964427fbac55c801b1b0765') other than RDF.first and RDF.rest are ignored ... including RDF.List 484s self.predicate(predicate, object, depth + 1) 484s 484s test/test_roundtrip.py: 12 warnings 484s /tmp/autopkgtest.56N0Yx/build.xNT/src/rdflib/term.py:1585: UserWarning: Serializing weird numerical rdflib.term.Literal('xy.z', datatype=rdflib.term.URIRef('http://www.w3.org/2001/XMLSchema#double')) 484s warnings.warn("Serializing weird numerical %r" % self) 484s 484s test/test_roundtrip.py: 12 warnings 484s /tmp/autopkgtest.56N0Yx/build.xNT/src/rdflib/term.py:1585: UserWarning: Serializing weird numerical rdflib.term.Literal('+1.0z', datatype=rdflib.term.URIRef('http://www.w3.org/2001/XMLSchema#double')) 484s warnings.warn("Serializing weird numerical %r" % self) 484s 484s test/test_roundtrip.py: 12 warnings 484s /tmp/autopkgtest.56N0Yx/build.xNT/src/rdflib/term.py:1585: UserWarning: Serializing weird numerical rdflib.term.Literal('ab.c', datatype=rdflib.term.URIRef('http://www.w3.org/2001/XMLSchema#double')) 484s warnings.warn("Serializing weird numerical %r" % self) 484s 484s test/test_serializers/test_serializer.py: 10 warnings 484s test/test_tools/test_chunk_serializer.py: 4 warnings 484s /tmp/autopkgtest.56N0Yx/build.xNT/src/rdflib/plugins/serializers/nt.py:40: UserWarning: NTSerializer always uses UTF-8 encoding. Given encoding was: None 484s warnings.warn( 484s 484s test/test_util.py::TestUtilTermConvert::test_util_from_n3_expectliteralandlangdtype 484s /usr/lib/python3/dist-packages/_pytest/python.py:159: UserWarning: Code: fr is not defined in namespace XSD 484s result = testfunction(**testargs) 484s 484s test/test_util.py::TestUtilTermConvert::test_util_from_n3_not_escapes[\\I] 484s /tmp/autopkgtest.56N0Yx/build.xNT/src/rdflib/util.py:213: DeprecationWarning: invalid escape sequence '\I' 484s value = value.encode("raw-unicode-escape").decode("unicode-escape") 484s 484s test/test_w3c_spec/test_sparql10_w3c.py: 15 warnings 484s test/test_w3c_spec/test_sparql11_w3c.py: 44 warnings 484s /tmp/autopkgtest.56N0Yx/build.xNT/src/rdflib/term.py:1161: DeprecationWarning: NotImplemented should not be used in a boolean context 484s return not self.__gt__(other) and not self.eq(other) 484s 484s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 484s =========================== short test summary info ============================ 484s FAILED test/test_literal/test_literal.py::test_literal_addsub[2006-07-01T20:52:00-2006-11-01T12:50:00-bminusa-P123D] 484s FAILED test/test_literal/test_literal.py::test_literal_addsub[2006-07-01T20:52:00-P123D-aplusb-2006-11-01T12:50:00] 484s = 2 failed, 7199 passed, 58 skipped, 1 deselected, 369 xfailed, 1 xpassed, 118 warnings in 88.80s (0:01:28) = 486s autopkgtest [15:00:19]: test python3: -----------------------] 486s python3 FAIL non-zero exit status 1 486s autopkgtest [15:00:19]: test python3: - - - - - - - - - - results - - - - - - - - - - 487s autopkgtest [15:00:20]: @@@@@@@@@@@@@@@@@@@@ summary 487s python3 FAIL non-zero exit status 1 499s nova [W] Skipping flock in bos03-arm64 499s Creating nova instance adt-plucky-arm64-rdflib-20241109-145212-juju-7f2275-prod-proposed-migration-environment-15-a4af3821-4c1c-4b04-be65-c916a8936c45 from image adt/ubuntu-plucky-arm64-server-20241108.img (UUID 078531dc-7060-4700-ae1a-b631769d5369)...