0s autopkgtest [06:40:35]: starting date and time: 2024-12-21 06:40:35+0000 0s autopkgtest [06:40:35]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [06:40:35]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.u51rztaw/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed --apt-upgrade python-django-crispy-forms-foundation --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python-django/3:5.1.4-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-s390x-26.secgroup --name adt-plucky-s390x-python-django-crispy-forms-foundation-20241221-064035-juju-7f2275-prod-proposed-migration-environment-15-4c6d6fe4-8107-4df1-b091-8c270bd6064e --image adt/ubuntu-plucky-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration-s390x -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,radosgw.ps5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 64s autopkgtest [06:41:39]: testbed dpkg architecture: s390x 65s autopkgtest [06:41:40]: testbed apt version: 2.9.16 65s autopkgtest [06:41:40]: @@@@@@@@@@@@@@@@@@@@ test bed setup 65s autopkgtest [06:41:40]: testbed release detected to be: None 66s autopkgtest [06:41:41]: updating testbed package index (apt update) 66s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 66s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 66s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 66s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 67s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [10.8 kB] 67s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [570 kB] 67s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [52.1 kB] 67s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 67s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [53.4 kB] 67s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted s390x Packages [756 B] 67s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [426 kB] 67s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [3108 B] 67s Fetched 1200 kB in 1s (1514 kB/s) 67s Reading package lists... 68s Reading package lists... 68s Building dependency tree... 68s Reading state information... 68s Calculating upgrade... 68s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 68s Reading package lists... 68s Building dependency tree... 68s Reading state information... 68s 0 upgraded, 0 newly installed, 0 to remove and 28 not upgraded. 68s autopkgtest [06:41:43]: upgrading testbed (apt dist-upgrade and autopurge) 69s Reading package lists... 69s Building dependency tree... 69s Reading state information... 69s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 69s Starting 2 pkgProblemResolver with broken count: 0 69s Done 69s Entering ResolveByKeep 69s 69s The following NEW packages will be installed: 69s libjemalloc2 linux-headers-6.11.0-9 linux-headers-6.11.0-9-generic 69s linux-image-6.11.0-9-generic linux-modules-6.11.0-9-generic 69s linux-modules-extra-6.11.0-9-generic 69s The following packages will be upgraded: 69s apt apt-utils dracut-install e2fsprogs e2fsprogs-l10n libapt-pkg6.0t64 69s libclang1-19 libcom-err2 libext2fs2t64 libllvm19 libnftables1 libnftnl11 69s libss2 libyaml-0-2 linux-generic linux-headers-generic linux-headers-virtual 69s linux-image-generic linux-image-virtual linux-libc-dev linux-tools-common 69s linux-virtual logsave nftables python-apt-common python3-apt tmux ucf 69s 28 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. 69s Need to get 111 MB of archives. 69s After this operation, 152 MB of additional disk space will be used. 69s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x libapt-pkg6.0t64 s390x 2.9.18 [1093 kB] 70s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x apt s390x 2.9.18 [1367 kB] 70s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x apt-utils s390x 2.9.18 [215 kB] 70s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x logsave s390x 1.47.2~rc1-2ubuntu1 [26.4 kB] 70s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x e2fsprogs-l10n all 1.47.2~rc1-2ubuntu1 [7032 B] 70s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x libext2fs2t64 s390x 1.47.2~rc1-2ubuntu1 [236 kB] 70s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x e2fsprogs s390x 1.47.2~rc1-2ubuntu1 [623 kB] 70s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x libcom-err2 s390x 1.47.2~rc1-2ubuntu1 [26.6 kB] 70s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x libss2 s390x 1.47.2~rc1-2ubuntu1 [18.0 kB] 70s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x libyaml-0-2 s390x 0.2.5-2 [54.8 kB] 70s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x python-apt-common all 2.9.5 [20.9 kB] 70s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x python3-apt s390x 2.9.5 [184 kB] 70s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x ucf all 3.0046 [41.9 kB] 70s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x nftables s390x 1.1.1-1build1 [71.5 kB] 70s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x libnftnl11 s390x 1.2.8-1 [66.6 kB] 70s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x libnftables1 s390x 1.1.1-1build1 [388 kB] 70s Get:17 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x dracut-install s390x 105-2ubuntu5 [36.2 kB] 70s Get:18 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x libllvm19 s390x 1:19.1.6-1ubuntu1 [34.4 MB] 71s Get:19 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x libclang1-19 s390x 1:19.1.6-1ubuntu1 [9755 kB] 72s Get:20 http://ftpmaster.internal/ubuntu plucky/universe s390x libjemalloc2 s390x 5.3.0-2build1 [204 kB] 72s Get:21 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x linux-modules-6.11.0-9-generic s390x 6.11.0-9.9 [22.2 MB] 73s Get:22 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x linux-image-6.11.0-9-generic s390x 6.11.0-9.9 [9602 kB] 73s Get:23 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x linux-modules-extra-6.11.0-9-generic s390x 6.11.0-9.9 [11.2 MB] 74s Get:24 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x linux-generic s390x 6.11.0-9.9 [1732 B] 74s Get:25 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x linux-image-generic s390x 6.11.0-9.9 [10.8 kB] 74s Get:26 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x linux-virtual s390x 6.11.0-9.9 [1724 B] 74s Get:27 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x linux-image-virtual s390x 6.11.0-9.9 [10.8 kB] 74s Get:28 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x linux-headers-virtual s390x 6.11.0-9.9 [1642 B] 74s Get:29 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x linux-headers-6.11.0-9 all 6.11.0-9.9 [13.9 MB] 74s Get:30 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x linux-headers-6.11.0-9-generic s390x 6.11.0-9.9 [2791 kB] 74s Get:31 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x linux-headers-generic s390x 6.11.0-9.9 [10.7 kB] 74s Get:32 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x linux-libc-dev s390x 6.11.0-9.9 [1662 kB] 74s Get:33 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x linux-tools-common all 6.11.0-9.9 [484 kB] 74s Get:34 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x tmux s390x 3.5a-2 [497 kB] 75s Preconfiguring packages ... 75s Fetched 111 MB in 5s (20.9 MB/s) 75s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 55500 files and directories currently installed.) 75s Preparing to unpack .../libapt-pkg6.0t64_2.9.18_s390x.deb ... 75s Unpacking libapt-pkg6.0t64:s390x (2.9.18) over (2.9.16) ... 75s Setting up libapt-pkg6.0t64:s390x (2.9.18) ... 75s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 55500 files and directories currently installed.) 75s Preparing to unpack .../archives/apt_2.9.18_s390x.deb ... 75s Unpacking apt (2.9.18) over (2.9.16) ... 75s Setting up apt (2.9.18) ... 75s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 55494 files and directories currently installed.) 75s Preparing to unpack .../apt-utils_2.9.18_s390x.deb ... 75s Unpacking apt-utils (2.9.18) over (2.9.16) ... 75s Preparing to unpack .../logsave_1.47.2~rc1-2ubuntu1_s390x.deb ... 75s Unpacking logsave (1.47.2~rc1-2ubuntu1) over (1.47.1-1ubuntu1) ... 75s Preparing to unpack .../e2fsprogs-l10n_1.47.2~rc1-2ubuntu1_all.deb ... 75s Unpacking e2fsprogs-l10n (1.47.2~rc1-2ubuntu1) over (1.47.1-1ubuntu1) ... 75s Preparing to unpack .../libext2fs2t64_1.47.2~rc1-2ubuntu1_s390x.deb ... 75s Leaving 'diversion of /lib/s390x-linux-gnu/libe2p.so.2 to /lib/s390x-linux-gnu/libe2p.so.2.usr-is-merged by libext2fs2t64' 75s Leaving 'diversion of /lib/s390x-linux-gnu/libe2p.so.2.3 to /lib/s390x-linux-gnu/libe2p.so.2.3.usr-is-merged by libext2fs2t64' 75s Leaving 'diversion of /lib/s390x-linux-gnu/libext2fs.so.2 to /lib/s390x-linux-gnu/libext2fs.so.2.usr-is-merged by libext2fs2t64' 75s Leaving 'diversion of /lib/s390x-linux-gnu/libext2fs.so.2.4 to /lib/s390x-linux-gnu/libext2fs.so.2.4.usr-is-merged by libext2fs2t64' 75s Unpacking libext2fs2t64:s390x (1.47.2~rc1-2ubuntu1) over (1.47.1-1ubuntu1) ... 76s Setting up libext2fs2t64:s390x (1.47.2~rc1-2ubuntu1) ... 76s (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 ... 55494 files and directories currently installed.) 76s Preparing to unpack .../00-e2fsprogs_1.47.2~rc1-2ubuntu1_s390x.deb ... 76s Unpacking e2fsprogs (1.47.2~rc1-2ubuntu1) over (1.47.1-1ubuntu1) ... 76s Preparing to unpack .../01-libcom-err2_1.47.2~rc1-2ubuntu1_s390x.deb ... 76s Unpacking libcom-err2:s390x (1.47.2~rc1-2ubuntu1) over (1.47.1-1ubuntu1) ... 76s Preparing to unpack .../02-libss2_1.47.2~rc1-2ubuntu1_s390x.deb ... 76s Unpacking libss2:s390x (1.47.2~rc1-2ubuntu1) over (1.47.1-1ubuntu1) ... 76s Preparing to unpack .../03-libyaml-0-2_0.2.5-2_s390x.deb ... 76s Unpacking libyaml-0-2:s390x (0.2.5-2) over (0.2.5-1build1) ... 76s Preparing to unpack .../04-python-apt-common_2.9.5_all.deb ... 76s Unpacking python-apt-common (2.9.5) over (2.9.0ubuntu2) ... 76s Preparing to unpack .../05-python3-apt_2.9.5_s390x.deb ... 76s Unpacking python3-apt (2.9.5) over (2.9.0ubuntu2) ... 76s Preparing to unpack .../06-ucf_3.0046_all.deb ... 76s Unpacking ucf (3.0046) over (3.0045) ... 76s Preparing to unpack .../07-nftables_1.1.1-1build1_s390x.deb ... 76s Unpacking nftables (1.1.1-1build1) over (1.1.0-2) ... 76s Preparing to unpack .../08-libnftnl11_1.2.8-1_s390x.deb ... 76s Unpacking libnftnl11:s390x (1.2.8-1) over (1.2.7-1) ... 76s Preparing to unpack .../09-libnftables1_1.1.1-1build1_s390x.deb ... 76s Unpacking libnftables1:s390x (1.1.1-1build1) over (1.1.0-2) ... 76s Preparing to unpack .../10-dracut-install_105-2ubuntu5_s390x.deb ... 76s Unpacking dracut-install (105-2ubuntu5) over (105-2ubuntu3) ... 76s Preparing to unpack .../11-libllvm19_1%3a19.1.6-1ubuntu1_s390x.deb ... 76s Unpacking libllvm19:s390x (1:19.1.6-1ubuntu1) over (1:19.1.5-1ubuntu1) ... 76s Preparing to unpack .../12-libclang1-19_1%3a19.1.6-1ubuntu1_s390x.deb ... 76s Unpacking libclang1-19 (1:19.1.6-1ubuntu1) over (1:19.1.5-1ubuntu1) ... 77s Selecting previously unselected package libjemalloc2:s390x. 77s Preparing to unpack .../13-libjemalloc2_5.3.0-2build1_s390x.deb ... 77s Unpacking libjemalloc2:s390x (5.3.0-2build1) ... 77s Selecting previously unselected package linux-modules-6.11.0-9-generic. 77s Preparing to unpack .../14-linux-modules-6.11.0-9-generic_6.11.0-9.9_s390x.deb ... 77s Unpacking linux-modules-6.11.0-9-generic (6.11.0-9.9) ... 77s Selecting previously unselected package linux-image-6.11.0-9-generic. 77s Preparing to unpack .../15-linux-image-6.11.0-9-generic_6.11.0-9.9_s390x.deb ... 77s Unpacking linux-image-6.11.0-9-generic (6.11.0-9.9) ... 77s Selecting previously unselected package linux-modules-extra-6.11.0-9-generic. 77s Preparing to unpack .../16-linux-modules-extra-6.11.0-9-generic_6.11.0-9.9_s390x.deb ... 77s Unpacking linux-modules-extra-6.11.0-9-generic (6.11.0-9.9) ... 77s Preparing to unpack .../17-linux-generic_6.11.0-9.9_s390x.deb ... 77s Unpacking linux-generic (6.11.0-9.9) over (6.11.0-8.8) ... 77s Preparing to unpack .../18-linux-image-generic_6.11.0-9.9_s390x.deb ... 77s Unpacking linux-image-generic (6.11.0-9.9) over (6.11.0-8.8) ... 77s Preparing to unpack .../19-linux-virtual_6.11.0-9.9_s390x.deb ... 77s Unpacking linux-virtual (6.11.0-9.9) over (6.11.0-8.8) ... 77s Preparing to unpack .../20-linux-image-virtual_6.11.0-9.9_s390x.deb ... 77s Unpacking linux-image-virtual (6.11.0-9.9) over (6.11.0-8.8) ... 77s Preparing to unpack .../21-linux-headers-virtual_6.11.0-9.9_s390x.deb ... 77s Unpacking linux-headers-virtual (6.11.0-9.9) over (6.11.0-8.8) ... 77s Selecting previously unselected package linux-headers-6.11.0-9. 77s Preparing to unpack .../22-linux-headers-6.11.0-9_6.11.0-9.9_all.deb ... 77s Unpacking linux-headers-6.11.0-9 (6.11.0-9.9) ... 78s Selecting previously unselected package linux-headers-6.11.0-9-generic. 78s Preparing to unpack .../23-linux-headers-6.11.0-9-generic_6.11.0-9.9_s390x.deb ... 78s Unpacking linux-headers-6.11.0-9-generic (6.11.0-9.9) ... 78s Preparing to unpack .../24-linux-headers-generic_6.11.0-9.9_s390x.deb ... 78s Unpacking linux-headers-generic (6.11.0-9.9) over (6.11.0-8.8) ... 78s Preparing to unpack .../25-linux-libc-dev_6.11.0-9.9_s390x.deb ... 78s Unpacking linux-libc-dev:s390x (6.11.0-9.9) over (6.11.0-8.8) ... 78s Preparing to unpack .../26-linux-tools-common_6.11.0-9.9_all.deb ... 78s Unpacking linux-tools-common (6.11.0-9.9) over (6.11.0-8.8) ... 78s Preparing to unpack .../27-tmux_3.5a-2_s390x.deb ... 78s Unpacking tmux (3.5a-2) over (3.4-7) ... 78s Setting up libllvm19:s390x (1:19.1.6-1ubuntu1) ... 78s Setting up apt-utils (2.9.18) ... 78s Setting up libclang1-19 (1:19.1.6-1ubuntu1) ... 78s Setting up libyaml-0-2:s390x (0.2.5-2) ... 78s Setting up linux-libc-dev:s390x (6.11.0-9.9) ... 78s Setting up libnftnl11:s390x (1.2.8-1) ... 78s Setting up libcom-err2:s390x (1.47.2~rc1-2ubuntu1) ... 78s Setting up libjemalloc2:s390x (5.3.0-2build1) ... 78s Setting up linux-headers-6.11.0-9 (6.11.0-9.9) ... 78s Setting up libss2:s390x (1.47.2~rc1-2ubuntu1) ... 78s Setting up ucf (3.0046) ... 78s Setting up logsave (1.47.2~rc1-2ubuntu1) ... 78s Setting up python-apt-common (2.9.5) ... 78s Setting up dracut-install (105-2ubuntu5) ... 78s Setting up linux-tools-common (6.11.0-9.9) ... 78s Setting up tmux (3.5a-2) ... 78s Setting up linux-modules-6.11.0-9-generic (6.11.0-9.9) ... 79s Setting up libnftables1:s390x (1.1.1-1build1) ... 79s Setting up nftables (1.1.1-1build1) ... 79s Setting up python3-apt (2.9.5) ... 79s Setting up linux-modules-extra-6.11.0-9-generic (6.11.0-9.9) ... 79s Setting up e2fsprogs (1.47.2~rc1-2ubuntu1) ... 79s update-initramfs: deferring update (trigger activated) 80s Setting up linux-headers-6.11.0-9-generic (6.11.0-9.9) ... 80s Setting up linux-image-6.11.0-9-generic (6.11.0-9.9) ... 80s I: /boot/vmlinuz is now a symlink to vmlinuz-6.11.0-9-generic 80s I: /boot/initrd.img is now a symlink to initrd.img-6.11.0-9-generic 80s Setting up linux-image-virtual (6.11.0-9.9) ... 80s Setting up linux-image-generic (6.11.0-9.9) ... 80s Setting up e2fsprogs-l10n (1.47.2~rc1-2ubuntu1) ... 80s Setting up linux-headers-generic (6.11.0-9.9) ... 80s Setting up linux-headers-virtual (6.11.0-9.9) ... 80s Setting up linux-generic (6.11.0-9.9) ... 80s Setting up linux-virtual (6.11.0-9.9) ... 80s Processing triggers for libc-bin (2.40-4ubuntu1) ... 80s Processing triggers for man-db (2.13.0-1) ... 81s Processing triggers for debianutils (5.21) ... 81s Processing triggers for initramfs-tools (0.142ubuntu35) ... 81s update-initramfs: Generating /boot/initrd.img-6.11.0-8-generic 81s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 83s Not invoking zipl: initrd doesn't exist yet 83s Processing triggers for linux-image-6.11.0-9-generic (6.11.0-9.9) ... 83s /etc/kernel/postinst.d/initramfs-tools: 83s update-initramfs: Generating /boot/initrd.img-6.11.0-9-generic 83s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 85s Using config file '/etc/zipl.conf' 85s Building bootmap in '/boot' 85s Adding IPL section 'ubuntu' (default) 85s Preparing boot device for LD-IPL: vda (0000). 85s Done. 85s /etc/kernel/postinst.d/zz-zipl: 85s Using config file '/etc/zipl.conf' 85s Building bootmap in '/boot' 85s Adding IPL section 'ubuntu' (default) 85s Preparing boot device for LD-IPL: vda (0000). 85s Done. 86s Reading package lists... 86s Building dependency tree... 86s Reading state information... 86s Starting pkgProblemResolver with broken count: 0 86s Starting 2 pkgProblemResolver with broken count: 0 86s Done 86s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 86s autopkgtest [06:42:01]: rebooting testbed after setup commands that affected boot 99s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 106s autopkgtest [06:42:21]: testbed running kernel: Linux 6.11.0-9-generic #9-Ubuntu SMP Mon Oct 14 12:18:15 UTC 2024 108s autopkgtest [06:42:23]: @@@@@@@@@@@@@@@@@@@@ apt-source python-django-crispy-forms-foundation 110s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/universe python-django-crispy-forms-foundation 1.0.2+ds-1 (dsc) [2781 B] 110s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe python-django-crispy-forms-foundation 1.0.2+ds-1 (tar) [118 kB] 110s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/universe python-django-crispy-forms-foundation 1.0.2+ds-1 (diff) [5044 B] 110s gpgv: Signature made Sun Feb 25 07:35:58 2024 UTC 110s gpgv: using RSA key B70DFC6F134FECFC011E62AA83016014251D1DB0 110s gpgv: issuer "c.schoenert@t-online.de" 110s gpgv: Can't check signature: No public key 110s dpkg-source: warning: cannot verify inline signature for ./python-django-crispy-forms-foundation_1.0.2+ds-1.dsc: no acceptable signature found 110s autopkgtest [06:42:25]: testing package python-django-crispy-forms-foundation version 1.0.2+ds-1 110s autopkgtest [06:42:25]: build not needed 111s autopkgtest [06:42:26]: test upstream-tests: preparing testbed 111s Reading package lists... 111s Building dependency tree... 111s Reading state information... 111s Starting pkgProblemResolver with broken count: 0 111s Starting 2 pkgProblemResolver with broken count: 0 111s Done 111s The following NEW packages will be installed: 111s autoconf automake autopoint autotools-dev build-essential cpp cpp-14 111s cpp-14-s390x-linux-gnu cpp-s390x-linux-gnu debhelper debugedit dh-autoreconf 111s dh-python dh-strip-nondeterminism docutils-common dwz fonts-font-awesome 111s fonts-lato g++ g++-14 g++-14-s390x-linux-gnu g++-s390x-linux-gnu gcc gcc-14 111s gcc-14-s390x-linux-gnu gcc-s390x-linux-gnu gettext intltool-debian 111s libarchive-zip-perl libasan8 libcc1-0 libdebhelper-perl 111s libfile-stripnondeterminism-perl libgcc-14-dev libgomp1 libisl23 libitm1 111s libjs-jquery libjs-sphinxdoc libjs-underscore libjson-perl libmpc3 111s libpython3.13-minimal libpython3.13-stdlib libstdc++-14-dev libtool 111s libubsan1 m4 po-debconf pybuild-plugin-pyproject 111s python-django-crispy-forms-foundation-doc python3-alabaster python3-all 111s python3-asgiref python3-build python3-defusedxml python3-django 111s python3-django-crispy-forms python3-django-crispy-forms-foundation 111s python3-docutils python3-imagesize python3-iniconfig python3-installer 111s python3-packaging python3-pluggy python3-pyproject-hooks python3-pytest 111s python3-pytest-django python3-roman python3-snowballstemmer python3-sphinx 111s python3-sphinx-rtd-theme python3-sphinxcontrib.jquery python3-sqlparse 111s python3-toml python3-wheel python3.13 python3.13-minimal sgml-base 111s sphinx-common sphinx-rtd-theme-common xml-core 111s 0 upgraded, 82 newly installed, 0 to remove and 0 not upgraded. 111s Need to get 69.9 MB of archives. 111s After this operation, 248 MB of additional disk space will be used. 111s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x fonts-lato all 2.015-1 [2781 kB] 112s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x libpython3.13-minimal s390x 3.13.1-2 [880 kB] 112s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x python3.13-minimal s390x 3.13.1-2 [2364 kB] 112s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x sgml-base all 1.31 [11.4 kB] 112s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x m4 s390x 1.4.19-4build1 [256 kB] 112s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x autoconf all 2.72-3 [382 kB] 112s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x autotools-dev all 20220109.1 [44.9 kB] 112s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x automake all 1:1.16.5-1.3ubuntu1 [558 kB] 112s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x autopoint all 0.22.5-3 [616 kB] 112s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x libisl23 s390x 0.27-1 [704 kB] 112s Get:11 http://ftpmaster.internal/ubuntu plucky/main s390x libmpc3 s390x 1.3.1-1build2 [57.8 kB] 112s Get:12 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-14-s390x-linux-gnu s390x 14.2.0-11ubuntu1 [9575 kB] 112s Get:13 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-14 s390x 14.2.0-11ubuntu1 [1028 B] 112s Get:14 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-s390x-linux-gnu s390x 4:14.1.0-2ubuntu1 [5452 B] 112s Get:15 http://ftpmaster.internal/ubuntu plucky/main s390x cpp s390x 4:14.1.0-2ubuntu1 [22.4 kB] 112s Get:16 http://ftpmaster.internal/ubuntu plucky/main s390x libcc1-0 s390x 14.2.0-11ubuntu1 [50.7 kB] 112s Get:17 http://ftpmaster.internal/ubuntu plucky/main s390x libgomp1 s390x 14.2.0-11ubuntu1 [151 kB] 112s Get:18 http://ftpmaster.internal/ubuntu plucky/main s390x libitm1 s390x 14.2.0-11ubuntu1 [30.9 kB] 112s Get:19 http://ftpmaster.internal/ubuntu plucky/main s390x libasan8 s390x 14.2.0-11ubuntu1 [2964 kB] 112s Get:20 http://ftpmaster.internal/ubuntu plucky/main s390x libubsan1 s390x 14.2.0-11ubuntu1 [1184 kB] 112s Get:21 http://ftpmaster.internal/ubuntu plucky/main s390x libgcc-14-dev s390x 14.2.0-11ubuntu1 [1036 kB] 113s Get:22 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14-s390x-linux-gnu s390x 14.2.0-11ubuntu1 [18.7 MB] 113s Get:23 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14 s390x 14.2.0-11ubuntu1 [521 kB] 113s Get:24 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-s390x-linux-gnu s390x 4:14.1.0-2ubuntu1 [1204 B] 113s Get:25 http://ftpmaster.internal/ubuntu plucky/main s390x gcc s390x 4:14.1.0-2ubuntu1 [4996 B] 113s Get:26 http://ftpmaster.internal/ubuntu plucky/main s390x libstdc++-14-dev s390x 14.2.0-11ubuntu1 [2610 kB] 113s Get:27 http://ftpmaster.internal/ubuntu plucky/main s390x g++-14-s390x-linux-gnu s390x 14.2.0-11ubuntu1 [11.0 MB] 113s Get:28 http://ftpmaster.internal/ubuntu plucky/main s390x g++-14 s390x 14.2.0-11ubuntu1 [20.1 kB] 113s Get:29 http://ftpmaster.internal/ubuntu plucky/main s390x g++-s390x-linux-gnu s390x 4:14.1.0-2ubuntu1 [956 B] 113s Get:30 http://ftpmaster.internal/ubuntu plucky/main s390x g++ s390x 4:14.1.0-2ubuntu1 [1076 B] 113s Get:31 http://ftpmaster.internal/ubuntu plucky/main s390x build-essential s390x 12.10ubuntu1 [4930 B] 113s Get:32 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x libdebhelper-perl all 13.22ubuntu1 [95.0 kB] 113s Get:33 http://ftpmaster.internal/ubuntu plucky/main s390x libtool all 2.4.7-8 [166 kB] 113s Get:34 http://ftpmaster.internal/ubuntu plucky/main s390x dh-autoreconf all 20 [16.1 kB] 113s Get:35 http://ftpmaster.internal/ubuntu plucky/main s390x libarchive-zip-perl all 1.68-1 [90.2 kB] 113s Get:36 http://ftpmaster.internal/ubuntu plucky/main s390x libfile-stripnondeterminism-perl all 1.14.0-1 [20.1 kB] 113s Get:37 http://ftpmaster.internal/ubuntu plucky/main s390x dh-strip-nondeterminism all 1.14.0-1 [5058 B] 113s Get:38 http://ftpmaster.internal/ubuntu plucky/main s390x debugedit s390x 1:5.1-1 [49.9 kB] 113s Get:39 http://ftpmaster.internal/ubuntu plucky/main s390x dwz s390x 0.15-1build6 [122 kB] 113s Get:40 http://ftpmaster.internal/ubuntu plucky/main s390x gettext s390x 0.22.5-3 [997 kB] 113s Get:41 http://ftpmaster.internal/ubuntu plucky/main s390x intltool-debian all 0.35.0+20060710.6 [23.2 kB] 113s Get:42 http://ftpmaster.internal/ubuntu plucky/main s390x po-debconf all 1.0.21+nmu1 [233 kB] 113s Get:43 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x debhelper all 13.22ubuntu1 [895 kB] 113s Get:44 http://ftpmaster.internal/ubuntu plucky/universe s390x dh-python all 6.20241217 [117 kB] 113s Get:45 http://ftpmaster.internal/ubuntu plucky/main s390x xml-core all 0.19 [20.3 kB] 113s Get:46 http://ftpmaster.internal/ubuntu plucky/main s390x docutils-common all 0.21.2+dfsg-2 [131 kB] 113s Get:47 http://ftpmaster.internal/ubuntu plucky/main s390x fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [516 kB] 113s Get:48 http://ftpmaster.internal/ubuntu plucky/main s390x libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 113s Get:49 http://ftpmaster.internal/ubuntu plucky/main s390x libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 113s Get:50 http://ftpmaster.internal/ubuntu plucky/main s390x libjs-sphinxdoc all 8.1.3-2 [30.8 kB] 113s Get:51 http://ftpmaster.internal/ubuntu plucky/main s390x libjson-perl all 4.10000-1 [81.9 kB] 113s Get:52 http://ftpmaster.internal/ubuntu plucky/main s390x libpython3.13-stdlib s390x 3.13.1-2 [2074 kB] 113s Get:53 http://ftpmaster.internal/ubuntu plucky/main s390x python3-packaging all 24.2-1 [51.5 kB] 113s Get:54 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pyproject-hooks all 1.2.0-1 [10.2 kB] 113s Get:55 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-toml all 0.10.2-1 [16.5 kB] 114s Get:56 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-wheel all 0.45.1-1 [57.7 kB] 114s Get:57 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-build all 1.2.2-1 [31.0 kB] 114s Get:58 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-installer all 0.7.0+dfsg1-3 [17.4 kB] 114s Get:59 http://ftpmaster.internal/ubuntu plucky/universe s390x pybuild-plugin-pyproject all 6.20241217 [1730 B] 114s Get:60 http://ftpmaster.internal/ubuntu plucky/main s390x sphinx-rtd-theme-common all 3.0.2+dfsg-1 [1014 kB] 114s Get:61 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x python-django-crispy-forms-foundation-doc all 1.0.2+ds-1 [44.5 kB] 114s Get:62 http://ftpmaster.internal/ubuntu plucky/main s390x python3.13 s390x 3.13.1-2 [729 kB] 114s Get:63 http://ftpmaster.internal/ubuntu plucky/main s390x python3-all s390x 3.12.7-1 [890 B] 114s Get:64 http://ftpmaster.internal/ubuntu plucky/main s390x python3-asgiref all 3.8.1-1 [24.8 kB] 114s Get:65 http://ftpmaster.internal/ubuntu plucky/main s390x python3-defusedxml all 0.7.1-3 [42.2 kB] 114s Get:66 http://ftpmaster.internal/ubuntu plucky/main s390x python3-sqlparse all 0.5.3-1 [32.9 kB] 114s Get:67 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x python3-django all 3:5.1.4-1 [3045 kB] 114s Get:68 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x python3-django-crispy-forms all 2.1-2 [27.6 kB] 114s Get:69 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x python3-django-crispy-forms-foundation all 1.0.2+ds-1 [25.0 kB] 114s Get:70 http://ftpmaster.internal/ubuntu plucky/main s390x python3-roman all 4.2-1 [10.0 kB] 114s Get:71 http://ftpmaster.internal/ubuntu plucky/main s390x python3-docutils all 0.21.2+dfsg-2 [409 kB] 114s Get:72 http://ftpmaster.internal/ubuntu plucky/main s390x python3-imagesize all 1.4.1-1 [6844 B] 114s Get:73 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-iniconfig all 1.1.1-2 [6024 B] 114s Get:74 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pluggy all 1.5.0-1 [21.0 kB] 114s Get:75 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x python3-pytest all 8.3.4-1 [252 kB] 114s Get:76 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pytest-django all 4.5.2-3 [18.5 kB] 114s Get:77 http://ftpmaster.internal/ubuntu plucky/main s390x python3-snowballstemmer all 2.2.0-4build1 [59.8 kB] 114s Get:78 http://ftpmaster.internal/ubuntu plucky/main s390x sphinx-common all 8.1.3-2 [662 kB] 114s Get:79 http://ftpmaster.internal/ubuntu plucky/main s390x python3-alabaster all 0.7.16-0.1 [18.5 kB] 114s Get:80 http://ftpmaster.internal/ubuntu plucky/main s390x python3-sphinx all 8.1.3-2 [474 kB] 114s Get:81 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-sphinxcontrib.jquery all 4.1-5 [6678 B] 114s Get:82 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-sphinx-rtd-theme all 3.0.2+dfsg-1 [23.5 kB] 114s Fetched 69.9 MB in 3s (27.5 MB/s) 114s Selecting previously unselected package fonts-lato. 114s (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 ... 80243 files and directories currently installed.) 114s Preparing to unpack .../00-fonts-lato_2.015-1_all.deb ... 114s Unpacking fonts-lato (2.015-1) ... 115s Selecting previously unselected package libpython3.13-minimal:s390x. 115s Preparing to unpack .../01-libpython3.13-minimal_3.13.1-2_s390x.deb ... 115s Unpacking libpython3.13-minimal:s390x (3.13.1-2) ... 115s Selecting previously unselected package python3.13-minimal. 115s Preparing to unpack .../02-python3.13-minimal_3.13.1-2_s390x.deb ... 115s Unpacking python3.13-minimal (3.13.1-2) ... 115s Selecting previously unselected package sgml-base. 115s Preparing to unpack .../03-sgml-base_1.31_all.deb ... 115s Unpacking sgml-base (1.31) ... 115s Selecting previously unselected package m4. 115s Preparing to unpack .../04-m4_1.4.19-4build1_s390x.deb ... 115s Unpacking m4 (1.4.19-4build1) ... 115s Selecting previously unselected package autoconf. 115s Preparing to unpack .../05-autoconf_2.72-3_all.deb ... 115s Unpacking autoconf (2.72-3) ... 115s Selecting previously unselected package autotools-dev. 115s Preparing to unpack .../06-autotools-dev_20220109.1_all.deb ... 115s Unpacking autotools-dev (20220109.1) ... 115s Selecting previously unselected package automake. 115s Preparing to unpack .../07-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 115s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 115s Selecting previously unselected package autopoint. 115s Preparing to unpack .../08-autopoint_0.22.5-3_all.deb ... 115s Unpacking autopoint (0.22.5-3) ... 115s Selecting previously unselected package libisl23:s390x. 115s Preparing to unpack .../09-libisl23_0.27-1_s390x.deb ... 115s Unpacking libisl23:s390x (0.27-1) ... 115s Selecting previously unselected package libmpc3:s390x. 115s Preparing to unpack .../10-libmpc3_1.3.1-1build2_s390x.deb ... 115s Unpacking libmpc3:s390x (1.3.1-1build2) ... 115s Selecting previously unselected package cpp-14-s390x-linux-gnu. 115s Preparing to unpack .../11-cpp-14-s390x-linux-gnu_14.2.0-11ubuntu1_s390x.deb ... 115s Unpacking cpp-14-s390x-linux-gnu (14.2.0-11ubuntu1) ... 115s Selecting previously unselected package cpp-14. 115s Preparing to unpack .../12-cpp-14_14.2.0-11ubuntu1_s390x.deb ... 115s Unpacking cpp-14 (14.2.0-11ubuntu1) ... 115s Selecting previously unselected package cpp-s390x-linux-gnu. 115s Preparing to unpack .../13-cpp-s390x-linux-gnu_4%3a14.1.0-2ubuntu1_s390x.deb ... 115s Unpacking cpp-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 115s Selecting previously unselected package cpp. 115s Preparing to unpack .../14-cpp_4%3a14.1.0-2ubuntu1_s390x.deb ... 115s Unpacking cpp (4:14.1.0-2ubuntu1) ... 115s Selecting previously unselected package libcc1-0:s390x. 115s Preparing to unpack .../15-libcc1-0_14.2.0-11ubuntu1_s390x.deb ... 115s Unpacking libcc1-0:s390x (14.2.0-11ubuntu1) ... 115s Selecting previously unselected package libgomp1:s390x. 115s Preparing to unpack .../16-libgomp1_14.2.0-11ubuntu1_s390x.deb ... 115s Unpacking libgomp1:s390x (14.2.0-11ubuntu1) ... 115s Selecting previously unselected package libitm1:s390x. 115s Preparing to unpack .../17-libitm1_14.2.0-11ubuntu1_s390x.deb ... 115s Unpacking libitm1:s390x (14.2.0-11ubuntu1) ... 115s Selecting previously unselected package libasan8:s390x. 115s Preparing to unpack .../18-libasan8_14.2.0-11ubuntu1_s390x.deb ... 115s Unpacking libasan8:s390x (14.2.0-11ubuntu1) ... 115s Selecting previously unselected package libubsan1:s390x. 115s Preparing to unpack .../19-libubsan1_14.2.0-11ubuntu1_s390x.deb ... 115s Unpacking libubsan1:s390x (14.2.0-11ubuntu1) ... 115s Selecting previously unselected package libgcc-14-dev:s390x. 115s Preparing to unpack .../20-libgcc-14-dev_14.2.0-11ubuntu1_s390x.deb ... 115s Unpacking libgcc-14-dev:s390x (14.2.0-11ubuntu1) ... 115s Selecting previously unselected package gcc-14-s390x-linux-gnu. 115s Preparing to unpack .../21-gcc-14-s390x-linux-gnu_14.2.0-11ubuntu1_s390x.deb ... 115s Unpacking gcc-14-s390x-linux-gnu (14.2.0-11ubuntu1) ... 115s Selecting previously unselected package gcc-14. 115s Preparing to unpack .../22-gcc-14_14.2.0-11ubuntu1_s390x.deb ... 115s Unpacking gcc-14 (14.2.0-11ubuntu1) ... 115s Selecting previously unselected package gcc-s390x-linux-gnu. 115s Preparing to unpack .../23-gcc-s390x-linux-gnu_4%3a14.1.0-2ubuntu1_s390x.deb ... 115s Unpacking gcc-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 115s Selecting previously unselected package gcc. 115s Preparing to unpack .../24-gcc_4%3a14.1.0-2ubuntu1_s390x.deb ... 115s Unpacking gcc (4:14.1.0-2ubuntu1) ... 115s Selecting previously unselected package libstdc++-14-dev:s390x. 115s Preparing to unpack .../25-libstdc++-14-dev_14.2.0-11ubuntu1_s390x.deb ... 115s Unpacking libstdc++-14-dev:s390x (14.2.0-11ubuntu1) ... 115s Selecting previously unselected package g++-14-s390x-linux-gnu. 115s Preparing to unpack .../26-g++-14-s390x-linux-gnu_14.2.0-11ubuntu1_s390x.deb ... 115s Unpacking g++-14-s390x-linux-gnu (14.2.0-11ubuntu1) ... 116s Selecting previously unselected package g++-14. 116s Preparing to unpack .../27-g++-14_14.2.0-11ubuntu1_s390x.deb ... 116s Unpacking g++-14 (14.2.0-11ubuntu1) ... 116s Selecting previously unselected package g++-s390x-linux-gnu. 116s Preparing to unpack .../28-g++-s390x-linux-gnu_4%3a14.1.0-2ubuntu1_s390x.deb ... 116s Unpacking g++-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 116s Selecting previously unselected package g++. 116s Preparing to unpack .../29-g++_4%3a14.1.0-2ubuntu1_s390x.deb ... 116s Unpacking g++ (4:14.1.0-2ubuntu1) ... 116s Selecting previously unselected package build-essential. 116s Preparing to unpack .../30-build-essential_12.10ubuntu1_s390x.deb ... 116s Unpacking build-essential (12.10ubuntu1) ... 116s Selecting previously unselected package libdebhelper-perl. 116s Preparing to unpack .../31-libdebhelper-perl_13.22ubuntu1_all.deb ... 116s Unpacking libdebhelper-perl (13.22ubuntu1) ... 116s Selecting previously unselected package libtool. 116s Preparing to unpack .../32-libtool_2.4.7-8_all.deb ... 116s Unpacking libtool (2.4.7-8) ... 116s Selecting previously unselected package dh-autoreconf. 116s Preparing to unpack .../33-dh-autoreconf_20_all.deb ... 116s Unpacking dh-autoreconf (20) ... 116s Selecting previously unselected package libarchive-zip-perl. 116s Preparing to unpack .../34-libarchive-zip-perl_1.68-1_all.deb ... 116s Unpacking libarchive-zip-perl (1.68-1) ... 116s Selecting previously unselected package libfile-stripnondeterminism-perl. 116s Preparing to unpack .../35-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... 116s Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... 116s Selecting previously unselected package dh-strip-nondeterminism. 116s Preparing to unpack .../36-dh-strip-nondeterminism_1.14.0-1_all.deb ... 116s Unpacking dh-strip-nondeterminism (1.14.0-1) ... 116s Selecting previously unselected package debugedit. 116s Preparing to unpack .../37-debugedit_1%3a5.1-1_s390x.deb ... 116s Unpacking debugedit (1:5.1-1) ... 116s Selecting previously unselected package dwz. 116s Preparing to unpack .../38-dwz_0.15-1build6_s390x.deb ... 116s Unpacking dwz (0.15-1build6) ... 116s Selecting previously unselected package gettext. 116s Preparing to unpack .../39-gettext_0.22.5-3_s390x.deb ... 116s Unpacking gettext (0.22.5-3) ... 116s Selecting previously unselected package intltool-debian. 116s Preparing to unpack .../40-intltool-debian_0.35.0+20060710.6_all.deb ... 116s Unpacking intltool-debian (0.35.0+20060710.6) ... 116s Selecting previously unselected package po-debconf. 116s Preparing to unpack .../41-po-debconf_1.0.21+nmu1_all.deb ... 116s Unpacking po-debconf (1.0.21+nmu1) ... 116s Selecting previously unselected package debhelper. 116s Preparing to unpack .../42-debhelper_13.22ubuntu1_all.deb ... 116s Unpacking debhelper (13.22ubuntu1) ... 116s Selecting previously unselected package dh-python. 116s Preparing to unpack .../43-dh-python_6.20241217_all.deb ... 116s Unpacking dh-python (6.20241217) ... 116s Selecting previously unselected package xml-core. 116s Preparing to unpack .../44-xml-core_0.19_all.deb ... 116s Unpacking xml-core (0.19) ... 116s Selecting previously unselected package docutils-common. 116s Preparing to unpack .../45-docutils-common_0.21.2+dfsg-2_all.deb ... 116s Unpacking docutils-common (0.21.2+dfsg-2) ... 116s Selecting previously unselected package fonts-font-awesome. 116s Preparing to unpack .../46-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ... 116s Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 116s Selecting previously unselected package libjs-jquery. 116s Preparing to unpack .../47-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 116s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 116s Selecting previously unselected package libjs-underscore. 116s Preparing to unpack .../48-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 116s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 116s Selecting previously unselected package libjs-sphinxdoc. 116s Preparing to unpack .../49-libjs-sphinxdoc_8.1.3-2_all.deb ... 116s Unpacking libjs-sphinxdoc (8.1.3-2) ... 116s Selecting previously unselected package libjson-perl. 116s Preparing to unpack .../50-libjson-perl_4.10000-1_all.deb ... 116s Unpacking libjson-perl (4.10000-1) ... 116s Selecting previously unselected package libpython3.13-stdlib:s390x. 116s Preparing to unpack .../51-libpython3.13-stdlib_3.13.1-2_s390x.deb ... 116s Unpacking libpython3.13-stdlib:s390x (3.13.1-2) ... 116s Selecting previously unselected package python3-packaging. 116s Preparing to unpack .../52-python3-packaging_24.2-1_all.deb ... 116s Unpacking python3-packaging (24.2-1) ... 116s Selecting previously unselected package python3-pyproject-hooks. 116s Preparing to unpack .../53-python3-pyproject-hooks_1.2.0-1_all.deb ... 116s Unpacking python3-pyproject-hooks (1.2.0-1) ... 116s Selecting previously unselected package python3-toml. 116s Preparing to unpack .../54-python3-toml_0.10.2-1_all.deb ... 116s Unpacking python3-toml (0.10.2-1) ... 116s Selecting previously unselected package python3-wheel. 116s Preparing to unpack .../55-python3-wheel_0.45.1-1_all.deb ... 116s Unpacking python3-wheel (0.45.1-1) ... 116s Selecting previously unselected package python3-build. 116s Preparing to unpack .../56-python3-build_1.2.2-1_all.deb ... 116s Unpacking python3-build (1.2.2-1) ... 116s Selecting previously unselected package python3-installer. 116s Preparing to unpack .../57-python3-installer_0.7.0+dfsg1-3_all.deb ... 116s Unpacking python3-installer (0.7.0+dfsg1-3) ... 116s Selecting previously unselected package pybuild-plugin-pyproject. 116s Preparing to unpack .../58-pybuild-plugin-pyproject_6.20241217_all.deb ... 116s Unpacking pybuild-plugin-pyproject (6.20241217) ... 116s Selecting previously unselected package sphinx-rtd-theme-common. 116s Preparing to unpack .../59-sphinx-rtd-theme-common_3.0.2+dfsg-1_all.deb ... 116s Unpacking sphinx-rtd-theme-common (3.0.2+dfsg-1) ... 116s Selecting previously unselected package python-django-crispy-forms-foundation-doc. 116s Preparing to unpack .../60-python-django-crispy-forms-foundation-doc_1.0.2+ds-1_all.deb ... 116s Unpacking python-django-crispy-forms-foundation-doc (1.0.2+ds-1) ... 116s Selecting previously unselected package python3.13. 116s Preparing to unpack .../61-python3.13_3.13.1-2_s390x.deb ... 116s Unpacking python3.13 (3.13.1-2) ... 116s Selecting previously unselected package python3-all. 116s Preparing to unpack .../62-python3-all_3.12.7-1_s390x.deb ... 116s Unpacking python3-all (3.12.7-1) ... 116s Selecting previously unselected package python3-asgiref. 116s Preparing to unpack .../63-python3-asgiref_3.8.1-1_all.deb ... 116s Unpacking python3-asgiref (3.8.1-1) ... 116s Selecting previously unselected package python3-defusedxml. 116s Preparing to unpack .../64-python3-defusedxml_0.7.1-3_all.deb ... 116s Unpacking python3-defusedxml (0.7.1-3) ... 116s Selecting previously unselected package python3-sqlparse. 116s Preparing to unpack .../65-python3-sqlparse_0.5.3-1_all.deb ... 116s Unpacking python3-sqlparse (0.5.3-1) ... 116s Selecting previously unselected package python3-django. 116s Preparing to unpack .../66-python3-django_3%3a5.1.4-1_all.deb ... 116s Unpacking python3-django (3:5.1.4-1) ... 116s Selecting previously unselected package python3-django-crispy-forms. 116s Preparing to unpack .../67-python3-django-crispy-forms_2.1-2_all.deb ... 116s Unpacking python3-django-crispy-forms (2.1-2) ... 116s Selecting previously unselected package python3-django-crispy-forms-foundation. 116s Preparing to unpack .../68-python3-django-crispy-forms-foundation_1.0.2+ds-1_all.deb ... 116s Unpacking python3-django-crispy-forms-foundation (1.0.2+ds-1) ... 116s Selecting previously unselected package python3-roman. 116s Preparing to unpack .../69-python3-roman_4.2-1_all.deb ... 116s Unpacking python3-roman (4.2-1) ... 116s Selecting previously unselected package python3-docutils. 116s Preparing to unpack .../70-python3-docutils_0.21.2+dfsg-2_all.deb ... 116s Unpacking python3-docutils (0.21.2+dfsg-2) ... 117s Selecting previously unselected package python3-imagesize. 117s Preparing to unpack .../71-python3-imagesize_1.4.1-1_all.deb ... 117s Unpacking python3-imagesize (1.4.1-1) ... 117s Selecting previously unselected package python3-iniconfig. 117s Preparing to unpack .../72-python3-iniconfig_1.1.1-2_all.deb ... 117s Unpacking python3-iniconfig (1.1.1-2) ... 117s Selecting previously unselected package python3-pluggy. 117s Preparing to unpack .../73-python3-pluggy_1.5.0-1_all.deb ... 117s Unpacking python3-pluggy (1.5.0-1) ... 117s Selecting previously unselected package python3-pytest. 117s Preparing to unpack .../74-python3-pytest_8.3.4-1_all.deb ... 117s Unpacking python3-pytest (8.3.4-1) ... 117s Selecting previously unselected package python3-pytest-django. 117s Preparing to unpack .../75-python3-pytest-django_4.5.2-3_all.deb ... 117s Unpacking python3-pytest-django (4.5.2-3) ... 117s Selecting previously unselected package python3-snowballstemmer. 117s Preparing to unpack .../76-python3-snowballstemmer_2.2.0-4build1_all.deb ... 117s Unpacking python3-snowballstemmer (2.2.0-4build1) ... 117s Selecting previously unselected package sphinx-common. 117s Preparing to unpack .../77-sphinx-common_8.1.3-2_all.deb ... 117s Unpacking sphinx-common (8.1.3-2) ... 117s Selecting previously unselected package python3-alabaster. 117s Preparing to unpack .../78-python3-alabaster_0.7.16-0.1_all.deb ... 117s Unpacking python3-alabaster (0.7.16-0.1) ... 117s Selecting previously unselected package python3-sphinx. 117s Preparing to unpack .../79-python3-sphinx_8.1.3-2_all.deb ... 117s Unpacking python3-sphinx (8.1.3-2) ... 117s Selecting previously unselected package python3-sphinxcontrib.jquery. 117s Preparing to unpack .../80-python3-sphinxcontrib.jquery_4.1-5_all.deb ... 117s Unpacking python3-sphinxcontrib.jquery (4.1-5) ... 117s Selecting previously unselected package python3-sphinx-rtd-theme. 117s Preparing to unpack .../81-python3-sphinx-rtd-theme_3.0.2+dfsg-1_all.deb ... 117s Unpacking python3-sphinx-rtd-theme (3.0.2+dfsg-1) ... 117s Setting up dh-python (6.20241217) ... 117s Setting up python3-iniconfig (1.1.1-2) ... 117s Setting up fonts-lato (2.015-1) ... 117s Setting up python3-defusedxml (0.7.1-3) ... 117s Setting up libarchive-zip-perl (1.68-1) ... 117s Setting up python3-alabaster (0.7.16-0.1) ... 117s Setting up libdebhelper-perl (13.22ubuntu1) ... 117s Setting up m4 (1.4.19-4build1) ... 117s Setting up libgomp1:s390x (14.2.0-11ubuntu1) ... 117s Setting up python3-wheel (0.45.1-1) ... 117s Setting up libpython3.13-minimal:s390x (3.13.1-2) ... 117s Setting up python3-roman (4.2-1) ... 118s Setting up autotools-dev (20220109.1) ... 118s Setting up python3-packaging (24.2-1) ... 118s Setting up python3-sqlparse (0.5.3-1) ... 118s Setting up python3-pyproject-hooks (1.2.0-1) ... 118s Setting up python3-snowballstemmer (2.2.0-4build1) ... 118s Setting up libmpc3:s390x (1.3.1-1build2) ... 118s Setting up autopoint (0.22.5-3) ... 118s Setting up python3-toml (0.10.2-1) ... 119s Setting up python3-installer (0.7.0+dfsg1-3) ... 119s Setting up autoconf (2.72-3) ... 119s Setting up python3-pluggy (1.5.0-1) ... 119s Setting up libubsan1:s390x (14.2.0-11ubuntu1) ... 119s Setting up dwz (0.15-1build6) ... 119s Setting up libasan8:s390x (14.2.0-11ubuntu1) ... 119s Setting up libjson-perl (4.10000-1) ... 119s Setting up debugedit (1:5.1-1) ... 119s Setting up python3.13-minimal (3.13.1-2) ... 119s Setting up sgml-base (1.31) ... 119s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 119s Setting up libisl23:s390x (0.27-1) ... 119s Setting up python3-build (1.2.2-1) ... 119s Setting up libpython3.13-stdlib:s390x (3.13.1-2) ... 119s Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 119s Setting up sphinx-rtd-theme-common (3.0.2+dfsg-1) ... 119s Setting up libcc1-0:s390x (14.2.0-11ubuntu1) ... 119s Setting up libitm1:s390x (14.2.0-11ubuntu1) ... 119s Setting up python3-asgiref (3.8.1-1) ... 120s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 120s Setting up python3-imagesize (1.4.1-1) ... 120s Setting up automake (1:1.16.5-1.3ubuntu1) ... 120s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 120s Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... 120s Setting up gettext (0.22.5-3) ... 120s Setting up python3-django (3:5.1.4-1) ... 122s Setting up python3.13 (3.13.1-2) ... 122s Setting up pybuild-plugin-pyproject (6.20241217) ... 122s Setting up python3-pytest (8.3.4-1) ... 124s Setting up python3-all (3.12.7-1) ... 124s Setting up python3-pytest-django (4.5.2-3) ... 124s Setting up intltool-debian (0.35.0+20060710.6) ... 124s Setting up libjs-sphinxdoc (8.1.3-2) ... 124s Setting up cpp-14-s390x-linux-gnu (14.2.0-11ubuntu1) ... 124s Setting up cpp-14 (14.2.0-11ubuntu1) ... 124s Setting up dh-strip-nondeterminism (1.14.0-1) ... 124s Setting up xml-core (0.19) ... 124s Setting up python3-django-crispy-forms (2.1-2) ... 124s Setting up libgcc-14-dev:s390x (14.2.0-11ubuntu1) ... 124s Setting up libstdc++-14-dev:s390x (14.2.0-11ubuntu1) ... 124s Setting up python-django-crispy-forms-foundation-doc (1.0.2+ds-1) ... 124s Setting up cpp-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 124s Setting up po-debconf (1.0.21+nmu1) ... 124s Setting up gcc-14-s390x-linux-gnu (14.2.0-11ubuntu1) ... 124s Setting up gcc-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 124s Setting up sphinx-common (8.1.3-2) ... 124s Setting up g++-14-s390x-linux-gnu (14.2.0-11ubuntu1) ... 124s Setting up cpp (4:14.1.0-2ubuntu1) ... 124s Setting up python3-django-crispy-forms-foundation (1.0.2+ds-1) ... 124s Setting up g++-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 124s Setting up gcc-14 (14.2.0-11ubuntu1) ... 124s Setting up g++-14 (14.2.0-11ubuntu1) ... 124s Setting up libtool (2.4.7-8) ... 124s Setting up gcc (4:14.1.0-2ubuntu1) ... 124s Setting up dh-autoreconf (20) ... 124s Setting up g++ (4:14.1.0-2ubuntu1) ... 124s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 124s Setting up build-essential (12.10ubuntu1) ... 124s Setting up debhelper (13.22ubuntu1) ... 124s Processing triggers for install-info (7.1.1-1) ... 124s Processing triggers for libc-bin (2.40-4ubuntu1) ... 124s Processing triggers for systemd (257-2ubuntu1) ... 124s Processing triggers for man-db (2.13.0-1) ... 125s Processing triggers for sgml-base (1.31) ... 125s Setting up docutils-common (0.21.2+dfsg-2) ... 125s Processing triggers for sgml-base (1.31) ... 125s Setting up python3-docutils (0.21.2+dfsg-2) ... 125s Setting up python3-sphinx (8.1.3-2) ... 127s Setting up python3-sphinxcontrib.jquery (4.1-5) ... 127s Setting up python3-sphinx-rtd-theme (3.0.2+dfsg-1) ... 128s autopkgtest [06:42:43]: test upstream-tests: [----------------------- 128s 128s *************************** 128s *** Testing with python3.13 128s *************************** 128s 128s Content of current working folder: 128s 128s total 20 128s drwxr-xr-x 4 ubuntu ubuntu 4096 Dec 21 06:44 . 128s drwxrwxrwt 5 root root 4096 Dec 21 06:44 .. 128s drwxrwxr-x 5 ubuntu ubuntu 4096 Oct 11 2023 sandbox 128s -rw-rw-r-- 1 ubuntu ubuntu 2275 Oct 11 2023 setup.cfg 128s drwxrwxr-x 3 ubuntu ubuntu 4096 Oct 11 2023 tests 128s Running tests... 128s 131s ============================= test session starts ============================== 131s platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0 -- /usr/bin/python3 131s cachedir: .pytest_cache 131s django: settings: sandbox.settings.tests (from ini) 131s rootdir: /tmp/autopkgtest.H6tQaA/autopkgtest_tmp 131s configfile: setup.cfg 131s plugins: django-4.5.2, typeguard-4.4.1 131s collecting ... collected 15 items 131s 131s tests/001_ping_demo.py::test_ping_reverse_urlname[home-url_args0-url_kwargs0] PASSED [ 6%] 132s tests/001_ping_demo.py::test_ping_reverse_urlname[demo:crispy-demo-form-fieldsets-url_args1-url_kwargs1] FAILED [ 13%] 132s tests/001_ping_demo.py::test_ping_reverse_urlname[demo:crispy-demo-form-tabs-url_args2-url_kwargs2] FAILED [ 20%] 132s tests/001_ping_demo.py::test_ping_reverse_urlname[demo:crispy-demo-form-accordions-url_args3-url_kwargs3] FAILED [ 26%] 132s tests/001_ping_demo.py::test_ping_reverse_urlname[demo:crispy-demo-success-url_args4-url_kwargs4] PASSED [ 33%] 132s tests/002_layout.py::test_basic[foundation-6] FAILED [ 40%] 133s tests/002_layout.py::test_layout[foundation-6] FAILED [ 46%] 133s tests/002_layout.py::test_advanced[foundation-6] FAILED [ 53%] 133s tests/003_fields.py::test_fakefield[foundation-6] FAILED [ 60%] 133s tests/003_fields.py::test_inlinefield[foundation-6] FAILED [ 66%] 133s tests/003_fields.py::test_inlineswitchfield[foundation-6] FAILED [ 73%] 133s tests/004_buttons.py::test_buttongroup[foundation-6] FAILED [ 80%] 133s tests/004_buttons.py::test_buttonelement[foundation-6] PASSED [ 86%] 134s tests/005_containers.py::test_tab[foundation-6] FAILED [ 93%] 134s tests/005_containers.py::test_accordion[foundation-6] FAILED [100%] 134s 134s =================================== FAILURES =================================== 134s _ test_ping_reverse_urlname[demo:crispy-demo-form-fieldsets-url_args1-url_kwargs1] _ 134s 134s self = 134s token = 'field.errors|length_is:"0"' 134s 134s def translate_token(self, token): 134s try: 134s > op = OPERATORS[token] 134s E KeyError: 'field.errors|length_is:"0"' 134s 134s /usr/lib/python3/dist-packages/django/template/smartif.py:180: KeyError 134s 134s During handling of the above exception, another exception occurred: 134s 134s client = 134s url_name = 'demo:crispy-demo-form-fieldsets', url_args = [] 134s url_kwargs = {'foundation_version': 6} 134s 134s @pytest.mark.parametrize("url_name,url_args,url_kwargs", [ 134s ("home", [], {}), 134s ("demo:crispy-demo-form-fieldsets", [], {"foundation_version": 6}), 134s ("demo:crispy-demo-form-tabs", [], {"foundation_version": 6}), 134s ("demo:crispy-demo-form-accordions", [], {"foundation_version": 6}), 134s ("demo:crispy-demo-success", [], {"foundation_version": 6}), 134s ]) 134s def test_ping_reverse_urlname(client, url_name, url_args, url_kwargs): 134s """ 134s Ping reversed url names 134s """ 134s > response = client.get(reverse(url_name, args=url_args, kwargs=url_kwargs)) 134s 134s tests/001_ping_demo.py:22: 134s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 134s /usr/lib/python3/dist-packages/django/test/client.py:1129: in get 134s response = super().get( 134s /usr/lib/python3/dist-packages/django/test/client.py:479: in get 134s return self.generic( 134s /usr/lib/python3/dist-packages/django/test/client.py:676: in generic 134s return self.request(**r) 134s /usr/lib/python3/dist-packages/django/test/client.py:1092: in request 134s self.check_exception(response) 134s /usr/lib/python3/dist-packages/django/test/client.py:805: in check_exception 134s raise exc_value 134s /usr/lib/python3/dist-packages/django/core/handlers/exception.py:55: in inner 134s response = get_response(request) 134s /usr/lib/python3/dist-packages/django/core/handlers/base.py:220: in _get_response 134s response = response.render() 134s /usr/lib/python3/dist-packages/django/template/response.py:114: in render 134s self.content = self.rendered_content 134s /usr/lib/python3/dist-packages/django/template/response.py:92: in rendered_content 134s return template.render(context, self._request) 134s /usr/lib/python3/dist-packages/django/template/backends/django.py:107: in render 134s return self.template.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:171: in render 134s return self._render(context) 134s /usr/lib/python3/dist-packages/django/test/utils.py:114: in instrumented_test_render 134s return self.nodelist.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:1008: in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s /usr/lib/python3/dist-packages/django/template/base.py:969: in render_annotated 134s return self.render(context) 134s /usr/lib/python3/dist-packages/django/template/loader_tags.py:159: in render 134s return compiled_parent._render(context) 134s /usr/lib/python3/dist-packages/django/test/utils.py:114: in instrumented_test_render 134s return self.nodelist.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:1008: in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s /usr/lib/python3/dist-packages/django/template/base.py:969: in render_annotated 134s return self.render(context) 134s /usr/lib/python3/dist-packages/django/template/loader_tags.py:159: in render 134s return compiled_parent._render(context) 134s /usr/lib/python3/dist-packages/django/test/utils.py:114: in instrumented_test_render 134s return self.nodelist.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:1008: in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s /usr/lib/python3/dist-packages/django/template/base.py:969: in render_annotated 134s return self.render(context) 134s /usr/lib/python3/dist-packages/django/template/loader_tags.py:65: in render 134s result = block.nodelist.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:1008: in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s /usr/lib/python3/dist-packages/django/template/base.py:969: in render_annotated 134s return self.render(context) 134s /usr/lib/python3/dist-packages/crispy_forms/templatetags/crispy_forms_tags.py:199: in render 134s c = self.get_render(context).flatten() 134s /usr/lib/python3/dist-packages/crispy_forms/templatetags/crispy_forms_tags.py:117: in get_render 134s actual_form.form_html = helper.render_layout( 134s /usr/lib/python3/dist-packages/crispy_forms/helper.py:276: in render_layout 134s html = self.layout.render(form, context, template_pack=template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:142: in render 134s return self.get_rendered_fields(form, context, template_pack, **kwargs) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in get_rendered_fields 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/utils.py:65: in render_field 134s return field.render(form, context, template_pack=template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:579: in render 134s fields = self.get_rendered_fields(form, context, template_pack, **kwargs) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in get_rendered_fields 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/utils.py:65: in render_field 134s return field.render(form, context, template_pack=template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:747: in render 134s fields = self.get_rendered_fields(form, context, template_pack, **kwargs) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in get_rendered_fields 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/utils.py:65: in render_field 134s return field.render(form, context, template_pack=template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:747: in render 134s fields = self.get_rendered_fields(form, context, template_pack, **kwargs) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in get_rendered_fields 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/utils.py:114: in render_field 134s template = default_field_template(template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms/utils.py:26: in default_field_template 134s return get_template("%s/field.html" % template_pack) 134s /usr/lib/python3/dist-packages/django/template/loader.py:15: in get_template 134s return engine.get_template(template_name) 134s /usr/lib/python3/dist-packages/django/template/backends/django.py:79: in get_template 134s return Template(self.engine.get_template(template_name), self) 134s /usr/lib/python3/dist-packages/django/template/engine.py:177: in get_template 134s template, origin = self.find_template(template_name) 134s /usr/lib/python3/dist-packages/django/template/engine.py:159: in find_template 134s template = loader.get_template(name, skip=skip) 134s /usr/lib/python3/dist-packages/django/template/loaders/cached.py:57: in get_template 134s template = super().get_template(template_name, skip) 134s /usr/lib/python3/dist-packages/django/template/loaders/base.py:28: in get_template 134s return Template( 134s /usr/lib/python3/dist-packages/django/template/base.py:154: in __init__ 134s self.nodelist = self.compile_nodelist() 134s /usr/lib/python3/dist-packages/django/template/base.py:196: in compile_nodelist 134s nodelist = parser.parse() 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:976: in do_if 134s nodelist = parser.parse(("endif",)) 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:1332: in spaceless 134s nodelist = parser.parse(("endspaceless",)) 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:962: in do_if 134s nodelist = parser.parse(("elif", "else", "endif")) 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:961: in do_if 134s condition = TemplateIfParser(parser, bits).parse() 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:894: in __init__ 134s super().__init__(*args, **kwargs) 134s /usr/lib/python3/dist-packages/django/template/smartif.py:171: in __init__ 134s mapped_tokens.append(self.translate_token(token)) 134s /usr/lib/python3/dist-packages/django/template/smartif.py:182: in translate_token 134s return self.create_var(token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:897: in create_var 134s return TemplateLiteral(self.template_parser.compile_filter(value), value) 134s /usr/lib/python3/dist-packages/django/template/base.py:605: in compile_filter 134s return FilterExpression(token, self) 134s /usr/lib/python3/dist-packages/django/template/base.py:701: in __init__ 134s filter_func = parser.find_filter(filter_name) 134s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 134s 134s self = , , ...">, , , , ...">, , ...">, , , , , , , , , , ...">, , , , , , , , , , , , , , ...">, , ...">, , , , ]> 134s filter_name = 'length_is' 134s 134s def find_filter(self, filter_name): 134s if filter_name in self.filters: 134s return self.filters[filter_name] 134s else: 134s > raise TemplateSyntaxError("Invalid filter: '%s'" % filter_name) 134s E django.template.exceptions.TemplateSyntaxError: Invalid filter: 'length_is' 134s 134s /usr/lib/python3/dist-packages/django/template/base.py:611: TemplateSyntaxError 134s ------------------------------ Captured log call ------------------------------- 134s ERROR django.request:log.py:248 Internal Server Error: /crispy-forms/foundation-6/fieldsets/ 134s Traceback (most recent call last): 134s File "/usr/lib/python3/dist-packages/django/template/smartif.py", line 180, in translate_token 134s op = OPERATORS[token] 134s ~~~~~~~~~^^^^^^^ 134s KeyError: 'field.errors|length_is:"0"' 134s 134s During handling of the above exception, another exception occurred: 134s 134s Traceback (most recent call last): 134s File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 55, in inner 134s response = get_response(request) 134s ^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 220, in _get_response 134s response = response.render() 134s ^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/response.py", line 114, in render 134s self.content = self.rendered_content 134s ^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/response.py", line 92, in rendered_content 134s return template.render(context, self._request) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/backends/django.py", line 107, in render 134s return self.template.render(context) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 171, in render 134s return self._render(context) 134s ^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/test/utils.py", line 114, in instrumented_test_render 134s return self.nodelist.render(context) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 1008, in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 969, in render_annotated 134s return self.render(context) 134s ^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/loader_tags.py", line 159, in render 134s return compiled_parent._render(context) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/test/utils.py", line 114, in instrumented_test_render 134s return self.nodelist.render(context) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 1008, in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 969, in render_annotated 134s return self.render(context) 134s ^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/loader_tags.py", line 159, in render 134s return compiled_parent._render(context) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/test/utils.py", line 114, in instrumented_test_render 134s return self.nodelist.render(context) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 1008, in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 969, in render_annotated 134s return self.render(context) 134s ^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/loader_tags.py", line 65, in render 134s result = block.nodelist.render(context) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 1008, in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 969, in render_annotated 134s return self.render(context) 134s ^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/templatetags/crispy_forms_tags.py", line 199, in render 134s c = self.get_render(context).flatten() 134s ^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/templatetags/crispy_forms_tags.py", line 117, in get_render 134s actual_form.form_html = helper.render_layout( 134s ^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/helper.py", line 276, in render_layout 134s html = self.layout.render(form, context, template_pack=template_pack) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/layout.py", line 142, in render 134s return self.get_rendered_fields(form, context, template_pack, **kwargs) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/layout.py", line 105, in get_rendered_fields 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s File "/usr/lib/python3/dist-packages/crispy_forms/layout.py", line 105, in 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/utils.py", line 65, in render_field 134s return field.render(form, context, template_pack=template_pack) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/layout.py", line 579, in render 134s fields = self.get_rendered_fields(form, context, template_pack, **kwargs) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/layout.py", line 105, in get_rendered_fields 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s File "/usr/lib/python3/dist-packages/crispy_forms/layout.py", line 105, in 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/utils.py", line 65, in render_field 134s return field.render(form, context, template_pack=template_pack) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/layout.py", line 747, in render 134s fields = self.get_rendered_fields(form, context, template_pack, **kwargs) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/layout.py", line 105, in get_rendered_fields 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s File "/usr/lib/python3/dist-packages/crispy_forms/layout.py", line 105, in 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/utils.py", line 65, in render_field 134s return field.render(form, context, template_pack=template_pack) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/layout.py", line 747, in render 134s fields = self.get_rendered_fields(form, context, template_pack, **kwargs) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/layout.py", line 105, in get_rendered_fields 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s File "/usr/lib/python3/dist-packages/crispy_forms/layout.py", line 105, in 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/utils.py", line 114, in render_field 134s template = default_field_template(template_pack) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/utils.py", line 26, in default_field_template 134s return get_template("%s/field.html" % template_pack) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/loader.py", line 15, in get_template 134s return engine.get_template(template_name) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/backends/django.py", line 79, in get_template 134s return Template(self.engine.get_template(template_name), self) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/engine.py", line 177, in get_template 134s template, origin = self.find_template(template_name) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/engine.py", line 159, in find_template 134s template = loader.get_template(name, skip=skip) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/loaders/cached.py", line 57, in get_template 134s template = super().get_template(template_name, skip) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/loaders/base.py", line 28, in get_template 134s return Template( 134s ^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 154, in __init__ 134s self.nodelist = self.compile_nodelist() 134s ^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 196, in compile_nodelist 134s nodelist = parser.parse() 134s ^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 518, in parse 134s raise self.error(token, e) 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 516, in parse 134s compiled_result = compile_func(self, token) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/defaulttags.py", line 976, in do_if 134s nodelist = parser.parse(("endif",)) 134s ^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 518, in parse 134s raise self.error(token, e) 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 516, in parse 134s compiled_result = compile_func(self, token) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/defaulttags.py", line 1332, in spaceless 134s nodelist = parser.parse(("endspaceless",)) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 518, in parse 134s raise self.error(token, e) 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 516, in parse 134s compiled_result = compile_func(self, token) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/defaulttags.py", line 962, in do_if 134s nodelist = parser.parse(("elif", "else", "endif")) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 518, in parse 134s raise self.error(token, e) 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 516, in parse 134s compiled_result = compile_func(self, token) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/defaulttags.py", line 961, in do_if 134s condition = TemplateIfParser(parser, bits).parse() 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/defaulttags.py", line 894, in __init__ 134s super().__init__(*args, **kwargs) 134s File "/usr/lib/python3/dist-packages/django/template/smartif.py", line 171, in __init__ 134s mapped_tokens.append(self.translate_token(token)) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/smartif.py", line 182, in translate_token 134s return self.create_var(token) 134s ^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/defaulttags.py", line 897, in create_var 134s return TemplateLiteral(self.template_parser.compile_filter(value), value) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 605, in compile_filter 134s return FilterExpression(token, self) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 701, in __init__ 134s filter_func = parser.find_filter(filter_name) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 611, in find_filter 134s raise TemplateSyntaxError("Invalid filter: '%s'" % filter_name) 134s django.template.exceptions.TemplateSyntaxError: Invalid filter: 'length_is' 134s _ test_ping_reverse_urlname[demo:crispy-demo-form-tabs-url_args2-url_kwargs2] __ 134s 134s self = 134s token = 'field.errors|length_is:"0"' 134s 134s def translate_token(self, token): 134s try: 134s > op = OPERATORS[token] 134s E KeyError: 'field.errors|length_is:"0"' 134s 134s /usr/lib/python3/dist-packages/django/template/smartif.py:180: KeyError 134s 134s During handling of the above exception, another exception occurred: 134s 134s client = 134s url_name = 'demo:crispy-demo-form-tabs', url_args = [] 134s url_kwargs = {'foundation_version': 6} 134s 134s @pytest.mark.parametrize("url_name,url_args,url_kwargs", [ 134s ("home", [], {}), 134s ("demo:crispy-demo-form-fieldsets", [], {"foundation_version": 6}), 134s ("demo:crispy-demo-form-tabs", [], {"foundation_version": 6}), 134s ("demo:crispy-demo-form-accordions", [], {"foundation_version": 6}), 134s ("demo:crispy-demo-success", [], {"foundation_version": 6}), 134s ]) 134s def test_ping_reverse_urlname(client, url_name, url_args, url_kwargs): 134s """ 134s Ping reversed url names 134s """ 134s > response = client.get(reverse(url_name, args=url_args, kwargs=url_kwargs)) 134s 134s tests/001_ping_demo.py:22: 134s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 134s /usr/lib/python3/dist-packages/django/test/client.py:1129: in get 134s response = super().get( 134s /usr/lib/python3/dist-packages/django/test/client.py:479: in get 134s return self.generic( 134s /usr/lib/python3/dist-packages/django/test/client.py:676: in generic 134s return self.request(**r) 134s /usr/lib/python3/dist-packages/django/test/client.py:1092: in request 134s self.check_exception(response) 134s /usr/lib/python3/dist-packages/django/test/client.py:805: in check_exception 134s raise exc_value 134s /usr/lib/python3/dist-packages/django/core/handlers/exception.py:55: in inner 134s response = get_response(request) 134s /usr/lib/python3/dist-packages/django/core/handlers/base.py:220: in _get_response 134s response = response.render() 134s /usr/lib/python3/dist-packages/django/template/response.py:114: in render 134s self.content = self.rendered_content 134s /usr/lib/python3/dist-packages/django/template/response.py:92: in rendered_content 134s return template.render(context, self._request) 134s /usr/lib/python3/dist-packages/django/template/backends/django.py:107: in render 134s return self.template.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:171: in render 134s return self._render(context) 134s /usr/lib/python3/dist-packages/django/test/utils.py:114: in instrumented_test_render 134s return self.nodelist.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:1008: in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s /usr/lib/python3/dist-packages/django/template/base.py:969: in render_annotated 134s return self.render(context) 134s /usr/lib/python3/dist-packages/django/template/loader_tags.py:159: in render 134s return compiled_parent._render(context) 134s /usr/lib/python3/dist-packages/django/test/utils.py:114: in instrumented_test_render 134s return self.nodelist.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:1008: in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s /usr/lib/python3/dist-packages/django/template/base.py:969: in render_annotated 134s return self.render(context) 134s /usr/lib/python3/dist-packages/django/template/loader_tags.py:159: in render 134s return compiled_parent._render(context) 134s /usr/lib/python3/dist-packages/django/test/utils.py:114: in instrumented_test_render 134s return self.nodelist.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:1008: in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s /usr/lib/python3/dist-packages/django/template/base.py:969: in render_annotated 134s return self.render(context) 134s /usr/lib/python3/dist-packages/django/template/loader_tags.py:65: in render 134s result = block.nodelist.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:1008: in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s /usr/lib/python3/dist-packages/django/template/base.py:969: in render_annotated 134s return self.render(context) 134s /usr/lib/python3/dist-packages/crispy_forms/templatetags/crispy_forms_tags.py:199: in render 134s c = self.get_render(context).flatten() 134s /usr/lib/python3/dist-packages/crispy_forms/templatetags/crispy_forms_tags.py:117: in get_render 134s actual_form.form_html = helper.render_layout( 134s /usr/lib/python3/dist-packages/crispy_forms/helper.py:276: in render_layout 134s html = self.layout.render(form, context, template_pack=template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:142: in render 134s return self.get_rendered_fields(form, context, template_pack, **kwargs) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in get_rendered_fields 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/utils.py:65: in render_field 134s return field.render(form, context, template_pack=template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms_foundation/layout/containers.py:120: in render 134s content += render_field( 134s /usr/lib/python3/dist-packages/crispy_forms/utils.py:65: in render_field 134s return field.render(form, context, template_pack=template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms_foundation/layout/containers.py:71: in render 134s return super(Container, self).render(form, context, 134s /usr/lib/python3/dist-packages/crispy_forms/bootstrap.py:621: in render 134s return super().render(form, context, template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:747: in render 134s fields = self.get_rendered_fields(form, context, template_pack, **kwargs) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in get_rendered_fields 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/utils.py:65: in render_field 134s return field.render(form, context, template_pack=template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:747: in render 134s fields = self.get_rendered_fields(form, context, template_pack, **kwargs) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in get_rendered_fields 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/utils.py:65: in render_field 134s return field.render(form, context, template_pack=template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:747: in render 134s fields = self.get_rendered_fields(form, context, template_pack, **kwargs) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in get_rendered_fields 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/utils.py:114: in render_field 134s template = default_field_template(template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms/utils.py:26: in default_field_template 134s return get_template("%s/field.html" % template_pack) 134s /usr/lib/python3/dist-packages/django/template/loader.py:15: in get_template 134s return engine.get_template(template_name) 134s /usr/lib/python3/dist-packages/django/template/backends/django.py:79: in get_template 134s return Template(self.engine.get_template(template_name), self) 134s /usr/lib/python3/dist-packages/django/template/engine.py:177: in get_template 134s template, origin = self.find_template(template_name) 134s /usr/lib/python3/dist-packages/django/template/engine.py:159: in find_template 134s template = loader.get_template(name, skip=skip) 134s /usr/lib/python3/dist-packages/django/template/loaders/cached.py:57: in get_template 134s template = super().get_template(template_name, skip) 134s /usr/lib/python3/dist-packages/django/template/loaders/base.py:28: in get_template 134s return Template( 134s /usr/lib/python3/dist-packages/django/template/base.py:154: in __init__ 134s self.nodelist = self.compile_nodelist() 134s /usr/lib/python3/dist-packages/django/template/base.py:196: in compile_nodelist 134s nodelist = parser.parse() 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:976: in do_if 134s nodelist = parser.parse(("endif",)) 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:1332: in spaceless 134s nodelist = parser.parse(("endspaceless",)) 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:962: in do_if 134s nodelist = parser.parse(("elif", "else", "endif")) 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:961: in do_if 134s condition = TemplateIfParser(parser, bits).parse() 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:894: in __init__ 134s super().__init__(*args, **kwargs) 134s /usr/lib/python3/dist-packages/django/template/smartif.py:171: in __init__ 134s mapped_tokens.append(self.translate_token(token)) 134s /usr/lib/python3/dist-packages/django/template/smartif.py:182: in translate_token 134s return self.create_var(token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:897: in create_var 134s return TemplateLiteral(self.template_parser.compile_filter(value), value) 134s /usr/lib/python3/dist-packages/django/template/base.py:605: in compile_filter 134s return FilterExpression(token, self) 134s /usr/lib/python3/dist-packages/django/template/base.py:701: in __init__ 134s filter_func = parser.find_filter(filter_name) 134s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 134s 134s self = , , ...">, , , , ...">, , ...">, , , , , , , , , , ...">, , , , , , , , , , , , , , ...">, , ...">, , , , ]> 134s filter_name = 'length_is' 134s 134s def find_filter(self, filter_name): 134s if filter_name in self.filters: 134s return self.filters[filter_name] 134s else: 134s > raise TemplateSyntaxError("Invalid filter: '%s'" % filter_name) 134s E django.template.exceptions.TemplateSyntaxError: Invalid filter: 'length_is' 134s 134s /usr/lib/python3/dist-packages/django/template/base.py:611: TemplateSyntaxError 134s ------------------------------ Captured log call ------------------------------- 134s ERROR django.request:log.py:248 Internal Server Error: /crispy-forms/foundation-6/tabs/ 134s Traceback (most recent call last): 134s File "/usr/lib/python3/dist-packages/django/template/smartif.py", line 180, in translate_token 134s op = OPERATORS[token] 134s ~~~~~~~~~^^^^^^^ 134s KeyError: 'field.errors|length_is:"0"' 134s 134s During handling of the above exception, another exception occurred: 134s 134s Traceback (most recent call last): 134s File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 55, in inner 134s response = get_response(request) 134s ^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 220, in _get_response 134s response = response.render() 134s ^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/response.py", line 114, in render 134s self.content = self.rendered_content 134s ^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/response.py", line 92, in rendered_content 134s return template.render(context, self._request) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/backends/django.py", line 107, in render 134s return self.template.render(context) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 171, in render 134s return self._render(context) 134s ^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/test/utils.py", line 114, in instrumented_test_render 134s return self.nodelist.render(context) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 1008, in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 969, in render_annotated 134s return self.render(context) 134s ^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/loader_tags.py", line 159, in render 134s return compiled_parent._render(context) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/test/utils.py", line 114, in instrumented_test_render 134s return self.nodelist.render(context) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 1008, in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 969, in render_annotated 134s return self.render(context) 134s ^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/loader_tags.py", line 159, in render 134s return compiled_parent._render(context) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/test/utils.py", line 114, in instrumented_test_render 134s return self.nodelist.render(context) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 1008, in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 969, in render_annotated 134s return self.render(context) 134s ^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/loader_tags.py", line 65, in render 134s result = block.nodelist.render(context) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 1008, in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 969, in render_annotated 134s return self.render(context) 134s ^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/templatetags/crispy_forms_tags.py", line 199, in render 134s c = self.get_render(context).flatten() 134s ^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/templatetags/crispy_forms_tags.py", line 117, in get_render 134s actual_form.form_html = helper.render_layout( 134s ^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/helper.py", line 276, in render_layout 134s html = self.layout.render(form, context, template_pack=template_pack) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/layout.py", line 142, in render 134s return self.get_rendered_fields(form, context, template_pack, **kwargs) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/layout.py", line 105, in get_rendered_fields 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s File "/usr/lib/python3/dist-packages/crispy_forms/layout.py", line 105, in 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/utils.py", line 65, in render_field 134s return field.render(form, context, template_pack=template_pack) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms_foundation/layout/containers.py", line 120, in render 134s content += render_field( 134s ^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/utils.py", line 65, in render_field 134s return field.render(form, context, template_pack=template_pack) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms_foundation/layout/containers.py", line 71, in render 134s return super(Container, self).render(form, context, 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/bootstrap.py", line 621, in render 134s return super().render(form, context, template_pack) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/layout.py", line 747, in render 134s fields = self.get_rendered_fields(form, context, template_pack, **kwargs) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/layout.py", line 105, in get_rendered_fields 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s File "/usr/lib/python3/dist-packages/crispy_forms/layout.py", line 105, in 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/utils.py", line 65, in render_field 134s return field.render(form, context, template_pack=template_pack) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/layout.py", line 747, in render 134s fields = self.get_rendered_fields(form, context, template_pack, **kwargs) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/layout.py", line 105, in get_rendered_fields 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s File "/usr/lib/python3/dist-packages/crispy_forms/layout.py", line 105, in 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/utils.py", line 65, in render_field 134s return field.render(form, context, template_pack=template_pack) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/layout.py", line 747, in render 134s fields = self.get_rendered_fields(form, context, template_pack, **kwargs) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/layout.py", line 105, in get_rendered_fields 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s File "/usr/lib/python3/dist-packages/crispy_forms/layout.py", line 105, in 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/utils.py", line 114, in render_field 134s template = default_field_template(template_pack) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/utils.py", line 26, in default_field_template 134s return get_template("%s/field.html" % template_pack) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/loader.py", line 15, in get_template 134s return engine.get_template(template_name) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/backends/django.py", line 79, in get_template 134s return Template(self.engine.get_template(template_name), self) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/engine.py", line 177, in get_template 134s template, origin = self.find_template(template_name) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/engine.py", line 159, in find_template 134s template = loader.get_template(name, skip=skip) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/loaders/cached.py", line 57, in get_template 134s template = super().get_template(template_name, skip) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/loaders/base.py", line 28, in get_template 134s return Template( 134s ^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 154, in __init__ 134s self.nodelist = self.compile_nodelist() 134s ^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 196, in compile_nodelist 134s nodelist = parser.parse() 134s ^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 518, in parse 134s raise self.error(token, e) 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 516, in parse 134s compiled_result = compile_func(self, token) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/defaulttags.py", line 976, in do_if 134s nodelist = parser.parse(("endif",)) 134s ^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 518, in parse 134s raise self.error(token, e) 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 516, in parse 134s compiled_result = compile_func(self, token) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/defaulttags.py", line 1332, in spaceless 134s nodelist = parser.parse(("endspaceless",)) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 518, in parse 134s raise self.error(token, e) 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 516, in parse 134s compiled_result = compile_func(self, token) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/defaulttags.py", line 962, in do_if 134s nodelist = parser.parse(("elif", "else", "endif")) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 518, in parse 134s raise self.error(token, e) 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 516, in parse 134s compiled_result = compile_func(self, token) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/defaulttags.py", line 961, in do_if 134s condition = TemplateIfParser(parser, bits).parse() 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/defaulttags.py", line 894, in __init__ 134s super().__init__(*args, **kwargs) 134s File "/usr/lib/python3/dist-packages/django/template/smartif.py", line 171, in __init__ 134s mapped_tokens.append(self.translate_token(token)) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/smartif.py", line 182, in translate_token 134s return self.create_var(token) 134s ^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/defaulttags.py", line 897, in create_var 134s return TemplateLiteral(self.template_parser.compile_filter(value), value) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 605, in compile_filter 134s return FilterExpression(token, self) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 701, in __init__ 134s filter_func = parser.find_filter(filter_name) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 611, in find_filter 134s raise TemplateSyntaxError("Invalid filter: '%s'" % filter_name) 134s django.template.exceptions.TemplateSyntaxError: Invalid filter: 'length_is' 134s _ test_ping_reverse_urlname[demo:crispy-demo-form-accordions-url_args3-url_kwargs3] _ 134s 134s self = 134s token = 'field.errors|length_is:"0"' 134s 134s def translate_token(self, token): 134s try: 134s > op = OPERATORS[token] 134s E KeyError: 'field.errors|length_is:"0"' 134s 134s /usr/lib/python3/dist-packages/django/template/smartif.py:180: KeyError 134s 134s During handling of the above exception, another exception occurred: 134s 134s client = 134s url_name = 'demo:crispy-demo-form-accordions', url_args = [] 134s url_kwargs = {'foundation_version': 6} 134s 134s @pytest.mark.parametrize("url_name,url_args,url_kwargs", [ 134s ("home", [], {}), 134s ("demo:crispy-demo-form-fieldsets", [], {"foundation_version": 6}), 134s ("demo:crispy-demo-form-tabs", [], {"foundation_version": 6}), 134s ("demo:crispy-demo-form-accordions", [], {"foundation_version": 6}), 134s ("demo:crispy-demo-success", [], {"foundation_version": 6}), 134s ]) 134s def test_ping_reverse_urlname(client, url_name, url_args, url_kwargs): 134s """ 134s Ping reversed url names 134s """ 134s > response = client.get(reverse(url_name, args=url_args, kwargs=url_kwargs)) 134s 134s tests/001_ping_demo.py:22: 134s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 134s /usr/lib/python3/dist-packages/django/test/client.py:1129: in get 134s response = super().get( 134s /usr/lib/python3/dist-packages/django/test/client.py:479: in get 134s return self.generic( 134s /usr/lib/python3/dist-packages/django/test/client.py:676: in generic 134s return self.request(**r) 134s /usr/lib/python3/dist-packages/django/test/client.py:1092: in request 134s self.check_exception(response) 134s /usr/lib/python3/dist-packages/django/test/client.py:805: in check_exception 134s raise exc_value 134s /usr/lib/python3/dist-packages/django/core/handlers/exception.py:55: in inner 134s response = get_response(request) 134s /usr/lib/python3/dist-packages/django/core/handlers/base.py:220: in _get_response 134s response = response.render() 134s /usr/lib/python3/dist-packages/django/template/response.py:114: in render 134s self.content = self.rendered_content 134s /usr/lib/python3/dist-packages/django/template/response.py:92: in rendered_content 134s return template.render(context, self._request) 134s /usr/lib/python3/dist-packages/django/template/backends/django.py:107: in render 134s return self.template.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:171: in render 134s return self._render(context) 134s /usr/lib/python3/dist-packages/django/test/utils.py:114: in instrumented_test_render 134s return self.nodelist.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:1008: in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s /usr/lib/python3/dist-packages/django/template/base.py:969: in render_annotated 134s return self.render(context) 134s /usr/lib/python3/dist-packages/django/template/loader_tags.py:159: in render 134s return compiled_parent._render(context) 134s /usr/lib/python3/dist-packages/django/test/utils.py:114: in instrumented_test_render 134s return self.nodelist.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:1008: in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s /usr/lib/python3/dist-packages/django/template/base.py:969: in render_annotated 134s return self.render(context) 134s /usr/lib/python3/dist-packages/django/template/loader_tags.py:159: in render 134s return compiled_parent._render(context) 134s /usr/lib/python3/dist-packages/django/test/utils.py:114: in instrumented_test_render 134s return self.nodelist.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:1008: in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s /usr/lib/python3/dist-packages/django/template/base.py:969: in render_annotated 134s return self.render(context) 134s /usr/lib/python3/dist-packages/django/template/loader_tags.py:65: in render 134s result = block.nodelist.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:1008: in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s /usr/lib/python3/dist-packages/django/template/base.py:969: in render_annotated 134s return self.render(context) 134s /usr/lib/python3/dist-packages/crispy_forms/templatetags/crispy_forms_tags.py:199: in render 134s c = self.get_render(context).flatten() 134s /usr/lib/python3/dist-packages/crispy_forms/templatetags/crispy_forms_tags.py:117: in get_render 134s actual_form.form_html = helper.render_layout( 134s /usr/lib/python3/dist-packages/crispy_forms/helper.py:276: in render_layout 134s html = self.layout.render(form, context, template_pack=template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:142: in render 134s return self.get_rendered_fields(form, context, template_pack, **kwargs) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in get_rendered_fields 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/utils.py:65: in render_field 134s return field.render(form, context, template_pack=template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms_foundation/layout/containers.py:227: in render 134s content += render_field( 134s /usr/lib/python3/dist-packages/crispy_forms/utils.py:65: in render_field 134s return field.render(form, context, template_pack=template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms/bootstrap.py:621: in render 134s return super().render(form, context, template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:747: in render 134s fields = self.get_rendered_fields(form, context, template_pack, **kwargs) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in get_rendered_fields 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/utils.py:65: in render_field 134s return field.render(form, context, template_pack=template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:747: in render 134s fields = self.get_rendered_fields(form, context, template_pack, **kwargs) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in get_rendered_fields 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/utils.py:65: in render_field 134s return field.render(form, context, template_pack=template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:747: in render 134s fields = self.get_rendered_fields(form, context, template_pack, **kwargs) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in get_rendered_fields 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/utils.py:114: in render_field 134s template = default_field_template(template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms/utils.py:26: in default_field_template 134s return get_template("%s/field.html" % template_pack) 134s /usr/lib/python3/dist-packages/django/template/loader.py:15: in get_template 134s return engine.get_template(template_name) 134s /usr/lib/python3/dist-packages/django/template/backends/django.py:79: in get_template 134s return Template(self.engine.get_template(template_name), self) 134s /usr/lib/python3/dist-packages/django/template/engine.py:177: in get_template 134s template, origin = self.find_template(template_name) 134s /usr/lib/python3/dist-packages/django/template/engine.py:159: in find_template 134s template = loader.get_template(name, skip=skip) 134s /usr/lib/python3/dist-packages/django/template/loaders/cached.py:57: in get_template 134s template = super().get_template(template_name, skip) 134s /usr/lib/python3/dist-packages/django/template/loaders/base.py:28: in get_template 134s return Template( 134s /usr/lib/python3/dist-packages/django/template/base.py:154: in __init__ 134s self.nodelist = self.compile_nodelist() 134s /usr/lib/python3/dist-packages/django/template/base.py:196: in compile_nodelist 134s nodelist = parser.parse() 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:976: in do_if 134s nodelist = parser.parse(("endif",)) 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:1332: in spaceless 134s nodelist = parser.parse(("endspaceless",)) 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:962: in do_if 134s nodelist = parser.parse(("elif", "else", "endif")) 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:961: in do_if 134s condition = TemplateIfParser(parser, bits).parse() 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:894: in __init__ 134s super().__init__(*args, **kwargs) 134s /usr/lib/python3/dist-packages/django/template/smartif.py:171: in __init__ 134s mapped_tokens.append(self.translate_token(token)) 134s /usr/lib/python3/dist-packages/django/template/smartif.py:182: in translate_token 134s return self.create_var(token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:897: in create_var 134s return TemplateLiteral(self.template_parser.compile_filter(value), value) 134s /usr/lib/python3/dist-packages/django/template/base.py:605: in compile_filter 134s return FilterExpression(token, self) 134s /usr/lib/python3/dist-packages/django/template/base.py:701: in __init__ 134s filter_func = parser.find_filter(filter_name) 134s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 134s 134s self = , , ...">, , , , ...">, , ...">, , , , , , , , , , ...">, , , , , , , , , , , , , , ...">, , ...">, , , , ]> 134s filter_name = 'length_is' 134s 134s def find_filter(self, filter_name): 134s if filter_name in self.filters: 134s return self.filters[filter_name] 134s else: 134s > raise TemplateSyntaxError("Invalid filter: '%s'" % filter_name) 134s E django.template.exceptions.TemplateSyntaxError: Invalid filter: 'length_is' 134s 134s /usr/lib/python3/dist-packages/django/template/base.py:611: TemplateSyntaxError 134s ------------------------------ Captured log call ------------------------------- 134s ERROR django.request:log.py:248 Internal Server Error: /crispy-forms/foundation-6/accordions/ 134s Traceback (most recent call last): 134s File "/usr/lib/python3/dist-packages/django/template/smartif.py", line 180, in translate_token 134s op = OPERATORS[token] 134s ~~~~~~~~~^^^^^^^ 134s KeyError: 'field.errors|length_is:"0"' 134s 134s During handling of the above exception, another exception occurred: 134s 134s Traceback (most recent call last): 134s File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 55, in inner 134s response = get_response(request) 134s ^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 220, in _get_response 134s response = response.render() 134s ^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/response.py", line 114, in render 134s self.content = self.rendered_content 134s ^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/response.py", line 92, in rendered_content 134s return template.render(context, self._request) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/backends/django.py", line 107, in render 134s return self.template.render(context) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 171, in render 134s return self._render(context) 134s ^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/test/utils.py", line 114, in instrumented_test_render 134s return self.nodelist.render(context) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 1008, in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 969, in render_annotated 134s return self.render(context) 134s ^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/loader_tags.py", line 159, in render 134s return compiled_parent._render(context) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/test/utils.py", line 114, in instrumented_test_render 134s return self.nodelist.render(context) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 1008, in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 969, in render_annotated 134s return self.render(context) 134s ^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/loader_tags.py", line 159, in render 134s return compiled_parent._render(context) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/test/utils.py", line 114, in instrumented_test_render 134s return self.nodelist.render(context) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 1008, in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 969, in render_annotated 134s return self.render(context) 134s ^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/loader_tags.py", line 65, in render 134s result = block.nodelist.render(context) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 1008, in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 969, in render_annotated 134s return self.render(context) 134s ^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/templatetags/crispy_forms_tags.py", line 199, in render 134s c = self.get_render(context).flatten() 134s ^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/templatetags/crispy_forms_tags.py", line 117, in get_render 134s actual_form.form_html = helper.render_layout( 134s ^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/helper.py", line 276, in render_layout 134s html = self.layout.render(form, context, template_pack=template_pack) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/layout.py", line 142, in render 134s return self.get_rendered_fields(form, context, template_pack, **kwargs) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/layout.py", line 105, in get_rendered_fields 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s File "/usr/lib/python3/dist-packages/crispy_forms/layout.py", line 105, in 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/utils.py", line 65, in render_field 134s return field.render(form, context, template_pack=template_pack) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms_foundation/layout/containers.py", line 227, in render 134s content += render_field( 134s ^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/utils.py", line 65, in render_field 134s return field.render(form, context, template_pack=template_pack) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/bootstrap.py", line 621, in render 134s return super().render(form, context, template_pack) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/layout.py", line 747, in render 134s fields = self.get_rendered_fields(form, context, template_pack, **kwargs) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/layout.py", line 105, in get_rendered_fields 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s File "/usr/lib/python3/dist-packages/crispy_forms/layout.py", line 105, in 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/utils.py", line 65, in render_field 134s return field.render(form, context, template_pack=template_pack) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/layout.py", line 747, in render 134s fields = self.get_rendered_fields(form, context, template_pack, **kwargs) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/layout.py", line 105, in get_rendered_fields 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s File "/usr/lib/python3/dist-packages/crispy_forms/layout.py", line 105, in 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/utils.py", line 65, in render_field 134s return field.render(form, context, template_pack=template_pack) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/layout.py", line 747, in render 134s fields = self.get_rendered_fields(form, context, template_pack, **kwargs) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/layout.py", line 105, in get_rendered_fields 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s File "/usr/lib/python3/dist-packages/crispy_forms/layout.py", line 105, in 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/utils.py", line 114, in render_field 134s template = default_field_template(template_pack) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/crispy_forms/utils.py", line 26, in default_field_template 134s return get_template("%s/field.html" % template_pack) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/loader.py", line 15, in get_template 134s return engine.get_template(template_name) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/backends/django.py", line 79, in get_template 134s return Template(self.engine.get_template(template_name), self) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/engine.py", line 177, in get_template 134s template, origin = self.find_template(template_name) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/engine.py", line 159, in find_template 134s template = loader.get_template(name, skip=skip) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/loaders/cached.py", line 57, in get_template 134s template = super().get_template(template_name, skip) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/loaders/base.py", line 28, in get_template 134s return Template( 134s ^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 154, in __init__ 134s self.nodelist = self.compile_nodelist() 134s ^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 196, in compile_nodelist 134s nodelist = parser.parse() 134s ^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 518, in parse 134s raise self.error(token, e) 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 516, in parse 134s compiled_result = compile_func(self, token) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/defaulttags.py", line 976, in do_if 134s nodelist = parser.parse(("endif",)) 134s ^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 518, in parse 134s raise self.error(token, e) 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 516, in parse 134s compiled_result = compile_func(self, token) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/defaulttags.py", line 1332, in spaceless 134s nodelist = parser.parse(("endspaceless",)) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 518, in parse 134s raise self.error(token, e) 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 516, in parse 134s compiled_result = compile_func(self, token) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/defaulttags.py", line 962, in do_if 134s nodelist = parser.parse(("elif", "else", "endif")) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 518, in parse 134s raise self.error(token, e) 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 516, in parse 134s compiled_result = compile_func(self, token) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/defaulttags.py", line 961, in do_if 134s condition = TemplateIfParser(parser, bits).parse() 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/defaulttags.py", line 894, in __init__ 134s super().__init__(*args, **kwargs) 134s File "/usr/lib/python3/dist-packages/django/template/smartif.py", line 171, in __init__ 134s mapped_tokens.append(self.translate_token(token)) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/smartif.py", line 182, in translate_token 134s return self.create_var(token) 134s ^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/defaulttags.py", line 897, in create_var 134s return TemplateLiteral(self.template_parser.compile_filter(value), value) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 605, in compile_filter 134s return FilterExpression(token, self) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 701, in __init__ 134s filter_func = parser.find_filter(filter_name) 134s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 134s File "/usr/lib/python3/dist-packages/django/template/base.py", line 611, in find_filter 134s raise TemplateSyntaxError("Invalid filter: '%s'" % filter_name) 134s django.template.exceptions.TemplateSyntaxError: Invalid filter: 'length_is' 134s ___________________________ test_basic[foundation-6] ___________________________ 134s 134s self = 134s token = 'field.errors|length_is:"0"' 134s 134s def translate_token(self, token): 134s try: 134s > op = OPERATORS[token] 134s E KeyError: 'field.errors|length_is:"0"' 134s 134s /usr/lib/python3/dist-packages/django/template/smartif.py:180: KeyError 134s 134s During handling of the above exception, another exception occurred: 134s 134s output_test_path = '/tmp/autopkgtest.H6tQaA/autopkgtest_tmp/tests/output' 134s render_output = 134s rendered_template = 134s helper = 134s client = 134s 134s def test_basic(output_test_path, render_output, rendered_template, helper, client): 134s form = BasicInputForm() 134s pack = helper.template_pack 134s 134s > rendered = rendered_template(form, helper=helper) 134s 134s tests/002_layout.py:16: 134s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 134s tests/utils.py:82: in get_rendered_template 134s return template.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:171: in render 134s return self._render(context) 134s /usr/lib/python3/dist-packages/django/test/utils.py:114: in instrumented_test_render 134s return self.nodelist.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:1008: in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s /usr/lib/python3/dist-packages/django/template/base.py:969: in render_annotated 134s return self.render(context) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:423: in render 134s return strip_spaces_between_tags(self.nodelist.render(context).strip()) 134s /usr/lib/python3/dist-packages/django/template/base.py:1008: in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s /usr/lib/python3/dist-packages/django/template/base.py:969: in render_annotated 134s return self.render(context) 134s /usr/lib/python3/dist-packages/crispy_forms/templatetags/crispy_forms_tags.py:208: in render 134s return template.render(c) 134s /usr/lib/python3/dist-packages/django/template/backends/django.py:107: in render 134s return self.template.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:171: in render 134s return self._render(context) 134s /usr/lib/python3/dist-packages/django/test/utils.py:114: in instrumented_test_render 134s return self.nodelist.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:1008: in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s /usr/lib/python3/dist-packages/django/template/base.py:969: in render_annotated 134s return self.render(context) 134s /usr/lib/python3/dist-packages/django/template/loader_tags.py:210: in render 134s return template.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:173: in render 134s return self._render(context) 134s /usr/lib/python3/dist-packages/django/test/utils.py:114: in instrumented_test_render 134s return self.nodelist.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:1008: in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s /usr/lib/python3/dist-packages/django/template/base.py:969: in render_annotated 134s return self.render(context) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:327: in render 134s return nodelist.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:1008: in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s /usr/lib/python3/dist-packages/django/template/base.py:969: in render_annotated 134s return self.render(context) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:423: in render 134s return strip_spaces_between_tags(self.nodelist.render(context).strip()) 134s /usr/lib/python3/dist-packages/django/template/base.py:1008: in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s /usr/lib/python3/dist-packages/django/template/base.py:969: in render_annotated 134s return self.render(context) 134s /usr/lib/python3/dist-packages/django/template/loader_tags.py:210: in render 134s return template.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:173: in render 134s return self._render(context) 134s /usr/lib/python3/dist-packages/django/test/utils.py:114: in instrumented_test_render 134s return self.nodelist.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:1008: in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s /usr/lib/python3/dist-packages/django/template/base.py:969: in render_annotated 134s return self.render(context) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:243: in render 134s nodelist.append(node.render_annotated(context)) 134s /usr/lib/python3/dist-packages/django/template/base.py:969: in render_annotated 134s return self.render(context) 134s /usr/lib/python3/dist-packages/django/template/loader_tags.py:199: in render 134s template = context.template.engine.select_template(template_name) 134s /usr/lib/python3/dist-packages/django/template/engine.py:208: in select_template 134s return self.get_template(template_name) 134s /usr/lib/python3/dist-packages/django/template/engine.py:177: in get_template 134s template, origin = self.find_template(template_name) 134s /usr/lib/python3/dist-packages/django/template/engine.py:159: in find_template 134s template = loader.get_template(name, skip=skip) 134s /usr/lib/python3/dist-packages/django/template/loaders/cached.py:57: in get_template 134s template = super().get_template(template_name, skip) 134s /usr/lib/python3/dist-packages/django/template/loaders/base.py:28: in get_template 134s return Template( 134s /usr/lib/python3/dist-packages/django/template/base.py:154: in __init__ 134s self.nodelist = self.compile_nodelist() 134s /usr/lib/python3/dist-packages/django/template/base.py:196: in compile_nodelist 134s nodelist = parser.parse() 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:976: in do_if 134s nodelist = parser.parse(("endif",)) 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:1332: in spaceless 134s nodelist = parser.parse(("endspaceless",)) 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:962: in do_if 134s nodelist = parser.parse(("elif", "else", "endif")) 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:961: in do_if 134s condition = TemplateIfParser(parser, bits).parse() 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:894: in __init__ 134s super().__init__(*args, **kwargs) 134s /usr/lib/python3/dist-packages/django/template/smartif.py:171: in __init__ 134s mapped_tokens.append(self.translate_token(token)) 134s /usr/lib/python3/dist-packages/django/template/smartif.py:182: in translate_token 134s return self.create_var(token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:897: in create_var 134s return TemplateLiteral(self.template_parser.compile_filter(value), value) 134s /usr/lib/python3/dist-packages/django/template/base.py:605: in compile_filter 134s return FilterExpression(token, self) 134s /usr/lib/python3/dist-packages/django/template/base.py:701: in __init__ 134s filter_func = parser.find_filter(filter_name) 134s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 134s 134s self = , , ...">, , , , ...">, , ...">, , , , , , , , , , ...">, , , , , , , , , , , , , , ...">, , ...">, , , , ]> 134s filter_name = 'length_is' 134s 134s def find_filter(self, filter_name): 134s if filter_name in self.filters: 134s return self.filters[filter_name] 134s else: 134s > raise TemplateSyntaxError("Invalid filter: '%s'" % filter_name) 134s E django.template.exceptions.TemplateSyntaxError: Invalid filter: 'length_is' 134s 134s /usr/lib/python3/dist-packages/django/template/base.py:611: TemplateSyntaxError 134s __________________________ test_layout[foundation-6] ___________________________ 134s 134s self = 134s token = 'field.errors|length_is:"0"' 134s 134s def translate_token(self, token): 134s try: 134s > op = OPERATORS[token] 134s E KeyError: 'field.errors|length_is:"0"' 134s 134s /usr/lib/python3/dist-packages/django/template/smartif.py:180: KeyError 134s 134s During handling of the above exception, another exception occurred: 134s 134s output_test_path = '/tmp/autopkgtest.H6tQaA/autopkgtest_tmp/tests/output' 134s render_output = 134s rendered_template = 134s helper = 134s client = 134s 134s def test_layout(output_test_path, render_output, rendered_template, helper, client): 134s form = BasicInputFormLayoutIncluded(helper=helper) 134s pack = helper.template_pack 134s 134s > rendered = rendered_template(form) 134s 134s tests/002_layout.py:29: 134s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 134s tests/utils.py:82: in get_rendered_template 134s return template.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:171: in render 134s return self._render(context) 134s /usr/lib/python3/dist-packages/django/test/utils.py:114: in instrumented_test_render 134s return self.nodelist.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:1008: in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s /usr/lib/python3/dist-packages/django/template/base.py:969: in render_annotated 134s return self.render(context) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:423: in render 134s return strip_spaces_between_tags(self.nodelist.render(context).strip()) 134s /usr/lib/python3/dist-packages/django/template/base.py:1008: in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s /usr/lib/python3/dist-packages/django/template/base.py:969: in render_annotated 134s return self.render(context) 134s /usr/lib/python3/dist-packages/crispy_forms/templatetags/crispy_forms_tags.py:199: in render 134s c = self.get_render(context).flatten() 134s /usr/lib/python3/dist-packages/crispy_forms/templatetags/crispy_forms_tags.py:117: in get_render 134s actual_form.form_html = helper.render_layout( 134s /usr/lib/python3/dist-packages/crispy_forms/helper.py:276: in render_layout 134s html = self.layout.render(form, context, template_pack=template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:142: in render 134s return self.get_rendered_fields(form, context, template_pack, **kwargs) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in get_rendered_fields 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/utils.py:114: in render_field 134s template = default_field_template(template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms/utils.py:26: in default_field_template 134s return get_template("%s/field.html" % template_pack) 134s /usr/lib/python3/dist-packages/django/template/loader.py:15: in get_template 134s return engine.get_template(template_name) 134s /usr/lib/python3/dist-packages/django/template/backends/django.py:79: in get_template 134s return Template(self.engine.get_template(template_name), self) 134s /usr/lib/python3/dist-packages/django/template/engine.py:177: in get_template 134s template, origin = self.find_template(template_name) 134s /usr/lib/python3/dist-packages/django/template/engine.py:159: in find_template 134s template = loader.get_template(name, skip=skip) 134s /usr/lib/python3/dist-packages/django/template/loaders/cached.py:57: in get_template 134s template = super().get_template(template_name, skip) 134s /usr/lib/python3/dist-packages/django/template/loaders/base.py:28: in get_template 134s return Template( 134s /usr/lib/python3/dist-packages/django/template/base.py:154: in __init__ 134s self.nodelist = self.compile_nodelist() 134s /usr/lib/python3/dist-packages/django/template/base.py:196: in compile_nodelist 134s nodelist = parser.parse() 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:976: in do_if 134s nodelist = parser.parse(("endif",)) 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:1332: in spaceless 134s nodelist = parser.parse(("endspaceless",)) 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:962: in do_if 134s nodelist = parser.parse(("elif", "else", "endif")) 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:961: in do_if 134s condition = TemplateIfParser(parser, bits).parse() 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:894: in __init__ 134s super().__init__(*args, **kwargs) 134s /usr/lib/python3/dist-packages/django/template/smartif.py:171: in __init__ 134s mapped_tokens.append(self.translate_token(token)) 134s /usr/lib/python3/dist-packages/django/template/smartif.py:182: in translate_token 134s return self.create_var(token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:897: in create_var 134s return TemplateLiteral(self.template_parser.compile_filter(value), value) 134s /usr/lib/python3/dist-packages/django/template/base.py:605: in compile_filter 134s return FilterExpression(token, self) 134s /usr/lib/python3/dist-packages/django/template/base.py:701: in __init__ 134s filter_func = parser.find_filter(filter_name) 134s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 134s 134s self = , , ...">, , , , ...">, , ...">, , , , , , , , , , ...">, , , , , , , , , , , , , , ...">, , ...">, , , , ]> 134s filter_name = 'length_is' 134s 134s def find_filter(self, filter_name): 134s if filter_name in self.filters: 134s return self.filters[filter_name] 134s else: 134s > raise TemplateSyntaxError("Invalid filter: '%s'" % filter_name) 134s E django.template.exceptions.TemplateSyntaxError: Invalid filter: 'length_is' 134s 134s /usr/lib/python3/dist-packages/django/template/base.py:611: TemplateSyntaxError 134s _________________________ test_advanced[foundation-6] __________________________ 134s 134s self = 134s token = 'field.errors|length_is:"0"' 134s 134s def translate_token(self, token): 134s try: 134s > op = OPERATORS[token] 134s E KeyError: 'field.errors|length_is:"0"' 134s 134s /usr/lib/python3/dist-packages/django/template/smartif.py:180: KeyError 134s 134s During handling of the above exception, another exception occurred: 134s 134s output_test_path = '/tmp/autopkgtest.H6tQaA/autopkgtest_tmp/tests/output' 134s render_output = 134s rendered_template = 134s helper = 134s client = 134s 134s def test_advanced(output_test_path, render_output, rendered_template, helper, client): 134s form = AdvancedForm() 134s pack = helper.template_pack 134s 134s helper.layout = Layout( 134s Row( 134s Column( 134s 'simple', 134s css_class='six' 134s ), 134s Column( 134s 'opt_in', 134s css_class='six' 134s ), 134s ), 134s Row( 134s Column( 134s 'longtext' 134s ), 134s ), 134s Row( 134s Column( 134s ButtonHolder(Submit('submit', 'Submit')), 134s ), 134s css_class="large" 134s ), 134s ) 134s 134s > rendered = rendered_template(form, helper=helper) 134s 134s tests/002_layout.py:66: 134s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 134s tests/utils.py:82: in get_rendered_template 134s return template.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:171: in render 134s return self._render(context) 134s /usr/lib/python3/dist-packages/django/test/utils.py:114: in instrumented_test_render 134s return self.nodelist.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:1008: in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s /usr/lib/python3/dist-packages/django/template/base.py:969: in render_annotated 134s return self.render(context) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:423: in render 134s return strip_spaces_between_tags(self.nodelist.render(context).strip()) 134s /usr/lib/python3/dist-packages/django/template/base.py:1008: in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s /usr/lib/python3/dist-packages/django/template/base.py:969: in render_annotated 134s return self.render(context) 134s /usr/lib/python3/dist-packages/crispy_forms/templatetags/crispy_forms_tags.py:199: in render 134s c = self.get_render(context).flatten() 134s /usr/lib/python3/dist-packages/crispy_forms/templatetags/crispy_forms_tags.py:117: in get_render 134s actual_form.form_html = helper.render_layout( 134s /usr/lib/python3/dist-packages/crispy_forms/helper.py:276: in render_layout 134s html = self.layout.render(form, context, template_pack=template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:142: in render 134s return self.get_rendered_fields(form, context, template_pack, **kwargs) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in get_rendered_fields 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/utils.py:65: in render_field 134s return field.render(form, context, template_pack=template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:747: in render 134s fields = self.get_rendered_fields(form, context, template_pack, **kwargs) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in get_rendered_fields 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/utils.py:65: in render_field 134s return field.render(form, context, template_pack=template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:747: in render 134s fields = self.get_rendered_fields(form, context, template_pack, **kwargs) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in get_rendered_fields 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/utils.py:114: in render_field 134s template = default_field_template(template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms/utils.py:26: in default_field_template 134s return get_template("%s/field.html" % template_pack) 134s /usr/lib/python3/dist-packages/django/template/loader.py:15: in get_template 134s return engine.get_template(template_name) 134s /usr/lib/python3/dist-packages/django/template/backends/django.py:79: in get_template 134s return Template(self.engine.get_template(template_name), self) 134s /usr/lib/python3/dist-packages/django/template/engine.py:177: in get_template 134s template, origin = self.find_template(template_name) 134s /usr/lib/python3/dist-packages/django/template/engine.py:159: in find_template 134s template = loader.get_template(name, skip=skip) 134s /usr/lib/python3/dist-packages/django/template/loaders/cached.py:57: in get_template 134s template = super().get_template(template_name, skip) 134s /usr/lib/python3/dist-packages/django/template/loaders/base.py:28: in get_template 134s return Template( 134s /usr/lib/python3/dist-packages/django/template/base.py:154: in __init__ 134s self.nodelist = self.compile_nodelist() 134s /usr/lib/python3/dist-packages/django/template/base.py:196: in compile_nodelist 134s nodelist = parser.parse() 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:976: in do_if 134s nodelist = parser.parse(("endif",)) 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:1332: in spaceless 134s nodelist = parser.parse(("endspaceless",)) 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:962: in do_if 134s nodelist = parser.parse(("elif", "else", "endif")) 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:961: in do_if 134s condition = TemplateIfParser(parser, bits).parse() 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:894: in __init__ 134s super().__init__(*args, **kwargs) 134s /usr/lib/python3/dist-packages/django/template/smartif.py:171: in __init__ 134s mapped_tokens.append(self.translate_token(token)) 134s /usr/lib/python3/dist-packages/django/template/smartif.py:182: in translate_token 134s return self.create_var(token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:897: in create_var 134s return TemplateLiteral(self.template_parser.compile_filter(value), value) 134s /usr/lib/python3/dist-packages/django/template/base.py:605: in compile_filter 134s return FilterExpression(token, self) 134s /usr/lib/python3/dist-packages/django/template/base.py:701: in __init__ 134s filter_func = parser.find_filter(filter_name) 134s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 134s 134s self = , , ...">, , , , ...">, , ...">, , , , , , , , , , ...">, , , , , , , , , , , , , , ...">, , ...">, , , , ]> 134s filter_name = 'length_is' 134s 134s def find_filter(self, filter_name): 134s if filter_name in self.filters: 134s return self.filters[filter_name] 134s else: 134s > raise TemplateSyntaxError("Invalid filter: '%s'" % filter_name) 134s E django.template.exceptions.TemplateSyntaxError: Invalid filter: 'length_is' 134s 134s /usr/lib/python3/dist-packages/django/template/base.py:611: TemplateSyntaxError 134s _________________________ test_fakefield[foundation-6] _________________________ 134s 134s self = 134s token = 'field.errors|length_is:"0"' 134s 134s def translate_token(self, token): 134s try: 134s > op = OPERATORS[token] 134s E KeyError: 'field.errors|length_is:"0"' 134s 134s /usr/lib/python3/dist-packages/django/template/smartif.py:180: KeyError 134s 134s During handling of the above exception, another exception occurred: 134s 134s output_test_path = '/tmp/autopkgtest.H6tQaA/autopkgtest_tmp/tests/output' 134s render_output = 134s rendered_template = 134s helper = 134s client = 134s 134s def test_fakefield(output_test_path, render_output, rendered_template, 134s helper, client): 134s form = BasicInputForm() 134s pack = helper.template_pack 134s 134s helper.layout = Layout( 134s FakeField('simple') 134s ) 134s 134s > rendered = rendered_template(form, helper=helper) 134s 134s tests/003_fields.py:20: 134s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 134s tests/utils.py:82: in get_rendered_template 134s return template.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:171: in render 134s return self._render(context) 134s /usr/lib/python3/dist-packages/django/test/utils.py:114: in instrumented_test_render 134s return self.nodelist.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:1008: in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s /usr/lib/python3/dist-packages/django/template/base.py:969: in render_annotated 134s return self.render(context) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:423: in render 134s return strip_spaces_between_tags(self.nodelist.render(context).strip()) 134s /usr/lib/python3/dist-packages/django/template/base.py:1008: in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s /usr/lib/python3/dist-packages/django/template/base.py:969: in render_annotated 134s return self.render(context) 134s /usr/lib/python3/dist-packages/crispy_forms/templatetags/crispy_forms_tags.py:199: in render 134s c = self.get_render(context).flatten() 134s /usr/lib/python3/dist-packages/crispy_forms/templatetags/crispy_forms_tags.py:117: in get_render 134s actual_form.form_html = helper.render_layout( 134s /usr/lib/python3/dist-packages/crispy_forms/helper.py:276: in render_layout 134s html = self.layout.render(form, context, template_pack=template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:142: in render 134s return self.get_rendered_fields(form, context, template_pack, **kwargs) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in get_rendered_fields 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/utils.py:65: in render_field 134s return field.render(form, context, template_pack=template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms_foundation/layout/fields.py:51: in render 134s return super(FakeField, self).render(form, context, 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:946: in render 134s return self.get_rendered_fields( 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in get_rendered_fields 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/utils.py:118: in render_field 134s template = get_template(template) 134s /usr/lib/python3/dist-packages/django/template/loader.py:15: in get_template 134s return engine.get_template(template_name) 134s /usr/lib/python3/dist-packages/django/template/backends/django.py:79: in get_template 134s return Template(self.engine.get_template(template_name), self) 134s /usr/lib/python3/dist-packages/django/template/engine.py:177: in get_template 134s template, origin = self.find_template(template_name) 134s /usr/lib/python3/dist-packages/django/template/engine.py:159: in find_template 134s template = loader.get_template(name, skip=skip) 134s /usr/lib/python3/dist-packages/django/template/loaders/cached.py:57: in get_template 134s template = super().get_template(template_name, skip) 134s /usr/lib/python3/dist-packages/django/template/loaders/base.py:28: in get_template 134s return Template( 134s /usr/lib/python3/dist-packages/django/template/base.py:154: in __init__ 134s self.nodelist = self.compile_nodelist() 134s /usr/lib/python3/dist-packages/django/template/base.py:196: in compile_nodelist 134s nodelist = parser.parse() 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:976: in do_if 134s nodelist = parser.parse(("endif",)) 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:1332: in spaceless 134s nodelist = parser.parse(("endspaceless",)) 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:962: in do_if 134s nodelist = parser.parse(("elif", "else", "endif")) 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:961: in do_if 134s condition = TemplateIfParser(parser, bits).parse() 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:894: in __init__ 134s super().__init__(*args, **kwargs) 134s /usr/lib/python3/dist-packages/django/template/smartif.py:171: in __init__ 134s mapped_tokens.append(self.translate_token(token)) 134s /usr/lib/python3/dist-packages/django/template/smartif.py:182: in translate_token 134s return self.create_var(token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:897: in create_var 134s return TemplateLiteral(self.template_parser.compile_filter(value), value) 134s /usr/lib/python3/dist-packages/django/template/base.py:605: in compile_filter 134s return FilterExpression(token, self) 134s /usr/lib/python3/dist-packages/django/template/base.py:701: in __init__ 134s filter_func = parser.find_filter(filter_name) 134s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 134s 134s self = , , ...">, , , , ...">, , ...">, , , , , , , , , , ...">, , , , , , , , , , , , , , ...">, , ...">, , , , ]> 134s filter_name = 'length_is' 134s 134s def find_filter(self, filter_name): 134s if filter_name in self.filters: 134s return self.filters[filter_name] 134s else: 134s > raise TemplateSyntaxError("Invalid filter: '%s'" % filter_name) 134s E django.template.exceptions.TemplateSyntaxError: Invalid filter: 'length_is' 134s 134s /usr/lib/python3/dist-packages/django/template/base.py:611: TemplateSyntaxError 134s ________________________ test_inlinefield[foundation-6] ________________________ 134s 134s self = 134s token = 'field.errors|length_is:"0"' 134s 134s def translate_token(self, token): 134s try: 134s > op = OPERATORS[token] 134s E KeyError: 'field.errors|length_is:"0"' 134s 134s /usr/lib/python3/dist-packages/django/template/smartif.py:180: KeyError 134s 134s During handling of the above exception, another exception occurred: 134s 134s output_test_path = '/tmp/autopkgtest.H6tQaA/autopkgtest_tmp/tests/output' 134s render_output = 134s rendered_template = 134s helper = 134s client = 134s 134s def test_inlinefield(output_test_path, render_output, rendered_template, 134s helper, client): 134s form = BasicInputForm() 134s pack = helper.template_pack 134s 134s helper.layout = Layout( 134s InlineField('simple', label_column='large-7', input_column='large-5', 134s label_class='foobar') 134s ) 134s 134s > rendered = rendered_template(form, helper=helper) 134s 134s tests/003_fields.py:39: 134s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 134s tests/utils.py:82: in get_rendered_template 134s return template.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:171: in render 134s return self._render(context) 134s /usr/lib/python3/dist-packages/django/test/utils.py:114: in instrumented_test_render 134s return self.nodelist.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:1008: in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s /usr/lib/python3/dist-packages/django/template/base.py:969: in render_annotated 134s return self.render(context) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:423: in render 134s return strip_spaces_between_tags(self.nodelist.render(context).strip()) 134s /usr/lib/python3/dist-packages/django/template/base.py:1008: in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s /usr/lib/python3/dist-packages/django/template/base.py:969: in render_annotated 134s return self.render(context) 134s /usr/lib/python3/dist-packages/crispy_forms/templatetags/crispy_forms_tags.py:199: in render 134s c = self.get_render(context).flatten() 134s /usr/lib/python3/dist-packages/crispy_forms/templatetags/crispy_forms_tags.py:117: in get_render 134s actual_form.form_html = helper.render_layout( 134s /usr/lib/python3/dist-packages/crispy_forms/helper.py:276: in render_layout 134s html = self.layout.render(form, context, template_pack=template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:142: in render 134s return self.get_rendered_fields(form, context, template_pack, **kwargs) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in get_rendered_fields 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/utils.py:65: in render_field 134s return field.render(form, context, template_pack=template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms_foundation/layout/fields.py:125: in render 134s html += render_field(field, form, context, 134s /usr/lib/python3/dist-packages/crispy_forms/utils.py:118: in render_field 134s template = get_template(template) 134s /usr/lib/python3/dist-packages/django/template/loader.py:15: in get_template 134s return engine.get_template(template_name) 134s /usr/lib/python3/dist-packages/django/template/backends/django.py:79: in get_template 134s return Template(self.engine.get_template(template_name), self) 134s /usr/lib/python3/dist-packages/django/template/engine.py:177: in get_template 134s template, origin = self.find_template(template_name) 134s /usr/lib/python3/dist-packages/django/template/engine.py:159: in find_template 134s template = loader.get_template(name, skip=skip) 134s /usr/lib/python3/dist-packages/django/template/loaders/cached.py:57: in get_template 134s template = super().get_template(template_name, skip) 134s /usr/lib/python3/dist-packages/django/template/loaders/base.py:28: in get_template 134s return Template( 134s /usr/lib/python3/dist-packages/django/template/base.py:154: in __init__ 134s self.nodelist = self.compile_nodelist() 134s /usr/lib/python3/dist-packages/django/template/base.py:196: in compile_nodelist 134s nodelist = parser.parse() 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:976: in do_if 134s nodelist = parser.parse(("endif",)) 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:962: in do_if 134s nodelist = parser.parse(("elif", "else", "endif")) 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:961: in do_if 134s condition = TemplateIfParser(parser, bits).parse() 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:894: in __init__ 134s super().__init__(*args, **kwargs) 134s /usr/lib/python3/dist-packages/django/template/smartif.py:171: in __init__ 134s mapped_tokens.append(self.translate_token(token)) 134s /usr/lib/python3/dist-packages/django/template/smartif.py:182: in translate_token 134s return self.create_var(token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:897: in create_var 134s return TemplateLiteral(self.template_parser.compile_filter(value), value) 134s /usr/lib/python3/dist-packages/django/template/base.py:605: in compile_filter 134s return FilterExpression(token, self) 134s /usr/lib/python3/dist-packages/django/template/base.py:701: in __init__ 134s filter_func = parser.find_filter(filter_name) 134s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 134s 134s self = , , ...">, , ...">, , ...">, , , , ...">, , , , , , ...">, , , , , , , , , , , , , , , , ...">, , , , ]> 134s filter_name = 'length_is' 134s 134s def find_filter(self, filter_name): 134s if filter_name in self.filters: 134s return self.filters[filter_name] 134s else: 134s > raise TemplateSyntaxError("Invalid filter: '%s'" % filter_name) 134s E django.template.exceptions.TemplateSyntaxError: Invalid filter: 'length_is' 134s 134s /usr/lib/python3/dist-packages/django/template/base.py:611: TemplateSyntaxError 134s _____________________ test_inlineswitchfield[foundation-6] _____________________ 134s 134s self = 134s token = 'field.errors|length_is:"0"' 134s 134s def translate_token(self, token): 134s try: 134s > op = OPERATORS[token] 134s E KeyError: 'field.errors|length_is:"0"' 134s 134s /usr/lib/python3/dist-packages/django/template/smartif.py:180: KeyError 134s 134s During handling of the above exception, another exception occurred: 134s 134s output_test_path = '/tmp/autopkgtest.H6tQaA/autopkgtest_tmp/tests/output' 134s render_output = 134s rendered_template = 134s helper = 134s client = 134s 134s def test_inlineswitchfield(output_test_path, render_output, rendered_template, 134s helper, client): 134s form = BoolInputForm() 134s pack = helper.template_pack 134s 134s helper.layout = Layout( 134s InlineSwitchField('opt_in', label_column='large-8', 134s input_column='large-4', label_class='foobar', 134s switch_class="inline") 134s ) 134s 134s > rendered = rendered_template(form, helper=helper) 134s 134s tests/003_fields.py:59: 134s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 134s tests/utils.py:82: in get_rendered_template 134s return template.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:171: in render 134s return self._render(context) 134s /usr/lib/python3/dist-packages/django/test/utils.py:114: in instrumented_test_render 134s return self.nodelist.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:1008: in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s /usr/lib/python3/dist-packages/django/template/base.py:969: in render_annotated 134s return self.render(context) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:423: in render 134s return strip_spaces_between_tags(self.nodelist.render(context).strip()) 134s /usr/lib/python3/dist-packages/django/template/base.py:1008: in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s /usr/lib/python3/dist-packages/django/template/base.py:969: in render_annotated 134s return self.render(context) 134s /usr/lib/python3/dist-packages/crispy_forms/templatetags/crispy_forms_tags.py:199: in render 134s c = self.get_render(context).flatten() 134s /usr/lib/python3/dist-packages/crispy_forms/templatetags/crispy_forms_tags.py:117: in get_render 134s actual_form.form_html = helper.render_layout( 134s /usr/lib/python3/dist-packages/crispy_forms/helper.py:276: in render_layout 134s html = self.layout.render(form, context, template_pack=template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:142: in render 134s return self.get_rendered_fields(form, context, template_pack, **kwargs) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in get_rendered_fields 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/utils.py:65: in render_field 134s return field.render(form, context, template_pack=template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms_foundation/layout/fields.py:208: in render 134s return super(InlineSwitchField, self).render(form, context, 134s /usr/lib/python3/dist-packages/crispy_forms_foundation/layout/fields.py:125: in render 134s html += render_field(field, form, context, 134s /usr/lib/python3/dist-packages/crispy_forms/utils.py:118: in render_field 134s template = get_template(template) 134s /usr/lib/python3/dist-packages/django/template/loader.py:15: in get_template 134s return engine.get_template(template_name) 134s /usr/lib/python3/dist-packages/django/template/backends/django.py:79: in get_template 134s return Template(self.engine.get_template(template_name), self) 134s /usr/lib/python3/dist-packages/django/template/engine.py:177: in get_template 134s template, origin = self.find_template(template_name) 134s /usr/lib/python3/dist-packages/django/template/engine.py:159: in find_template 134s template = loader.get_template(name, skip=skip) 134s /usr/lib/python3/dist-packages/django/template/loaders/cached.py:57: in get_template 134s template = super().get_template(template_name, skip) 134s /usr/lib/python3/dist-packages/django/template/loaders/base.py:28: in get_template 134s return Template( 134s /usr/lib/python3/dist-packages/django/template/base.py:154: in __init__ 134s self.nodelist = self.compile_nodelist() 134s /usr/lib/python3/dist-packages/django/template/base.py:196: in compile_nodelist 134s nodelist = parser.parse() 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:976: in do_if 134s nodelist = parser.parse(("endif",)) 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:1332: in spaceless 134s nodelist = parser.parse(("endspaceless",)) 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:962: in do_if 134s nodelist = parser.parse(("elif", "else", "endif")) 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:961: in do_if 134s condition = TemplateIfParser(parser, bits).parse() 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:894: in __init__ 134s super().__init__(*args, **kwargs) 134s /usr/lib/python3/dist-packages/django/template/smartif.py:171: in __init__ 134s mapped_tokens.append(self.translate_token(token)) 134s /usr/lib/python3/dist-packages/django/template/smartif.py:182: in translate_token 134s return self.create_var(token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:897: in create_var 134s return TemplateLiteral(self.template_parser.compile_filter(value), value) 134s /usr/lib/python3/dist-packages/django/template/base.py:605: in compile_filter 134s return FilterExpression(token, self) 134s /usr/lib/python3/dist-packages/django/template/base.py:701: in __init__ 134s filter_func = parser.find_filter(filter_name) 134s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 134s 134s self = , , ...">, , , , ...">, , ...">, , , , ...">, , , , , , ...">, , , , , , , , , , , , , , , , ...">, , , , ]> 134s filter_name = 'length_is' 134s 134s def find_filter(self, filter_name): 134s if filter_name in self.filters: 134s return self.filters[filter_name] 134s else: 134s > raise TemplateSyntaxError("Invalid filter: '%s'" % filter_name) 134s E django.template.exceptions.TemplateSyntaxError: Invalid filter: 'length_is' 134s 134s /usr/lib/python3/dist-packages/django/template/base.py:611: TemplateSyntaxError 134s ________________________ test_buttongroup[foundation-6] ________________________ 134s 134s self = 134s token = 'field.errors|length_is:"0"' 134s 134s def translate_token(self, token): 134s try: 134s > op = OPERATORS[token] 134s E KeyError: 'field.errors|length_is:"0"' 134s 134s /usr/lib/python3/dist-packages/django/template/smartif.py:180: KeyError 134s 134s During handling of the above exception, another exception occurred: 134s 134s output_test_path = '/tmp/autopkgtest.H6tQaA/autopkgtest_tmp/tests/output' 134s render_output = 134s rendered_template = 134s helper = 134s client = 134s 134s def test_buttongroup(output_test_path, render_output, rendered_template, 134s helper, client): 134s form = BasicInputForm() 134s pack = helper.template_pack 134s 134s helper.layout = Layout( 134s 'simple', 134s ButtonGroup( 134s Submit('Save', 'Save'), 134s Button('Cancel', 'Cancel'), 134s ) 134s ) 134s 134s > rendered = rendered_template(form, helper=helper) 134s 134s tests/004_buttons.py:25: 134s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 134s tests/utils.py:82: in get_rendered_template 134s return template.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:171: in render 134s return self._render(context) 134s /usr/lib/python3/dist-packages/django/test/utils.py:114: in instrumented_test_render 134s return self.nodelist.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:1008: in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s /usr/lib/python3/dist-packages/django/template/base.py:969: in render_annotated 134s return self.render(context) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:423: in render 134s return strip_spaces_between_tags(self.nodelist.render(context).strip()) 134s /usr/lib/python3/dist-packages/django/template/base.py:1008: in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s /usr/lib/python3/dist-packages/django/template/base.py:969: in render_annotated 134s return self.render(context) 134s /usr/lib/python3/dist-packages/crispy_forms/templatetags/crispy_forms_tags.py:199: in render 134s c = self.get_render(context).flatten() 134s /usr/lib/python3/dist-packages/crispy_forms/templatetags/crispy_forms_tags.py:117: in get_render 134s actual_form.form_html = helper.render_layout( 134s /usr/lib/python3/dist-packages/crispy_forms/helper.py:276: in render_layout 134s html = self.layout.render(form, context, template_pack=template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:142: in render 134s return self.get_rendered_fields(form, context, template_pack, **kwargs) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in get_rendered_fields 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/utils.py:114: in render_field 134s template = default_field_template(template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms/utils.py:26: in default_field_template 134s return get_template("%s/field.html" % template_pack) 134s /usr/lib/python3/dist-packages/django/template/loader.py:15: in get_template 134s return engine.get_template(template_name) 134s /usr/lib/python3/dist-packages/django/template/backends/django.py:79: in get_template 134s return Template(self.engine.get_template(template_name), self) 134s /usr/lib/python3/dist-packages/django/template/engine.py:177: in get_template 134s template, origin = self.find_template(template_name) 134s /usr/lib/python3/dist-packages/django/template/engine.py:159: in find_template 134s template = loader.get_template(name, skip=skip) 134s /usr/lib/python3/dist-packages/django/template/loaders/cached.py:57: in get_template 134s template = super().get_template(template_name, skip) 134s /usr/lib/python3/dist-packages/django/template/loaders/base.py:28: in get_template 134s return Template( 134s /usr/lib/python3/dist-packages/django/template/base.py:154: in __init__ 134s self.nodelist = self.compile_nodelist() 134s /usr/lib/python3/dist-packages/django/template/base.py:196: in compile_nodelist 134s nodelist = parser.parse() 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:976: in do_if 134s nodelist = parser.parse(("endif",)) 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:1332: in spaceless 134s nodelist = parser.parse(("endspaceless",)) 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:962: in do_if 134s nodelist = parser.parse(("elif", "else", "endif")) 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:961: in do_if 134s condition = TemplateIfParser(parser, bits).parse() 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:894: in __init__ 134s super().__init__(*args, **kwargs) 134s /usr/lib/python3/dist-packages/django/template/smartif.py:171: in __init__ 134s mapped_tokens.append(self.translate_token(token)) 134s /usr/lib/python3/dist-packages/django/template/smartif.py:182: in translate_token 134s return self.create_var(token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:897: in create_var 134s return TemplateLiteral(self.template_parser.compile_filter(value), value) 134s /usr/lib/python3/dist-packages/django/template/base.py:605: in compile_filter 134s return FilterExpression(token, self) 134s /usr/lib/python3/dist-packages/django/template/base.py:701: in __init__ 134s filter_func = parser.find_filter(filter_name) 134s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 134s 134s self = , , ...">, , , , ...">, , ...">, , , , , , , , , , ...">, , , , , , , , , , , , , , ...">, , ...">, , , , ]> 134s filter_name = 'length_is' 134s 134s def find_filter(self, filter_name): 134s if filter_name in self.filters: 134s return self.filters[filter_name] 134s else: 134s > raise TemplateSyntaxError("Invalid filter: '%s'" % filter_name) 134s E django.template.exceptions.TemplateSyntaxError: Invalid filter: 'length_is' 134s 134s /usr/lib/python3/dist-packages/django/template/base.py:611: TemplateSyntaxError 134s ____________________________ test_tab[foundation-6] ____________________________ 134s 134s self = 134s token = 'field.errors|length_is:"0"' 134s 134s def translate_token(self, token): 134s try: 134s > op = OPERATORS[token] 134s E KeyError: 'field.errors|length_is:"0"' 134s 134s /usr/lib/python3/dist-packages/django/template/smartif.py:180: KeyError 134s 134s During handling of the above exception, another exception occurred: 134s 134s output_test_path = '/tmp/autopkgtest.H6tQaA/autopkgtest_tmp/tests/output' 134s render_output = 134s rendered_template = 134s helper = 134s client = 134s 134s def test_tab(output_test_path, render_output, rendered_template, helper, 134s client): 134s form = AdvancedForm() 134s pack = helper.template_pack 134s 134s helper.layout = Layout( 134s TabHolder( 134s TabItem("My tab 1", "simple"), 134s TabItem("My tab 2", "opt_in"), 134s TabItem("My tab 3", "longtext"), 134s css_id="meep-meep" 134s ) 134s ) 134s 134s > rendered = rendered_template(form, helper=helper) 134s 134s tests/005_containers.py:26: 134s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 134s tests/utils.py:82: in get_rendered_template 134s return template.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:171: in render 134s return self._render(context) 134s /usr/lib/python3/dist-packages/django/test/utils.py:114: in instrumented_test_render 134s return self.nodelist.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:1008: in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s /usr/lib/python3/dist-packages/django/template/base.py:969: in render_annotated 134s return self.render(context) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:423: in render 134s return strip_spaces_between_tags(self.nodelist.render(context).strip()) 134s /usr/lib/python3/dist-packages/django/template/base.py:1008: in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s /usr/lib/python3/dist-packages/django/template/base.py:969: in render_annotated 134s return self.render(context) 134s /usr/lib/python3/dist-packages/crispy_forms/templatetags/crispy_forms_tags.py:199: in render 134s c = self.get_render(context).flatten() 134s /usr/lib/python3/dist-packages/crispy_forms/templatetags/crispy_forms_tags.py:117: in get_render 134s actual_form.form_html = helper.render_layout( 134s /usr/lib/python3/dist-packages/crispy_forms/helper.py:276: in render_layout 134s html = self.layout.render(form, context, template_pack=template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:142: in render 134s return self.get_rendered_fields(form, context, template_pack, **kwargs) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in get_rendered_fields 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/utils.py:65: in render_field 134s return field.render(form, context, template_pack=template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms_foundation/layout/containers.py:120: in render 134s content += render_field( 134s /usr/lib/python3/dist-packages/crispy_forms/utils.py:65: in render_field 134s return field.render(form, context, template_pack=template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms_foundation/layout/containers.py:71: in render 134s return super(Container, self).render(form, context, 134s /usr/lib/python3/dist-packages/crispy_forms/bootstrap.py:621: in render 134s return super().render(form, context, template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:747: in render 134s fields = self.get_rendered_fields(form, context, template_pack, **kwargs) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in get_rendered_fields 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/utils.py:114: in render_field 134s template = default_field_template(template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms/utils.py:26: in default_field_template 134s return get_template("%s/field.html" % template_pack) 134s /usr/lib/python3/dist-packages/django/template/loader.py:15: in get_template 134s return engine.get_template(template_name) 134s /usr/lib/python3/dist-packages/django/template/backends/django.py:79: in get_template 134s return Template(self.engine.get_template(template_name), self) 134s /usr/lib/python3/dist-packages/django/template/engine.py:177: in get_template 134s template, origin = self.find_template(template_name) 134s /usr/lib/python3/dist-packages/django/template/engine.py:159: in find_template 134s template = loader.get_template(name, skip=skip) 134s /usr/lib/python3/dist-packages/django/template/loaders/cached.py:57: in get_template 134s template = super().get_template(template_name, skip) 134s /usr/lib/python3/dist-packages/django/template/loaders/base.py:28: in get_template 134s return Template( 134s /usr/lib/python3/dist-packages/django/template/base.py:154: in __init__ 134s self.nodelist = self.compile_nodelist() 134s /usr/lib/python3/dist-packages/django/template/base.py:196: in compile_nodelist 134s nodelist = parser.parse() 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:976: in do_if 134s nodelist = parser.parse(("endif",)) 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:1332: in spaceless 134s nodelist = parser.parse(("endspaceless",)) 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:962: in do_if 134s nodelist = parser.parse(("elif", "else", "endif")) 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:961: in do_if 134s condition = TemplateIfParser(parser, bits).parse() 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:894: in __init__ 134s super().__init__(*args, **kwargs) 134s /usr/lib/python3/dist-packages/django/template/smartif.py:171: in __init__ 134s mapped_tokens.append(self.translate_token(token)) 134s /usr/lib/python3/dist-packages/django/template/smartif.py:182: in translate_token 134s return self.create_var(token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:897: in create_var 134s return TemplateLiteral(self.template_parser.compile_filter(value), value) 134s /usr/lib/python3/dist-packages/django/template/base.py:605: in compile_filter 134s return FilterExpression(token, self) 134s /usr/lib/python3/dist-packages/django/template/base.py:701: in __init__ 134s filter_func = parser.find_filter(filter_name) 134s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 134s 134s self = , , ...">, , , , ...">, , ...">, , , , , , , , , , ...">, , , , , , , , , , , , , , ...">, , ...">, , , , ]> 134s filter_name = 'length_is' 134s 134s def find_filter(self, filter_name): 134s if filter_name in self.filters: 134s return self.filters[filter_name] 134s else: 134s > raise TemplateSyntaxError("Invalid filter: '%s'" % filter_name) 134s E django.template.exceptions.TemplateSyntaxError: Invalid filter: 'length_is' 134s 134s /usr/lib/python3/dist-packages/django/template/base.py:611: TemplateSyntaxError 134s _________________________ test_accordion[foundation-6] _________________________ 134s 134s self = 134s token = 'field.errors|length_is:"0"' 134s 134s def translate_token(self, token): 134s try: 134s > op = OPERATORS[token] 134s E KeyError: 'field.errors|length_is:"0"' 134s 134s /usr/lib/python3/dist-packages/django/template/smartif.py:180: KeyError 134s 134s During handling of the above exception, another exception occurred: 134s 134s output_test_path = '/tmp/autopkgtest.H6tQaA/autopkgtest_tmp/tests/output' 134s render_output = 134s rendered_template = 134s helper = 134s client = 134s 134s def test_accordion(output_test_path, render_output, rendered_template, helper, 134s client): 134s form = AdvancedForm() 134s pack = helper.template_pack 134s 134s # Define "css_id" to avoid test fails with automatic generated random ID 134s helper.layout = Layout( 134s AccordionHolder( 134s AccordionItem("Group 1", "simple"), 134s AccordionItem("Group 2", "opt_in"), 134s AccordionItem("Group 3", "longtext"), 134s css_id="meep-meep" 134s ) 134s ) 134s 134s > rendered = rendered_template(form, helper=helper) 134s 134s tests/005_containers.py:50: 134s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 134s tests/utils.py:82: in get_rendered_template 134s return template.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:171: in render 134s return self._render(context) 134s /usr/lib/python3/dist-packages/django/test/utils.py:114: in instrumented_test_render 134s return self.nodelist.render(context) 134s /usr/lib/python3/dist-packages/django/template/base.py:1008: in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s /usr/lib/python3/dist-packages/django/template/base.py:969: in render_annotated 134s return self.render(context) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:423: in render 134s return strip_spaces_between_tags(self.nodelist.render(context).strip()) 134s /usr/lib/python3/dist-packages/django/template/base.py:1008: in render 134s return SafeString("".join([node.render_annotated(context) for node in self])) 134s /usr/lib/python3/dist-packages/django/template/base.py:969: in render_annotated 134s return self.render(context) 134s /usr/lib/python3/dist-packages/crispy_forms/templatetags/crispy_forms_tags.py:199: in render 134s c = self.get_render(context).flatten() 134s /usr/lib/python3/dist-packages/crispy_forms/templatetags/crispy_forms_tags.py:117: in get_render 134s actual_form.form_html = helper.render_layout( 134s /usr/lib/python3/dist-packages/crispy_forms/helper.py:276: in render_layout 134s html = self.layout.render(form, context, template_pack=template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:142: in render 134s return self.get_rendered_fields(form, context, template_pack, **kwargs) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in get_rendered_fields 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/utils.py:65: in render_field 134s return field.render(form, context, template_pack=template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms_foundation/layout/containers.py:227: in render 134s content += render_field( 134s /usr/lib/python3/dist-packages/crispy_forms/utils.py:65: in render_field 134s return field.render(form, context, template_pack=template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms/bootstrap.py:621: in render 134s return super().render(form, context, template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:747: in render 134s fields = self.get_rendered_fields(form, context, template_pack, **kwargs) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in get_rendered_fields 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/layout.py:105: in 134s "".join(render_field(field, form, context, template_pack=template_pack, **kwargs) for field in self.fields) 134s /usr/lib/python3/dist-packages/crispy_forms/utils.py:114: in render_field 134s template = default_field_template(template_pack) 134s /usr/lib/python3/dist-packages/crispy_forms/utils.py:26: in default_field_template 134s return get_template("%s/field.html" % template_pack) 134s /usr/lib/python3/dist-packages/django/template/loader.py:15: in get_template 134s return engine.get_template(template_name) 134s /usr/lib/python3/dist-packages/django/template/backends/django.py:79: in get_template 134s return Template(self.engine.get_template(template_name), self) 134s /usr/lib/python3/dist-packages/django/template/engine.py:177: in get_template 134s template, origin = self.find_template(template_name) 134s /usr/lib/python3/dist-packages/django/template/engine.py:159: in find_template 134s template = loader.get_template(name, skip=skip) 134s /usr/lib/python3/dist-packages/django/template/loaders/cached.py:57: in get_template 134s template = super().get_template(template_name, skip) 134s /usr/lib/python3/dist-packages/django/template/loaders/base.py:28: in get_template 134s return Template( 134s /usr/lib/python3/dist-packages/django/template/base.py:154: in __init__ 134s self.nodelist = self.compile_nodelist() 134s /usr/lib/python3/dist-packages/django/template/base.py:196: in compile_nodelist 134s nodelist = parser.parse() 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:976: in do_if 134s nodelist = parser.parse(("endif",)) 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:1332: in spaceless 134s nodelist = parser.parse(("endspaceless",)) 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:962: in do_if 134s nodelist = parser.parse(("elif", "else", "endif")) 134s /usr/lib/python3/dist-packages/django/template/base.py:518: in parse 134s raise self.error(token, e) 134s /usr/lib/python3/dist-packages/django/template/base.py:516: in parse 134s compiled_result = compile_func(self, token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:961: in do_if 134s condition = TemplateIfParser(parser, bits).parse() 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:894: in __init__ 134s super().__init__(*args, **kwargs) 134s /usr/lib/python3/dist-packages/django/template/smartif.py:171: in __init__ 134s mapped_tokens.append(self.translate_token(token)) 134s /usr/lib/python3/dist-packages/django/template/smartif.py:182: in translate_token 134s return self.create_var(token) 134s /usr/lib/python3/dist-packages/django/template/defaulttags.py:897: in create_var 134s return TemplateLiteral(self.template_parser.compile_filter(value), value) 134s /usr/lib/python3/dist-packages/django/template/base.py:605: in compile_filter 134s return FilterExpression(token, self) 134s /usr/lib/python3/dist-packages/django/template/base.py:701: in __init__ 134s filter_func = parser.find_filter(filter_name) 134s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 134s 134s self = , , ...">, , , , ...">, , ...">, , , , , , , , , , ...">, , , , , , , , , , , , , , ...">, , ...">, , , , ]> 134s filter_name = 'length_is' 134s 134s def find_filter(self, filter_name): 134s if filter_name in self.filters: 134s return self.filters[filter_name] 134s else: 134s > raise TemplateSyntaxError("Invalid filter: '%s'" % filter_name) 134s E django.template.exceptions.TemplateSyntaxError: Invalid filter: 'length_is' 134s 134s /usr/lib/python3/dist-packages/django/template/base.py:611: TemplateSyntaxError 134s =============================== warnings summary =============================== 134s ../../../usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:184 134s /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:184: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html 134s exec(co, module.__dict__) 134s 134s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 134s =========================== short test summary info ============================ 134s FAILED tests/001_ping_demo.py::test_ping_reverse_urlname[demo:crispy-demo-form-fieldsets-url_args1-url_kwargs1] - django.template.exceptions.TemplateSyntaxError: Invalid filter: 'length_is' 134s FAILED tests/001_ping_demo.py::test_ping_reverse_urlname[demo:crispy-demo-form-tabs-url_args2-url_kwargs2] - django.template.exceptions.TemplateSyntaxError: Invalid filter: 'length_is' 134s FAILED tests/001_ping_demo.py::test_ping_reverse_urlname[demo:crispy-demo-form-accordions-url_args3-url_kwargs3] - django.template.exceptions.TemplateSyntaxError: Invalid filter: 'length_is' 134s FAILED tests/002_layout.py::test_basic[foundation-6] - django.template.exceptions.TemplateSyntaxError: Invalid filter: 'length_is' 134s FAILED tests/002_layout.py::test_layout[foundation-6] - django.template.exceptions.TemplateSyntaxError: Invalid filter: 'length_is' 134s FAILED tests/002_layout.py::test_advanced[foundation-6] - django.template.exceptions.TemplateSyntaxError: Invalid filter: 'length_is' 134s FAILED tests/003_fields.py::test_fakefield[foundation-6] - django.template.exceptions.TemplateSyntaxError: Invalid filter: 'length_is' 134s FAILED tests/003_fields.py::test_inlinefield[foundation-6] - django.template.exceptions.TemplateSyntaxError: Invalid filter: 'length_is' 134s FAILED tests/003_fields.py::test_inlineswitchfield[foundation-6] - django.template.exceptions.TemplateSyntaxError: Invalid filter: 'length_is' 134s FAILED tests/004_buttons.py::test_buttongroup[foundation-6] - django.template.exceptions.TemplateSyntaxError: Invalid filter: 'length_is' 134s FAILED tests/005_containers.py::test_tab[foundation-6] - django.template.exceptions.TemplateSyntaxError: Invalid filter: 'length_is' 134s FAILED tests/005_containers.py::test_accordion[foundation-6] - django.template.exceptions.TemplateSyntaxError: Invalid filter: 'length_is' 134s ================== 12 failed, 3 passed, 1 warning in -83.06s =================== 134s autopkgtest [06:42:49]: test upstream-tests: -----------------------] 135s upstream-tests FAIL non-zero exit status 1 135s autopkgtest [06:42:50]: test upstream-tests: - - - - - - - - - - results - - - - - - - - - - 135s autopkgtest [06:42:50]: @@@@@@@@@@@@@@@@@@@@ summary 135s upstream-tests FAIL non-zero exit status 1 154s nova [W] Using flock in prodstack6-s390x 154s Creating nova instance adt-plucky-s390x-python-django-crispy-forms-foundation-20241221-064035-juju-7f2275-prod-proposed-migration-environment-15-4c6d6fe4-8107-4df1-b091-8c270bd6064e from image adt/ubuntu-plucky-s390x-server-20241221.img (UUID 8c2c8510-9f14-45a3-9c57-537a1972a1c1)... 154s nova [W] Timed out waiting for 65221199-aeea-45f9-bb83-e592a842a451 to get deleted.