1s autopkgtest [11:28:49]: starting date and time: 2026-01-23 11:28:49+0000 1s autopkgtest [11:28:49]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 1s autopkgtest [11:28:49]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.iavlviwt/out --timeout-copy=6000 -a i386 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults --apt-upgrade python-djantic --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python3-defaults/3.14.2-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-cpu2-ram4-disk20-amd64 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@sto01-15.secgroup --name adt-resolute-i386-python-djantic-20260123-112848-juju-7f2275-prod-proposed-migration-environment-20-d4fc3817-acad-4e28-b869-8cff24e19f9b --image adt/ubuntu-resolute-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-autopkgtest-workers-amd64 -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 4s Creating nova instance adt-resolute-i386-python-djantic-20260123-112848-juju-7f2275-prod-proposed-migration-environment-20-d4fc3817-acad-4e28-b869-8cff24e19f9b from image adt/ubuntu-resolute-amd64-server-20260123.img (UUID 789dbc23-4f1b-4e7c-bcab-98e6eebf04f2)... 80s autopkgtest [11:30:08]: testbed dpkg architecture: amd64 80s autopkgtest [11:30:08]: testbed apt version: 3.1.13 80s autopkgtest [11:30:08]: @@@@@@@@@@@@@@@@@@@@ test bed setup 80s autopkgtest [11:30:08]: testbed release detected to be: None 81s autopkgtest [11:30:09]: updating testbed package index (apt update) 81s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 81s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 81s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 81s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 81s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1016 kB] 82s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [92.8 kB] 82s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [23.6 kB] 82s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 82s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [127 kB] 82s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [103 kB] 82s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 c-n-f Metadata [3656 B] 82s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 Packages [12.3 kB] 82s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/restricted i386 Packages [3696 B] 82s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 c-n-f Metadata [336 B] 82s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [902 kB] 82s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [391 kB] 82s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 c-n-f Metadata [23.5 kB] 82s Get:18 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [4704 B] 82s Get:19 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [11.6 kB] 82s Get:20 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 c-n-f Metadata [668 B] 83s Fetched 2842 kB in 1s (2102 kB/s) 83s Reading package lists... 86s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 86s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 86s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 86s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 86s Reading package lists... 86s Reading package lists... 87s Building dependency tree... 87s Reading state information... 87s Calculating upgrade... 87s The following packages were automatically installed and are no longer required: 87s python3.13 python3.13-minimal 87s Use 'sudo apt autoremove' to remove them. 87s The following NEW packages will be installed: 87s libpython3.14-minimal libpython3.14-stdlib python3.14 python3.14-minimal 87s The following packages will be upgraded: 87s libpython3-stdlib python3 python3-gdbm python3-minimal 87s 4 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 87s Need to get 6769 kB of archives. 87s After this operation, 24.5 MB of additional disk space will be used. 87s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14-minimal amd64 3.14.2-1 [920 kB] 87s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 python3.14-minimal amd64 3.14.2-1 [2563 kB] 87s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 python3-minimal amd64 3.14.2-1 [28.2 kB] 87s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 python3 amd64 3.14.2-1 [22.9 kB] 87s Get:5 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14-stdlib amd64 3.14.2-1 [2398 kB] 87s Get:6 http://ftpmaster.internal/ubuntu resolute/main amd64 python3.14 amd64 3.14.2-1 [816 kB] 87s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libpython3-stdlib amd64 3.14.2-1 [10.9 kB] 87s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 python3-gdbm amd64 3.14.2-1 [11.1 kB] 87s dpkg-preconfigure: unable to re-open stdin: No such file or directory 87s Fetched 6769 kB in 0s (14.7 MB/s) 87s Selecting previously unselected package libpython3.14-minimal:amd64. 88s (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 ... 124176 files and directories currently installed.) 88s Preparing to unpack .../libpython3.14-minimal_3.14.2-1_amd64.deb ... 88s Unpacking libpython3.14-minimal:amd64 (3.14.2-1) ... 88s Selecting previously unselected package python3.14-minimal. 88s Preparing to unpack .../python3.14-minimal_3.14.2-1_amd64.deb ... 88s Unpacking python3.14-minimal (3.14.2-1) ... 88s Setting up libpython3.14-minimal:amd64 (3.14.2-1) ... 88s Setting up python3.14-minimal (3.14.2-1) ... 88s (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 ... 124518 files and directories currently installed.) 88s Preparing to unpack .../python3-minimal_3.14.2-1_amd64.deb ... 88s Unpacking python3-minimal (3.14.2-1) over (3.13.9-3) ... 88s Setting up python3-minimal (3.14.2-1) ... 89s (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 ... 124518 files and directories currently installed.) 89s Preparing to unpack .../python3_3.14.2-1_amd64.deb ... 89s running python pre-rtupdate hooks for python3.14... 89s Unpacking python3 (3.14.2-1) over (3.13.9-3) ... 89s Selecting previously unselected package libpython3.14-stdlib:amd64. 89s Preparing to unpack .../libpython3.14-stdlib_3.14.2-1_amd64.deb ... 89s Unpacking libpython3.14-stdlib:amd64 (3.14.2-1) ... 89s Selecting previously unselected package python3.14. 89s Preparing to unpack .../python3.14_3.14.2-1_amd64.deb ... 89s Unpacking python3.14 (3.14.2-1) ... 89s Preparing to unpack .../libpython3-stdlib_3.14.2-1_amd64.deb ... 89s Unpacking libpython3-stdlib:amd64 (3.14.2-1) over (3.13.9-3) ... 89s Preparing to unpack .../python3-gdbm_3.14.2-1_amd64.deb ... 89s Unpacking python3-gdbm (3.14.2-1) over (3.13.9-3) ... 89s Setting up libpython3.14-stdlib:amd64 (3.14.2-1) ... 89s Setting up python3.14 (3.14.2-1) ... 89s Setting up libpython3-stdlib:amd64 (3.14.2-1) ... 89s Setting up python3-gdbm (3.14.2-1) ... 89s Setting up python3 (3.14.2-1) ... 89s running python rtupdate hooks for python3.14... 89s running python post-rtupdate hooks for python3.14... 90s Processing triggers for man-db (2.13.1-1) ... 90s Processing triggers for systemd (259-1ubuntu2) ... 90s autopkgtest [11:30:18]: upgrading testbed (apt dist-upgrade and autopurge) 90s Reading package lists... 90s Building dependency tree... 90s Reading state information... 90s Calculating upgrade... 90s The following packages were automatically installed and are no longer required: 90s python3.13 python3.13-minimal 90s Use 'sudo apt autoremove' to remove them. 90s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 91s Reading package lists... 91s Building dependency tree... 91s Reading state information... 91s Solving dependencies... 91s The following packages will be REMOVED: 91s python3.13* python3.13-minimal* 91s 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. 91s After this operation, 7860 kB disk space will be freed. 91s (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 ... 124948 files and directories currently installed.) 91s Removing python3.13 (3.13.11-1) ... 91s Removing python3.13-minimal (3.13.11-1) ... 92s Processing triggers for man-db (2.13.1-1) ... 92s Processing triggers for systemd (259-1ubuntu2) ... 92s (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 ... 124921 files and directories currently installed.) 92s Purging configuration files for python3.13-minimal (3.13.11-1) ... 94s autopkgtest [11:30:22]: testbed running kernel: Linux 6.18.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Jan 12 16:49:02 UTC 2026 94s autopkgtest [11:30:22]: @@@@@@@@@@@@@@@@@@@@ apt-source python-djantic 96s Get:1 http://ftpmaster.internal/ubuntu resolute/universe python-djantic 0.7.0-6 (dsc) [2588 B] 96s Get:2 http://ftpmaster.internal/ubuntu resolute/universe python-djantic 0.7.0-6 (tar) [54.6 kB] 96s Get:3 http://ftpmaster.internal/ubuntu resolute/universe python-djantic 0.7.0-6 (diff) [4336 B] 96s gpgv: Signature made Thu Feb 20 07:32:29 2025 UTC 96s gpgv: using RSA key 8F6DE104377F3B11E741748731F3144544A1741A 96s gpgv: issuer "tchet@debian.org" 96s gpgv: Can't check signature: No public key 96s dpkg-source: warning: cannot verify inline signature for ./python-djantic_0.7.0-6.dsc: no acceptable signature found 96s autopkgtest [11:30:24]: testing package python-djantic version 0.7.0-6 96s autopkgtest [11:30:24]: build not needed 96s autopkgtest [11:30:24]: test upstream: preparing testbed 97s Reading package lists... 97s Building dependency tree... 97s Reading state information... 97s Solving dependencies... 97s The following NEW packages will be installed: 97s libdeflate0 libgomp1 libgraphite2-3 libharfbuzz0b libimagequant0 libjbig0 97s libjpeg-turbo8 libjpeg8 liblcms2-2 liblerc4 libopenjp2-7 libpq5 libraqm0 97s libsharpyuv0 libtiff6 libwebp7 libwebpdemux2 libwebpmux3 python-djantic-doc 97s python3-all python3-annotated-types python3-asgiref python3-django 97s python3-djantic python3-dnspython python3-email-validator 97s python3-factory-boy python3-fake-factory python3-iniconfig python3-pil 97s python3-pluggy python3-psycopg2 python3-pydantic python3-pydantic-core 97s python3-pytest python3-pytest-django python3-sqlparse 97s python3-typing-inspection python3.13 python3.13-minimal 99s 0 upgraded, 40 newly installed, 0 to remove and 0 not upgraded. 99s Need to get 14.5 MB of archives. 99s After this operation, 73.8 MB of additional disk space will be used. 99s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 python3.13-minimal amd64 3.13.11-1 [2408 kB] 100s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 python3.13 amd64 3.13.11-1 [758 kB] 100s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 libdeflate0 amd64 1.23-2 [49.9 kB] 100s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 libgomp1 amd64 15.2.0-11ubuntu1 [151 kB] 100s Get:5 http://ftpmaster.internal/ubuntu resolute/main amd64 libgraphite2-3 amd64 1.3.14-11ubuntu1 [73.7 kB] 100s Get:6 http://ftpmaster.internal/ubuntu resolute/main amd64 libharfbuzz0b amd64 12.3.0-4 [529 kB] 100s Get:7 http://ftpmaster.internal/ubuntu resolute/main amd64 libimagequant0 amd64 2.18.0-1build1 [36.3 kB] 100s Get:8 http://ftpmaster.internal/ubuntu resolute/main amd64 libjpeg-turbo8 amd64 2.1.5-4ubuntu2 [152 kB] 100s Get:9 http://ftpmaster.internal/ubuntu resolute/main amd64 libjpeg8 amd64 8c-2ubuntu11 [2148 B] 100s Get:10 http://ftpmaster.internal/ubuntu resolute/main amd64 liblcms2-2 amd64 2.17-1 [170 kB] 100s Get:11 http://ftpmaster.internal/ubuntu resolute/main amd64 liblerc4 amd64 4.0.0+ds-5ubuntu2 [207 kB] 100s Get:12 http://ftpmaster.internal/ubuntu resolute/main amd64 libpq5 amd64 18.1-2 [155 kB] 100s Get:13 http://ftpmaster.internal/ubuntu resolute/main amd64 libraqm0 amd64 0.10.3-1 [15.4 kB] 100s Get:14 http://ftpmaster.internal/ubuntu resolute/main amd64 libsharpyuv0 amd64 1.5.0-0.1build1 [17.6 kB] 100s Get:15 http://ftpmaster.internal/ubuntu resolute/main amd64 libjbig0 amd64 2.1-6.1ubuntu3 [30.0 kB] 100s Get:16 http://ftpmaster.internal/ubuntu resolute/main amd64 libwebp7 amd64 1.5.0-0.1build1 [264 kB] 100s Get:17 http://ftpmaster.internal/ubuntu resolute/main amd64 libtiff6 amd64 4.7.0-3ubuntu3 [209 kB] 100s Get:18 http://ftpmaster.internal/ubuntu resolute/main amd64 libwebpdemux2 amd64 1.5.0-0.1build1 [12.8 kB] 100s Get:19 http://ftpmaster.internal/ubuntu resolute/main amd64 libwebpmux3 amd64 1.5.0-0.1build1 [26.4 kB] 100s Get:20 http://ftpmaster.internal/ubuntu resolute/universe amd64 python-djantic-doc all 0.7.0-6 [492 kB] 100s Get:21 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 python3-all amd64 3.14.2-1 [890 B] 100s Get:22 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-annotated-types all 0.7.0-1 [19.4 kB] 100s Get:23 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-asgiref all 3.11.0-1 [25.2 kB] 100s Get:24 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-sqlparse all 0.5.4-1 [34.3 kB] 100s Get:25 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-django all 3:5.2.9-0ubuntu2 [3038 kB] 100s Get:26 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-pydantic-core amd64 2.41.5-2 [2427 kB] 101s Get:27 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-typing-inspection all 0.4.2-1 [13.1 kB] 101s Get:28 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-dnspython all 2.7.0-1ubuntu2 [167 kB] 101s Get:29 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-email-validator all 2.2.0-1 [28.5 kB] 101s Get:30 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-pydantic amd64 2.12.5-2 [312 kB] 101s Get:31 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-djantic all 0.7.0-6 [9454 B] 101s Get:32 http://ftpmaster.internal/ubuntu resolute/main amd64 libopenjp2-7 amd64 2.5.4-1 [188 kB] 101s Get:33 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-pil amd64 12.0.0-1ubuntu1 [494 kB] 101s Get:34 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-fake-factory all 39.0.0-1 [1455 kB] 101s Get:35 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-factory-boy all 3.3.3-1build1 [35.9 kB] 101s Get:36 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-iniconfig all 2.1.0-2 [6962 B] 101s Get:37 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-pluggy all 1.6.0-2 [21.1 kB] 101s Get:38 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-psycopg2 amd64 2.9.11-1 [164 kB] 101s Get:39 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-pytest all 9.0.2-2 [277 kB] 101s Get:40 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-pytest-django all 4.11.1-2 [21.8 kB] 101s Fetched 14.5 MB in 4s (3752 kB/s) 101s Selecting previously unselected package python3.13-minimal. 101s (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 ... 124923 files and directories currently installed.) 101s Preparing to unpack .../00-python3.13-minimal_3.13.11-1_amd64.deb ... 101s Unpacking python3.13-minimal (3.13.11-1) ... 101s Selecting previously unselected package python3.13. 101s Preparing to unpack .../01-python3.13_3.13.11-1_amd64.deb ... 101s Unpacking python3.13 (3.13.11-1) ... 101s Selecting previously unselected package libdeflate0:amd64. 101s Preparing to unpack .../02-libdeflate0_1.23-2_amd64.deb ... 101s Unpacking libdeflate0:amd64 (1.23-2) ... 101s Selecting previously unselected package libgomp1:amd64. 101s Preparing to unpack .../03-libgomp1_15.2.0-11ubuntu1_amd64.deb ... 101s Unpacking libgomp1:amd64 (15.2.0-11ubuntu1) ... 101s Selecting previously unselected package libgraphite2-3:amd64. 101s Preparing to unpack .../04-libgraphite2-3_1.3.14-11ubuntu1_amd64.deb ... 101s Unpacking libgraphite2-3:amd64 (1.3.14-11ubuntu1) ... 101s Selecting previously unselected package libharfbuzz0b:amd64. 101s Preparing to unpack .../05-libharfbuzz0b_12.3.0-4_amd64.deb ... 101s Unpacking libharfbuzz0b:amd64 (12.3.0-4) ... 101s Selecting previously unselected package libimagequant0:amd64. 101s Preparing to unpack .../06-libimagequant0_2.18.0-1build1_amd64.deb ... 101s Unpacking libimagequant0:amd64 (2.18.0-1build1) ... 101s Selecting previously unselected package libjpeg-turbo8:amd64. 101s Preparing to unpack .../07-libjpeg-turbo8_2.1.5-4ubuntu2_amd64.deb ... 101s Unpacking libjpeg-turbo8:amd64 (2.1.5-4ubuntu2) ... 101s Selecting previously unselected package libjpeg8:amd64. 101s Preparing to unpack .../08-libjpeg8_8c-2ubuntu11_amd64.deb ... 101s Unpacking libjpeg8:amd64 (8c-2ubuntu11) ... 101s Selecting previously unselected package liblcms2-2:amd64. 101s Preparing to unpack .../09-liblcms2-2_2.17-1_amd64.deb ... 101s Unpacking liblcms2-2:amd64 (2.17-1) ... 101s Selecting previously unselected package liblerc4:amd64. 101s Preparing to unpack .../10-liblerc4_4.0.0+ds-5ubuntu2_amd64.deb ... 101s Unpacking liblerc4:amd64 (4.0.0+ds-5ubuntu2) ... 101s Selecting previously unselected package libpq5:amd64. 101s Preparing to unpack .../11-libpq5_18.1-2_amd64.deb ... 101s Unpacking libpq5:amd64 (18.1-2) ... 101s Selecting previously unselected package libraqm0:amd64. 101s Preparing to unpack .../12-libraqm0_0.10.3-1_amd64.deb ... 101s Unpacking libraqm0:amd64 (0.10.3-1) ... 101s Selecting previously unselected package libsharpyuv0:amd64. 101s Preparing to unpack .../13-libsharpyuv0_1.5.0-0.1build1_amd64.deb ... 101s Unpacking libsharpyuv0:amd64 (1.5.0-0.1build1) ... 101s Selecting previously unselected package libjbig0:amd64. 101s Preparing to unpack .../14-libjbig0_2.1-6.1ubuntu3_amd64.deb ... 101s Unpacking libjbig0:amd64 (2.1-6.1ubuntu3) ... 101s Selecting previously unselected package libwebp7:amd64. 101s Preparing to unpack .../15-libwebp7_1.5.0-0.1build1_amd64.deb ... 101s Unpacking libwebp7:amd64 (1.5.0-0.1build1) ... 101s Selecting previously unselected package libtiff6:amd64. 101s Preparing to unpack .../16-libtiff6_4.7.0-3ubuntu3_amd64.deb ... 101s Unpacking libtiff6:amd64 (4.7.0-3ubuntu3) ... 101s Selecting previously unselected package libwebpdemux2:amd64. 101s Preparing to unpack .../17-libwebpdemux2_1.5.0-0.1build1_amd64.deb ... 101s Unpacking libwebpdemux2:amd64 (1.5.0-0.1build1) ... 101s Selecting previously unselected package libwebpmux3:amd64. 101s Preparing to unpack .../18-libwebpmux3_1.5.0-0.1build1_amd64.deb ... 101s Unpacking libwebpmux3:amd64 (1.5.0-0.1build1) ... 101s Selecting previously unselected package python-djantic-doc. 101s Preparing to unpack .../19-python-djantic-doc_0.7.0-6_all.deb ... 101s Unpacking python-djantic-doc (0.7.0-6) ... 101s Selecting previously unselected package python3-all. 101s Preparing to unpack .../20-python3-all_3.14.2-1_amd64.deb ... 101s Unpacking python3-all (3.14.2-1) ... 101s Selecting previously unselected package python3-annotated-types. 101s Preparing to unpack .../21-python3-annotated-types_0.7.0-1_all.deb ... 101s Unpacking python3-annotated-types (0.7.0-1) ... 101s Selecting previously unselected package python3-asgiref. 101s Preparing to unpack .../22-python3-asgiref_3.11.0-1_all.deb ... 101s Unpacking python3-asgiref (3.11.0-1) ... 101s Selecting previously unselected package python3-sqlparse. 101s Preparing to unpack .../23-python3-sqlparse_0.5.4-1_all.deb ... 101s Unpacking python3-sqlparse (0.5.4-1) ... 101s Selecting previously unselected package python3-django. 101s Preparing to unpack .../24-python3-django_3%3a5.2.9-0ubuntu2_all.deb ... 101s Unpacking python3-django (3:5.2.9-0ubuntu2) ... 101s Selecting previously unselected package python3-pydantic-core. 101s Preparing to unpack .../25-python3-pydantic-core_2.41.5-2_amd64.deb ... 101s Unpacking python3-pydantic-core (2.41.5-2) ... 101s Selecting previously unselected package python3-typing-inspection. 101s Preparing to unpack .../26-python3-typing-inspection_0.4.2-1_all.deb ... 101s Unpacking python3-typing-inspection (0.4.2-1) ... 101s Selecting previously unselected package python3-dnspython. 101s Preparing to unpack .../27-python3-dnspython_2.7.0-1ubuntu2_all.deb ... 101s Unpacking python3-dnspython (2.7.0-1ubuntu2) ... 101s Selecting previously unselected package python3-email-validator. 101s Preparing to unpack .../28-python3-email-validator_2.2.0-1_all.deb ... 101s Unpacking python3-email-validator (2.2.0-1) ... 102s Selecting previously unselected package python3-pydantic. 102s Preparing to unpack .../29-python3-pydantic_2.12.5-2_amd64.deb ... 102s Unpacking python3-pydantic (2.12.5-2) ... 102s Selecting previously unselected package python3-djantic. 102s Preparing to unpack .../30-python3-djantic_0.7.0-6_all.deb ... 102s Unpacking python3-djantic (0.7.0-6) ... 102s Selecting previously unselected package libopenjp2-7:amd64. 102s Preparing to unpack .../31-libopenjp2-7_2.5.4-1_amd64.deb ... 102s Unpacking libopenjp2-7:amd64 (2.5.4-1) ... 102s Selecting previously unselected package python3-pil:amd64. 102s Preparing to unpack .../32-python3-pil_12.0.0-1ubuntu1_amd64.deb ... 102s Unpacking python3-pil:amd64 (12.0.0-1ubuntu1) ... 102s Selecting previously unselected package python3-fake-factory. 102s Preparing to unpack .../33-python3-fake-factory_39.0.0-1_all.deb ... 102s Unpacking python3-fake-factory (39.0.0-1) ... 102s Selecting previously unselected package python3-factory-boy. 102s Preparing to unpack .../34-python3-factory-boy_3.3.3-1build1_all.deb ... 102s Unpacking python3-factory-boy (3.3.3-1build1) ... 102s Selecting previously unselected package python3-iniconfig. 102s Preparing to unpack .../35-python3-iniconfig_2.1.0-2_all.deb ... 102s Unpacking python3-iniconfig (2.1.0-2) ... 102s Selecting previously unselected package python3-pluggy. 102s Preparing to unpack .../36-python3-pluggy_1.6.0-2_all.deb ... 102s Unpacking python3-pluggy (1.6.0-2) ... 102s Selecting previously unselected package python3-psycopg2. 102s Preparing to unpack .../37-python3-psycopg2_2.9.11-1_amd64.deb ... 102s Unpacking python3-psycopg2 (2.9.11-1) ... 102s Selecting previously unselected package python3-pytest. 102s Preparing to unpack .../38-python3-pytest_9.0.2-2_all.deb ... 102s Unpacking python3-pytest (9.0.2-2) ... 102s Selecting previously unselected package python3-pytest-django. 102s Preparing to unpack .../39-python3-pytest-django_4.11.1-2_all.deb ... 102s Unpacking python3-pytest-django (4.11.1-2) ... 102s Setting up libgraphite2-3:amd64 (1.3.14-11ubuntu1) ... 102s Setting up liblcms2-2:amd64 (2.17-1) ... 102s Setting up python3-iniconfig (2.1.0-2) ... 102s Setting up libsharpyuv0:amd64 (1.5.0-0.1build1) ... 102s Setting up python3-pydantic-core (2.41.5-2) ... 102s Setting up liblerc4:amd64 (4.0.0+ds-5ubuntu2) ... 102s Setting up python3-typing-inspection (0.4.2-1) ... 102s Setting up python-djantic-doc (0.7.0-6) ... 102s Setting up libpq5:amd64 (18.1-2) ... 102s Setting up libdeflate0:amd64 (1.23-2) ... 102s Setting up libgomp1:amd64 (15.2.0-11ubuntu1) ... 102s Setting up libjbig0:amd64 (2.1-6.1ubuntu3) ... 102s Setting up python3-annotated-types (0.7.0-1) ... 102s Setting up python3-sqlparse (0.5.4-1) ... 102s Setting up libimagequant0:amd64 (2.18.0-1build1) ... 102s Setting up python3-psycopg2 (2.9.11-1) ... 102s Setting up libjpeg-turbo8:amd64 (2.1.5-4ubuntu2) ... 102s Setting up python3-pluggy (1.6.0-2) ... 103s Setting up libwebp7:amd64 (1.5.0-0.1build1) ... 103s Setting up python3-dnspython (2.7.0-1ubuntu2) ... 103s Setting up libopenjp2-7:amd64 (2.5.4-1) ... 103s Setting up python3.13-minimal (3.13.11-1) ... 103s Setting up libharfbuzz0b:amd64 (12.3.0-4) ... 103s Setting up python3-email-validator (2.2.0-1) ... 104s Setting up libwebpmux3:amd64 (1.5.0-0.1build1) ... 104s Setting up python3-asgiref (3.11.0-1) ... 104s Setting up libjpeg8:amd64 (8c-2ubuntu11) ... 104s Setting up python3-django (3:5.2.9-0ubuntu2) ... 105s Setting up python3.13 (3.13.11-1) ... 106s Setting up python3-pytest (9.0.2-2) ... 106s Setting up libwebpdemux2:amd64 (1.5.0-0.1build1) ... 106s Setting up python3-all (3.14.2-1) ... 106s Setting up python3-pytest-django (4.11.1-2) ... 106s Setting up python3-pydantic (2.12.5-2) ... 107s Setting up libraqm0:amd64 (0.10.3-1) ... 107s Setting up libtiff6:amd64 (4.7.0-3ubuntu3) ... 107s Setting up python3-djantic (0.7.0-6) ... 107s Setting up python3-pil:amd64 (12.0.0-1ubuntu1) ... 107s Setting up python3-fake-factory (39.0.0-1) ... 109s Setting up python3-factory-boy (3.3.3-1build1) ... 109s Processing triggers for systemd (259-1ubuntu2) ... 109s Processing triggers for man-db (2.13.1-1) ... 109s Processing triggers for libc-bin (2.42-2ubuntu4) ... 110s autopkgtest [11:30:38]: test environment configured for cross building 110s autopkgtest [11:30:38]: test upstream: [----------------------- 111s ============================= test session starts ============================== 111s platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0 -- /usr/bin/python3.13 111s cachedir: .pytest_cache 111s django: version: 5.2.9, settings: tests.testapp.settings (from ini) 111s rootdir: /tmp/autopkgtest.i5uTDf/autopkgtest_tmp 111s configfile: setup.cfg 111s plugins: typeguard-4.4.4, django-4.11.1, Faker-39.0.0 111s collecting ... Creating test database for alias 'default'... 111s collected 32 items / 4 deselected / 28 selected 111s 111s tests/test_fields.py::test_unhandled_field_type PASSED is currently unhandled, defaulting to str. 111s 111s tests/test_fields.py::test_custom_field PASSED 111s tests/test_fields.py::test_postgres_json_field PASSED 111s tests/test_fields.py::test_lazy_choice_field PASSED 111s tests/test_fields.py::test_enum_choices PASSED 111s tests/test_fields.py::test_enum_choices_generates_unique_enums PASSED 111s tests/test_fields.py::test_listing PASSED 111s tests/test_files.py::test_image_field_schema PASSED 111s tests/test_main.py::test_config_errors PASSED 111s tests/test_main.py::test_get_field_names PASSED 111s tests/test_queries.py::test_get_instance PASSED 111s tests/test_queries.py::test_get_instance_with_generic_foreign_key PASSED 111s tests/test_queries.py::test_get_queryset_with_reverse_one_to_one PASSED 111s tests/test_queries.py::test_get_queryset_with_foreign_key PASSED 111s tests/test_queries.py::test_get_queryset_with_reverse_foreign_key PASSED 111s tests/test_queries.py::test_get_queryset_with_generic_foreign_key PASSED 111s tests/test_relations.py::test_m2m PASSED 111s tests/test_relations.py::test_foreign_key PASSED 111s tests/test_relations.py::test_one_to_one PASSED 111s tests/test_relations.py::test_one_to_one_reverse PASSED 111s tests/test_relations.py::test_generic_relation PASSED 111s tests/test_relations.py::test_m2m_reverse PASSED 111s tests/test_schemas.py::test_description PASSED 111s tests/test_schemas.py::test_cache PASSED 111s tests/test_schemas.py::test_include_exclude PASSED 111s tests/test_schemas.py::test_json PASSED 111s tests/test_schemas.py::test_include_from_annotations PASSED 111s tests/test_schemas.py::test_by_alias_generator PASSEDDestroying test database for alias 'default'... 111s 111s 111s ============================= slowest 10 durations ============================= 111s 0.14s setup tests/test_fields.py::test_unhandled_field_type 111s 0.01s call tests/test_relations.py::test_m2m_reverse 111s 111s (8 durations < 0.005s hidden. Use -vv to show these durations.) 111s ======================= 28 passed, 4 deselected in 0.41s ======================= 112s ============================= test session starts ============================== 112s platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0 -- /usr/bin/python3.14 112s cachedir: .pytest_cache 112s django: version: 5.2.9, settings: tests.testapp.settings (from ini) 112s rootdir: /tmp/autopkgtest.i5uTDf/autopkgtest_tmp 112s configfile: setup.cfg 112s plugins: typeguard-4.4.4, django-4.11.1, Faker-39.0.0 112s collecting ... collected 32 items / 4 deselected / 28 selected 112s 112s tests/test_fields.py::test_unhandled_field_type Creating test database for alias 'default'... 112s is currently unhandled, defaulting to str. 112s PASSED 112s tests/test_fields.py::test_custom_field PASSED 112s tests/test_fields.py::test_postgres_json_field PASSED 112s tests/test_fields.py::test_lazy_choice_field PASSED 112s tests/test_fields.py::test_enum_choices PASSED 112s tests/test_fields.py::test_enum_choices_generates_unique_enums PASSED 112s tests/test_fields.py::test_listing PASSED 112s tests/test_files.py::test_image_field_schema PASSED 112s tests/test_main.py::test_config_errors PASSED 112s tests/test_main.py::test_get_field_names PASSED 112s tests/test_queries.py::test_get_instance PASSED 112s tests/test_queries.py::test_get_instance_with_generic_foreign_key FAILED 112s tests/test_queries.py::test_get_queryset_with_reverse_one_to_one FAILED 112s tests/test_queries.py::test_get_queryset_with_foreign_key FAILED 112s tests/test_queries.py::test_get_queryset_with_reverse_foreign_key FAILED 112s tests/test_queries.py::test_get_queryset_with_generic_foreign_key PASSED 112s tests/test_relations.py::test_m2m FAILED 112s tests/test_relations.py::test_foreign_key FAILED 112s tests/test_relations.py::test_one_to_one FAILED 112s tests/test_relations.py::test_one_to_one_reverse FAILED 112s tests/test_relations.py::test_generic_relation FAILED 112s tests/test_relations.py::test_m2m_reverse FAILED 112s tests/test_schemas.py::test_description PASSED 112s tests/test_schemas.py::test_cache PASSED 112s tests/test_schemas.py::test_include_exclude PASSED 112s tests/test_schemas.py::test_json PASSED 112s tests/test_schemas.py::test_include_from_annotations FAILED 112s tests/test_schemas.py::test_by_alias_generator PASSEDDestroying test database for alias 'default'... 112s 112s 112s =================================== FAILURES =================================== 112s __________________ test_get_instance_with_generic_foreign_key __________________ 112s 112s @pytest.mark.django_db 112s def test_get_instance_with_generic_foreign_key(): 112s 112s bookmark = Bookmark.objects.create(url="https://www.djangoproject.com/") 112s Tagged.objects.create(content_object=bookmark, slug="django") 112s 112s class TaggedSchema(ModelSchema): 112s class Config: 112s model = Tagged 112s 112s class BookmarkWithTaggedSchema(ModelSchema): 112s 112s tags: List[TaggedSchema] 112s 112s class Config: 112s model = Bookmark 112s 112s bookmark_with_tagged_schema = BookmarkWithTaggedSchema.from_django(bookmark) 112s 112s > assert bookmark_with_tagged_schema.dict() == { 112s "id": 1, 112s "tags": [ 112s { 112s 'content_object': 1, 112s "content_type": 20, 112s "id": 1, 112s "object_id": 1, 112s "slug": "django", 112s } 112s ], 112s "url": "https://www.djangoproject.com/", 112s } 112s E AssertionError: assert {'id': 1, 'ta...project.com/'} == {'id': 1, 'ta...project.com/'} 112s E 112s E Omitting 2 identical items, use -vv to show 112s E Differing items: 112s E {'tags': [{'id': 1}]} != {'tags': [{'content_object': 1, 'content_type': 20, 'id': 1, 'object_id': 1, ...}]} 112s E 112s E Full diff: 112s E {... 112s E 112s E ...Full output truncated (12 lines hidden), use '-vv' to show 112s 112s tests/test_queries.py:46: AssertionError 112s __________________ test_get_queryset_with_reverse_one_to_one ___________________ 112s 112s @pytest.mark.django_db 112s def test_get_queryset_with_reverse_one_to_one(): 112s """ 112s Test retrieving a Django queryset with reverse one-to-one relationships. 112s """ 112s user_data = [ 112s {"first_name": "Jordan", "email": "jordan@eremieff.com"}, 112s {"first_name": "Sara", "email": "sara@example.com"}, 112s ] 112s for kwargs in user_data: 112s user = User.objects.create(**kwargs) 112s Profile.objects.create(user=user, location="Australia") 112s 112s class UserSchema(ModelSchema): 112s class Config: 112s model = User 112s include = ["id", "email", "first_name", "profile"] 112s 112s users = User.objects.all() 112s user_schema_qs = UserSchema.from_django(users, many=True) 112s assert user_schema_qs == [ 112s { 112s "email": "jordan@eremieff.com", 112s "first_name": "Jordan", 112s "id": 1, 112s "profile": 1, 112s }, 112s {"email": "sara@example.com", "first_name": "Sara", "id": 2, "profile": 2}, 112s ] 112s 112s # Test when using a declared sub-model 112s class ProfileSchema(ModelSchema): 112s class Config: 112s model = Profile 112s include = ["id", "location"] 112s 112s class UserWithProfileSchema(ModelSchema): 112s 112s profile: ProfileSchema 112s 112s class Config: 112s model = User 112s exclude = ["created_at", "updated_at", "last_name"] 112s 112s users = User.objects.all() 112s 112s user_with_profile_schema_qs = UserWithProfileSchema.from_django(users, many=True) 112s > assert user_with_profile_schema_qs == [ 112s { 112s "email": "jordan@eremieff.com", 112s "first_name": "Jordan", 112s "id": 1, 112s "profile": {"id": 1, "location": "Australia"}, 112s }, 112s { 112s "email": "sara@example.com", 112s "first_name": "Sara", 112s "id": 2, 112s "profile": {"id": 2, "location": "Australia"}, 112s }, 112s ] 112s E AssertionError: assert [UserWithProf...example.com')] == [{'email': 'j...'Australia'}}] 112s E 112s E At index 0 diff: UserWithProfileSchema(profile=1, id=1, first_name='Jordan', email='jordan@eremieff.com') != {'email': 'jordan@eremieff.com', 'first_name': 'Jordan', 'id': 1, 'profile': {'id': 1, 'location': 'Australia'}} 112s E 112s E Full diff: 112s E [ 112s E + UserWithProfileSchema(profile=1, id=1, first_name='Jordan', email='jordan@eremieff.com'), 112s E + UserWithProfileSchema(profile=2, id=2, first_name='Sara', email='sara@example.com'),... 112s E 112s E ...Full output truncated (19 lines hidden), use '-vv' to show 112s 112s tests/test_queries.py:108: AssertionError 112s ______________________ test_get_queryset_with_foreign_key ______________________ 112s 112s @pytest.mark.django_db 112s def test_get_queryset_with_foreign_key(): 112s """ 112s Test retrieving a Django queryset with foreign-key relationships. 112s """ 112s 112s thread = Thread.objects.create(title="My thread topic") 112s thread2 = Thread.objects.create(title="Another topic") 112s for content in ("I agree.", "I disagree!", "lol"): 112s message_one = Message.objects.create(content=content, thread=thread) 112s Message.objects.create(content=content, thread=thread2) 112s 112s class MessageSchema(ModelSchema): 112s class Config: 112s model = Message 112s exclude = ["created_at"] 112s 112s schema = MessageSchema.from_django(message_one) 112s assert schema.dict() == {"id": 5, "content": "lol", "thread": 1} 112s 112s class ThreadSchema(ModelSchema): 112s class Config: 112s model = Thread 112s exclude = ["created_at"] 112s 112s class MessageWithThreadSchema(ModelSchema): 112s thread: ThreadSchema 112s 112s class Config: 112s model = Message 112s exclude = ["created_at"] 112s 112s schema = MessageWithThreadSchema.from_django(message_one) 112s > assert schema.dict() == { 112s "id": 5, 112s "content": "lol", 112s "thread": { 112s "messages": [{"id": 1}, {"id": 3}, {"id": 5}], 112s "id": 1, 112s "title": "My thread topic", 112s }, 112s } 112s E AssertionError: assert {'content': '..., 'thread': 1} == {'content': '...hread topic'}} 112s E 112s E Omitting 2 identical items, use -vv to show 112s E Differing items: 112s E {'thread': 1} != {'thread': {'id': 1, 'messages': [{'id': 1}, {'id': 3}, {'id': 5}], 'title': 'My thread topic'}} 112s E 112s E Full diff: 112s E {... 112s E 112s E ...Full output truncated (21 lines hidden), use '-vv' to show 112s 112s tests/test_queries.py:157: AssertionError 112s __________________ test_get_queryset_with_reverse_foreign_key __________________ 112s 112s @pytest.mark.django_db 112s def test_get_queryset_with_reverse_foreign_key(): 112s """ 112s Test retrieving a Django queryset with reverse foreign-key relationships. 112s """ 112s 112s thread = Thread.objects.create(title="My thread topic") 112s thread2 = Thread.objects.create(title="Another topic") 112s for content in ("I agree.", "I disagree!", "lol"): 112s Message.objects.create(content=content, thread=thread) 112s Message.objects.create(content=content, thread=thread2) 112s 112s threads = Thread.objects.all() 112s 112s class MessageSchema(ModelSchema): 112s class Config: 112s model = Message 112s include = ["id", "content"] 112s 112s class ThreadSchema(ModelSchema): 112s class Config: 112s model = Thread 112s 112s thread_schema_qs = ThreadSchema.from_django(threads, many=True) 112s thread_schemas = [t.dict() for t in thread_schema_qs] 112s assert thread_schemas == [ 112s { 112s "messages": [{"id": 2}, {"id": 4}, {"id": 6}], 112s "id": 2, 112s "title": "Another topic", 112s }, 112s { 112s "messages": [{"id": 1}, {"id": 3}, {"id": 5}], 112s "id": 1, 112s "title": "My thread topic", 112s }, 112s ] 112s 112s # Test when using a declared sub-model 112s class ThreadWithMessageListSchema(ModelSchema): 112s messages: List[MessageSchema] 112s 112s class Config: 112s model = Thread 112s exclude = ["created_at", "updated_at"] 112s 112s thread_with_message_list_schema_qs = ThreadWithMessageListSchema.from_django( 112s threads, many=True 112s ) 112s 112s > assert thread_with_message_list_schema_qs == [ 112s { 112s "messages": [ 112s {"id": 2, "content": "I agree."}, 112s {"id": 4, "content": "I disagree!"}, 112s {"id": 6, "content": "lol"}, 112s ], 112s "id": 2, 112s "title": "Another topic", 112s }, 112s { 112s "messages": [ 112s {"id": 1, "content": "I agree."}, 112s {"id": 3, "content": "I disagree!"}, 112s {"id": 5, "content": "lol"}, 112s ], 112s "id": 1, 112s "title": "My thread topic", 112s }, 112s ] 112s E AssertionError: assert [ThreadWithMe...hread topic')] == [{'id': 2, 'm...hread topic'}] 112s E 112s E At index 0 diff: ThreadWithMessageListSchema(messages=[{'id': 2}, {'id': 4}, {'id': 6}], id=2, title='Another topic') != {'messages': [{'id': 2, 'content': 'I agree.'}, {'id': 4, 'content': 'I disagree!'}, {'id': 6, 'content': 'lol'}], 'id': 2, 'title': 'Another topic'} 112s E 112s E Full diff: 112s E [ 112s E + ThreadWithMessageListSchema(messages=[{'id': 2}, {'id': 4}, {'id': 6}], id=2, title='Another topic'), 112s E + ThreadWithMessageListSchema(messages=[{'id': 1}, {'id': 3}, {'id': 5}], id=1, title='My thread topic'),... 112s E 112s E ...Full output truncated (37 lines hidden), use '-vv' to show 112s 112s tests/test_queries.py:218: AssertionError 112s ___________________________________ test_m2m ___________________________________ 112s 112s @pytest.mark.django_db 112s def test_m2m(): 112s """ 112s Test forward m2m relationships. 112s """ 112s 112s class ArticleSchema(ModelSchema): 112s class Config: 112s model = Article 112s 112s assert ArticleSchema.schema() == { 112s "title": "ArticleSchema", 112s "description": "A news article.", 112s "type": "object", 112s "properties": { 112s "id": {"title": "Id", "description": "id", "type": "integer"}, 112s "headline": { 112s "title": "Headline", 112s "description": "headline", 112s "maxLength": 100, 112s "type": "string", 112s }, 112s "pub_date": { 112s "title": "Pub Date", 112s "description": "pub_date", 112s "type": "string", 112s "format": "date", 112s }, 112s "publications": { 112s "title": "Publications", 112s "description": "id", 112s "type": "array", 112s "items": { 112s "type": "object", 112s "additionalProperties": {"type": "integer"}, 112s }, 112s }, 112s }, 112s "required": ["headline", "pub_date", "publications"], 112s } 112s 112s class PublicationSchema(ModelSchema): 112s class Config: 112s model = Publication 112s 112s class ArticleWithPublicationListSchema(ModelSchema): 112s publications: List[PublicationSchema] 112s 112s class Config: 112s model = Article 112s 112s > assert ArticleWithPublicationListSchema.schema() == { 112s "title": "ArticleWithPublicationListSchema", 112s "description": "A news article.", 112s "type": "object", 112s "properties": { 112s "id": {"title": "Id", "description": "id", "type": "integer"}, 112s "headline": { 112s "title": "Headline", 112s "description": "headline", 112s "maxLength": 100, 112s "type": "string", 112s }, 112s "pub_date": { 112s "title": "Pub Date", 112s "description": "pub_date", 112s "type": "string", 112s "format": "date", 112s }, 112s "publications": { 112s "title": "Publications", 112s "type": "array", 112s "items": {"$ref": "#/definitions/PublicationSchema"}, 112s }, 112s }, 112s "required": ["headline", "pub_date", "publications"], 112s "definitions": { 112s "PublicationSchema": { 112s "title": "PublicationSchema", 112s "description": "A news publication.", 112s "type": "object", 112s "properties": { 112s "article_set": { 112s "title": "Article Set", 112s "description": "id", 112s "type": "array", 112s "items": { 112s "type": "object", 112s "additionalProperties": {"type": "integer"}, 112s }, 112s }, 112s "id": {"title": "Id", "description": "id", "type": "integer"}, 112s "title": { 112s "title": "Title", 112s "description": "title", 112s "maxLength": 30, 112s "type": "string", 112s }, 112s }, 112s "required": ["title"], 112s } 112s }, 112s } 112s E AssertionError: assert {'description...tSchema', ...} == {'definitions...ations'], ...} 112s E 112s E Omitting 4 identical items, use -vv to show 112s E Differing items: 112s E {'properties': {'headline': {'description': 'headline', 'maxLength': 100, 'title': 'Headline', 'type': 'string'}, 'id'..., 'items': {'additionalProperties': {'type': 'integer'}, 'type': 'object'}, 'title': 'Publications', 'type': 'array'}}} != {'properties': {'headline': {'description': 'headline', 'maxLength': 100, 'title': 'Headline', 'type': 'string'}, 'id'...g'}, 'publications': {'items': {'$ref': '#/definitions/PublicationSchema'}, 'title': 'Publications', 'type': 'array'}}} 112s E Right contains 1 more item: 112s E {'defi... 112s E 112s E ...Full output truncated (94 lines hidden), use '-vv' to show 112s 112s tests/test_relations.py:74: AssertionError 112s _______________________________ test_foreign_key _______________________________ 112s 112s @pytest.mark.django_db 112s def test_foreign_key(): 112s """ 112s Test forward foreign-key relationships. 112s """ 112s 112s class ThreadSchema(ModelSchema): 112s class Config: 112s model = Thread 112s 112s class MessageSchema(ModelSchema): 112s class Config: 112s model = Message 112s 112s assert MessageSchema.schema() == { 112s "title": "MessageSchema", 112s "description": "A message posted in a thread.", 112s "type": "object", 112s "properties": { 112s "id": {"title": "Id", "description": "id", "type": "integer"}, 112s "content": {"title": "Content", "description": "content", "type": "string"}, 112s "created_at": { 112s "title": "Created At", 112s "description": "created_at", 112s "type": "string", 112s "format": "date-time", 112s }, 112s "thread": {"title": "Thread", "description": "id", "type": "integer"}, 112s }, 112s "required": ["content", "created_at", "thread"], 112s } 112s 112s class MessageWithThreadSchema(ModelSchema): 112s 112s thread: ThreadSchema 112s 112s class Config: 112s model = Message 112s 112s > assert MessageWithThreadSchema.schema() == { 112s "title": "MessageWithThreadSchema", 112s "description": "A message posted in a thread.", 112s "type": "object", 112s "properties": { 112s "id": {"title": "Id", "description": "id", "type": "integer"}, 112s "content": {"title": "Content", "description": "content", "type": "string"}, 112s "created_at": { 112s "title": "Created At", 112s "description": "created_at", 112s "type": "string", 112s "format": "date-time", 112s }, 112s "thread": {"$ref": "#/definitions/ThreadSchema"}, 112s }, 112s "required": ["content", "created_at", "thread"], 112s "definitions": { 112s "ThreadSchema": { 112s "title": "ThreadSchema", 112s "description": "A thread of messages.", 112s "type": "object", 112s "properties": { 112s "messages": { 112s "title": "Messages", 112s "description": "id", 112s "type": "array", 112s "items": { 112s "type": "object", 112s "additionalProperties": {"type": "integer"}, 112s }, 112s }, 112s "id": {"title": "Id", "description": "id", "type": "integer"}, 112s "title": { 112s "title": "Title", 112s "description": "title", 112s "maxLength": 30, 112s "type": "string", 112s }, 112s }, 112s "required": ["title"], 112s } 112s }, 112s } 112s E AssertionError: assert {'description...dSchema', ...} == {'definitions...thread'], ...} 112s E 112s E Omitting 4 identical items, use -vv to show 112s E Differing items: 112s E {'properties': {'content': {'description': 'content', 'title': 'Content', 'type': 'string'}, 'created_at': {'descripti...tion': 'id', 'title': 'Id', 'type': 'integer'}, 'thread': {'description': 'id', 'title': 'Thread', 'type': 'integer'}}} != {'properties': {'content': {'description': 'content', 'title': 'Content', 'type': 'string'}, 'created_at': {'descripti...ng'}, 'id': {'description': 'id', 'title': 'Id', 'type': 'integer'}, 'thread': {'$ref': '#/definitions/ThreadSchema'}}} 112s E Right contains 1 more item: 112s E {'defi... 112s E 112s E ...Full output truncated (86 lines hidden), use '-vv' to show 112s 112s tests/test_relations.py:181: AssertionError 112s _______________________________ test_one_to_one ________________________________ 112s 112s @pytest.mark.django_db 112s def test_one_to_one(): 112s """ 112s Test forward one-to-one relationships. 112s """ 112s 112s class UserSchema(ModelSchema): 112s class Config: 112s model = User 112s 112s class ProfileSchema(ModelSchema): 112s class Config: 112s model = Profile 112s 112s assert ProfileSchema.schema() == { 112s "title": "ProfileSchema", 112s "description": "A user's profile.", 112s "type": "object", 112s "properties": { 112s "id": {"title": "Id", "description": "id", "type": "integer"}, 112s "user": {"title": "User", "description": "id", "type": "integer"}, 112s "website": { 112s "title": "Website", 112s "description": "website", 112s "default": "", 112s "maxLength": 200, 112s "type": "string", 112s }, 112s "location": { 112s "title": "Location", 112s "description": "location", 112s "default": "", 112s "maxLength": 100, 112s "type": "string", 112s }, 112s }, 112s "required": ["user"], 112s } 112s 112s class ProfileWithUserSchema(ModelSchema): 112s user: UserSchema 112s 112s class Config: 112s model = Profile 112s 112s > assert ProfileWithUserSchema.schema() == { 112s "title": "ProfileWithUserSchema", 112s "description": "A user's profile.", 112s "type": "object", 112s "properties": { 112s "id": {"title": "Id", "description": "id", "type": "integer"}, 112s "user": {"$ref": "#/definitions/UserSchema"}, 112s "website": { 112s "title": "Website", 112s "description": "website", 112s "default": "", 112s "maxLength": 200, 112s "type": "string", 112s }, 112s "location": { 112s "title": "Location", 112s "description": "location", 112s "default": "", 112s "maxLength": 100, 112s "type": "string", 112s }, 112s }, 112s "required": ["user"], 112s "definitions": { 112s "UserSchema": { 112s "title": "UserSchema", 112s "description": "A user of the application.", 112s "type": "object", 112s "properties": { 112s "profile": { 112s "title": "Profile", 112s "description": "id", 112s "type": "integer", 112s }, 112s "id": {"title": "Id", "description": "id", "type": "integer"}, 112s "first_name": { 112s "title": "First Name", 112s "description": "first_name", 112s "maxLength": 50, 112s "type": "string", 112s }, 112s "last_name": { 112s "title": "Last Name", 112s "description": "last_name", 112s "maxLength": 50, 112s "type": "string", 112s }, 112s "email": { 112s "title": "Email", 112s "description": "email", 112s "maxLength": 254, 112s "type": "string", 112s }, 112s "created_at": { 112s "title": "Created At", 112s "description": "created_at", 112s "type": "string", 112s "format": "date-time", 112s }, 112s "updated_at": { 112s "title": "Updated At", 112s "description": "updated_at", 112s "type": "string", 112s "format": "date-time", 112s }, 112s }, 112s "required": ["first_name", "email", "created_at", "updated_at"], 112s } 112s }, 112s } 112s E AssertionError: assert {'description...rSchema', ...} == {'definitions...['user'], ...} 112s E 112s E Omitting 4 identical items, use -vv to show 112s E Differing items: 112s E {'properties': {'id': {'description': 'id', 'title': 'Id', 'type': 'integer'}, 'location': {'default': '', 'descriptio..., 'type': 'integer'}, 'website': {'default': '', 'description': 'website', 'maxLength': 200, 'title': 'Website', ...}}} != {'properties': {'id': {'description': 'id', 'title': 'Id', 'type': 'integer'}, 'location': {'default': '', 'descriptio...nitions/UserSchema'}, 'website': {'default': '', 'description': 'website', 'maxLength': 200, 'title': 'Website', ...}}} 112s E Right contains 1 more item: 112s E {'defi... 112s E 112s E ...Full output truncated (129 lines hidden), use '-vv' to show 112s 112s tests/test_relations.py:325: AssertionError 112s ___________________________ test_one_to_one_reverse ____________________________ 112s 112s @pytest.mark.django_db 112s def test_one_to_one_reverse(): 112s """ 112s Test reverse one-to-one relationships. 112s """ 112s 112s class ProfileSchema(ModelSchema): 112s class Config: 112s model = Profile 112s 112s class UserSchema(ModelSchema): 112s class Config: 112s model = User 112s 112s assert ProfileSchema.schema() == { 112s "title": "ProfileSchema", 112s "description": "A user's profile.", 112s "type": "object", 112s "properties": { 112s "id": {"title": "Id", "description": "id", "type": "integer"}, 112s "user": {"title": "User", "description": "id", "type": "integer"}, 112s "website": { 112s "title": "Website", 112s "description": "website", 112s "default": "", 112s "maxLength": 200, 112s "type": "string", 112s }, 112s "location": { 112s "title": "Location", 112s "description": "location", 112s "default": "", 112s "maxLength": 100, 112s "type": "string", 112s }, 112s }, 112s "required": ["user"], 112s } 112s 112s class UserWithProfileSchema(ModelSchema): 112s profile: ProfileSchema 112s 112s class Config: 112s model = User 112s 112s > assert UserWithProfileSchema.schema() == { 112s "title": "UserWithProfileSchema", 112s "description": "A user of the application.", 112s "type": "object", 112s "properties": { 112s "profile": {"$ref": "#/definitions/ProfileSchema"}, 112s "id": {"title": "Id", "description": "id", "type": "integer"}, 112s "first_name": { 112s "title": "First Name", 112s "description": "first_name", 112s "maxLength": 50, 112s "type": "string", 112s }, 112s "last_name": { 112s "title": "Last Name", 112s "description": "last_name", 112s "maxLength": 50, 112s "type": "string", 112s }, 112s "email": { 112s "title": "Email", 112s "description": "email", 112s "maxLength": 254, 112s "type": "string", 112s }, 112s "created_at": { 112s "title": "Created At", 112s "description": "created_at", 112s "type": "string", 112s "format": "date-time", 112s }, 112s "updated_at": { 112s "title": "Updated At", 112s "description": "updated_at", 112s "type": "string", 112s "format": "date-time", 112s }, 112s }, 112s "required": ["profile", "first_name", "email", "created_at", "updated_at"], 112s "definitions": { 112s "ProfileSchema": { 112s "title": "ProfileSchema", 112s "description": "A user's profile.", 112s "type": "object", 112s "properties": { 112s "id": {"title": "Id", "description": "id", "type": "integer"}, 112s "user": {"title": "User", "description": "id", "type": "integer"}, 112s "website": { 112s "title": "Website", 112s "description": "website", 112s "default": "", 112s "maxLength": 200, 112s "type": "string", 112s }, 112s "location": { 112s "title": "Location", 112s "description": "location", 112s "default": "", 112s "maxLength": 100, 112s "type": "string", 112s }, 112s }, 112s "required": ["user"], 112s } 112s }, 112s } 112s E AssertionError: assert {'description...eSchema', ...} == {'definitions...ted_at'], ...} 112s E 112s E Omitting 3 identical items, use -vv to show 112s E Differing items: 112s E {'properties': {'created_at': {'description': 'created_at', 'format': 'date-time', 'title': 'Created At', 'type': 'str...th': 50, 'title': 'First Name', 'type': 'string'}, 'id': {'description': 'id', 'title': 'Id', 'type': 'integer'}, ...}} != {'properties': {'created_at': {'description': 'created_at', 'format': 'date-time', 'title': 'Created At', 'type': 'str...th': 50, 'title': 'First Name', 'type': 'string'}, 'id': {'description': 'id', 'title': 'Id', 'type': 'integer'}, ...}} 112s E {'required': ['first_name', 'emai... 112s E 112s E ...Full output truncated (115 lines hidden), use '-vv' to show 112s 112s tests/test_relations.py:442: AssertionError 112s ____________________________ test_generic_relation _____________________________ 112s 112s @pytest.mark.django_db 112s def test_generic_relation(): 112s """ 112s Test generic foreign-key relationships. 112s """ 112s 112s class TaggedSchema(ModelSchema): 112s class Config: 112s model = Tagged 112s 112s assert TaggedSchema.schema() == { 112s "title": "TaggedSchema", 112s "description": "Tagged(id, slug, content_type, object_id)", 112s "type": "object", 112s "properties": { 112s "id": {"title": "Id", "description": "id", "type": "integer"}, 112s "slug": { 112s "title": "Slug", 112s "description": "slug", 112s "maxLength": 50, 112s "type": "string", 112s }, 112s "content_type": { 112s "title": "Content Type", 112s "description": "id", 112s "type": "integer", 112s }, 112s "object_id": { 112s "title": "Object Id", 112s "description": "object_id", 112s "type": "integer", 112s }, 112s "content_object": { 112s "title": "Content Object", 112s "description": "content_object", 112s "type": "integer", 112s }, 112s }, 112s "required": ["slug", "content_type", "object_id", "content_object"], 112s } 112s 112s > class BookmarkSchema(ModelSchema): 112s 112s tests/test_relations.py:551: 112s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 112s /usr/lib/python3/dist-packages/djantic/main.py:45: in __new__ 112s cls = super().__new__(mcs, name, bases, namespace) 112s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 112s /usr/lib/python3/dist-packages/pydantic/v1/main.py:221: in __new__ 112s inferred = ModelField.infer( 112s /usr/lib/python3/dist-packages/pydantic/v1/fields.py:504: in infer 112s return cls( 112s /usr/lib/python3/dist-packages/pydantic/v1/fields.py:434: in __init__ 112s self.prepare() 112s /usr/lib/python3/dist-packages/pydantic/v1/fields.py:544: in prepare 112s self._set_default_and_type() 112s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 112s 112s self = ModelField(name='tags', type=UndefinedType, required=False, default=None) 112s 112s def _set_default_and_type(self) -> None: 112s """ 112s Set the default value, infer the type if needed and check if `None` value is valid. 112s """ 112s if self.default_factory is not None: 112s if self.type_ is Undefined: 112s raise errors_.ConfigError( 112s f'you need to set the type of field {self.name!r} when using `default_factory`' 112s ) 112s return 112s 112s default_value = self.get_default() 112s 112s if default_value is not None and self.type_ is Undefined: 112s self.type_ = default_value.__class__ 112s self.outer_type_ = self.type_ 112s self.annotation = self.type_ 112s 112s if self.type_ is Undefined: 112s > raise errors_.ConfigError(f'unable to infer type for attribute "{self.name}"') 112s E pydantic.v1.errors.ConfigError: unable to infer type for attribute "tags" 112s 112s /usr/lib/python3/dist-packages/pydantic/v1/fields.py:576: ConfigError 112s _______________________________ test_m2m_reverse _______________________________ 112s 112s @pytest.mark.django_db 112s def test_m2m_reverse(): 112s class ExpertSchema(ModelSchema): 112s class Config: 112s model = Expert 112s 112s class CaseSchema(ModelSchema): 112s class Config: 112s model = Case 112s 112s assert ExpertSchema.schema() == { 112s "title": "ExpertSchema", 112s "description": "Expert(id, name)", 112s "type": "object", 112s "properties": { 112s "id": {"title": "Id", "description": "id", "type": "integer"}, 112s "name": { 112s "title": "Name", 112s "description": "name", 112s "maxLength": 128, 112s "type": "string", 112s }, 112s "cases": { 112s "title": "Cases", 112s "description": "id", 112s "type": "array", 112s "items": { 112s "type": "object", 112s "additionalProperties": {"type": "integer"}, 112s }, 112s }, 112s }, 112s "required": ["name", "cases"], 112s } 112s 112s assert CaseSchema.schema() == { 112s "title": "CaseSchema", 112s "description": "Case(id, name, details)", 112s "type": "object", 112s "properties": { 112s "related_experts": { 112s "title": "Related Experts", 112s "description": "id", 112s "type": "array", 112s "items": { 112s "type": "object", 112s "additionalProperties": {"type": "integer"}, 112s }, 112s }, 112s "id": {"title": "Id", "description": "id", "type": "integer"}, 112s "name": { 112s "title": "Name", 112s "description": "name", 112s "maxLength": 128, 112s "type": "string", 112s }, 112s "details": {"title": "Details", "description": "details", "type": "string"}, 112s }, 112s "required": ["name", "details"], 112s } 112s case = Case.objects.create(name="My Case", details="Some text data.") 112s expert = Expert.objects.create(name="My Expert") 112s case_schema = CaseSchema.from_django(case) 112s expert_schema = ExpertSchema.from_django(expert) 112s assert case_schema.dict() == { 112s "related_experts": [], 112s "id": 1, 112s "name": "My Case", 112s "details": "Some text data.", 112s } 112s assert expert_schema.dict() == {"id": 1, "name": "My Expert", "cases": []} 112s 112s expert.cases.add(case) 112s case_schema = CaseSchema.from_django(case) 112s expert_schema = ExpertSchema.from_django(expert) 112s assert case_schema.dict() == { 112s "related_experts": [{"id": 1}], 112s "id": 1, 112s "name": "My Case", 112s "details": "Some text data.", 112s } 112s assert expert_schema.dict() == {"id": 1, "name": "My Expert", "cases": [{"id": 1}]} 112s 112s class CustomExpertSchema(ModelSchema): 112s """Custom schema""" 112s 112s name: Optional[str] 112s 112s class Config: 112s model = Expert 112s 112s class CaseSchema(ModelSchema): 112s related_experts: List[CustomExpertSchema] 112s 112s class Config: 112s model = Case 112s 112s > assert CaseSchema.schema() == { 112s "title": "CaseSchema", 112s "description": "Case(id, name, details)", 112s "type": "object", 112s "properties": { 112s "related_experts": { 112s "title": "Related Experts", 112s "type": "array", 112s "items": {"$ref": "#/definitions/CustomExpertSchema"}, 112s }, 112s "id": {"title": "Id", "description": "id", "type": "integer"}, 112s "name": { 112s "title": "Name", 112s "description": "name", 112s "maxLength": 128, 112s "type": "string", 112s }, 112s "details": {"title": "Details", "description": "details", "type": "string"}, 112s }, 112s "required": ["related_experts", "name", "details"], 112s "definitions": { 112s "CustomExpertSchema": { 112s "title": "CustomExpertSchema", 112s "description": "Custom schema", 112s "type": "object", 112s "properties": { 112s "id": {"title": "Id", "description": "id", "type": "integer"}, 112s "name": {"title": "Name", "type": "string"}, 112s "cases": { 112s "title": "Cases", 112s "description": "id", 112s "type": "array", 112s "items": { 112s "type": "object", 112s "additionalProperties": {"type": "integer"}, 112s }, 112s }, 112s }, 112s "required": ["cases"], 112s } 112s }, 112s } 112s E AssertionError: assert {'description...eSchema', ...} == {'definitions...etails'], ...} 112s E 112s E Omitting 3 identical items, use -vv to show 112s E Differing items: 112s E {'properties': {'details': {'description': 'details', 'title': 'Details', 'type': 'string'}, 'id': {'description': 'id...items': {'additionalProperties': {'type': 'integer'}, 'type': 'object'}, 'title': 'Related Experts', 'type': 'array'}}} != {'properties': {'details': {'description': 'details', 'title': 'Details', 'type': 'string'}, 'id': {'description': 'id...elated_experts': {'items': {'$ref': '#/definitions/CustomExpertSchema'}, 'title': 'Related Experts', 'type': 'array'}}} 112s E {'required': ['name', 'details']}... 112s E 112s E ...Full output truncated (90 lines hidden), use '-vv' to show 112s 112s tests/test_relations.py:807: AssertionError 112s ________________________ test_include_from_annotations _________________________ 112s 112s @pytest.mark.django_db 112s def test_include_from_annotations(): 112s """ 112s Test include="__annotations__" config. 112s """ 112s 112s class ProfileSchema(ModelSchema): 112s website: str 112s 112s class Config: 112s model = Profile 112s include = "__annotations__" 112s 112s > assert ProfileSchema.schema() == { 112s "title": "ProfileSchema", 112s "description": "A user's profile.", 112s "type": "object", 112s "properties": { 112s "website": { 112s "title": "Website", 112s "type": "string" 112s } 112s }, 112s "required": [ 112s "website" 112s ] 112s } 112s E AssertionError: assert {'description...eSchema', ...} == {'description...eSchema', ...} 112s E 112s E Omitting 3 identical items, use -vv to show 112s E Differing items: 112s E {'properties': {'id': {'description': 'id', 'title': 'Id', 'type': 'integer'}, 'location': {'default': '', 'descriptio..., 'type': 'integer'}, 'website': {'default': '', 'description': 'website', 'maxLength': 200, 'title': 'Website', ...}}} != {'properties': {'website': {'title': 'Website', 'type': 'string'}}} 112s E {'required': ['user']} != {'required': ['website']} 112s E 112s E Full diff:... 112s E 112s E ...Full output truncated (35 lines hidden), use '-vv' to show 112s 112s tests/test_schemas.py:398: AssertionError 112s =============================== warnings summary =============================== 112s ../../../usr/lib/python3/dist-packages/djantic/main.py:12 112s /usr/lib/python3/dist-packages/djantic/main.py:12: UserWarning: Core Pydantic V1 functionality isn't compatible with Python 3.14 or greater. 112s from pydantic.v1 import BaseModel, ConfigError, create_model 112s 112s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 112s ============================= slowest 10 durations ============================= 112s 0.15s setup tests/test_fields.py::test_unhandled_field_type 112s 0.01s call tests/test_relations.py::test_m2m_reverse 112s 112s (8 durations < 0.005s hidden. Use -vv to show these durations.) 112s =========================== short test summary info ============================ 112s FAILED tests/test_queries.py::test_get_instance_with_generic_foreign_key - As... 112s FAILED tests/test_queries.py::test_get_queryset_with_reverse_one_to_one - Ass... 112s FAILED tests/test_queries.py::test_get_queryset_with_foreign_key - AssertionE... 112s FAILED tests/test_queries.py::test_get_queryset_with_reverse_foreign_key - As... 112s FAILED tests/test_relations.py::test_m2m - AssertionError: assert {'descripti... 112s FAILED tests/test_relations.py::test_foreign_key - AssertionError: assert {'d... 112s FAILED tests/test_relations.py::test_one_to_one - AssertionError: assert {'de... 112s FAILED tests/test_relations.py::test_one_to_one_reverse - AssertionError: ass... 112s FAILED tests/test_relations.py::test_generic_relation - pydantic.v1.errors.Co... 112s FAILED tests/test_relations.py::test_m2m_reverse - AssertionError: assert {'d... 112s FAILED tests/test_schemas.py::test_include_from_annotations - AssertionError:... 112s ============ 11 failed, 17 passed, 4 deselected, 1 warning in 0.53s ============ 113s autopkgtest [11:30:41]: test upstream: -----------------------] 113s autopkgtest [11:30:41]: test upstream: - - - - - - - - - - results - - - - - - - - - - 113s upstream FAIL non-zero exit status 1 113s autopkgtest [11:30:41]: @@@@@@@@@@@@@@@@@@@@ summary 113s upstream FAIL non-zero exit status 1