0s autopkgtest [00:55:11]: starting date and time: 2024-11-02 00:55:11+0000 0s autopkgtest [00:55:11]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [00:55:11]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.7o_cno7_/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src:isodate --apt-upgrade rdflib --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=isodate/0.7.0-1 -- lxd -r lxd-armhf-10.145.243.9 lxd-armhf-10.145.243.9:autopkgtest/ubuntu/plucky/armhf 51s autopkgtest [00:56:02]: testbed dpkg architecture: armhf 53s autopkgtest [00:56:04]: testbed apt version: 2.9.8 53s autopkgtest [00:56:04]: @@@@@@@@@@@@@@@@@@@@ test bed setup 61s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 61s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [41.0 kB] 61s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 61s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [175 kB] 61s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [2625 kB] 62s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [207 kB] 62s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [1852 kB] 62s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [31.2 kB] 62s Fetched 5012 kB in 1s (3497 kB/s) 62s Reading package lists... 79s tee: /proc/self/fd/2: Permission denied 101s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 101s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 101s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 101s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 103s Reading package lists... 103s Reading package lists... 103s Building dependency tree... 103s Reading state information... 104s Calculating upgrade... 104s The following packages were automatically installed and are no longer required: 104s libperl5.38t64 perl-modules-5.38 104s Use 'apt autoremove' to remove them. 104s The following NEW packages will be installed: 104s libperl5.40 perl-modules-5.40 104s The following packages will be upgraded: 104s base-files distro-info-data fwupd gcc-14-base info install-info iproute2 104s libatomic1 libblockdev-crypto3 libblockdev-fs3 libblockdev-loop3 104s libblockdev-mdraid3 libblockdev-nvme3 libblockdev-part3 libblockdev-swap3 104s libblockdev-utils3 libblockdev3 libdb5.3t64 libdw1t64 libelf1t64 libevdev2 104s libftdi1-2 libfwupd2 libgcc-s1 libinih1 libkeyutils1 liblocale-gettext-perl 104s libpipeline1 libsgutils2-1.46-2 libstdc++6 libtext-charwidth-perl 104s libtext-iconv-perl motd-news-config nano perl perl-base python3-configobj 104s python3-json-pointer python3-lazr.uri sg3-utils sg3-utils-udev vim-common 105s vim-tiny xxd 105s 44 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 105s Need to get 19.6 MB of archives. 105s After this operation, 42.8 MB of additional disk space will be used. 105s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf motd-news-config all 13.5ubuntu2 [5274 B] 105s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf base-files armhf 13.5ubuntu2 [68.6 kB] 105s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf perl-modules-5.40 all 5.40.0-6 [3214 kB] 105s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libperl5.40 armhf 5.40.0-6 [4140 kB] 106s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf perl armhf 5.40.0-6 [262 kB] 106s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf perl-base armhf 5.40.0-6 [1674 kB] 106s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf liblocale-gettext-perl armhf 1.07-7build1 [15.0 kB] 106s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf libtext-iconv-perl armhf 1.7-8build4 [12.8 kB] 106s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf libtext-charwidth-perl armhf 0.04-11build4 [9128 B] 106s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf libdb5.3t64 armhf 5.3.28+dfsg2-9 [655 kB] 106s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf libatomic1 armhf 14.2.0-7ubuntu1 [7842 B] 106s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-base armhf 14.2.0-7ubuntu1 [51.2 kB] 106s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++6 armhf 14.2.0-7ubuntu1 [711 kB] 106s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-s1 armhf 14.2.0-7ubuntu1 [40.8 kB] 106s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf install-info armhf 7.1.1-1 [61.4 kB] 106s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf distro-info-data all 0.63 [6588 B] 106s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf libdw1t64 armhf 0.192-4 [243 kB] 106s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf libelf1t64 armhf 0.192-4 [50.2 kB] 106s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf iproute2 armhf 6.10.0-2ubuntu1 [1082 kB] 106s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf libkeyutils1 armhf 1.6.3-4ubuntu2 [8712 B] 106s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf vim-tiny armhf 2:9.1.0777-1ubuntu1 [693 kB] 106s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf vim-common all 2:9.1.0777-1ubuntu1 [394 kB] 106s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf xxd armhf 2:9.1.0777-1ubuntu1 [66.8 kB] 106s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf info armhf 7.1.1-1 [126 kB] 106s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf libevdev2 armhf 1.13.3+dfsg-1 [29.7 kB] 106s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf libpipeline1 armhf 1.5.8-1 [26.9 kB] 106s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf nano armhf 8.2-1 [276 kB] 106s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf libfwupd2 armhf 1.9.26-2 [125 kB] 107s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf fwupd armhf 1.9.26-2 [4404 kB] 107s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-utils3 armhf 3.2.0-2 [17.4 kB] 107s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-crypto3 armhf 3.2.0-2 [22.3 kB] 107s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-fs3 armhf 3.2.0-2 [34.3 kB] 107s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-loop3 armhf 3.2.0-2 [6552 B] 107s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-mdraid3 armhf 3.2.0-2 [13.4 kB] 107s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-nvme3 armhf 3.2.0-2 [17.6 kB] 107s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-part3 armhf 3.2.0-2 [16.5 kB] 107s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-swap3 armhf 3.2.0-2 [8942 B] 107s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev3 armhf 3.2.0-2 [44.2 kB] 107s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf libftdi1-2 armhf 1.5-7 [25.7 kB] 107s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf libinih1 armhf 58-1ubuntu1 [6750 B] 107s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf libsgutils2-1.46-2 armhf 1.46-3ubuntu5 [82.5 kB] 107s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf python3-configobj all 5.0.9-1 [33.9 kB] 107s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf python3-json-pointer all 2.4-2 [8396 B] 107s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf python3-lazr.uri all 1.0.6-4 [13.6 kB] 107s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf sg3-utils armhf 1.46-3ubuntu5 [816 kB] 107s Get:46 http://ftpmaster.internal/ubuntu plucky/main armhf sg3-utils-udev all 1.46-3ubuntu5 [5916 B] 107s Preconfiguring packages ... 108s Fetched 19.6 MB in 2s (7983 kB/s) 108s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59386 files and directories currently installed.) 108s Preparing to unpack .../motd-news-config_13.5ubuntu2_all.deb ... 108s Unpacking motd-news-config (13.5ubuntu2) over (13.3ubuntu6) ... 108s Preparing to unpack .../base-files_13.5ubuntu2_armhf.deb ... 108s Unpacking base-files (13.5ubuntu2) over (13.3ubuntu6) ... 108s Setting up base-files (13.5ubuntu2) ... 108s Installing new version of config file /etc/issue ... 108s Installing new version of config file /etc/issue.net ... 108s Installing new version of config file /etc/lsb-release ... 109s motd-news.service is a disabled or a static unit not running, not starting it. 109s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59386 files and directories currently installed.) 109s Preparing to unpack .../perl_5.40.0-6_armhf.deb ... 109s Unpacking perl (5.40.0-6) over (5.38.2-5) ... 109s Selecting previously unselected package perl-modules-5.40. 109s Preparing to unpack .../perl-modules-5.40_5.40.0-6_all.deb ... 109s Unpacking perl-modules-5.40 (5.40.0-6) ... 109s Selecting previously unselected package libperl5.40:armhf. 109s Preparing to unpack .../libperl5.40_5.40.0-6_armhf.deb ... 109s Unpacking libperl5.40:armhf (5.40.0-6) ... 109s Preparing to unpack .../perl-base_5.40.0-6_armhf.deb ... 109s Unpacking perl-base (5.40.0-6) over (5.38.2-5) ... 110s Setting up perl-base (5.40.0-6) ... 110s (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 ... 61462 files and directories currently installed.) 110s Preparing to unpack .../liblocale-gettext-perl_1.07-7build1_armhf.deb ... 110s Unpacking liblocale-gettext-perl (1.07-7build1) over (1.07-7) ... 110s Preparing to unpack .../libtext-iconv-perl_1.7-8build4_armhf.deb ... 110s Unpacking libtext-iconv-perl:armhf (1.7-8build4) over (1.7-8build3) ... 110s Preparing to unpack .../libtext-charwidth-perl_0.04-11build4_armhf.deb ... 110s Unpacking libtext-charwidth-perl:armhf (0.04-11build4) over (0.04-11build3) ... 110s Preparing to unpack .../libdb5.3t64_5.3.28+dfsg2-9_armhf.deb ... 110s Unpacking libdb5.3t64:armhf (5.3.28+dfsg2-9) over (5.3.28+dfsg2-7) ... 110s Setting up libdb5.3t64:armhf (5.3.28+dfsg2-9) ... 110s (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 ... 61462 files and directories currently installed.) 110s Preparing to unpack .../libatomic1_14.2.0-7ubuntu1_armhf.deb ... 110s Unpacking libatomic1:armhf (14.2.0-7ubuntu1) over (14.2.0-4ubuntu2) ... 110s Preparing to unpack .../gcc-14-base_14.2.0-7ubuntu1_armhf.deb ... 110s Unpacking gcc-14-base:armhf (14.2.0-7ubuntu1) over (14.2.0-4ubuntu2) ... 110s Setting up gcc-14-base:armhf (14.2.0-7ubuntu1) ... 110s (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 ... 61462 files and directories currently installed.) 110s Preparing to unpack .../libstdc++6_14.2.0-7ubuntu1_armhf.deb ... 110s Unpacking libstdc++6:armhf (14.2.0-7ubuntu1) over (14.2.0-4ubuntu2) ... 110s Setting up libstdc++6:armhf (14.2.0-7ubuntu1) ... 110s (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 ... 61462 files and directories currently installed.) 110s Preparing to unpack .../libgcc-s1_14.2.0-7ubuntu1_armhf.deb ... 110s Unpacking libgcc-s1:armhf (14.2.0-7ubuntu1) over (14.2.0-4ubuntu2) ... 110s Setting up libgcc-s1:armhf (14.2.0-7ubuntu1) ... 110s (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 ... 61462 files and directories currently installed.) 110s Preparing to unpack .../install-info_7.1.1-1_armhf.deb ... 110s Unpacking install-info (7.1.1-1) over (7.1-3build2) ... 110s Setting up install-info (7.1.1-1) ... 111s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 61462 files and directories currently installed.) 111s Preparing to unpack .../00-distro-info-data_0.63_all.deb ... 111s Unpacking distro-info-data (0.63) over (0.62) ... 111s Preparing to unpack .../01-libdw1t64_0.192-4_armhf.deb ... 111s Unpacking libdw1t64:armhf (0.192-4) over (0.191-2) ... 111s Preparing to unpack .../02-libelf1t64_0.192-4_armhf.deb ... 111s Unpacking libelf1t64:armhf (0.192-4) over (0.191-2) ... 111s Preparing to unpack .../03-iproute2_6.10.0-2ubuntu1_armhf.deb ... 111s Unpacking iproute2 (6.10.0-2ubuntu1) over (6.10.0-2) ... 111s Preparing to unpack .../04-libkeyutils1_1.6.3-4ubuntu2_armhf.deb ... 111s Unpacking libkeyutils1:armhf (1.6.3-4ubuntu2) over (1.6.3-3build1) ... 111s Preparing to unpack .../05-vim-tiny_2%3a9.1.0777-1ubuntu1_armhf.deb ... 111s Unpacking vim-tiny (2:9.1.0777-1ubuntu1) over (2:9.1.0496-1ubuntu6) ... 111s Preparing to unpack .../06-vim-common_2%3a9.1.0777-1ubuntu1_all.deb ... 111s Unpacking vim-common (2:9.1.0777-1ubuntu1) over (2:9.1.0496-1ubuntu6) ... 111s Preparing to unpack .../07-xxd_2%3a9.1.0777-1ubuntu1_armhf.deb ... 111s Unpacking xxd (2:9.1.0777-1ubuntu1) over (2:9.1.0496-1ubuntu6) ... 111s Preparing to unpack .../08-info_7.1.1-1_armhf.deb ... 111s Unpacking info (7.1.1-1) over (7.1-3build2) ... 111s Preparing to unpack .../09-libevdev2_1.13.3+dfsg-1_armhf.deb ... 111s Unpacking libevdev2:armhf (1.13.3+dfsg-1) over (1.13.2+dfsg-1) ... 111s Preparing to unpack .../10-libpipeline1_1.5.8-1_armhf.deb ... 111s Unpacking libpipeline1:armhf (1.5.8-1) over (1.5.7-2) ... 111s Preparing to unpack .../11-nano_8.2-1_armhf.deb ... 111s Unpacking nano (8.2-1) over (8.1-1) ... 111s Preparing to unpack .../12-libfwupd2_1.9.26-2_armhf.deb ... 112s Unpacking libfwupd2:armhf (1.9.26-2) over (1.9.24-1) ... 112s Preparing to unpack .../13-fwupd_1.9.26-2_armhf.deb ... 112s Unpacking fwupd (1.9.26-2) over (1.9.24-1) ... 112s Preparing to unpack .../14-libblockdev-utils3_3.2.0-2_armhf.deb ... 112s Unpacking libblockdev-utils3:armhf (3.2.0-2) over (3.1.1-2) ... 112s Preparing to unpack .../15-libblockdev-crypto3_3.2.0-2_armhf.deb ... 112s Unpacking libblockdev-crypto3:armhf (3.2.0-2) over (3.1.1-2) ... 112s Preparing to unpack .../16-libblockdev-fs3_3.2.0-2_armhf.deb ... 112s Unpacking libblockdev-fs3:armhf (3.2.0-2) over (3.1.1-2) ... 112s Preparing to unpack .../17-libblockdev-loop3_3.2.0-2_armhf.deb ... 112s Unpacking libblockdev-loop3:armhf (3.2.0-2) over (3.1.1-2) ... 112s Preparing to unpack .../18-libblockdev-mdraid3_3.2.0-2_armhf.deb ... 112s Unpacking libblockdev-mdraid3:armhf (3.2.0-2) over (3.1.1-2) ... 112s Preparing to unpack .../19-libblockdev-nvme3_3.2.0-2_armhf.deb ... 112s Unpacking libblockdev-nvme3:armhf (3.2.0-2) over (3.1.1-2) ... 112s Preparing to unpack .../20-libblockdev-part3_3.2.0-2_armhf.deb ... 112s Unpacking libblockdev-part3:armhf (3.2.0-2) over (3.1.1-2) ... 112s Preparing to unpack .../21-libblockdev-swap3_3.2.0-2_armhf.deb ... 112s Unpacking libblockdev-swap3:armhf (3.2.0-2) over (3.1.1-2) ... 112s Preparing to unpack .../22-libblockdev3_3.2.0-2_armhf.deb ... 112s Unpacking libblockdev3:armhf (3.2.0-2) over (3.1.1-2) ... 112s Preparing to unpack .../23-libftdi1-2_1.5-7_armhf.deb ... 112s Unpacking libftdi1-2:armhf (1.5-7) over (1.5-6build5) ... 112s Preparing to unpack .../24-libinih1_58-1ubuntu1_armhf.deb ... 112s Unpacking libinih1:armhf (58-1ubuntu1) over (55-1ubuntu2) ... 112s Preparing to unpack .../25-libsgutils2-1.46-2_1.46-3ubuntu5_armhf.deb ... 112s Unpacking libsgutils2-1.46-2:armhf (1.46-3ubuntu5) over (1.46-3ubuntu4) ... 112s Preparing to unpack .../26-python3-configobj_5.0.9-1_all.deb ... 112s Unpacking python3-configobj (5.0.9-1) over (5.0.8-3) ... 112s Preparing to unpack .../27-python3-json-pointer_2.4-2_all.deb ... 113s Unpacking python3-json-pointer (2.4-2) over (2.0-0ubuntu1) ... 113s Preparing to unpack .../28-python3-lazr.uri_1.0.6-4_all.deb ... 113s Unpacking python3-lazr.uri (1.0.6-4) over (1.0.6-3) ... 113s Preparing to unpack .../29-sg3-utils_1.46-3ubuntu5_armhf.deb ... 113s Unpacking sg3-utils (1.46-3ubuntu5) over (1.46-3ubuntu4) ... 113s Preparing to unpack .../30-sg3-utils-udev_1.46-3ubuntu5_all.deb ... 113s Unpacking sg3-utils-udev (1.46-3ubuntu5) over (1.46-3ubuntu4) ... 113s Setting up libpipeline1:armhf (1.5.8-1) ... 113s Setting up motd-news-config (13.5ubuntu2) ... 113s Setting up libtext-iconv-perl:armhf (1.7-8build4) ... 113s Setting up libtext-charwidth-perl:armhf (0.04-11build4) ... 113s Setting up libkeyutils1:armhf (1.6.3-4ubuntu2) ... 113s Setting up distro-info-data (0.63) ... 113s Setting up libinih1:armhf (58-1ubuntu1) ... 113s Setting up libfwupd2:armhf (1.9.26-2) ... 113s Setting up libsgutils2-1.46-2:armhf (1.46-3ubuntu5) ... 113s Setting up python3-lazr.uri (1.0.6-4) ... 113s Setting up xxd (2:9.1.0777-1ubuntu1) ... 113s Setting up libelf1t64:armhf (0.192-4) ... 113s Setting up libdw1t64:armhf (0.192-4) ... 113s Setting up libftdi1-2:armhf (1.5-7) ... 113s Setting up python3-configobj (5.0.9-1) ... 113s Setting up vim-common (2:9.1.0777-1ubuntu1) ... 113s Installing new version of config file /etc/vim/vimrc ... 113s Setting up libblockdev-utils3:armhf (3.2.0-2) ... 113s Setting up libatomic1:armhf (14.2.0-7ubuntu1) ... 113s Setting up libblockdev-nvme3:armhf (3.2.0-2) ... 113s Setting up nano (8.2-1) ... 113s Setting up libblockdev-fs3:armhf (3.2.0-2) ... 113s Setting up perl-modules-5.40 (5.40.0-6) ... 113s Setting up python3-json-pointer (2.4-2) ... 113s Setting up libevdev2:armhf (1.13.3+dfsg-1) ... 113s Setting up fwupd (1.9.26-2) ... 114s fwupd-offline-update.service is a disabled or a static unit not running, not starting it. 114s fwupd-refresh.service is a disabled or a static unit not running, not starting it. 114s fwupd.service is a disabled or a static unit not running, not starting it. 114s Setting up info (7.1.1-1) ... 114s Setting up liblocale-gettext-perl (1.07-7build1) ... 114s Setting up sg3-utils (1.46-3ubuntu5) ... 114s Setting up libblockdev-mdraid3:armhf (3.2.0-2) ... 114s Setting up libblockdev-crypto3:armhf (3.2.0-2) ... 114s Setting up libblockdev-swap3:armhf (3.2.0-2) ... 114s Setting up iproute2 (6.10.0-2ubuntu1) ... 114s Setting up libblockdev-loop3:armhf (3.2.0-2) ... 114s Setting up vim-tiny (2:9.1.0777-1ubuntu1) ... 114s Setting up libblockdev3:armhf (3.2.0-2) ... 114s Installing new version of config file /etc/libblockdev/3/conf.d/00-default.cfg ... 114s Setting up libblockdev-part3:armhf (3.2.0-2) ... 114s Setting up sg3-utils-udev (1.46-3ubuntu5) ... 114s update-initramfs: deferring update (trigger activated) 114s Setting up libperl5.40:armhf (5.40.0-6) ... 114s Setting up perl (5.40.0-6) ... 114s Processing triggers for dbus (1.14.10-4ubuntu5) ... 114s Processing triggers for install-info (7.1.1-1) ... 115s Processing triggers for initramfs-tools (0.142ubuntu34) ... 115s Processing triggers for libc-bin (2.40-1ubuntu3) ... 115s Processing triggers for man-db (2.12.1-3) ... 116s Processing triggers for plymouth-theme-ubuntu-text (24.004.60-1ubuntu10) ... 116s update-initramfs: deferring update (trigger activated) 116s Processing triggers for initramfs-tools (0.142ubuntu34) ... 116s Reading package lists... 117s Building dependency tree... 117s Reading state information... 118s The following packages will be REMOVED: 118s libperl5.38t64* perl-modules-5.38* 118s 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. 118s After this operation, 41.6 MB disk space will be freed. 118s (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 ... 61462 files and directories currently installed.) 118s Removing libperl5.38t64:armhf (5.38.2-5) ... 118s Removing perl-modules-5.38 (5.38.2-5) ... 118s Processing triggers for man-db (2.12.1-3) ... 119s Processing triggers for libc-bin (2.40-1ubuntu3) ... 121s autopkgtest [00:57:12]: rebooting testbed after setup commands that affected boot 187s autopkgtest [00:58:18]: testbed running kernel: Linux 6.8.0-47-generic #47~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Oct 2 16:39:14 UTC 2 213s autopkgtest [00:58:44]: @@@@@@@@@@@@@@@@@@@@ apt-source rdflib 231s Get:1 http://ftpmaster.internal/ubuntu plucky/universe rdflib 7.0.0-1 (dsc) [2840 B] 231s Get:2 http://ftpmaster.internal/ubuntu plucky/universe rdflib 7.0.0-1 (tar) [5024 kB] 231s Get:3 http://ftpmaster.internal/ubuntu plucky/universe rdflib 7.0.0-1 (diff) [32.0 kB] 231s gpgv: Signature made Sat Jun 15 12:54:16 2024 UTC 231s gpgv: using RSA key 8F6DE104377F3B11E741748731F3144544A1741A 231s gpgv: issuer "tchet@debian.org" 231s gpgv: Can't check signature: No public key 231s dpkg-source: warning: cannot verify inline signature for ./rdflib_7.0.0-1.dsc: no acceptable signature found 232s autopkgtest [00:59:03]: testing package rdflib version 7.0.0-1 235s autopkgtest [00:59:06]: build not needed 238s autopkgtest [00:59:09]: test python3: preparing testbed 248s Reading package lists... 249s Building dependency tree... 249s Reading state information... 250s Starting pkgProblemResolver with broken count: 0 250s Starting 2 pkgProblemResolver with broken count: 0 250s Done 252s The following additional packages will be installed: 252s libjs-jquery libjs-jquery-hotkeys libjs-jquery-isonscreen 252s libjs-jquery-metadata libjs-jquery-tablesorter 252s libjs-jquery-throttle-debounce libjs-sphinxdoc libjs-underscore 252s python-rdflib-doc python-rdflib-tools python3-coverage python3-html5lib 252s python3-iniconfig python3-isodate python3-packaging python3-pip 252s python3-pluggy python3-pytest python3-pytest-cov python3-rdflib python3-six 252s python3-sparqlwrapper python3-webencodings python3-wheel 252s Suggested packages: 252s python-coverage-doc python3-genshi python3-lxml 252s Recommended packages: 252s javascript-common build-essential python3-dev 252s The following NEW packages will be installed: 252s autopkgtest-satdep libjs-jquery libjs-jquery-hotkeys libjs-jquery-isonscreen 252s libjs-jquery-metadata libjs-jquery-tablesorter 252s libjs-jquery-throttle-debounce libjs-sphinxdoc libjs-underscore 252s python-rdflib-doc python-rdflib-tools python3-coverage python3-html5lib 252s python3-iniconfig python3-isodate python3-packaging python3-pip 252s python3-pluggy python3-pytest python3-pytest-cov python3-rdflib python3-six 252s python3-sparqlwrapper python3-webencodings python3-wheel 252s 0 upgraded, 25 newly installed, 0 to remove and 0 not upgraded. 252s Need to get 4129 kB/4130 kB of archives. 252s After this operation, 32.4 MB of additional disk space will be used. 252s Get:1 /tmp/autopkgtest.M9nJV8/1-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [776 B] 252s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 253s Get:3 http://ftpmaster.internal/ubuntu plucky/universe armhf libjs-jquery-hotkeys all 0~20130707+git2d51e3a9+dfsg-2.1 [11.5 kB] 253s Get:4 http://ftpmaster.internal/ubuntu plucky/universe armhf libjs-jquery-metadata all 12-4 [6582 B] 253s Get:5 http://ftpmaster.internal/ubuntu plucky/universe armhf libjs-jquery-tablesorter all 1:2.31.3+dfsg1-4 [192 kB] 253s Get:6 http://ftpmaster.internal/ubuntu plucky/universe armhf libjs-jquery-throttle-debounce all 1.1+dfsg.1-2 [12.5 kB] 253s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 253s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf libjs-sphinxdoc all 7.4.7-3 [157 kB] 253s Get:9 http://ftpmaster.internal/ubuntu plucky/universe armhf python-rdflib-doc all 7.0.0-1 [778 kB] 253s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf python3-isodate all 0.7.0-1 [18.6 kB] 253s Get:11 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-rdflib all 7.0.0-1 [405 kB] 253s Get:12 http://ftpmaster.internal/ubuntu plucky/universe armhf python-rdflib-tools all 7.0.0-1 [9624 B] 253s Get:13 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-coverage armhf 7.4.4+dfsg1-0ubuntu2 [146 kB] 253s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf python3-six all 1.16.0-7 [13.1 kB] 253s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf python3-webencodings all 0.5.1-5 [11.5 kB] 253s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf python3-html5lib all 1.1-6 [88.8 kB] 253s Get:17 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-iniconfig all 1.1.1-2 [6024 B] 253s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf python3-packaging all 24.1-1 [41.4 kB] 253s Get:19 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-wheel all 0.44.0-1 [54.2 kB] 253s Get:20 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pip all 24.2+dfsg-1 [1398 kB] 253s Get:21 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pluggy all 1.5.0-1 [21.0 kB] 253s Get:22 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest all 8.3.2-1 [251 kB] 253s Get:23 http://ftpmaster.internal/ubuntu plucky/universe armhf libjs-jquery-isonscreen all 1.2.0-1.1 [3244 B] 253s Get:24 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest-cov all 5.0.0-1 [21.3 kB] 253s Get:25 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-sparqlwrapper all 2.0.0-2 [37.0 kB] 254s Fetched 4129 kB in 1s (4172 kB/s) 254s Selecting previously unselected package libjs-jquery. 254s (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 ... 59532 files and directories currently installed.) 254s Preparing to unpack .../00-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 254s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 254s Selecting previously unselected package libjs-jquery-hotkeys. 254s Preparing to unpack .../01-libjs-jquery-hotkeys_0~20130707+git2d51e3a9+dfsg-2.1_all.deb ... 254s Unpacking libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2.1) ... 254s Selecting previously unselected package libjs-jquery-metadata. 254s Preparing to unpack .../02-libjs-jquery-metadata_12-4_all.deb ... 254s Unpacking libjs-jquery-metadata (12-4) ... 254s Selecting previously unselected package libjs-jquery-tablesorter. 254s Preparing to unpack .../03-libjs-jquery-tablesorter_1%3a2.31.3+dfsg1-4_all.deb ... 254s Unpacking libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... 254s Selecting previously unselected package libjs-jquery-throttle-debounce. 254s Preparing to unpack .../04-libjs-jquery-throttle-debounce_1.1+dfsg.1-2_all.deb ... 254s Unpacking libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 254s Selecting previously unselected package libjs-underscore. 254s Preparing to unpack .../05-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 254s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 254s Selecting previously unselected package libjs-sphinxdoc. 254s Preparing to unpack .../06-libjs-sphinxdoc_7.4.7-3_all.deb ... 254s Unpacking libjs-sphinxdoc (7.4.7-3) ... 254s Selecting previously unselected package python-rdflib-doc. 254s Preparing to unpack .../07-python-rdflib-doc_7.0.0-1_all.deb ... 254s Unpacking python-rdflib-doc (7.0.0-1) ... 255s Selecting previously unselected package python3-isodate. 255s Preparing to unpack .../08-python3-isodate_0.7.0-1_all.deb ... 255s Unpacking python3-isodate (0.7.0-1) ... 255s Selecting previously unselected package python3-rdflib. 255s Preparing to unpack .../09-python3-rdflib_7.0.0-1_all.deb ... 255s Unpacking python3-rdflib (7.0.0-1) ... 255s Selecting previously unselected package python-rdflib-tools. 255s Preparing to unpack .../10-python-rdflib-tools_7.0.0-1_all.deb ... 255s Unpacking python-rdflib-tools (7.0.0-1) ... 255s Selecting previously unselected package python3-coverage. 255s Preparing to unpack .../11-python3-coverage_7.4.4+dfsg1-0ubuntu2_armhf.deb ... 255s Unpacking python3-coverage (7.4.4+dfsg1-0ubuntu2) ... 255s Selecting previously unselected package python3-six. 255s Preparing to unpack .../12-python3-six_1.16.0-7_all.deb ... 255s Unpacking python3-six (1.16.0-7) ... 255s Selecting previously unselected package python3-webencodings. 255s Preparing to unpack .../13-python3-webencodings_0.5.1-5_all.deb ... 255s Unpacking python3-webencodings (0.5.1-5) ... 255s Selecting previously unselected package python3-html5lib. 255s Preparing to unpack .../14-python3-html5lib_1.1-6_all.deb ... 255s Unpacking python3-html5lib (1.1-6) ... 255s Selecting previously unselected package python3-iniconfig. 255s Preparing to unpack .../15-python3-iniconfig_1.1.1-2_all.deb ... 255s Unpacking python3-iniconfig (1.1.1-2) ... 255s Selecting previously unselected package python3-packaging. 255s Preparing to unpack .../16-python3-packaging_24.1-1_all.deb ... 255s Unpacking python3-packaging (24.1-1) ... 255s Selecting previously unselected package python3-wheel. 255s Preparing to unpack .../17-python3-wheel_0.44.0-1_all.deb ... 255s Unpacking python3-wheel (0.44.0-1) ... 255s Selecting previously unselected package python3-pip. 255s Preparing to unpack .../18-python3-pip_24.2+dfsg-1_all.deb ... 255s Unpacking python3-pip (24.2+dfsg-1) ... 255s Selecting previously unselected package python3-pluggy. 255s Preparing to unpack .../19-python3-pluggy_1.5.0-1_all.deb ... 255s Unpacking python3-pluggy (1.5.0-1) ... 255s Selecting previously unselected package python3-pytest. 255s Preparing to unpack .../20-python3-pytest_8.3.2-1_all.deb ... 255s Unpacking python3-pytest (8.3.2-1) ... 255s Selecting previously unselected package libjs-jquery-isonscreen. 255s Preparing to unpack .../21-libjs-jquery-isonscreen_1.2.0-1.1_all.deb ... 255s Unpacking libjs-jquery-isonscreen (1.2.0-1.1) ... 255s Selecting previously unselected package python3-pytest-cov. 255s Preparing to unpack .../22-python3-pytest-cov_5.0.0-1_all.deb ... 255s Unpacking python3-pytest-cov (5.0.0-1) ... 255s Selecting previously unselected package python3-sparqlwrapper. 255s Preparing to unpack .../23-python3-sparqlwrapper_2.0.0-2_all.deb ... 255s Unpacking python3-sparqlwrapper (2.0.0-2) ... 256s Selecting previously unselected package autopkgtest-satdep. 256s Preparing to unpack .../24-1-autopkgtest-satdep.deb ... 256s Unpacking autopkgtest-satdep (0) ... 256s Setting up python3-iniconfig (1.1.1-2) ... 256s Setting up python3-coverage (7.4.4+dfsg1-0ubuntu2) ... 256s Setting up libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 256s Setting up python3-wheel (0.44.0-1) ... 256s Setting up python3-webencodings (0.5.1-5) ... 256s Setting up python3-six (1.16.0-7) ... 256s Setting up python3-isodate (0.7.0-1) ... 257s Setting up python3-packaging (24.1-1) ... 257s Setting up python3-pip (24.2+dfsg-1) ... 258s Setting up python3-html5lib (1.1-6) ... 258s Setting up python3-pluggy (1.5.0-1) ... 259s Setting up python3-rdflib (7.0.0-1) ... 259s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 259s Setting up libjs-jquery-hotkeys (0~20130707+git2d51e3a9+dfsg-2.1) ... 259s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 259s Setting up python-rdflib-tools (7.0.0-1) ... 259s Setting up python3-sparqlwrapper (2.0.0-2) ... 259s Setting up python3-pytest (8.3.2-1) ... 260s Setting up libjs-jquery-metadata (12-4) ... 260s Setting up libjs-jquery-isonscreen (1.2.0-1.1) ... 260s Setting up libjs-sphinxdoc (7.4.7-3) ... 260s Setting up libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... 260s Setting up python-rdflib-doc (7.0.0-1) ... 260s Setting up python3-pytest-cov (5.0.0-1) ... 260s Setting up autopkgtest-satdep (0) ... 260s Processing triggers for man-db (2.12.1-3) ... 278s (Reading database ... 61320 files and directories currently installed.) 278s Removing autopkgtest-satdep (0) ... 284s autopkgtest [00:59:55]: test python3: [----------------------- 295s ============================= test session starts ============================== 295s platform linux -- Python 3.12.7, pytest-8.3.2, pluggy-1.5.0 295s rootdir: /tmp/autopkgtest.M9nJV8/build.Z99/src 295s configfile: pyproject.toml 295s plugins: typeguard-4.3.0, cov-5.0.0 295s collected 7629 items / 1 deselected / 1 skipped / 7628 selected 295s 295s docs/namespaces_and_bindings.rst . [ 0%] 295s docs/rdf_terms.rst . [ 0%] 296s test/data/suites/trix/test_trix.py ..........x....xxx..xxx.xxx.......... [ 0%] 296s ......x..x.x...................xxxxxxxxx [ 1%] 296s test/jsonld/test_api.py . [ 1%] 297s test/jsonld/test_compaction.py ........... [ 1%] 297s test/jsonld/test_context.py .................... [ 1%] 297s test/jsonld/test_localsuite.py ... [ 1%] 297s test/jsonld/test_named_graphs.py ... [ 1%] 297s test/jsonld/test_onedotone.py .......................................... [ 2%] 298s ........................................................................ [ 3%] 299s ........................................................................ [ 3%] 301s ........................................................................ [ 4%] 301s .... [ 4%] 301s test/jsonld/test_pythonparse.py . [ 4%] 301s test/jsonld/test_testsuite.py .......................................... [ 5%] 301s ........................................................................ [ 6%] 301s ............. [ 6%] 301s test/jsonld/test_util.py x................. [ 6%] 301s test/test_conjunctivegraph/test_conjunctive_graph.py ..... [ 6%] 301s test/test_conjunctivegraph/test_conjunctivegraph_generators.py ........ [ 7%] 301s test/test_conjunctivegraph/test_conjunctivegraph_operator_combinations.py . [ 7%] 301s .... [ 7%] 301s test/test_dataset/test_dataset.py ..... [ 7%] 301s test/test_dataset/test_dataset_default_graph.py .................... [ 7%] 301s test/test_dataset/test_dataset_generators.py ........ [ 7%] 310s test/test_examples.py s.................. [ 7%] 310s test/test_extras/test_extras_external_graph_libs.py ss [ 7%] 310s test/test_extras/test_infixowl/test_annotatableterms.py ... [ 7%] 311s test/test_extras/test_infixowl/test_basic.py .... [ 7%] 311s test/test_extras/test_infixowl/test_booleanclass.py xx...... [ 8%] 311s test/test_extras/test_infixowl/test_class.py ....... [ 8%] 311s test/test_extras/test_infixowl/test_componentterms.py ... [ 8%] 312s test/test_extras/test_infixowl/test_context.py . [ 8%] 313s test/test_extras/test_infixowl/test_cover.py ................... [ 8%] 313s test/test_extras/test_infixowl/test_enumerated_class.py .. [ 8%] 313s test/test_extras/test_infixowl/test_individual.py ..... [ 8%] 313s test/test_extras/test_infixowl/test_logic_structuring.py . [ 8%] 314s test/test_extras/test_infixowl/test_manchester_syntax.py .. [ 8%] 314s test/test_extras/test_infixowl/test_ontology.py .. [ 8%] 314s test/test_extras/test_infixowl/test_property.py . [ 8%] 314s test/test_extras/test_infixowl/test_restriction.py ...............x [ 8%] 314s test/test_extras/test_infixowl/test_rubric.py ........ [ 8%] 314s test/test_graph/test_aggregate_graphs.py .. [ 8%] 314s test/test_graph/test_batch_add.py .......... [ 9%] 314s test/test_graph/test_canonicalization.py ..........x [ 9%] 314s test/test_graph/test_container.py ................. [ 9%] 315s test/test_graph/test_diff.py ..x..x [ 9%] 317s test/test_graph/test_graph.py .................. [ 9%] 317s test/test_graph/test_graph_cbd.py .... [ 9%] 317s test/test_graph/test_graph_context.py .......... [ 9%] 317s test/test_graph/test_graph_formula.py .. [ 9%] 317s test/test_graph/test_graph_generators.py ....... [ 10%] 319s test/test_graph/test_graph_http.py ....... [ 10%] 319s test/test_graph/test_graph_items.py . [ 10%] 319s test/test_graph/test_graph_operator.py ... [ 10%] 319s test/test_graph/test_graph_redirect.py . [ 10%] 319s test/test_graph/test_graph_store.py ........................... [ 10%] 319s test/test_graph/test_namespace_rebinding.py ....x......... [ 10%] 320s test/test_graph/test_skolemization.py ......... [ 10%] 320s test/test_graph/test_slice.py . [ 10%] 320s test/test_graph/test_variants.py ..x...x.x.... [ 11%] 320s test/test_having.py ... [ 11%] 320s test/test_issues/test_issue084.py ........ [ 11%] 320s test/test_issues/test_issue1003.py ......... [ 11%] 320s test/test_issues/test_issue1043.py . [ 11%] 320s test/test_issues/test_issue1141.py ... [ 11%] 320s test/test_issues/test_issue1160.py . [ 11%] 320s test/test_issues/test_issue1404.py . [ 11%] 320s test/test_issues/test_issue1484.py .. [ 11%] 320s test/test_issues/test_issue160.py . [ 11%] 320s test/test_issues/test_issue161.py . [ 11%] 320s test/test_issues/test_issue1808.py . [ 11%] 320s test/test_issues/test_issue184.py . [ 11%] 321s test/test_issues/test_issue1873.py .. [ 11%] 321s test/test_issues/test_issue190.py xx [ 11%] 321s test/test_issues/test_issue1998.py . [ 11%] 321s test/test_issues/test_issue200.py . [ 11%] 321s test/test_issues/test_issue209.py . [ 11%] 321s test/test_issues/test_issue223.py . [ 11%] 321s test/test_issues/test_issue247.py . [ 11%] 321s test/test_issues/test_issue248.py . [ 11%] 321s test/test_issues/test_issue274.py ................................. [ 12%] 321s test/test_issues/test_issue363.py .. [ 12%] 321s test/test_issues/test_issue379.py .. [ 12%] 321s test/test_issues/test_issue381.py ....... [ 12%] 321s test/test_issues/test_issue432.py . [ 12%] 321s test/test_issues/test_issue446.py . [ 12%] 321s test/test_issues/test_issue492.py . [ 12%] 321s test/test_issues/test_issue523.py . [ 12%] 321s test/test_issues/test_issue532.py . [ 12%] 321s test/test_issues/test_issue535.py . [ 12%] 322s test/test_issues/test_issue545.py . [ 12%] 322s test/test_issues/test_issue554.py . [ 12%] 322s test/test_issues/test_issue563.py .. [ 12%] 322s test/test_issues/test_issue579.py . [ 12%] 322s test/test_issues/test_issue604.py . [ 12%] 322s test/test_issues/test_issue655.py . [ 12%] 322s test/test_issues/test_issue715.py . [ 12%] 322s test/test_issues/test_issue733.py .. [ 12%] 322s test/test_issues/test_issue801.py . [ 12%] 322s test/test_issues/test_issue893.py . [ 12%] 322s test/test_issues/test_issue910.py .... [ 12%] 322s test/test_issues/test_issue920.py . [ 12%] 322s test/test_issues/test_issue923.py . [ 12%] 322s test/test_issues/test_issue953.py . [ 12%] 322s test/test_issues/test_issue977.py .. [ 12%] 322s test/test_issues/test_issue980.py . [ 12%] 322s test/test_issues/test_issue_git_200.py . [ 12%] 322s test/test_issues/test_issue_git_336.py . [ 12%] 322s test/test_literal/test_datetime.py ....... [ 12%] 322s test/test_literal/test_duration.py ........ [ 12%] 322s test/test_literal/test_hex_binary.py .. [ 12%] 323s test/test_literal/test_literal.py ...................................... [ 13%] 323s ...................F......F............................................. [ 14%] 323s ........................................................................ [ 15%] 324s .xxxxxxxxxx................ [ 15%] 324s test/test_literal/test_literal_html5lib.py ....... [ 15%] 324s test/test_literal/test_normalized_string.py .... [ 15%] 324s test/test_literal/test_term.py ....... [ 15%] 324s test/test_literal/test_tokendatatype.py ..... [ 15%] 324s test/test_literal/test_uriref_literal_comparison.py .......... [ 15%] 324s test/test_literal/test_xmlliterals.py ...... [ 16%] 324s test/test_misc/test_b64_binary.py . [ 16%] 324s test/test_misc/test_collection.py . [ 16%] 324s test/test_misc/test_conventions.py . [ 16%] 324s test/test_misc/test_events.py . [ 16%] 324s test/test_misc/test_input_source.py .................................... [ 16%] 324s ........................................................................ [ 17%] 325s ........................................................................ [ 18%] 325s ........................... [ 18%] 325s test/test_misc/test_networking_redirect.py ..................... [ 19%] 325s test/test_misc/test_parse_file_guess_format.py .... [ 19%] 325s test/test_misc/test_path_div_future.py . [ 19%] 329s test/test_misc/test_plugins.py .. [ 19%] 329s test/test_misc/test_prefix_types.py . [ 19%] 329s test/test_misc/test_resource.py . [ 19%] 329s test/test_misc/test_security.py ........ [ 19%] 330s test/test_n3.py ................ [ 19%] 332s test/test_namespace/test_definednamespace.py ........................... [ 19%] 332s ........................................................................ [ 20%] 332s ......................................... [ 21%] 333s test/test_namespace/test_definednamespace_creator.py ..... [ 21%] 333s test/test_namespace/test_definednamespace_dir.py . [ 21%] 333s test/test_namespace/test_namespace.py ......x........................... [ 21%] 333s ............ [ 22%] 333s test/test_namespace/test_namespacemanager.py ........................... [ 22%] 334s ...x......... [ 22%] 334s test/test_nt_misc.py ...................... [ 22%] 336s test/test_parsers/test_broken_parse_data_from_jena.py xx.xxxx. [ 22%] 336s test/test_parsers/test_empty_xml_base.py .. [ 22%] 336s test/test_parsers/test_n3parse_of_rdf_lists.py .. [ 22%] 336s test/test_parsers/test_nquads.py ........... [ 23%] 336s test/test_parsers/test_parser.py .... [ 23%] 336s test/test_parsers/test_parser_helpers.py . [ 23%] 336s test/test_parsers/test_parser_hext.py ...... [ 23%] 336s test/test_parsers/test_parser_reads_from_pathlike_object.py . [ 23%] 336s test/test_parsers/test_parser_structure.py . [ 23%] 336s test/test_parsers/test_parser_turtlelike.py ............................ [ 23%] 336s ...........................................................x.x.......... [ 24%] 337s ........................................................................ [ 25%] 337s ........................................ [ 26%] 337s test/test_parsers/test_swap_n3.py .x.x.x.xx.xx.....x.xxx....x.x [ 26%] 337s test/test_parsers/test_trix_parse.py ... [ 26%] 337s test/test_path.py ..................... [ 26%] 337s test/test_roundtrip.py ................................................. [ 27%] 338s ........................................................................ [ 28%] 338s ........................................................................ [ 29%] 338s ........................................................................ [ 30%] 338s ........................................................................ [ 31%] 339s ........................................................................ [ 32%] 339s ..........................................x............................. [ 33%] 339s ........................................................................ [ 34%] 339s ........................................................................ [ 34%] 340s ..............................x...x..................................... [ 35%] 340s ........................................................................ [ 36%] 340s ........................................................................ [ 37%] 341s ................................................x....................... [ 38%] 341s ..x..................................................................... [ 39%] 342s ......................................................x................. [ 40%] 342s ........................................................................ [ 41%] 343s ..............................x........................x..xx...........x [ 42%] 343s .........x....x......................................................... [ 43%] 343s ........................................................................ [ 44%] 344s .....................x..x.......................x....................... [ 45%] 344s ........................................................................ [ 46%] 345s ................................xx.......x.............................. [ 47%] 346s ............x............x..................x..................xx....... [ 48%] 346s ..............x................... [ 48%] 346s test/test_serializers/test_finalnewline.py . [ 48%] 346s test/test_serializers/test_prettyxml.py ....... [ 48%] 346s test/test_serializers/test_serializer.py .................x.x.x.x.x.x.x. [ 49%] 348s x.x.x.x.x........................xxxxxxxxxxxxxxxxxxxxxxxx............... [ 50%] 348s .....................................................................x.x [ 51%] 349s .x.x.x.x.x.x.x.x.x.x.................................................... [ 51%] 349s ....................... [ 52%] 349s test/test_serializers/test_serializer_hext.py ...... [ 52%] 349s test/test_serializers/test_serializer_jsonld.py .. [ 52%] 349s test/test_serializers/test_serializer_longturtle.py . [ 52%] 349s test/test_serializers/test_serializer_n3.py .... [ 52%] 349s test/test_serializers/test_serializer_trix.py .. [ 52%] 349s test/test_serializers/test_serializer_turtle.py ..... [ 52%] 349s test/test_serializers/test_serializer_xml.py ..... [ 52%] 349s test/test_serializers/test_xmlwriter_qname.py ..... [ 52%] 349s test/test_skolem_genid.py . [ 52%] 349s test/test_sparql/test_agg_distinct.py ..... [ 52%] 349s test/test_sparql/test_agg_undef.py ........ [ 52%] 349s test/test_sparql/test_construct_bindings.py . [ 52%] 349s test/test_sparql/test_datetime_processing.py .... [ 52%] 349s test/test_sparql/test_evaluate_bind.py ... [ 52%] 349s test/test_sparql/test_expressions.py ...... [ 53%] 349s test/test_sparql/test_forward_slash_escapes.py .x.x.x [ 53%] 350s test/test_sparql/test_functions.py ..................................... [ 53%] 350s ................................................. [ 54%] 350s test/test_sparql/test_initbindings.py .......................... [ 54%] 350s test/test_sparql/test_operators.py ... [ 54%] 351s test/test_sparql/test_prefixed_name.py ................................. [ 55%] 351s ..................... [ 55%] 351s test/test_sparql/test_prepare.py .. [ 55%] 351s test/test_sparql/test_result.py ..........xx....x..xx..............xx... [ 55%] 351s ..x...x.......x........................... [ 56%] 357s test/test_sparql/test_service.py ............ [ 56%] 358s test/test_sparql/test_sparql.py ...x..........x...x..................... [ 57%] 358s ................ [ 57%] 359s test/test_sparql/test_sparql_parser.py .. [ 57%] 359s test/test_sparql/test_subselect.py .... [ 57%] 360s test/test_sparql/test_translate_algebra.py ............................. [ 57%] 364s ..x.........x. [ 57%] 364s test/test_sparql/test_tsvresults.py . [ 57%] 364s test/test_store/test_namespace_binding.py .............................. [ 58%] 364s .......................................x.x [ 58%] 364s test/test_store/test_nodepickler.py ... [ 58%] 364s test/test_store/test_store.py ... [ 59%] 364s test/test_store/test_store_auditable.py ........................ [ 59%] 364s test/test_store/test_store_berkeleydb.py ssssss [ 59%] 364s test/test_store/test_store_memorystore.py .. [ 59%] 365s test/test_store/test_store_sparqlstore.py ......... [ 59%] 365s test/test_store/test_store_sparqlstore_query.py .... [ 59%] 365s test/test_store/test_store_sparqlstore_sparqlconnector.py .. [ 59%] 366s test/test_store/test_store_sparqlupdatestore_mock.py ... [ 59%] 366s test/test_store/test_store_triple_store.py ... [ 59%] 367s test/test_tools/test_chunk_serializer.py ........... [ 59%] 367s test/test_tools/test_csv2rdf.py .. [ 59%] 367s test/test_trig.py ............ [ 60%] 367s test/test_turtle_quoting.py ............................................ [ 60%] 367s ........................................................................ [ 61%] 367s ........................................................................ [ 62%] 368s ........................................................................ [ 63%] 368s ........................................................................ [ 64%] 368s ........................................................................ [ 65%] 368s ........................................................................ [ 66%] 368s ........................................................................ [ 67%] 368s ........................................................................ [ 68%] 368s ................. [ 68%] 368s test/test_turtle_sort_issue613.py .. [ 68%] 368s test/test_typing.py . [ 68%] 368s test/test_util.py ..............................................xxx..... [ 69%] 368s ............................... [ 69%] 369s test/test_w3c_spec/test_n3_w3c.py ......x...................x........... [ 70%] 369s ...........xxxxxxxxxx........xxxxxxxxxxxxx.............................. [ 70%] 369s .x.x.xx.........xxx..x.x................................................ [ 71%] 369s ..............................................................x......... [ 72%] 369s ................x................. [ 73%] 370s test/test_w3c_spec/test_nquads_w3c.py .................................. [ 73%] 370s ..xxxx.........xxs................................. [ 74%] 370s test/test_w3c_spec/test_nt_w3c.py ...................xxxx.........xxx... [ 74%] 370s .............................x [ 75%] 370s test/test_w3c_spec/test_rdfxml_w3c.py .................................. [ 75%] 371s ........................................................................ [ 76%] 371s ............................................................... [ 77%] 371s test/test_w3c_spec/test_sparql10_w3c.py ..................ss............ [ 77%] 372s ...........Xx..............................x............................ [ 78%] 373s ....................................................x................... [ 79%] 374s ........................................................................ [ 80%] 379s ......................s.........................x......x..x............. [ 81%] 383s .................x............x......................................... [ 82%] 384s ........................x..............xxx...xxxxxxxx... [ 83%] 384s test/test_w3c_spec/test_sparql11_w3c.py ...............x.xxxx........... [ 83%] 385s .x...................................................................... [ 84%] 386s .............................x...x....x...xxxxxxx.xxx.....xxxxx......... [ 85%] 388s ..xx......xxxx..xxxxxxxxxxxxxxxx.....x.x................................ [ 86%] 389s ..............................xx........................................ [ 87%] 390s ...........xsssssss..................................................... [ 88%] 391s .xxx.............xxx..x................................................. [ 89%] 393s .................xx.....xxx.x.................ssssssssssssssssssssssssss [ 90%] 393s sssssssssss [ 90%] 394s test/test_w3c_spec/test_sparql_rdflib.py .........................xxxx [ 90%] 394s test/test_w3c_spec/test_trig_w3c.py ....xxxx............................ [ 91%] 395s ........................................................................ [ 92%] 395s ....x................................................................... [ 93%] 396s ........xxxxx..........xxxx...xx..xx.x.........x.xxxx..xxx........xx.... [ 94%] 396s ..............................xxxx.x.......xxxx......................... [ 95%] 396s ........... [ 95%] 396s test/test_w3c_spec/test_turtle_w3c.py .................................. [ 95%] 397s ...................................................................x.... [ 96%] 397s .......................................................................x [ 97%] 398s xxxx...........xxxx...xx..xx.x.............xxxx..xxx........xx.......... [ 98%] 398s ........................xxxx.x........... [ 99%] 399s test/utils/test/test_httpservermock.py .. [ 99%] 399s test/utils/test/test_iri.py ......... [ 99%] 399s test/utils/test/test_outcome.py ......... [ 99%] 399s test/utils/test/test_result.py ........... [ 99%] 401s test/utils/test/test_testutils.py ................................. [100%] 401s 401s =================================== FAILURES =================================== 401s __ test_literal_addsub[2006-07-01T20:52:00-2006-11-01T12:50:00-bminusa-P123D] __ 401s 401s a = rdflib.term.Literal('2006-07-01T20:52:00', datatype=rdflib.term.URIRef('http://www.w3.org/2001/XMLSchema#date')) 401s b = rdflib.term.Literal('2006-11-01T12:50:00', datatype=rdflib.term.URIRef('http://www.w3.org/2001/XMLSchema#date')) 401s op = 'bminusa' 401s expected_result = rdflib.term.Literal('P123D', datatype=rdflib.term.URIRef('http://www.w3.org/2001/XMLSchema#duration')) 401s 401s @pytest.mark.parametrize( 401s "a, b, op, expected_result", 401s [ 401s pytest.param( 401s Literal("20:00:00", datatype=_XSD_STRING), 401s Literal("23:30:00", datatype=_XSD_STRING), 401s "bminusa", 401s TypeError(r"unsupported operand type\(s\) for -: 'str' and 'str'"), 401s id="Attempt to subtract strings", 401s ), 401s pytest.param( 401s Literal("20:00:00", datatype=_XSD_TIME), 401s Literal("23:30:00", datatype=_XSD_STRING), 401s "aplusb", 401s TypeError( 401s "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" 401s ), 401s id="Attempt to add string to time", 401s ), 401s pytest.param( 401s Literal("20:00:00", datatype=_XSD_TIME), 401s Literal("23:30:00", datatype=_XSD_STRING), 401s "bminusa", 401s TypeError( 401s "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" 401s ), 401s id="Attempt to subtract string from time", 401s ), 401s pytest.param( 401s Literal("20:52:00", datatype=_XSD_TIME), 401s Literal("12", datatype=_XSD_INTEGER), 401s "aplusb", 401s TypeError( 401s "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" 401s ), 401s id="Attempt to add integer to time", 401s ), 401s pytest.param( 401s Literal("20:52:00", datatype=_XSD_TIME), 401s Literal("12", datatype=_XSD_INTEGER), 401s "bplusa", 401s TypeError( 401s "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" 401s ), 401s id="Attempt to add time to integer", 401s ), 401s pytest.param( 401s Literal("20:52:00", datatype=_XSD_TIME), 401s Literal("12", datatype=_XSD_INTEGER), 401s "aminusb", 401s TypeError( 401s "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" 401s ), 401s id="Attempt to subtract integer from time", 401s ), 401s pytest.param( 401s Literal("20:52:00", datatype=_XSD_TIME), 401s Literal("12", datatype=_XSD_INTEGER), 401s "bminusa", 401s TypeError( 401s "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" 401s ), 401s id="Attempt to subtract time from integer", 401s ), 401s pytest.param( 401s Literal("12", datatype=_XSD_INTEGER), 401s Literal("P122DT15H58M", datatype=_XSD_DURATION), 401s "aplusb", 401s TypeError( 401s "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" 401s ), 401s id="Attempt to add duration to integer", 401s ), 401s pytest.param( 401s Literal("12", datatype=_XSD_INTEGER), 401s Literal("P122DT15H58M", datatype=_XSD_DURATION), 401s "bplusa", 401s TypeError( 401s "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" 401s ), 401s id="Attempt to add integer to duration", 401s ), 401s pytest.param( 401s Literal("12", datatype=_XSD_INTEGER), 401s Literal("P122DT15H58M", datatype=_XSD_DURATION), 401s "aminusb", 401s TypeError( 401s "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" 401s ), 401s id="Attempt to subtract duration from integer", 401s ), 401s pytest.param( 401s Literal("12", datatype=_XSD_INTEGER), 401s Literal("P122DT15H58M", datatype=_XSD_DURATION), 401s "bminusa", 401s TypeError( 401s "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" 401s ), 401s id="Attempt to subtract integer from duration", 401s ), 401s ( 401s Literal("2006-01-01T20:50:00", datatype=_XSD_DATETIME), 401s Literal("2006-02-01T20:50:00", datatype=_XSD_DATETIME), 401s "bminusa", 401s Literal("P31D", datatype=_XSD_DURATION), 401s ), 401s ( 401s Literal("2006-01-02T20:50:00", datatype=_XSD_DATETIME), 401s Literal("2006-05-01T20:50:00", datatype=_XSD_DATETIME), 401s "bminusa", 401s Literal("P119D", datatype=_XSD_DURATION), 401s ), 401s ( 401s Literal("2006-07-01T20:52:00", datatype=_XSD_DATETIME), 401s Literal("2006-11-01T12:50:00", datatype=_XSD_DATETIME), 401s "aminusb", 401s Literal("-P122DT15H58M", datatype=_XSD_DURATION), 401s ), 401s ( 401s Literal("2006-07-01T20:52:00", datatype=_XSD_DATETIME), 401s Literal("2006-11-01T12:50:00", datatype=_XSD_DATETIME), 401s "bminusa", 401s Literal("P122DT15H58M", datatype=_XSD_DURATION), 401s ), 401s ( 401s Literal("2006-07-01T20:52:00", datatype=_XSD_DATE), 401s Literal("2006-11-01T12:50:00", datatype=_XSD_DATE), 401s "bminusa", 401s Literal("P123D", datatype=_XSD_DURATION), 401s ), 401s ( 401s Literal("2006-08-01", datatype=_XSD_DATE), 401s Literal("2006-11-01", datatype=_XSD_DATE), 401s "bminusa", 401s Literal("P92D", datatype=_XSD_DURATION), 401s ), 401s ( 401s Literal("20:52:00", datatype=_XSD_TIME), 401s Literal("12:50:00", datatype=_XSD_TIME), 401s "bminusa", 401s Literal("-PT8H2M", datatype=_XSD_DURATION), 401s ), 401s ( 401s Literal("20:00:00", datatype=_XSD_TIME), 401s Literal("23:30:00", datatype=_XSD_TIME), 401s "bminusa", 401s Literal("PT3H30M", datatype=_XSD_DURATION), 401s ), 401s ( 401s Literal("2006-01-01T20:50:00", datatype=_XSD_DATETIME), 401s Literal("P31D", datatype=_XSD_DURATION), 401s "aplusb", 401s Literal("2006-02-01T20:50:00", datatype=_XSD_DATETIME), 401s ), 401s ( 401s Literal("2006-01-02T20:50:00", datatype=_XSD_DATETIME), 401s Literal("P119D", datatype=_XSD_DURATION), 401s "aplusb", 401s Literal("2006-05-01T20:50:00", datatype=_XSD_DATETIME), 401s ), 401s ( 401s Literal("2006-07-01T20:52:00", datatype=_XSD_DATETIME), 401s Literal("P122DT15H58M", datatype=_XSD_DURATION), 401s "aplusb", 401s Literal("2006-11-01T12:50:00", datatype=_XSD_DATETIME), 402s ), 402s ( 402s Literal("2006-07-01T20:52:00", datatype=_XSD_DATE), 402s Literal("P123D", datatype=_XSD_DURATION), 402s "aplusb", 402s Literal("2006-11-01T12:50:00", datatype=_XSD_DATE), 402s ), 402s ( 402s Literal("2006-08-01", datatype=_XSD_DATE), 402s Literal("P92D", datatype=_XSD_DURATION), 402s "aplusb", 402s Literal("2006-11-01", datatype=_XSD_DATE), 402s ), 402s ( 402s Literal("20:52:00", datatype=_XSD_TIME), 402s Literal("-PT8H2M", datatype=_XSD_DURATION), 402s "aplusb", 402s Literal("12:50:00", datatype=_XSD_TIME), 402s ), 402s ( 402s Literal("20:00:00", datatype=_XSD_TIME), 402s Literal("PT3H30M", datatype=_XSD_DURATION), 402s "aplusb", 402s Literal("23:30:00", datatype=_XSD_TIME), 402s ), 402s ( 402s Literal("3", datatype=_XSD_INTEGER), 402s Literal("5", datatype=_XSD_INTEGER), 402s "aplusb", 402s Literal("8", datatype=_XSD_INTEGER), 402s ), 402s ( 402s Literal("3", datatype=_XSD_INTEGER), 402s Literal("5", datatype=_XSD_INTEGER), 402s "bminusa", 402s Literal("2", datatype=_XSD_INTEGER), 402s ), 402s ( 402s Literal("5.3", datatype=_XSD_FLOAT), 402s Literal("8.5", datatype=_XSD_FLOAT), 402s "bminusa", 402s Literal("3.2", datatype=_XSD_FLOAT), 402s ), 402s ( 402s Literal("5.3", datatype=_XSD_DECIMAL), 402s Literal("8.5", datatype=_XSD_DECIMAL), 402s "bminusa", 402s Literal("3.2", datatype=_XSD_DECIMAL), 402s ), 402s ( 402s Literal("5.3", datatype=_XSD_DOUBLE), 402s Literal("8.5", datatype=_XSD_DOUBLE), 402s "aminusb", 402s Literal("-3.2", datatype=_XSD_DOUBLE), 402s ), 402s ( 402s Literal("8.5", datatype=_XSD_DOUBLE), 402s Literal("5.3", datatype=_XSD_DOUBLE), 402s "aminusb", 402s Literal("3.2", datatype=_XSD_DOUBLE), 402s ), 402s ( 402s Literal(isodate.Duration(hours=1)), 402s Literal(isodate.Duration(hours=1)), 402s "aplusb", 402s Literal(isodate.Duration(hours=2)), 402s ), 402s ( 402s Literal(datetime.timedelta(days=1)), 402s Literal(datetime.timedelta(days=1)), 402s "aplusb", 402s Literal(datetime.timedelta(days=2)), 402s ), 402s ( 402s Literal(datetime.time.fromisoformat("04:23:01.000384")), 402s Literal(isodate.Duration(hours=1)), 402s "aplusb", 402s Literal("05:23:01.000384", datatype=XSD.time), 402s ), 402s ( 402s Literal(datetime.date.fromisoformat("2011-11-04")), 402s Literal(isodate.Duration(days=1)), 402s "aplusb", 402s Literal("2011-11-05", datatype=XSD.date), 402s ), 402s ( 402s Literal(datetime.datetime.fromisoformat("2011-11-04 00:05:23.283+00:00")), 402s Literal(isodate.Duration(days=1)), 402s "aplusb", 402s Literal("2011-11-05T00:05:23.283000+00:00", datatype=XSD.dateTime), 402s ), 402s ( 402s Literal(datetime.time.fromisoformat("04:23:01.000384")), 402s Literal(datetime.timedelta(hours=1)), 402s "aplusb", 402s Literal("05:23:01.000384", datatype=XSD.time), 402s ), 402s ( 402s Literal(datetime.date.fromisoformat("2011-11-04")), 402s Literal(datetime.timedelta(days=1)), 402s "aplusb", 402s Literal("2011-11-05", datatype=XSD.date), 402s ), 402s ( 402s Literal(datetime.datetime.fromisoformat("2011-11-04 00:05:23.283+00:00")), 402s Literal(datetime.timedelta(days=1)), 402s "aplusb", 402s Literal("2011-11-05T00:05:23.283000+00:00", datatype=XSD.dateTime), 402s ), 402s ( 402s Literal(datetime.time.fromisoformat("04:23:01.000384")), 402s Literal(isodate.Duration(hours=1)), 402s "aminusb", 402s Literal("03:23:01.000384", datatype=XSD.time), 402s ), 402s ( 402s Literal(datetime.date.fromisoformat("2011-11-04")), 402s Literal(isodate.Duration(days=1)), 402s "aminusb", 402s Literal("2011-11-03", datatype=XSD.date), 402s ), 402s ( 402s Literal(datetime.datetime.fromisoformat("2011-11-04 00:05:23.283+00:00")), 402s Literal(isodate.Duration(days=1)), 402s "aminusb", 402s Literal("2011-11-03T00:05:23.283000+00:00", datatype=XSD.dateTime), 402s ), 402s ( 402s Literal(datetime.time.fromisoformat("04:23:01.000384")), 402s Literal(datetime.timedelta(hours=1)), 402s "aminusb", 402s Literal("03:23:01.000384", datatype=XSD.time), 402s ), 402s ( 402s Literal(datetime.date.fromisoformat("2011-11-04")), 402s Literal(datetime.timedelta(days=1)), 402s "aminusb", 402s Literal("2011-11-03", datatype=XSD.date), 402s ), 402s ( 402s Literal(datetime.datetime.fromisoformat("2011-11-04 00:05:23.283+00:00")), 402s Literal(datetime.timedelta(days=1)), 402s "aminusb", 402s Literal("2011-11-03T00:05:23.283000+00:00", datatype=XSD.dateTime), 402s ), 402s ( 402s Literal("5", datatype=XSD.integer), 402s Literal("10", datatype=XSD.integer), 402s "bminusa", 402s Literal("5", datatype=XSD.integer), 402s ), 402s ( 402s Literal("5"), 402s Literal("10", datatype=_XSD_INTEGER), 402s "aminusb", 402s TypeError( 402s "Minuend Literal must have Numeric, Date, Datetime or Time datatype." 402s ), 402s ), 402s ( 402s Literal("5"), 402s Literal("10", datatype=_XSD_INTEGER), 402s "bminusa", 402s TypeError( 402s "Subtrahend Literal must have Numeric, Date, Datetime or Time datatype." 402s ), 402s ), 402s *affix_tuples( 402s ( 402s Literal("5", datatype=_XSD_INTEGER), 402s Literal("10", datatype=_XSD_FLOAT), 402s ), 402s [ 402s ("aminusb", Literal("-5", datatype=_XSD_DECIMAL)), 402s ("aplusb", Literal("15", datatype=_XSD_DECIMAL)), 402s ("bminusa", Literal("5", datatype=_XSD_DECIMAL)), 402s ("bplusa", Literal("15", datatype=_XSD_DECIMAL)), 402s ], 402s None, 402s ), 402s *affix_tuples( 402s ( 402s Literal("5", datatype=_XSD_FLOAT), 402s Literal("10", datatype=_XSD_DECIMAL), 402s ), 402s [ 402s ("aminusb", Literal("-5", datatype=_XSD_DECIMAL)), 402s ("aplusb", Literal("15", datatype=_XSD_DECIMAL)), 402s ("bminusa", Literal("5", datatype=_XSD_DECIMAL)), 402s ("bplusa", Literal("15", datatype=_XSD_DECIMAL)), 402s ], 402s None, 402s ), 402s *affix_tuples( 402s ( 402s Literal("5", datatype=_XSD_FLOAT), 402s Literal("10", datatype=_XSD_DOUBLE), 402s ), 402s [ 402s ("aminusb", Literal("-5", datatype=_XSD_DECIMAL)), 402s ("aplusb", Literal("15", datatype=_XSD_DECIMAL)), 402s ("bminusa", Literal("5", datatype=_XSD_DECIMAL)), 402s ("bplusa", Literal("15", datatype=_XSD_DECIMAL)), 402s ], 402s None, 402s ), 402s *affix_tuples( 402s ( 402s Literal(Decimal("1.2121214312312")), 402s Literal(1), 402s ), 402s [ 402s ("aminusb", Literal(Decimal("0.212121"))), 402s ("aplusb", Literal(Decimal("2.212121"))), 402s ("bminusa", Literal(Decimal("-0.212121"))), 402s ("bplusa", Literal(Decimal("2.212121"))), 402s ], 402s None, 402s ), 402s *affix_tuples( 402s ( 402s Literal("P31D", datatype=_XSD_DURATION), 402s Literal("P5D", datatype=_XSD_DURATION), 402s ), 402s [ 402s ("aplusb", Literal("P36D", datatype=_XSD_DURATION)), 402s ("aminusb", Literal("P26D", datatype=_XSD_DURATION)), 402s ], 402s None, 402s ), 402s *affix_tuples( 402s ( 402s Literal("P119D", datatype=_XSD_DURATION), 402s Literal("2006-01-02T20:50:00", datatype=_XSD_DATETIME), 402s ), 402s [ 402s ("aplusb", TypeError(r".*datatype.*")), 402s ("aminusb", TypeError(r".*datatype.*")), 402s ], 402s None, 402s ), 402s *affix_tuples( 402s ( 402s Literal(isodate.Duration(days=4)), 402s Literal(datetime.timedelta(days=1)), 402s ), 402s [ 402s ( 402s "aplusb", 402s TypeError( 402s r"Cannot add a Literal of datatype.*to a Literal of datatype.*" 402s ), 402s ), 402s ( 402s "aminusb", 402s TypeError( 402s r"Cannot subtract a Literal of datatype.*from a Literal of datatype.*" 402s ), 402s ), 402s ], 402s None, 402s ), 402s *affix_tuples( 402s ( 402s Literal(isodate.Duration(days=4)), 402s Literal(isodate.Duration(days=1)), 402s ), 402s [ 402s ("aplusb", Literal(isodate.Duration(days=5))), 402s ("aminusb", Literal(isodate.Duration(days=3))), 402s ], 402s None, 402s ), 402s *affix_tuples( 402s ( 402s Literal(datetime.timedelta(hours=4)), 402s Literal(datetime.timedelta(hours=1)), 402s ), 402s [ 402s ("aplusb", Literal(datetime.timedelta(hours=5))), 402s ("aminusb", Literal(datetime.timedelta(hours=3))), 402s ], 402s None, 402s ), 402s ], 402s ) 402s def test_literal_addsub( 402s a: Literal, 402s b: Literal, 402s op: str, 402s expected_result: OutcomePrimitive[Literal], 402s ) -> None: 402s checker = OutcomeChecker[Literal].from_primitive(expected_result) 402s with checker.context(): 402s if op == "aplusb": 402s result = a + b 402s 402s elif op == "aminusb": 402s result = a - b 402s elif op == "bminusa": 402s > result = b - a 402s 402s test/test_literal/test_literal.py:637: 402s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 402s rdflib/term.py:940: in __sub__ 402s self.toPython() - val.toPython(), 402s rdflib/term.py:940: in __sub__ 402s self.toPython() - val.toPython(), 402s E RecursionError: maximum recursion depth exceeded 402s !!! Recursion detected (same locals & position) 402s __ test_literal_addsub[2006-07-01T20:52:00-P123D-aplusb-2006-11-01T12:50:00] ___ 402s 402s a = rdflib.term.Literal('2006-07-01T20:52:00', datatype=rdflib.term.URIRef('http://www.w3.org/2001/XMLSchema#date')) 402s b = rdflib.term.Literal('P123D', datatype=rdflib.term.URIRef('http://www.w3.org/2001/XMLSchema#duration')) 402s op = 'aplusb' 402s expected_result = rdflib.term.Literal('2006-11-01T12:50:00', datatype=rdflib.term.URIRef('http://www.w3.org/2001/XMLSchema#date')) 402s 402s @pytest.mark.parametrize( 402s "a, b, op, expected_result", 402s [ 402s pytest.param( 402s Literal("20:00:00", datatype=_XSD_STRING), 402s Literal("23:30:00", datatype=_XSD_STRING), 402s "bminusa", 402s TypeError(r"unsupported operand type\(s\) for -: 'str' and 'str'"), 402s id="Attempt to subtract strings", 402s ), 402s pytest.param( 402s Literal("20:00:00", datatype=_XSD_TIME), 402s Literal("23:30:00", datatype=_XSD_STRING), 402s "aplusb", 402s TypeError( 402s "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" 402s ), 402s id="Attempt to add string to time", 402s ), 402s pytest.param( 402s Literal("20:00:00", datatype=_XSD_TIME), 402s Literal("23:30:00", datatype=_XSD_STRING), 402s "bminusa", 402s TypeError( 402s "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" 402s ), 402s id="Attempt to subtract string from time", 402s ), 402s pytest.param( 402s Literal("20:52:00", datatype=_XSD_TIME), 402s Literal("12", datatype=_XSD_INTEGER), 402s "aplusb", 402s TypeError( 402s "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" 402s ), 402s id="Attempt to add integer to time", 402s ), 402s pytest.param( 402s Literal("20:52:00", datatype=_XSD_TIME), 402s Literal("12", datatype=_XSD_INTEGER), 402s "bplusa", 402s TypeError( 402s "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" 402s ), 402s id="Attempt to add time to integer", 402s ), 402s pytest.param( 402s Literal("20:52:00", datatype=_XSD_TIME), 402s Literal("12", datatype=_XSD_INTEGER), 402s "aminusb", 402s TypeError( 402s "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" 402s ), 402s id="Attempt to subtract integer from time", 402s ), 402s pytest.param( 402s Literal("20:52:00", datatype=_XSD_TIME), 402s Literal("12", datatype=_XSD_INTEGER), 402s "bminusa", 402s TypeError( 402s "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" 402s ), 402s id="Attempt to subtract time from integer", 402s ), 402s pytest.param( 402s Literal("12", datatype=_XSD_INTEGER), 402s Literal("P122DT15H58M", datatype=_XSD_DURATION), 402s "aplusb", 402s TypeError( 402s "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" 402s ), 402s id="Attempt to add duration to integer", 402s ), 402s pytest.param( 402s Literal("12", datatype=_XSD_INTEGER), 402s Literal("P122DT15H58M", datatype=_XSD_DURATION), 402s "bplusa", 402s TypeError( 402s "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" 402s ), 402s id="Attempt to add integer to duration", 402s ), 402s pytest.param( 402s Literal("12", datatype=_XSD_INTEGER), 402s Literal("P122DT15H58M", datatype=_XSD_DURATION), 402s "aminusb", 402s TypeError( 402s "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" 402s ), 402s id="Attempt to subtract duration from integer", 402s ), 402s pytest.param( 402s Literal("12", datatype=_XSD_INTEGER), 402s Literal("P122DT15H58M", datatype=_XSD_DURATION), 402s "bminusa", 402s TypeError( 402s "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" 402s ), 402s id="Attempt to subtract integer from duration", 402s ), 402s ( 402s Literal("2006-01-01T20:50:00", datatype=_XSD_DATETIME), 402s Literal("2006-02-01T20:50:00", datatype=_XSD_DATETIME), 402s "bminusa", 402s Literal("P31D", datatype=_XSD_DURATION), 402s ), 402s ( 402s Literal("2006-01-02T20:50:00", datatype=_XSD_DATETIME), 402s Literal("2006-05-01T20:50:00", datatype=_XSD_DATETIME), 402s "bminusa", 402s Literal("P119D", datatype=_XSD_DURATION), 402s ), 402s ( 402s Literal("2006-07-01T20:52:00", datatype=_XSD_DATETIME), 402s Literal("2006-11-01T12:50:00", datatype=_XSD_DATETIME), 402s "aminusb", 402s Literal("-P122DT15H58M", datatype=_XSD_DURATION), 402s ), 402s ( 402s Literal("2006-07-01T20:52:00", datatype=_XSD_DATETIME), 402s Literal("2006-11-01T12:50:00", datatype=_XSD_DATETIME), 402s "bminusa", 402s Literal("P122DT15H58M", datatype=_XSD_DURATION), 402s ), 402s ( 402s Literal("2006-07-01T20:52:00", datatype=_XSD_DATE), 402s Literal("2006-11-01T12:50:00", datatype=_XSD_DATE), 402s "bminusa", 402s Literal("P123D", datatype=_XSD_DURATION), 402s ), 402s ( 402s Literal("2006-08-01", datatype=_XSD_DATE), 402s Literal("2006-11-01", datatype=_XSD_DATE), 402s "bminusa", 402s Literal("P92D", datatype=_XSD_DURATION), 402s ), 402s ( 402s Literal("20:52:00", datatype=_XSD_TIME), 402s Literal("12:50:00", datatype=_XSD_TIME), 402s "bminusa", 402s Literal("-PT8H2M", datatype=_XSD_DURATION), 402s ), 402s ( 402s Literal("20:00:00", datatype=_XSD_TIME), 402s Literal("23:30:00", datatype=_XSD_TIME), 402s "bminusa", 402s Literal("PT3H30M", datatype=_XSD_DURATION), 402s ), 402s ( 402s Literal("2006-01-01T20:50:00", datatype=_XSD_DATETIME), 402s Literal("P31D", datatype=_XSD_DURATION), 402s "aplusb", 402s Literal("2006-02-01T20:50:00", datatype=_XSD_DATETIME), 402s ), 402s ( 402s Literal("2006-01-02T20:50:00", datatype=_XSD_DATETIME), 402s Literal("P119D", datatype=_XSD_DURATION), 402s "aplusb", 402s Literal("2006-05-01T20:50:00", datatype=_XSD_DATETIME), 402s ), 402s ( 402s Literal("2006-07-01T20:52:00", datatype=_XSD_DATETIME), 402s Literal("P122DT15H58M", datatype=_XSD_DURATION), 402s "aplusb", 402s Literal("2006-11-01T12:50:00", datatype=_XSD_DATETIME), 402s ), 402s ( 402s Literal("2006-07-01T20:52:00", datatype=_XSD_DATE), 402s Literal("P123D", datatype=_XSD_DURATION), 402s "aplusb", 402s Literal("2006-11-01T12:50:00", datatype=_XSD_DATE), 402s ), 402s ( 402s Literal("2006-08-01", datatype=_XSD_DATE), 402s Literal("P92D", datatype=_XSD_DURATION), 402s "aplusb", 402s Literal("2006-11-01", datatype=_XSD_DATE), 402s ), 402s ( 402s Literal("20:52:00", datatype=_XSD_TIME), 402s Literal("-PT8H2M", datatype=_XSD_DURATION), 402s "aplusb", 402s Literal("12:50:00", datatype=_XSD_TIME), 402s ), 402s ( 402s Literal("20:00:00", datatype=_XSD_TIME), 402s Literal("PT3H30M", datatype=_XSD_DURATION), 402s "aplusb", 402s Literal("23:30:00", datatype=_XSD_TIME), 402s ), 402s ( 402s Literal("3", datatype=_XSD_INTEGER), 402s Literal("5", datatype=_XSD_INTEGER), 402s "aplusb", 402s Literal("8", datatype=_XSD_INTEGER), 402s ), 402s ( 402s Literal("3", datatype=_XSD_INTEGER), 402s Literal("5", datatype=_XSD_INTEGER), 402s "bminusa", 402s Literal("2", datatype=_XSD_INTEGER), 402s ), 402s ( 402s Literal("5.3", datatype=_XSD_FLOAT), 402s Literal("8.5", datatype=_XSD_FLOAT), 402s "bminusa", 402s Literal("3.2", datatype=_XSD_FLOAT), 402s ), 402s ( 402s Literal("5.3", datatype=_XSD_DECIMAL), 402s Literal("8.5", datatype=_XSD_DECIMAL), 402s "bminusa", 402s Literal("3.2", datatype=_XSD_DECIMAL), 402s ), 402s ( 402s Literal("5.3", datatype=_XSD_DOUBLE), 402s Literal("8.5", datatype=_XSD_DOUBLE), 402s "aminusb", 402s Literal("-3.2", datatype=_XSD_DOUBLE), 402s ), 402s ( 402s Literal("8.5", datatype=_XSD_DOUBLE), 402s Literal("5.3", datatype=_XSD_DOUBLE), 402s "aminusb", 402s Literal("3.2", datatype=_XSD_DOUBLE), 402s ), 402s ( 402s Literal(isodate.Duration(hours=1)), 402s Literal(isodate.Duration(hours=1)), 402s "aplusb", 402s Literal(isodate.Duration(hours=2)), 402s ), 402s ( 402s Literal(datetime.timedelta(days=1)), 402s Literal(datetime.timedelta(days=1)), 402s "aplusb", 402s Literal(datetime.timedelta(days=2)), 402s ), 402s ( 402s Literal(datetime.time.fromisoformat("04:23:01.000384")), 402s Literal(isodate.Duration(hours=1)), 402s "aplusb", 402s Literal("05:23:01.000384", datatype=XSD.time), 402s ), 402s ( 402s Literal(datetime.date.fromisoformat("2011-11-04")), 402s Literal(isodate.Duration(days=1)), 402s "aplusb", 402s Literal("2011-11-05", datatype=XSD.date), 402s ), 402s ( 402s Literal(datetime.datetime.fromisoformat("2011-11-04 00:05:23.283+00:00")), 402s Literal(isodate.Duration(days=1)), 402s "aplusb", 402s Literal("2011-11-05T00:05:23.283000+00:00", datatype=XSD.dateTime), 402s ), 402s ( 402s Literal(datetime.time.fromisoformat("04:23:01.000384")), 402s Literal(datetime.timedelta(hours=1)), 402s "aplusb", 402s Literal("05:23:01.000384", datatype=XSD.time), 402s ), 402s ( 402s Literal(datetime.date.fromisoformat("2011-11-04")), 402s Literal(datetime.timedelta(days=1)), 402s "aplusb", 402s Literal("2011-11-05", datatype=XSD.date), 402s ), 402s ( 402s Literal(datetime.datetime.fromisoformat("2011-11-04 00:05:23.283+00:00")), 402s Literal(datetime.timedelta(days=1)), 402s "aplusb", 402s Literal("2011-11-05T00:05:23.283000+00:00", datatype=XSD.dateTime), 402s ), 402s ( 402s Literal(datetime.time.fromisoformat("04:23:01.000384")), 402s Literal(isodate.Duration(hours=1)), 402s "aminusb", 402s Literal("03:23:01.000384", datatype=XSD.time), 402s ), 402s ( 402s Literal(datetime.date.fromisoformat("2011-11-04")), 402s Literal(isodate.Duration(days=1)), 402s "aminusb", 402s Literal("2011-11-03", datatype=XSD.date), 402s ), 402s ( 402s Literal(datetime.datetime.fromisoformat("2011-11-04 00:05:23.283+00:00")), 402s Literal(isodate.Duration(days=1)), 402s "aminusb", 402s Literal("2011-11-03T00:05:23.283000+00:00", datatype=XSD.dateTime), 402s ), 402s ( 402s Literal(datetime.time.fromisoformat("04:23:01.000384")), 402s Literal(datetime.timedelta(hours=1)), 402s "aminusb", 402s Literal("03:23:01.000384", datatype=XSD.time), 402s ), 402s ( 402s Literal(datetime.date.fromisoformat("2011-11-04")), 402s Literal(datetime.timedelta(days=1)), 402s "aminusb", 402s Literal("2011-11-03", datatype=XSD.date), 402s ), 402s ( 402s Literal(datetime.datetime.fromisoformat("2011-11-04 00:05:23.283+00:00")), 402s Literal(datetime.timedelta(days=1)), 402s "aminusb", 402s Literal("2011-11-03T00:05:23.283000+00:00", datatype=XSD.dateTime), 402s ), 402s ( 402s Literal("5", datatype=XSD.integer), 402s Literal("10", datatype=XSD.integer), 402s "bminusa", 402s Literal("5", datatype=XSD.integer), 402s ), 402s ( 402s Literal("5"), 402s Literal("10", datatype=_XSD_INTEGER), 402s "aminusb", 402s TypeError( 402s "Minuend Literal must have Numeric, Date, Datetime or Time datatype." 402s ), 402s ), 402s ( 402s Literal("5"), 402s Literal("10", datatype=_XSD_INTEGER), 402s "bminusa", 402s TypeError( 402s "Subtrahend Literal must have Numeric, Date, Datetime or Time datatype." 402s ), 402s ), 402s *affix_tuples( 402s ( 402s Literal("5", datatype=_XSD_INTEGER), 402s Literal("10", datatype=_XSD_FLOAT), 402s ), 402s [ 402s ("aminusb", Literal("-5", datatype=_XSD_DECIMAL)), 402s ("aplusb", Literal("15", datatype=_XSD_DECIMAL)), 402s ("bminusa", Literal("5", datatype=_XSD_DECIMAL)), 402s ("bplusa", Literal("15", datatype=_XSD_DECIMAL)), 402s ], 402s None, 402s ), 402s *affix_tuples( 402s ( 402s Literal("5", datatype=_XSD_FLOAT), 402s Literal("10", datatype=_XSD_DECIMAL), 402s ), 402s [ 402s ("aminusb", Literal("-5", datatype=_XSD_DECIMAL)), 402s ("aplusb", Literal("15", datatype=_XSD_DECIMAL)), 402s ("bminusa", Literal("5", datatype=_XSD_DECIMAL)), 402s ("bplusa", Literal("15", datatype=_XSD_DECIMAL)), 402s ], 402s None, 402s ), 402s *affix_tuples( 402s ( 402s Literal("5", datatype=_XSD_FLOAT), 402s Literal("10", datatype=_XSD_DOUBLE), 402s ), 402s [ 402s ("aminusb", Literal("-5", datatype=_XSD_DECIMAL)), 402s ("aplusb", Literal("15", datatype=_XSD_DECIMAL)), 402s ("bminusa", Literal("5", datatype=_XSD_DECIMAL)), 402s ("bplusa", Literal("15", datatype=_XSD_DECIMAL)), 402s ], 402s None, 402s ), 402s *affix_tuples( 402s ( 402s Literal(Decimal("1.2121214312312")), 402s Literal(1), 402s ), 402s [ 402s ("aminusb", Literal(Decimal("0.212121"))), 402s ("aplusb", Literal(Decimal("2.212121"))), 402s ("bminusa", Literal(Decimal("-0.212121"))), 402s ("bplusa", Literal(Decimal("2.212121"))), 402s ], 402s None, 402s ), 402s *affix_tuples( 402s ( 402s Literal("P31D", datatype=_XSD_DURATION), 402s Literal("P5D", datatype=_XSD_DURATION), 402s ), 402s [ 402s ("aplusb", Literal("P36D", datatype=_XSD_DURATION)), 402s ("aminusb", Literal("P26D", datatype=_XSD_DURATION)), 402s ], 402s None, 402s ), 402s *affix_tuples( 402s ( 402s Literal("P119D", datatype=_XSD_DURATION), 402s Literal("2006-01-02T20:50:00", datatype=_XSD_DATETIME), 402s ), 402s [ 402s ("aplusb", TypeError(r".*datatype.*")), 402s ("aminusb", TypeError(r".*datatype.*")), 402s ], 402s None, 402s ), 402s *affix_tuples( 402s ( 402s Literal(isodate.Duration(days=4)), 402s Literal(datetime.timedelta(days=1)), 402s ), 402s [ 402s ( 402s "aplusb", 402s TypeError( 402s r"Cannot add a Literal of datatype.*to a Literal of datatype.*" 402s ), 402s ), 402s ( 402s "aminusb", 402s TypeError( 402s r"Cannot subtract a Literal of datatype.*from a Literal of datatype.*" 402s ), 402s ), 402s ], 402s None, 402s ), 402s *affix_tuples( 402s ( 402s Literal(isodate.Duration(days=4)), 402s Literal(isodate.Duration(days=1)), 402s ), 402s [ 402s ("aplusb", Literal(isodate.Duration(days=5))), 402s ("aminusb", Literal(isodate.Duration(days=3))), 402s ], 402s None, 402s ), 402s *affix_tuples( 402s ( 402s Literal(datetime.timedelta(hours=4)), 402s Literal(datetime.timedelta(hours=1)), 402s ), 402s [ 402s ("aplusb", Literal(datetime.timedelta(hours=5))), 402s ("aminusb", Literal(datetime.timedelta(hours=3))), 402s ], 402s None, 402s ), 402s ], 402s ) 402s def test_literal_addsub( 402s a: Literal, 402s b: Literal, 402s op: str, 402s expected_result: OutcomePrimitive[Literal], 402s ) -> None: 402s checker = OutcomeChecker[Literal].from_primitive(expected_result) 402s with checker.context(): 402s if op == "aplusb": 402s > result = a + b 402s 402s test/test_literal/test_literal.py:632: 402s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 402s rdflib/term.py:797: in __add__ 402s difference = date1 + duration 402s rdflib/term.py:797: in __add__ 402s difference = date1 + duration 402s rdflib/term.py:797: in __add__ 402s difference = date1 + duration 402s E RecursionError: maximum recursion depth exceeded 402s !!! Recursion detected (same locals & position) 402s =============================== warnings summary =============================== 402s test/test_issues/test_issue200.py::TestRandomSeedInFork::test_bnode_id_differs_in_fork 402s /tmp/autopkgtest.M9nJV8/build.Z99/src/test/test_issues/test_issue200.py:22: DeprecationWarning: This process (pid=1347) is multi-threaded, use of fork() may lead to deadlocks in the child. 402s pid = os.fork() 402s 402s test/test_literal/test_literal.py::test_ill_typed_literals[yes-http://www.w3.org/2001/XMLSchema#boolean-True] 402s /tmp/autopkgtest.M9nJV8/build.Z99/src/rdflib/term.py:1719: UserWarning: Parsing weird boolean, 'yes' does not map to True or False 402s warnings.warn( 402s 402s test/test_namespace/test_definednamespace.py::test_inspect[DFNSDefaults] 402s /usr/lib/python3.12/inspect.py:2563: UserWarning: Code: _partialmethod is not defined in namespace DFNSDefaults 402s partialmethod = obj._partialmethod 402s 402s test/test_namespace/test_definednamespace.py::test_inspect[DFNSWarnNoFail] 402s /usr/lib/python3.12/inspect.py:2563: UserWarning: Code: _partialmethod is not defined in namespace DFNSWarnNoFail 402s partialmethod = obj._partialmethod 402s 402s test/test_namespace/test_definednamespace.py::test_inspect[DFNSDefaultsEmpty] 402s /usr/lib/python3.12/inspect.py:2563: UserWarning: Code: _partialmethod is not defined in namespace DFNSDefaultsEmpty 402s partialmethod = obj._partialmethod 402s 402s test/test_namespace/test_namespace.py::TestNamespacePrefix::test_closed_namespace 402s /tmp/autopkgtest.M9nJV8/build.Z99/src/test/test_namespace/test_namespace.py:228: UserWarning: DefinedNamespace does not address deprecated properties 402s warn("DefinedNamespace does not address deprecated properties") 402s 402s test/test_parsers/test_n3parse_of_rdf_lists.py::TestOWLCollectionTest::test_collection_rdfxml 402s /tmp/autopkgtest.M9nJV8/build.Z99/src/rdflib/plugins/serializers/rdfxml.py:280: UserWarning: Assertions on rdflib.term.BNode('N55ee0e198f074850b08a8d29cf8f44e2') other than RDF.first and RDF.rest are ignored ... including RDF.List 402s self.predicate(predicate, object, depth + 1) 402s 402s test/test_roundtrip.py: 12 warnings 402s /tmp/autopkgtest.M9nJV8/build.Z99/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')) 402s warnings.warn("Serializing weird numerical %r" % self) 402s 402s test/test_roundtrip.py: 12 warnings 402s /tmp/autopkgtest.M9nJV8/build.Z99/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')) 402s warnings.warn("Serializing weird numerical %r" % self) 402s 402s test/test_roundtrip.py: 12 warnings 402s /tmp/autopkgtest.M9nJV8/build.Z99/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')) 402s warnings.warn("Serializing weird numerical %r" % self) 402s 402s test/test_serializers/test_serializer.py: 10 warnings 402s test/test_tools/test_chunk_serializer.py: 4 warnings 402s /tmp/autopkgtest.M9nJV8/build.Z99/src/rdflib/plugins/serializers/nt.py:40: UserWarning: NTSerializer always uses UTF-8 encoding. Given encoding was: None 402s warnings.warn( 402s 402s test/test_util.py::TestUtilTermConvert::test_util_from_n3_expectliteralandlangdtype 402s /usr/lib/python3/dist-packages/_pytest/python.py:159: UserWarning: Code: fr is not defined in namespace XSD 402s result = testfunction(**testargs) 402s 402s test/test_util.py::TestUtilTermConvert::test_util_from_n3_not_escapes[\\I] 402s /tmp/autopkgtest.M9nJV8/build.Z99/src/rdflib/util.py:213: DeprecationWarning: invalid escape sequence '\I' 402s value = value.encode("raw-unicode-escape").decode("unicode-escape") 402s 402s test/test_w3c_spec/test_sparql10_w3c.py: 24 warnings 402s test/test_w3c_spec/test_sparql11_w3c.py: 43 warnings 402s /tmp/autopkgtest.M9nJV8/build.Z99/src/rdflib/term.py:1161: DeprecationWarning: NotImplemented should not be used in a boolean context 402s return not self.__gt__(other) and not self.eq(other) 402s 402s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 402s =========================== short test summary info ============================ 402s FAILED test/test_literal/test_literal.py::test_literal_addsub[2006-07-01T20:52:00-2006-11-01T12:50:00-bminusa-P123D] 402s FAILED test/test_literal/test_literal.py::test_literal_addsub[2006-07-01T20:52:00-P123D-aplusb-2006-11-01T12:50:00] 402s = 2 failed, 7199 passed, 58 skipped, 1 deselected, 369 xfailed, 1 xpassed, 126 warnings in 115.01s (0:01:55) = 403s autopkgtest [01:01:54]: test python3: -----------------------] 407s autopkgtest [01:01:58]: test python3: - - - - - - - - - - results - - - - - - - - - - 407s python3 FAIL non-zero exit status 1 411s autopkgtest [01:02:02]: @@@@@@@@@@@@@@@@@@@@ summary 411s python3 FAIL non-zero exit status 1