0s autopkgtest [20:52:22]: starting date and time: 2026-01-22 20:52:22+0000 1s autopkgtest [20:52:23]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 1s autopkgtest [20:52:23]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.ey93qil9/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults --apt-upgrade sqlacodegen --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-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@sto01-ppc64el-21.secgroup --name adt-resolute-ppc64el-sqlacodegen-20260122-205222-juju-7f2275-prod-proposed-migration-environment-15-41567b05-03cf-4a10-9f34-f9e6d61f7344 --image adt/ubuntu-resolute-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-autopkgtest-workers-ppc64el -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 6s Creating nova instance adt-resolute-ppc64el-sqlacodegen-20260122-205222-juju-7f2275-prod-proposed-migration-environment-15-41567b05-03cf-4a10-9f34-f9e6d61f7344 from image adt/ubuntu-resolute-ppc64el-server-20260122.img (UUID 987e5803-394f-43eb-a969-151b6b75a57a)... 121s autopkgtest [20:54:23]: testbed dpkg architecture: ppc64el 121s autopkgtest [20:54:23]: testbed apt version: 3.1.12 121s autopkgtest [20:54:23]: @@@@@@@@@@@@@@@@@@@@ test bed setup 121s autopkgtest [20:54:23]: testbed release detected to be: None 122s autopkgtest [20:54:24]: updating testbed package index (apt update) 122s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 122s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 122s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 123s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 123s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1011 kB] 124s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [81.6 kB] 124s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [22.2 kB] 124s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 124s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [100 kB] 124s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [703 kB] 126s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [5552 B] 126s Fetched 2050 kB in 3s (607 kB/s) 126s Reading package lists... 127s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 127s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 127s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 127s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 128s Reading package lists... 128s Reading package lists... 128s Building dependency tree... 128s Reading state information... 129s Calculating upgrade... 129s The following packages were automatically installed and are no longer required: 129s python3.13 python3.13-minimal 129s Use 'sudo apt autoremove' to remove them. 129s The following NEW packages will be installed: 129s libpython3.14-minimal libpython3.14-stdlib python3.14 python3.14-minimal 129s The following packages will be upgraded: 129s libplymouth5 libpython3-stdlib plymouth plymouth-theme-ubuntu-text python3 129s python3-gdbm python3-minimal 129s 7 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 129s Need to get 7312 kB of archives. 129s After this operation, 27.7 MB of additional disk space will be used. 129s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpython3.14-minimal ppc64el 3.14.2-1 [921 kB] 131s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3.14-minimal ppc64el 3.14.2-1 [2712 kB] 135s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3-gdbm ppc64el 3.14.2-1 [11.1 kB] 135s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3-minimal ppc64el 3.14.2-1 [28.2 kB] 135s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3 ppc64el 3.14.2-1 [22.9 kB] 135s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpython3.14-stdlib ppc64el 3.14.2-1 [2444 kB] 139s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3.14 ppc64el 3.14.2-1 [816 kB] 140s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libpython3-stdlib ppc64el 3.14.2-1 [10.9 kB] 140s Get:9 http://ftpmaster.internal/ubuntu resolute/main ppc64el libplymouth5 ppc64el 24.004.60+git20250831.4a3c171d-0ubuntu4 [174 kB] 140s Get:10 http://ftpmaster.internal/ubuntu resolute/main ppc64el plymouth-theme-ubuntu-text ppc64el 24.004.60+git20250831.4a3c171d-0ubuntu4 [11.2 kB] 140s Get:11 http://ftpmaster.internal/ubuntu resolute/main ppc64el plymouth ppc64el 24.004.60+git20250831.4a3c171d-0ubuntu4 [160 kB] 141s dpkg-preconfigure: unable to re-open stdin: No such file or directory 141s Fetched 7312 kB in 12s (625 kB/s) 141s Selecting previously unselected package libpython3.14-minimal:ppc64el. 141s (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 ... 120824 files and directories currently installed.) 141s Preparing to unpack .../libpython3.14-minimal_3.14.2-1_ppc64el.deb ... 141s Unpacking libpython3.14-minimal:ppc64el (3.14.2-1) ... 141s Selecting previously unselected package python3.14-minimal. 141s Preparing to unpack .../python3.14-minimal_3.14.2-1_ppc64el.deb ... 141s Unpacking python3.14-minimal (3.14.2-1) ... 141s Preparing to unpack .../python3-gdbm_3.14.2-1_ppc64el.deb ... 141s Unpacking python3-gdbm (3.14.2-1) over (3.13.9-1) ... 141s Setting up libpython3.14-minimal:ppc64el (3.14.2-1) ... 141s Setting up python3.14-minimal (3.14.2-1) ... 143s (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 ... 121166 files and directories currently installed.) 143s Preparing to unpack .../python3-minimal_3.14.2-1_ppc64el.deb ... 143s Unpacking python3-minimal (3.14.2-1) over (3.13.7-1) ... 143s Setting up python3-minimal (3.14.2-1) ... 143s (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 ... 121166 files and directories currently installed.) 143s Preparing to unpack .../0-python3_3.14.2-1_ppc64el.deb ... 143s running python pre-rtupdate hooks for python3.14... 143s Unpacking python3 (3.14.2-1) over (3.13.7-1) ... 143s Selecting previously unselected package libpython3.14-stdlib:ppc64el. 143s Preparing to unpack .../1-libpython3.14-stdlib_3.14.2-1_ppc64el.deb ... 143s Unpacking libpython3.14-stdlib:ppc64el (3.14.2-1) ... 144s Selecting previously unselected package python3.14. 144s Preparing to unpack .../2-python3.14_3.14.2-1_ppc64el.deb ... 144s Unpacking python3.14 (3.14.2-1) ... 144s Preparing to unpack .../3-libpython3-stdlib_3.14.2-1_ppc64el.deb ... 144s Unpacking libpython3-stdlib:ppc64el (3.14.2-1) over (3.13.7-1) ... 144s Preparing to unpack .../4-libplymouth5_24.004.60+git20250831.4a3c171d-0ubuntu4_ppc64el.deb ... 144s Unpacking libplymouth5:ppc64el (24.004.60+git20250831.4a3c171d-0ubuntu4) over (24.004.60+git20250831.4a3c171d-0ubuntu3) ... 144s Preparing to unpack .../5-plymouth-theme-ubuntu-text_24.004.60+git20250831.4a3c171d-0ubuntu4_ppc64el.deb ... 144s Unpacking plymouth-theme-ubuntu-text (24.004.60+git20250831.4a3c171d-0ubuntu4) over (24.004.60+git20250831.4a3c171d-0ubuntu3) ... 144s Preparing to unpack .../6-plymouth_24.004.60+git20250831.4a3c171d-0ubuntu4_ppc64el.deb ... 144s Unpacking plymouth (24.004.60+git20250831.4a3c171d-0ubuntu4) over (24.004.60+git20250831.4a3c171d-0ubuntu3) ... 144s Setting up libpython3.14-stdlib:ppc64el (3.14.2-1) ... 144s Setting up libplymouth5:ppc64el (24.004.60+git20250831.4a3c171d-0ubuntu4) ... 144s Setting up python3.14 (3.14.2-1) ... 145s Setting up libpython3-stdlib:ppc64el (3.14.2-1) ... 145s Setting up python3-gdbm (3.14.2-1) ... 145s Setting up plymouth (24.004.60+git20250831.4a3c171d-0ubuntu4) ... 145s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 146s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 146s Setting up python3 (3.14.2-1) ... 146s running python rtupdate hooks for python3.14... 146s running python post-rtupdate hooks for python3.14... 146s Processing triggers for libc-bin (2.42-2ubuntu4) ... 146s Processing triggers for systemd (259-1ubuntu2) ... 146s Processing triggers for man-db (2.13.1-1) ... 147s Processing triggers for initramfs-tools (0.150ubuntu7) ... 147s update-initramfs: Generating /boot/initrd.img-6.18.0-9-generic 154s Setting up plymouth-theme-ubuntu-text (24.004.60+git20250831.4a3c171d-0ubuntu4) ... 155s Processing triggers for initramfs-tools (0.150ubuntu7) ... 155s update-initramfs: Generating /boot/initrd.img-6.18.0-9-generic 160s autopkgtest [20:55:02]: upgrading testbed (apt dist-upgrade and autopurge) 160s Reading package lists... 160s Building dependency tree... 160s Reading state information... 160s Calculating upgrade... 160s The following packages were automatically installed and are no longer required: 160s python3.13 python3.13-minimal 160s Use 'sudo apt autoremove' to remove them. 161s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 161s Reading package lists... 161s Building dependency tree... 161s Reading state information... 161s Solving dependencies... 161s The following packages will be REMOVED: 161s python3.13* python3.13-minimal* 161s 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. 161s After this operation, 9077 kB disk space will be freed. 161s (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 ... 121596 files and directories currently installed.) 161s Removing python3.13 (3.13.11-1) ... 161s Removing python3.13-minimal (3.13.11-1) ... 162s Processing triggers for man-db (2.13.1-1) ... 163s Processing triggers for systemd (259-1ubuntu2) ... 163s (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 ... 121569 files and directories currently installed.) 163s Purging configuration files for python3.13-minimal (3.13.11-1) ... 163s autopkgtest [20:55:05]: rebooting testbed after setup commands that affected boot 206s autopkgtest [20:55:48]: testbed running kernel: Linux 6.18.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Jan 12 16:45:54 UTC 2026 208s autopkgtest [20:55:50]: @@@@@@@@@@@@@@@@@@@@ apt-source sqlacodegen 210s Get:1 http://ftpmaster.internal/ubuntu resolute/universe sqlacodegen 3.0.0~rc5-1 (dsc) [2375 B] 210s Get:2 http://ftpmaster.internal/ubuntu resolute/universe sqlacodegen 3.0.0~rc5-1 (tar) [33.0 kB] 210s Get:3 http://ftpmaster.internal/ubuntu resolute/universe sqlacodegen 3.0.0~rc5-1 (diff) [4764 B] 210s gpgv: Signature made Mon May 27 15:44:39 2024 UTC 210s gpgv: using RSA key FDC1AF4DA817989F5B4DCA9D90BEFAB52E245748 210s gpgv: issuer "viiru@debian.org" 210s gpgv: Can't check signature: No public key 210s dpkg-source: warning: cannot verify inline signature for ./sqlacodegen_3.0.0~rc5-1.dsc: no acceptable signature found 210s autopkgtest [20:55:52]: testing package sqlacodegen version 3.0.0~rc5-1 210s autopkgtest [20:55:52]: build not needed 211s autopkgtest [20:55:53]: test pybuild-autopkgtest: preparing testbed 211s Reading package lists... 211s Building dependency tree... 211s Reading state information... 211s Solving dependencies... 211s The following NEW packages will be installed: 211s autoconf automake autopoint autotools-dev build-essential cpp cpp-15 211s cpp-15-powerpc64le-linux-gnu cpp-powerpc64le-linux-gnu debhelper debugedit 211s dh-autoreconf dh-python dh-strip-nondeterminism dwz g++ g++-15 211s g++-15-powerpc64le-linux-gnu g++-powerpc64le-linux-gnu gcc gcc-15 211s gcc-15-powerpc64le-linux-gnu gcc-powerpc64le-linux-gnu gettext 211s intltool-debian libarchive-zip-perl libasan8 libcc1-0 libdebhelper-perl 211s libfile-stripnondeterminism-perl libgcc-15-dev libgomp1 libisl23 libitm1 211s liblsan0 libmpc3 libmysqlclient24 libpq5 libquadmath0 libstdc++-15-dev 211s libtool libtsan2 libubsan1 m4 mysql-common po-debconf 211s pybuild-plugin-autopkgtest pybuild-plugin-pyproject python3-all 211s python3-build python3-greenlet python3-iniconfig python3-installer 211s python3-mysqldb python3-pluggy python3-psycopg2 python3-pyproject-hooks 211s python3-pytest python3-setuptools-scm python3-sqlalchemy python3-wheel 211s python3.13 python3.13-minimal sqlacodegen 211s 0 upgraded, 64 newly installed, 0 to remove and 0 not upgraded. 211s Need to get 73.3 MB of archives. 211s After this operation, 265 MB of additional disk space will be used. 211s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3.13-minimal ppc64el 3.13.11-1 [2571 kB] 217s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3.13 ppc64el 3.13.11-1 [758 kB] 218s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el m4 ppc64el 1.4.20-2 [236 kB] 219s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el autoconf all 2.72-3.1ubuntu1 [384 kB] 219s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el autotools-dev all 20240727.1 [43.4 kB] 219s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el automake all 1:1.18.1-3build1 [582 kB] 220s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el autopoint all 0.23.2-1 [620 kB] 222s Get:8 http://ftpmaster.internal/ubuntu resolute/main ppc64el libisl23 ppc64el 0.27-1build1 [893 kB] 224s Get:9 http://ftpmaster.internal/ubuntu resolute/main ppc64el libmpc3 ppc64el 1.3.1-2 [62.5 kB] 224s Get:10 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp-15-powerpc64le-linux-gnu ppc64el 15.2.0-11ubuntu1 [11.4 MB] 244s Get:11 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp-15 ppc64el 15.2.0-11ubuntu1 [1038 B] 244s Get:12 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:15.2.0-4ubuntu1 [5746 B] 244s Get:13 http://ftpmaster.internal/ubuntu resolute/main ppc64el cpp ppc64el 4:15.2.0-4ubuntu1 [22.4 kB] 244s Get:14 http://ftpmaster.internal/ubuntu resolute/main ppc64el libcc1-0 ppc64el 15.2.0-11ubuntu1 [49.0 kB] 244s Get:15 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgomp1 ppc64el 15.2.0-11ubuntu1 [169 kB] 244s Get:16 http://ftpmaster.internal/ubuntu resolute/main ppc64el libitm1 ppc64el 15.2.0-11ubuntu1 [32.2 kB] 244s Get:17 http://ftpmaster.internal/ubuntu resolute/main ppc64el libasan8 ppc64el 15.2.0-11ubuntu1 [3006 kB] 249s Get:18 http://ftpmaster.internal/ubuntu resolute/main ppc64el liblsan0 ppc64el 15.2.0-11ubuntu1 [1374 kB] 252s Get:19 http://ftpmaster.internal/ubuntu resolute/main ppc64el libtsan2 ppc64el 15.2.0-11ubuntu1 [2728 kB] 257s Get:20 http://ftpmaster.internal/ubuntu resolute/main ppc64el libubsan1 ppc64el 15.2.0-11ubuntu1 [1231 kB] 260s Get:21 http://ftpmaster.internal/ubuntu resolute/main ppc64el libquadmath0 ppc64el 15.2.0-11ubuntu1 [160 kB] 260s Get:22 http://ftpmaster.internal/ubuntu resolute/main ppc64el libgcc-15-dev ppc64el 15.2.0-11ubuntu1 [1670 kB] 264s Get:23 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-15-powerpc64le-linux-gnu ppc64el 15.2.0-11ubuntu1 [22.4 MB] 303s Get:24 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-15 ppc64el 15.2.0-11ubuntu1 [528 kB] 303s Get:25 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:15.2.0-4ubuntu1 [1220 B] 303s Get:26 http://ftpmaster.internal/ubuntu resolute/main ppc64el gcc ppc64el 4:15.2.0-4ubuntu1 [5032 B] 303s Get:27 http://ftpmaster.internal/ubuntu resolute/main ppc64el libstdc++-15-dev ppc64el 15.2.0-11ubuntu1 [2745 kB] 307s Get:28 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++-15-powerpc64le-linux-gnu ppc64el 15.2.0-11ubuntu1 [13.0 MB] 330s Get:29 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++-15 ppc64el 15.2.0-11ubuntu1 [24.6 kB] 330s Get:30 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++-powerpc64le-linux-gnu ppc64el 4:15.2.0-4ubuntu1 [970 B] 330s Get:31 http://ftpmaster.internal/ubuntu resolute/main ppc64el g++ ppc64el 4:15.2.0-4ubuntu1 [1092 B] 330s Get:32 http://ftpmaster.internal/ubuntu resolute/main ppc64el build-essential ppc64el 12.12ubuntu2 [5256 B] 330s Get:33 http://ftpmaster.internal/ubuntu resolute/main ppc64el libdebhelper-perl all 13.28ubuntu1 [97.4 kB] 330s Get:34 http://ftpmaster.internal/ubuntu resolute/main ppc64el libtool all 2.5.4-9 [169 kB] 330s Get:35 http://ftpmaster.internal/ubuntu resolute/main ppc64el dh-autoreconf all 21 [12.5 kB] 330s Get:36 http://ftpmaster.internal/ubuntu resolute/main ppc64el libarchive-zip-perl all 1.68-1 [90.2 kB] 330s Get:37 http://ftpmaster.internal/ubuntu resolute/main ppc64el libfile-stripnondeterminism-perl all 1.15.0-1build1 [20.6 kB] 330s Get:38 http://ftpmaster.internal/ubuntu resolute/main ppc64el dh-strip-nondeterminism all 1.15.0-1build1 [5110 B] 330s Get:39 http://ftpmaster.internal/ubuntu resolute/main ppc64el debugedit ppc64el 1:5.2-3 [57.3 kB] 330s Get:40 http://ftpmaster.internal/ubuntu resolute/main ppc64el dwz ppc64el 0.16-2 [142 kB] 330s Get:41 http://ftpmaster.internal/ubuntu resolute/main ppc64el gettext ppc64el 0.23.2-1 [1177 kB] 334s Get:42 http://ftpmaster.internal/ubuntu resolute/main ppc64el intltool-debian all 0.35.0+20060710.6build1 [24.1 kB] 334s Get:43 http://ftpmaster.internal/ubuntu resolute/main ppc64el po-debconf all 1.0.22 [215 kB] 334s Get:44 http://ftpmaster.internal/ubuntu resolute/main ppc64el debhelper all 13.28ubuntu1 [916 kB] 334s Get:45 http://ftpmaster.internal/ubuntu resolute/universe ppc64el dh-python all 7.20251231 [122 kB] 334s Get:46 http://ftpmaster.internal/ubuntu resolute/main ppc64el mysql-common all 5.8+1.1.1ubuntu2 [7002 B] 334s Get:47 http://ftpmaster.internal/ubuntu resolute/main ppc64el libmysqlclient24 ppc64el 8.4.7-0ubuntu3 [1304 kB] 336s Get:48 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpq5 ppc64el 18.1-2 [198 kB] 336s Get:49 http://ftpmaster.internal/ubuntu resolute/universe ppc64el pybuild-plugin-autopkgtest all 7.20251231 [1748 B] 336s Get:50 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-pyproject-hooks all 1.2.0-1 [10.2 kB] 336s Get:51 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-wheel all 0.46.1-2 [22.1 kB] 336s Get:52 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-build all 1.2.2-5 [30.9 kB] 336s Get:53 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-installer all 0.7.0+dfsg1-3 [17.4 kB] 336s Get:54 http://ftpmaster.internal/ubuntu resolute/universe ppc64el pybuild-plugin-pyproject all 7.20251231 [1714 B] 336s Get:55 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3-all ppc64el 3.14.2-1 [890 B] 336s Get:56 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-iniconfig all 2.1.0-2 [6962 B] 336s Get:57 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3-mysqldb ppc64el 1.4.6-2build7 [54.5 kB] 336s Get:58 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-pluggy all 1.6.0-2 [21.1 kB] 336s Get:59 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3-psycopg2 ppc64el 2.9.11-1 [189 kB] 336s Get:60 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-pytest all 9.0.2-2 [277 kB] 336s Get:61 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-setuptools-scm all 8.2.1-4 [32.8 kB] 336s Get:62 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3-greenlet ppc64el 3.2.4-3 [190 kB] 336s Get:63 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3-sqlalchemy all 2.0.40+ds1-2 [1220 kB] 339s Get:64 http://ftpmaster.internal/ubuntu resolute/universe ppc64el sqlacodegen all 3.0.0~rc5-1 [20.3 kB] 339s Fetched 73.3 MB in 2min 7s (575 kB/s) 339s Selecting previously unselected package python3.13-minimal. 339s (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 ... 121571 files and directories currently installed.) 339s Preparing to unpack .../00-python3.13-minimal_3.13.11-1_ppc64el.deb ... 339s Unpacking python3.13-minimal (3.13.11-1) ... 339s Selecting previously unselected package python3.13. 339s Preparing to unpack .../01-python3.13_3.13.11-1_ppc64el.deb ... 339s Unpacking python3.13 (3.13.11-1) ... 339s Selecting previously unselected package m4. 339s Preparing to unpack .../02-m4_1.4.20-2_ppc64el.deb ... 339s Unpacking m4 (1.4.20-2) ... 339s Selecting previously unselected package autoconf. 339s Preparing to unpack .../03-autoconf_2.72-3.1ubuntu1_all.deb ... 339s Unpacking autoconf (2.72-3.1ubuntu1) ... 339s Selecting previously unselected package autotools-dev. 339s Preparing to unpack .../04-autotools-dev_20240727.1_all.deb ... 339s Unpacking autotools-dev (20240727.1) ... 339s Selecting previously unselected package automake. 339s Preparing to unpack .../05-automake_1%3a1.18.1-3build1_all.deb ... 339s Unpacking automake (1:1.18.1-3build1) ... 339s Selecting previously unselected package autopoint. 339s Preparing to unpack .../06-autopoint_0.23.2-1_all.deb ... 339s Unpacking autopoint (0.23.2-1) ... 339s Selecting previously unselected package libisl23:ppc64el. 339s Preparing to unpack .../07-libisl23_0.27-1build1_ppc64el.deb ... 339s Unpacking libisl23:ppc64el (0.27-1build1) ... 340s Selecting previously unselected package libmpc3:ppc64el. 340s Preparing to unpack .../08-libmpc3_1.3.1-2_ppc64el.deb ... 340s Unpacking libmpc3:ppc64el (1.3.1-2) ... 340s Selecting previously unselected package cpp-15-powerpc64le-linux-gnu. 340s Preparing to unpack .../09-cpp-15-powerpc64le-linux-gnu_15.2.0-11ubuntu1_ppc64el.deb ... 340s Unpacking cpp-15-powerpc64le-linux-gnu (15.2.0-11ubuntu1) ... 340s Selecting previously unselected package cpp-15. 340s Preparing to unpack .../10-cpp-15_15.2.0-11ubuntu1_ppc64el.deb ... 340s Unpacking cpp-15 (15.2.0-11ubuntu1) ... 340s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 340s Preparing to unpack .../11-cpp-powerpc64le-linux-gnu_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 340s Unpacking cpp-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 340s Selecting previously unselected package cpp. 340s Preparing to unpack .../12-cpp_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 340s Unpacking cpp (4:15.2.0-4ubuntu1) ... 340s Selecting previously unselected package libcc1-0:ppc64el. 340s Preparing to unpack .../13-libcc1-0_15.2.0-11ubuntu1_ppc64el.deb ... 340s Unpacking libcc1-0:ppc64el (15.2.0-11ubuntu1) ... 340s Selecting previously unselected package libgomp1:ppc64el. 340s Preparing to unpack .../14-libgomp1_15.2.0-11ubuntu1_ppc64el.deb ... 340s Unpacking libgomp1:ppc64el (15.2.0-11ubuntu1) ... 340s Selecting previously unselected package libitm1:ppc64el. 340s Preparing to unpack .../15-libitm1_15.2.0-11ubuntu1_ppc64el.deb ... 340s Unpacking libitm1:ppc64el (15.2.0-11ubuntu1) ... 340s Selecting previously unselected package libasan8:ppc64el. 340s Preparing to unpack .../16-libasan8_15.2.0-11ubuntu1_ppc64el.deb ... 340s Unpacking libasan8:ppc64el (15.2.0-11ubuntu1) ... 340s Selecting previously unselected package liblsan0:ppc64el. 340s Preparing to unpack .../17-liblsan0_15.2.0-11ubuntu1_ppc64el.deb ... 340s Unpacking liblsan0:ppc64el (15.2.0-11ubuntu1) ... 340s Selecting previously unselected package libtsan2:ppc64el. 340s Preparing to unpack .../18-libtsan2_15.2.0-11ubuntu1_ppc64el.deb ... 340s Unpacking libtsan2:ppc64el (15.2.0-11ubuntu1) ... 340s Selecting previously unselected package libubsan1:ppc64el. 340s Preparing to unpack .../19-libubsan1_15.2.0-11ubuntu1_ppc64el.deb ... 340s Unpacking libubsan1:ppc64el (15.2.0-11ubuntu1) ... 340s Selecting previously unselected package libquadmath0:ppc64el. 340s Preparing to unpack .../20-libquadmath0_15.2.0-11ubuntu1_ppc64el.deb ... 340s Unpacking libquadmath0:ppc64el (15.2.0-11ubuntu1) ... 340s Selecting previously unselected package libgcc-15-dev:ppc64el. 340s Preparing to unpack .../21-libgcc-15-dev_15.2.0-11ubuntu1_ppc64el.deb ... 340s Unpacking libgcc-15-dev:ppc64el (15.2.0-11ubuntu1) ... 340s Selecting previously unselected package gcc-15-powerpc64le-linux-gnu. 340s Preparing to unpack .../22-gcc-15-powerpc64le-linux-gnu_15.2.0-11ubuntu1_ppc64el.deb ... 340s Unpacking gcc-15-powerpc64le-linux-gnu (15.2.0-11ubuntu1) ... 340s Selecting previously unselected package gcc-15. 340s Preparing to unpack .../23-gcc-15_15.2.0-11ubuntu1_ppc64el.deb ... 340s Unpacking gcc-15 (15.2.0-11ubuntu1) ... 340s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 340s Preparing to unpack .../24-gcc-powerpc64le-linux-gnu_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 340s Unpacking gcc-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 340s Selecting previously unselected package gcc. 340s Preparing to unpack .../25-gcc_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 340s Unpacking gcc (4:15.2.0-4ubuntu1) ... 340s Selecting previously unselected package libstdc++-15-dev:ppc64el. 340s Preparing to unpack .../26-libstdc++-15-dev_15.2.0-11ubuntu1_ppc64el.deb ... 340s Unpacking libstdc++-15-dev:ppc64el (15.2.0-11ubuntu1) ... 341s Selecting previously unselected package g++-15-powerpc64le-linux-gnu. 341s Preparing to unpack .../27-g++-15-powerpc64le-linux-gnu_15.2.0-11ubuntu1_ppc64el.deb ... 341s Unpacking g++-15-powerpc64le-linux-gnu (15.2.0-11ubuntu1) ... 341s Selecting previously unselected package g++-15. 341s Preparing to unpack .../28-g++-15_15.2.0-11ubuntu1_ppc64el.deb ... 341s Unpacking g++-15 (15.2.0-11ubuntu1) ... 341s Selecting previously unselected package g++-powerpc64le-linux-gnu. 341s Preparing to unpack .../29-g++-powerpc64le-linux-gnu_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 341s Unpacking g++-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 341s Selecting previously unselected package g++. 341s Preparing to unpack .../30-g++_4%3a15.2.0-4ubuntu1_ppc64el.deb ... 341s Unpacking g++ (4:15.2.0-4ubuntu1) ... 341s Selecting previously unselected package build-essential. 341s Preparing to unpack .../31-build-essential_12.12ubuntu2_ppc64el.deb ... 341s Unpacking build-essential (12.12ubuntu2) ... 341s Selecting previously unselected package libdebhelper-perl. 341s Preparing to unpack .../32-libdebhelper-perl_13.28ubuntu1_all.deb ... 341s Unpacking libdebhelper-perl (13.28ubuntu1) ... 341s Selecting previously unselected package libtool. 341s Preparing to unpack .../33-libtool_2.5.4-9_all.deb ... 341s Unpacking libtool (2.5.4-9) ... 341s Selecting previously unselected package dh-autoreconf. 341s Preparing to unpack .../34-dh-autoreconf_21_all.deb ... 341s Unpacking dh-autoreconf (21) ... 341s Selecting previously unselected package libarchive-zip-perl. 341s Preparing to unpack .../35-libarchive-zip-perl_1.68-1_all.deb ... 341s Unpacking libarchive-zip-perl (1.68-1) ... 341s Selecting previously unselected package libfile-stripnondeterminism-perl. 341s Preparing to unpack .../36-libfile-stripnondeterminism-perl_1.15.0-1build1_all.deb ... 341s Unpacking libfile-stripnondeterminism-perl (1.15.0-1build1) ... 341s Selecting previously unselected package dh-strip-nondeterminism. 341s Preparing to unpack .../37-dh-strip-nondeterminism_1.15.0-1build1_all.deb ... 341s Unpacking dh-strip-nondeterminism (1.15.0-1build1) ... 341s Selecting previously unselected package debugedit. 341s Preparing to unpack .../38-debugedit_1%3a5.2-3_ppc64el.deb ... 341s Unpacking debugedit (1:5.2-3) ... 341s Selecting previously unselected package dwz. 341s Preparing to unpack .../39-dwz_0.16-2_ppc64el.deb ... 341s Unpacking dwz (0.16-2) ... 341s Selecting previously unselected package gettext. 341s Preparing to unpack .../40-gettext_0.23.2-1_ppc64el.deb ... 341s Unpacking gettext (0.23.2-1) ... 341s Selecting previously unselected package intltool-debian. 341s Preparing to unpack .../41-intltool-debian_0.35.0+20060710.6build1_all.deb ... 341s Unpacking intltool-debian (0.35.0+20060710.6build1) ... 341s Selecting previously unselected package po-debconf. 341s Preparing to unpack .../42-po-debconf_1.0.22_all.deb ... 341s Unpacking po-debconf (1.0.22) ... 341s Selecting previously unselected package debhelper. 341s Preparing to unpack .../43-debhelper_13.28ubuntu1_all.deb ... 341s Unpacking debhelper (13.28ubuntu1) ... 341s Selecting previously unselected package dh-python. 341s Preparing to unpack .../44-dh-python_7.20251231_all.deb ... 341s Unpacking dh-python (7.20251231) ... 341s Selecting previously unselected package mysql-common. 341s Preparing to unpack .../45-mysql-common_5.8+1.1.1ubuntu2_all.deb ... 341s Unpacking mysql-common (5.8+1.1.1ubuntu2) ... 341s Selecting previously unselected package libmysqlclient24:ppc64el. 341s Preparing to unpack .../46-libmysqlclient24_8.4.7-0ubuntu3_ppc64el.deb ... 341s Unpacking libmysqlclient24:ppc64el (8.4.7-0ubuntu3) ... 341s Selecting previously unselected package libpq5:ppc64el. 341s Preparing to unpack .../47-libpq5_18.1-2_ppc64el.deb ... 341s Unpacking libpq5:ppc64el (18.1-2) ... 341s Selecting previously unselected package pybuild-plugin-autopkgtest. 341s Preparing to unpack .../48-pybuild-plugin-autopkgtest_7.20251231_all.deb ... 341s Unpacking pybuild-plugin-autopkgtest (7.20251231) ... 341s Selecting previously unselected package python3-pyproject-hooks. 341s Preparing to unpack .../49-python3-pyproject-hooks_1.2.0-1_all.deb ... 341s Unpacking python3-pyproject-hooks (1.2.0-1) ... 341s Selecting previously unselected package python3-wheel. 341s Preparing to unpack .../50-python3-wheel_0.46.1-2_all.deb ... 341s Unpacking python3-wheel (0.46.1-2) ... 341s Selecting previously unselected package python3-build. 341s Preparing to unpack .../51-python3-build_1.2.2-5_all.deb ... 341s Unpacking python3-build (1.2.2-5) ... 341s Selecting previously unselected package python3-installer. 341s Preparing to unpack .../52-python3-installer_0.7.0+dfsg1-3_all.deb ... 341s Unpacking python3-installer (0.7.0+dfsg1-3) ... 341s Selecting previously unselected package pybuild-plugin-pyproject. 341s Preparing to unpack .../53-pybuild-plugin-pyproject_7.20251231_all.deb ... 341s Unpacking pybuild-plugin-pyproject (7.20251231) ... 341s Selecting previously unselected package python3-all. 341s Preparing to unpack .../54-python3-all_3.14.2-1_ppc64el.deb ... 341s Unpacking python3-all (3.14.2-1) ... 341s Selecting previously unselected package python3-iniconfig. 341s Preparing to unpack .../55-python3-iniconfig_2.1.0-2_all.deb ... 341s Unpacking python3-iniconfig (2.1.0-2) ... 341s Selecting previously unselected package python3-mysqldb. 341s Preparing to unpack .../56-python3-mysqldb_1.4.6-2build7_ppc64el.deb ... 341s Unpacking python3-mysqldb (1.4.6-2build7) ... 341s Selecting previously unselected package python3-pluggy. 341s Preparing to unpack .../57-python3-pluggy_1.6.0-2_all.deb ... 341s Unpacking python3-pluggy (1.6.0-2) ... 341s Selecting previously unselected package python3-psycopg2. 341s Preparing to unpack .../58-python3-psycopg2_2.9.11-1_ppc64el.deb ... 341s Unpacking python3-psycopg2 (2.9.11-1) ... 341s Selecting previously unselected package python3-pytest. 341s Preparing to unpack .../59-python3-pytest_9.0.2-2_all.deb ... 341s Unpacking python3-pytest (9.0.2-2) ... 341s Selecting previously unselected package python3-setuptools-scm. 342s Preparing to unpack .../60-python3-setuptools-scm_8.2.1-4_all.deb ... 342s Unpacking python3-setuptools-scm (8.2.1-4) ... 342s Selecting previously unselected package python3-greenlet. 342s Preparing to unpack .../61-python3-greenlet_3.2.4-3_ppc64el.deb ... 342s Unpacking python3-greenlet (3.2.4-3) ... 342s Selecting previously unselected package python3-sqlalchemy. 342s Preparing to unpack .../62-python3-sqlalchemy_2.0.40+ds1-2_all.deb ... 342s Unpacking python3-sqlalchemy (2.0.40+ds1-2) ... 342s Selecting previously unselected package sqlacodegen. 342s Preparing to unpack .../63-sqlacodegen_3.0.0~rc5-1_all.deb ... 342s Unpacking sqlacodegen (3.0.0~rc5-1) ... 342s Setting up dh-python (7.20251231) ... 342s Setting up python3-iniconfig (2.1.0-2) ... 342s Setting up mysql-common (5.8+1.1.1ubuntu2) ... 342s update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode 342s Setting up libarchive-zip-perl (1.68-1) ... 342s Setting up libdebhelper-perl (13.28ubuntu1) ... 342s Setting up libpq5:ppc64el (18.1-2) ... 342s Setting up m4 (1.4.20-2) ... 342s Setting up libgomp1:ppc64el (15.2.0-11ubuntu1) ... 342s Setting up libmysqlclient24:ppc64el (8.4.7-0ubuntu3) ... 342s Setting up python3-wheel (0.46.1-2) ... 342s Setting up python3-setuptools-scm (8.2.1-4) ... 343s Setting up python3-mysqldb (1.4.6-2build7) ... 343s Setting up autotools-dev (20240727.1) ... 343s Setting up python3-pyproject-hooks (1.2.0-1) ... 343s Setting up python3-greenlet (3.2.4-3) ... 343s Setting up libquadmath0:ppc64el (15.2.0-11ubuntu1) ... 343s Setting up libmpc3:ppc64el (1.3.1-2) ... 343s Setting up autopoint (0.23.2-1) ... 343s Setting up python3-psycopg2 (2.9.11-1) ... 343s Setting up python3-installer (0.7.0+dfsg1-3) ... 344s Setting up autoconf (2.72-3.1ubuntu1) ... 344s Setting up python3-pluggy (1.6.0-2) ... 344s Setting up libubsan1:ppc64el (15.2.0-11ubuntu1) ... 344s Setting up dwz (0.16-2) ... 344s Setting up libasan8:ppc64el (15.2.0-11ubuntu1) ... 344s Setting up debugedit (1:5.2-3) ... 344s Setting up python3.13-minimal (3.13.11-1) ... 345s Setting up libtsan2:ppc64el (15.2.0-11ubuntu1) ... 345s Setting up libisl23:ppc64el (0.27-1build1) ... 345s Setting up python3-build (1.2.2-5) ... 345s Setting up libcc1-0:ppc64el (15.2.0-11ubuntu1) ... 345s Setting up liblsan0:ppc64el (15.2.0-11ubuntu1) ... 345s Setting up libitm1:ppc64el (15.2.0-11ubuntu1) ... 345s Setting up automake (1:1.18.1-3build1) ... 345s update-alternatives: using /usr/bin/automake-1.18 to provide /usr/bin/automake (automake) in auto mode 345s Setting up libfile-stripnondeterminism-perl (1.15.0-1build1) ... 345s Setting up gettext (0.23.2-1) ... 345s Setting up libgcc-15-dev:ppc64el (15.2.0-11ubuntu1) ... 345s Setting up python3.13 (3.13.11-1) ... 346s Setting up pybuild-plugin-pyproject (7.20251231) ... 346s Setting up python3-pytest (9.0.2-2) ... 347s Setting up python3-all (3.14.2-1) ... 347s Setting up python3-sqlalchemy (2.0.40+ds1-2) ... 349s Setting up intltool-debian (0.35.0+20060710.6build1) ... 349s Setting up cpp-15-powerpc64le-linux-gnu (15.2.0-11ubuntu1) ... 350s Setting up libstdc++-15-dev:ppc64el (15.2.0-11ubuntu1) ... 350s Setting up dh-strip-nondeterminism (1.15.0-1build1) ... 350s Setting up cpp-15 (15.2.0-11ubuntu1) ... 350s Setting up cpp-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 350s Setting up gcc-15-powerpc64le-linux-gnu (15.2.0-11ubuntu1) ... 350s Setting up po-debconf (1.0.22) ... 350s Setting up sqlacodegen (3.0.0~rc5-1) ... 350s Setting up gcc-15 (15.2.0-11ubuntu1) ... 350s Setting up gcc-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 350s Setting up cpp (4:15.2.0-4ubuntu1) ... 350s Setting up g++-15-powerpc64le-linux-gnu (15.2.0-11ubuntu1) ... 350s Setting up libtool (2.5.4-9) ... 350s Setting up gcc (4:15.2.0-4ubuntu1) ... 350s Setting up dh-autoreconf (21) ... 350s Setting up g++-15 (15.2.0-11ubuntu1) ... 350s Setting up g++-powerpc64le-linux-gnu (4:15.2.0-4ubuntu1) ... 350s Setting up debhelper (13.28ubuntu1) ... 350s Setting up g++ (4:15.2.0-4ubuntu1) ... 350s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 350s Setting up build-essential (12.12ubuntu2) ... 350s Setting up pybuild-plugin-autopkgtest (7.20251231) ... 350s Processing triggers for man-db (2.13.1-1) ... 351s Processing triggers for install-info (7.2-5) ... 351s Processing triggers for libc-bin (2.42-2ubuntu4) ... 351s Processing triggers for systemd (259-1ubuntu2) ... 352s autopkgtest [20:58:14]: test pybuild-autopkgtest: pybuild-autopkgtest 352s autopkgtest [20:58:14]: test pybuild-autopkgtest: [----------------------- 352s pybuild-autopkgtest 353s I: pybuild base:384: cd /tmp/autopkgtest.S5XuxV/autopkgtest_tmp/build; python3.13 -m pytest tests 355s ============================= test session starts ============================== 355s platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0 355s rootdir: /tmp/autopkgtest.S5XuxV/autopkgtest_tmp/build 355s configfile: pyproject.toml 355s plugins: typeguard-4.4.4 355s collected 90 items / 1 skipped 355s 365s tests/test_cli.py ..... [ 5%] 365s tests/test_generator_dataclass.py ...... [ 12%] 365s tests/test_generator_declarative.py .................................... [ 52%] 365s .... [ 56%] 365s tests/test_generator_tables.py ....................................... [100%] 365s 365s =========================== short test summary info ============================ 365s SKIPPED [1] tests/test_generator_sqlmodel.py:21: could not import 'sqlmodel': No module named 'sqlmodel' 365s ======================== 90 passed, 1 skipped in 12.18s ======================== 366s I: pybuild base:384: cd /tmp/autopkgtest.S5XuxV/autopkgtest_tmp/build; python3.14 -m pytest tests 368s ============================= test session starts ============================== 368s platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0 368s rootdir: /tmp/autopkgtest.S5XuxV/autopkgtest_tmp/build 368s configfile: pyproject.toml 368s plugins: typeguard-4.4.4 368s collected 90 items / 1 skipped 368s 378s tests/test_cli.py ..... [ 5%] 378s tests/test_generator_dataclass.py FFF.F. [ 12%] 382s tests/test_generator_declarative.py FFFFFFFFFFFF....F..FFFF.FFF.......F. [ 52%] 382s .FFF [ 56%] 382s tests/test_generator_tables.py ....................................... [100%] 382s 382s =================================== FAILURES =================================== 382s _______________________________ test_basic_class _______________________________ 382s tests/test_generator_dataclass.py:32: in test_basic_class 382s validate_code( 382s tests/conftest.py:30: in validate_code 382s exec(generated_code, {}) 382s :9: in 382s ??? 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_api.py:622: in __init_subclass__ 382s super().__init_subclass__(**kw) 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_api.py:842: in __init_subclass__ 382s _as_declarative(cls._sa_registry, cls, cls.__dict__) 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:244: in _as_declarative 382s return _MapperConfig.setup_mapping(registry, cls, dict_, None, {}) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:325: in setup_mapping 382s return _ClassScanMapperConfig( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:572: in __init__ 382s self._extract_mappable_attributes() 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:1568: in _extract_mappable_attributes 382s value.declarative_scan( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:709: in declarative_scan 382s self._init_column_for_annotation( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:754: in _init_column_for_annotation 382s our_type = de_optionalize_union_types(argument) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:476: in de_optionalize_union_types 382s return make_union_type(*typ) 382s ^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:550: in make_union_type 382s return Union.__getitem__(types) # type: ignore 382s ^^^^^^^^^^^^^^^^^^^^^^^^ 382s E TypeError: descriptor '__getitem__' requires a 'typing.Union' object but received a 'tuple' 382s __________________________ test_mandatory_field_last ___________________________ 382s tests/test_generator_dataclass.py:62: in test_mandatory_field_last 382s validate_code( 382s tests/conftest.py:30: in validate_code 382s exec(generated_code, {}) 382s :9: in 382s ??? 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_api.py:622: in __init_subclass__ 382s super().__init_subclass__(**kw) 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_api.py:842: in __init_subclass__ 382s _as_declarative(cls._sa_registry, cls, cls.__dict__) 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:244: in _as_declarative 382s return _MapperConfig.setup_mapping(registry, cls, dict_, None, {}) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:325: in setup_mapping 382s return _ClassScanMapperConfig( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:572: in __init__ 382s self._extract_mappable_attributes() 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:1568: in _extract_mappable_attributes 382s value.declarative_scan( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:709: in declarative_scan 382s self._init_column_for_annotation( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:754: in _init_column_for_annotation 382s our_type = de_optionalize_union_types(argument) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:476: in de_optionalize_union_types 382s return make_union_type(*typ) 382s ^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:550: in make_union_type 382s return Union.__getitem__(types) # type: ignore 382s ^^^^^^^^^^^^^^^^^^^^^^^^ 382s E TypeError: descriptor '__getitem__' requires a 'typing.Union' object but received a 'tuple' 382s ___________________________ test_onetomany_optional ____________________________ 382s tests/test_generator_dataclass.py:99: in test_onetomany_optional 382s validate_code( 382s tests/conftest.py:30: in validate_code 382s exec(generated_code, {}) 382s :17: in 382s ??? 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_api.py:622: in __init_subclass__ 382s super().__init_subclass__(**kw) 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_api.py:842: in __init_subclass__ 382s _as_declarative(cls._sa_registry, cls, cls.__dict__) 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:244: in _as_declarative 382s return _MapperConfig.setup_mapping(registry, cls, dict_, None, {}) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:325: in setup_mapping 382s return _ClassScanMapperConfig( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:572: in __init__ 382s self._extract_mappable_attributes() 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:1568: in _extract_mappable_attributes 382s value.declarative_scan( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:709: in declarative_scan 382s self._init_column_for_annotation( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:754: in _init_column_for_annotation 382s our_type = de_optionalize_union_types(argument) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:476: in de_optionalize_union_types 382s return make_union_type(*typ) 382s ^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:550: in make_union_type 382s return Union.__getitem__(types) # type: ignore 382s ^^^^^^^^^^^^^^^^^^^^^^^^ 382s E TypeError: descriptor '__getitem__' requires a 'typing.Union' object but received a 'tuple' 382s ______________________ test_named_foreign_key_constraints ______________________ 382s tests/test_generator_dataclass.py:204: in test_named_foreign_key_constraints 382s validate_code( 382s tests/conftest.py:30: in validate_code 382s exec(generated_code, {}) 382s :17: in 382s ??? 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_api.py:622: in __init_subclass__ 382s super().__init_subclass__(**kw) 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_api.py:842: in __init_subclass__ 382s _as_declarative(cls._sa_registry, cls, cls.__dict__) 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:244: in _as_declarative 382s return _MapperConfig.setup_mapping(registry, cls, dict_, None, {}) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:325: in setup_mapping 382s return _ClassScanMapperConfig( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:572: in __init__ 382s self._extract_mappable_attributes() 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:1568: in _extract_mappable_attributes 382s value.declarative_scan( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:709: in declarative_scan 382s self._init_column_for_annotation( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:754: in _init_column_for_annotation 382s our_type = de_optionalize_union_types(argument) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:476: in de_optionalize_union_types 382s return make_union_type(*typ) 382s ^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:550: in make_union_type 382s return Union.__getitem__(types) # type: ignore 382s ^^^^^^^^^^^^^^^^^^^^^^^^ 382s E TypeError: descriptor '__getitem__' requires a 'typing.Union' object but received a 'tuple' 382s _________________________________ test_indexes _________________________________ 382s tests/test_generator_declarative.py:47: in test_indexes 382s validate_code( 382s tests/conftest.py:30: in validate_code 382s exec(generated_code, {}) 382s :9: in 382s ??? 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_api.py:842: in __init_subclass__ 382s _as_declarative(cls._sa_registry, cls, cls.__dict__) 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:244: in _as_declarative 382s return _MapperConfig.setup_mapping(registry, cls, dict_, None, {}) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:325: in setup_mapping 382s return _ClassScanMapperConfig( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:572: in __init__ 382s self._extract_mappable_attributes() 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:1568: in _extract_mappable_attributes 382s value.declarative_scan( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:709: in declarative_scan 382s self._init_column_for_annotation( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:754: in _init_column_for_annotation 382s our_type = de_optionalize_union_types(argument) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:476: in de_optionalize_union_types 382s return make_union_type(*typ) 382s ^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:550: in make_union_type 382s return Union.__getitem__(types) # type: ignore 382s ^^^^^^^^^^^^^^^^^^^^^^^^ 382s E TypeError: descriptor '__getitem__' requires a 'typing.Union' object but received a 'tuple' 382s _______________________________ test_constraints _______________________________ 382s tests/test_generator_declarative.py:83: in test_constraints 382s validate_code( 382s tests/conftest.py:30: in validate_code 382s exec(generated_code, {}) 382s :9: in 382s ??? 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_api.py:842: in __init_subclass__ 382s _as_declarative(cls._sa_registry, cls, cls.__dict__) 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:244: in _as_declarative 382s return _MapperConfig.setup_mapping(registry, cls, dict_, None, {}) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:325: in setup_mapping 382s return _ClassScanMapperConfig( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:572: in __init__ 382s self._extract_mappable_attributes() 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:1568: in _extract_mappable_attributes 382s value.declarative_scan( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:709: in declarative_scan 382s self._init_column_for_annotation( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:754: in _init_column_for_annotation 382s our_type = de_optionalize_union_types(argument) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:476: in de_optionalize_union_types 382s return make_union_type(*typ) 382s ^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:550: in make_union_type 382s return Union.__getitem__(types) # type: ignore 382s ^^^^^^^^^^^^^^^^^^^^^^^^ 382s E TypeError: descriptor '__getitem__' requires a 'typing.Union' object but received a 'tuple' 382s ________________________________ test_onetomany ________________________________ 382s tests/test_generator_declarative.py:121: in test_onetomany 382s validate_code( 382s tests/conftest.py:30: in validate_code 382s exec(generated_code, {}) 382s :17: in 382s ??? 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_api.py:842: in __init_subclass__ 382s _as_declarative(cls._sa_registry, cls, cls.__dict__) 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:244: in _as_declarative 382s return _MapperConfig.setup_mapping(registry, cls, dict_, None, {}) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:325: in setup_mapping 382s return _ClassScanMapperConfig( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:572: in __init__ 382s self._extract_mappable_attributes() 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:1568: in _extract_mappable_attributes 382s value.declarative_scan( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:709: in declarative_scan 382s self._init_column_for_annotation( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:754: in _init_column_for_annotation 382s our_type = de_optionalize_union_types(argument) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:476: in de_optionalize_union_types 382s return make_union_type(*typ) 382s ^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:550: in make_union_type 382s return Union.__getitem__(types) # type: ignore 382s ^^^^^^^^^^^^^^^^^^^^^^^^ 382s E TypeError: descriptor '__getitem__' requires a 'typing.Union' object but received a 'tuple' 382s ____________________________ test_onetomany_selfref ____________________________ 382s tests/test_generator_declarative.py:163: in test_onetomany_selfref 382s validate_code( 382s tests/conftest.py:30: in validate_code 382s exec(generated_code, {}) 382s :9: in 382s ??? 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_api.py:842: in __init_subclass__ 382s _as_declarative(cls._sa_registry, cls, cls.__dict__) 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:244: in _as_declarative 382s return _MapperConfig.setup_mapping(registry, cls, dict_, None, {}) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:325: in setup_mapping 382s return _ClassScanMapperConfig( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:572: in __init__ 382s self._extract_mappable_attributes() 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:1568: in _extract_mappable_attributes 382s value.declarative_scan( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:709: in declarative_scan 382s self._init_column_for_annotation( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:754: in _init_column_for_annotation 382s our_type = de_optionalize_union_types(argument) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:476: in de_optionalize_union_types 382s return make_union_type(*typ) 382s ^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:550: in make_union_type 382s return Union.__getitem__(types) # type: ignore 382s ^^^^^^^^^^^^^^^^^^^^^^^^ 382s E TypeError: descriptor '__getitem__' requires a 'typing.Union' object but received a 'tuple' 382s _________________________ test_onetomany_selfref_multi _________________________ 382s tests/test_generator_declarative.py:200: in test_onetomany_selfref_multi 382s validate_code( 382s tests/conftest.py:30: in validate_code 382s exec(generated_code, {}) 382s :9: in 382s ??? 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_api.py:842: in __init_subclass__ 382s _as_declarative(cls._sa_registry, cls, cls.__dict__) 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:244: in _as_declarative 382s return _MapperConfig.setup_mapping(registry, cls, dict_, None, {}) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:325: in setup_mapping 382s return _ClassScanMapperConfig( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:572: in __init__ 382s self._extract_mappable_attributes() 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:1568: in _extract_mappable_attributes 382s value.declarative_scan( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:709: in declarative_scan 382s self._init_column_for_annotation( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:754: in _init_column_for_annotation 382s our_type = de_optionalize_union_types(argument) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:476: in de_optionalize_union_types 382s return make_union_type(*typ) 382s ^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:550: in make_union_type 382s return Union.__getitem__(types) # type: ignore 382s ^^^^^^^^^^^^^^^^^^^^^^^^ 382s E TypeError: descriptor '__getitem__' requires a 'typing.Union' object but received a 'tuple' 382s ___________________________ test_onetomany_composite ___________________________ 382s tests/test_generator_declarative.py:253: in test_onetomany_composite 382s validate_code( 382s tests/conftest.py:30: in validate_code 382s exec(generated_code, {}) 382s :18: in 382s ??? 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_api.py:842: in __init_subclass__ 382s _as_declarative(cls._sa_registry, cls, cls.__dict__) 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:244: in _as_declarative 382s return _MapperConfig.setup_mapping(registry, cls, dict_, None, {}) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:325: in setup_mapping 382s return _ClassScanMapperConfig( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:572: in __init__ 382s self._extract_mappable_attributes() 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:1568: in _extract_mappable_attributes 382s value.declarative_scan( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:709: in declarative_scan 382s self._init_column_for_annotation( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:754: in _init_column_for_annotation 382s our_type = de_optionalize_union_types(argument) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:476: in de_optionalize_union_types 382s return make_union_type(*typ) 382s ^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:550: in make_union_type 382s return Union.__getitem__(types) # type: ignore 382s ^^^^^^^^^^^^^^^^^^^^^^^^ 382s E TypeError: descriptor '__getitem__' requires a 'typing.Union' object but received a 'tuple' 382s ___________________________ test_onetomany_multiref ____________________________ 382s tests/test_generator_declarative.py:308: in test_onetomany_multiref 382s validate_code( 382s tests/conftest.py:30: in validate_code 382s exec(generated_code, {}) 382s :18: in 382s ??? 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_api.py:842: in __init_subclass__ 382s _as_declarative(cls._sa_registry, cls, cls.__dict__) 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:244: in _as_declarative 382s return _MapperConfig.setup_mapping(registry, cls, dict_, None, {}) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:325: in setup_mapping 382s return _ClassScanMapperConfig( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:572: in __init__ 382s self._extract_mappable_attributes() 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:1568: in _extract_mappable_attributes 382s value.declarative_scan( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:709: in declarative_scan 382s self._init_column_for_annotation( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:754: in _init_column_for_annotation 382s our_type = de_optionalize_union_types(argument) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:476: in de_optionalize_union_types 382s return make_union_type(*typ) 382s ^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:550: in make_union_type 382s return Union.__getitem__(types) # type: ignore 382s ^^^^^^^^^^^^^^^^^^^^^^^^ 382s E TypeError: descriptor '__getitem__' requires a 'typing.Union' object but received a 'tuple' 382s ________________________________ test_onetoone _________________________________ 382s tests/test_generator_declarative.py:362: in test_onetoone 382s validate_code( 382s tests/conftest.py:30: in validate_code 382s exec(generated_code, {}) 382s :17: in 382s ??? 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_api.py:842: in __init_subclass__ 382s _as_declarative(cls._sa_registry, cls, cls.__dict__) 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:244: in _as_declarative 382s return _MapperConfig.setup_mapping(registry, cls, dict_, None, {}) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:325: in setup_mapping 382s return _ClassScanMapperConfig( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:572: in __init__ 382s self._extract_mappable_attributes() 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:1568: in _extract_mappable_attributes 382s value.declarative_scan( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:709: in declarative_scan 382s self._init_column_for_annotation( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:754: in _init_column_for_annotation 382s our_type = de_optionalize_union_types(argument) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:476: in de_optionalize_union_types 382s return make_union_type(*typ) 382s ^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:550: in make_union_type 382s return Union.__getitem__(types) # type: ignore 382s ^^^^^^^^^^^^^^^^^^^^^^^^ 382s E TypeError: descriptor '__getitem__' requires a 'typing.Union' object but received a 'tuple' 382s ___________________________ test_onetomany_noinflect ___________________________ 382s tests/test_generator_declarative.py:405: in test_onetomany_noinflect 382s validate_code( 382s tests/conftest.py:30: in validate_code 382s exec(generated_code, {}) 382s :17: in 382s ??? 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_api.py:842: in __init_subclass__ 382s _as_declarative(cls._sa_registry, cls, cls.__dict__) 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:244: in _as_declarative 382s return _MapperConfig.setup_mapping(registry, cls, dict_, None, {}) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:325: in setup_mapping 382s return _ClassScanMapperConfig( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:572: in __init__ 382s self._extract_mappable_attributes() 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:1568: in _extract_mappable_attributes 382s value.declarative_scan( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:709: in declarative_scan 382s self._init_column_for_annotation( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:754: in _init_column_for_annotation 382s our_type = de_optionalize_union_types(argument) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:476: in de_optionalize_union_types 382s return make_union_type(*typ) 382s ^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:550: in make_union_type 382s return Union.__getitem__(types) # type: ignore 382s ^^^^^^^^^^^^^^^^^^^^^^^^ 382s E TypeError: descriptor '__getitem__' requires a 'typing.Union' object but received a 'tuple' 382s ______________________ test_onetomany_conflicting_column _______________________ 382s tests/test_generator_declarative.py:452: in test_onetomany_conflicting_column 382s validate_code( 382s tests/conftest.py:30: in validate_code 382s exec(generated_code, {}) 382s :9: in 382s ??? 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_api.py:842: in __init_subclass__ 382s _as_declarative(cls._sa_registry, cls, cls.__dict__) 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:244: in _as_declarative 382s return _MapperConfig.setup_mapping(registry, cls, dict_, None, {}) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:325: in setup_mapping 382s return _ClassScanMapperConfig( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:572: in __init__ 382s self._extract_mappable_attributes() 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:1568: in _extract_mappable_attributes 382s value.declarative_scan( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:709: in declarative_scan 382s self._init_column_for_annotation( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:754: in _init_column_for_annotation 382s our_type = de_optionalize_union_types(argument) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:476: in de_optionalize_union_types 382s return make_union_type(*typ) 382s ^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:550: in make_union_type 382s return Union.__getitem__(types) # type: ignore 382s ^^^^^^^^^^^^^^^^^^^^^^^^ 382s E TypeError: descriptor '__getitem__' requires a 'typing.Union' object but received a 'tuple' 382s ___________________ test_onetomany_conflicting_relationship ____________________ 382s tests/test_generator_declarative.py:496: in test_onetomany_conflicting_relationship 382s validate_code( 382s tests/conftest.py:30: in validate_code 382s exec(generated_code, {}) 382s :17: in 382s ??? 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_api.py:842: in __init_subclass__ 382s _as_declarative(cls._sa_registry, cls, cls.__dict__) 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:244: in _as_declarative 382s return _MapperConfig.setup_mapping(registry, cls, dict_, None, {}) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:325: in setup_mapping 382s return _ClassScanMapperConfig( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:572: in __init__ 382s self._extract_mappable_attributes() 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:1568: in _extract_mappable_attributes 382s value.declarative_scan( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:709: in declarative_scan 382s self._init_column_for_annotation( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:754: in _init_column_for_annotation 382s our_type = de_optionalize_union_types(argument) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:476: in de_optionalize_union_types 382s return make_union_type(*typ) 382s ^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:550: in make_union_type 382s return Union.__getitem__(types) # type: ignore 382s ^^^^^^^^^^^^^^^^^^^^^^^^ 382s E TypeError: descriptor '__getitem__' requires a 'typing.Union' object but received a 'tuple' 382s ______________________ test_manytoone_nobidi[generator0] _______________________ 382s tests/test_generator_declarative.py:544: in test_manytoone_nobidi 382s validate_code( 382s tests/conftest.py:30: in validate_code 382s exec(generated_code, {}) 382s :15: in 382s ??? 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_api.py:842: in __init_subclass__ 382s _as_declarative(cls._sa_registry, cls, cls.__dict__) 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:244: in _as_declarative 382s return _MapperConfig.setup_mapping(registry, cls, dict_, None, {}) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:325: in setup_mapping 382s return _ClassScanMapperConfig( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:572: in __init__ 382s self._extract_mappable_attributes() 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:1568: in _extract_mappable_attributes 382s value.declarative_scan( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:709: in declarative_scan 382s self._init_column_for_annotation( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:754: in _init_column_for_annotation 382s our_type = de_optionalize_union_types(argument) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:476: in de_optionalize_union_types 382s return make_union_type(*typ) 382s ^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:550: in make_union_type 382s return Union.__getitem__(types) # type: ignore 382s ^^^^^^^^^^^^^^^^^^^^^^^^ 382s E TypeError: descriptor '__getitem__' requires a 'typing.Union' object but received a 'tuple' 382s ___________________________ test_joined_inheritance ____________________________ 382s tests/test_generator_declarative.py:827: in test_joined_inheritance 382s validate_code( 382s tests/conftest.py:30: in validate_code 382s exec(generated_code, {}) 382s :9: in 382s ??? 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_api.py:842: in __init_subclass__ 382s _as_declarative(cls._sa_registry, cls, cls.__dict__) 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:244: in _as_declarative 382s return _MapperConfig.setup_mapping(registry, cls, dict_, None, {}) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:325: in setup_mapping 382s return _ClassScanMapperConfig( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:572: in __init__ 382s self._extract_mappable_attributes() 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:1568: in _extract_mappable_attributes 382s value.declarative_scan( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:709: in declarative_scan 382s self._init_column_for_annotation( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:754: in _init_column_for_annotation 382s our_type = de_optionalize_union_types(argument) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:476: in de_optionalize_union_types 382s return make_union_type(*typ) 382s ^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:550: in make_union_type 382s return Union.__getitem__(types) # type: ignore 382s ^^^^^^^^^^^^^^^^^^^^^^^^ 382s E TypeError: descriptor '__getitem__' requires a 'typing.Union' object but received a 'tuple' 382s ________ test_use_inflect_plural[test_inflect_manufacturer-generator0] _________ 382s tests/test_generator_declarative.py:963: in test_use_inflect_plural 382s validate_code( 382s tests/conftest.py:30: in validate_code 382s exec(generated_code, {}) 382s :17: in 382s ??? 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_api.py:842: in __init_subclass__ 382s _as_declarative(cls._sa_registry, cls, cls.__dict__) 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:244: in _as_declarative 382s return _MapperConfig.setup_mapping(registry, cls, dict_, None, {}) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:325: in setup_mapping 382s return _ClassScanMapperConfig( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:572: in __init__ 382s self._extract_mappable_attributes() 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:1568: in _extract_mappable_attributes 382s value.declarative_scan( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:709: in declarative_scan 382s self._init_column_for_annotation( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:754: in _init_column_for_annotation 382s our_type = de_optionalize_union_types(argument) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:476: in de_optionalize_union_types 382s return make_union_type(*typ) 382s ^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:550: in make_union_type 382s return Union.__getitem__(types) # type: ignore 382s ^^^^^^^^^^^^^^^^^^^^^^^^ 382s E TypeError: descriptor '__getitem__' requires a 'typing.Union' object but received a 'tuple' 382s ___________ test_use_inflect_plural[test_inflect_status-generator0] ____________ 382s tests/test_generator_declarative.py:963: in test_use_inflect_plural 382s validate_code( 382s tests/conftest.py:30: in validate_code 382s exec(generated_code, {}) 382s :17: in 382s ??? 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_api.py:842: in __init_subclass__ 382s _as_declarative(cls._sa_registry, cls, cls.__dict__) 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:244: in _as_declarative 382s return _MapperConfig.setup_mapping(registry, cls, dict_, None, {}) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:325: in setup_mapping 382s return _ClassScanMapperConfig( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:572: in __init__ 382s self._extract_mappable_attributes() 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:1568: in _extract_mappable_attributes 382s value.declarative_scan( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:709: in declarative_scan 382s self._init_column_for_annotation( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:754: in _init_column_for_annotation 382s our_type = de_optionalize_union_types(argument) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:476: in de_optionalize_union_types 382s return make_union_type(*typ) 382s ^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:550: in make_union_type 382s return Union.__getitem__(types) # type: ignore 382s ^^^^^^^^^^^^^^^^^^^^^^^^ 382s E TypeError: descriptor '__getitem__' requires a 'typing.Union' object but received a 'tuple' 382s ____________ test_use_inflect_plural[test_inflect_study-generator0] ____________ 382s tests/test_generator_declarative.py:963: in test_use_inflect_plural 382s validate_code( 382s tests/conftest.py:30: in validate_code 382s exec(generated_code, {}) 382s :17: in 382s ??? 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_api.py:842: in __init_subclass__ 382s _as_declarative(cls._sa_registry, cls, cls.__dict__) 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:244: in _as_declarative 382s return _MapperConfig.setup_mapping(registry, cls, dict_, None, {}) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:325: in setup_mapping 382s return _ClassScanMapperConfig( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:572: in __init__ 382s self._extract_mappable_attributes() 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:1568: in _extract_mappable_attributes 382s value.declarative_scan( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:709: in declarative_scan 382s self._init_column_for_annotation( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:754: in _init_column_for_annotation 382s our_type = de_optionalize_union_types(argument) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:476: in de_optionalize_union_types 382s return make_union_type(*typ) 382s ^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:550: in make_union_type 382s return Union.__getitem__(types) # type: ignore 382s ^^^^^^^^^^^^^^^^^^^^^^^^ 382s E TypeError: descriptor '__getitem__' requires a 'typing.Union' object but received a 'tuple' 382s ____________ test_use_inflect_plural[test_inflect_moose-generator0] ____________ 382s tests/test_generator_declarative.py:963: in test_use_inflect_plural 382s validate_code( 382s tests/conftest.py:30: in validate_code 382s exec(generated_code, {}) 382s :17: in 382s ??? 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_api.py:842: in __init_subclass__ 382s _as_declarative(cls._sa_registry, cls, cls.__dict__) 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:244: in _as_declarative 382s return _MapperConfig.setup_mapping(registry, cls, dict_, None, {}) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:325: in setup_mapping 382s return _ClassScanMapperConfig( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:572: in __init__ 382s self._extract_mappable_attributes() 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:1568: in _extract_mappable_attributes 382s value.declarative_scan( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:709: in declarative_scan 382s self._init_column_for_annotation( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:754: in _init_column_for_annotation 382s our_type = de_optionalize_union_types(argument) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:476: in de_optionalize_union_types 382s return make_union_type(*typ) 382s ^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:550: in make_union_type 382s return Union.__getitem__(types) # type: ignore 382s ^^^^^^^^^^^^^^^^^^^^^^^^ 382s E TypeError: descriptor '__getitem__' requires a 'typing.Union' object but received a 'tuple' 382s ____________________________ test_table_args_kwargs ____________________________ 382s tests/test_generator_declarative.py:1033: in test_table_args_kwargs 382s validate_code( 382s tests/conftest.py:30: in validate_code 382s exec(generated_code, {}) 382s :9: in 382s ??? 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_api.py:842: in __init_subclass__ 382s _as_declarative(cls._sa_registry, cls, cls.__dict__) 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:244: in _as_declarative 382s return _MapperConfig.setup_mapping(registry, cls, dict_, None, {}) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:325: in setup_mapping 382s return _ClassScanMapperConfig( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:572: in __init__ 382s self._extract_mappable_attributes() 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:1568: in _extract_mappable_attributes 382s value.declarative_scan( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:709: in declarative_scan 382s self._init_column_for_annotation( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:754: in _init_column_for_annotation 382s our_type = de_optionalize_union_types(argument) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:476: in de_optionalize_union_types 382s return make_union_type(*typ) 382s ^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:550: in make_union_type 382s return Union.__getitem__(types) # type: ignore 382s ^^^^^^^^^^^^^^^^^^^^^^^^ 382s E TypeError: descriptor '__getitem__' requires a 'typing.Union' object but received a 'tuple' 382s ___________________________ test_foreign_key_schema ____________________________ 382s tests/test_generator_declarative.py:1072: in test_foreign_key_schema 382s validate_code( 382s tests/conftest.py:30: in validate_code 382s exec(generated_code, {}) 382s :18: in 382s ??? 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_api.py:842: in __init_subclass__ 382s _as_declarative(cls._sa_registry, cls, cls.__dict__) 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:244: in _as_declarative 382s return _MapperConfig.setup_mapping(registry, cls, dict_, None, {}) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:325: in setup_mapping 382s return _ClassScanMapperConfig( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:572: in __init__ 382s self._extract_mappable_attributes() 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:1568: in _extract_mappable_attributes 382s value.declarative_scan( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:709: in declarative_scan 382s self._init_column_for_annotation( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:754: in _init_column_for_annotation 382s our_type = de_optionalize_union_types(argument) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:476: in de_optionalize_union_types 382s return make_union_type(*typ) 382s ^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:550: in make_union_type 382s return Union.__getitem__(types) # type: ignore 382s ^^^^^^^^^^^^^^^^^^^^^^^^ 382s E TypeError: descriptor '__getitem__' requires a 'typing.Union' object but received a 'tuple' 382s _________________________ test_invalid_attribute_names _________________________ 382s tests/test_generator_declarative.py:1116: in test_invalid_attribute_names 382s validate_code( 382s tests/conftest.py:30: in validate_code 382s exec(generated_code, {}) 382s :9: in 382s ??? 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_api.py:842: in __init_subclass__ 382s _as_declarative(cls._sa_registry, cls, cls.__dict__) 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:244: in _as_declarative 382s return _MapperConfig.setup_mapping(registry, cls, dict_, None, {}) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:325: in setup_mapping 382s return _ClassScanMapperConfig( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:572: in __init__ 382s self._extract_mappable_attributes() 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:1568: in _extract_mappable_attributes 382s value.declarative_scan( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:709: in declarative_scan 382s self._init_column_for_annotation( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:754: in _init_column_for_annotation 382s our_type = de_optionalize_union_types(argument) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:476: in de_optionalize_union_types 382s return make_union_type(*typ) 382s ^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:550: in make_union_type 382s return Union.__getitem__(types) # type: ignore 382s ^^^^^^^^^^^^^^^^^^^^^^^^ 382s E TypeError: descriptor '__getitem__' requires a 'typing.Union' object but received a 'tuple' 382s _____________________________ test_metadata_column _____________________________ 382s tests/test_generator_declarative.py:1304: in test_metadata_column 382s validate_code( 382s tests/conftest.py:30: in validate_code 382s exec(generated_code, {}) 382s :9: in 382s ??? 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_api.py:842: in __init_subclass__ 382s _as_declarative(cls._sa_registry, cls, cls.__dict__) 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:244: in _as_declarative 382s return _MapperConfig.setup_mapping(registry, cls, dict_, None, {}) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:325: in setup_mapping 382s return _ClassScanMapperConfig( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:572: in __init__ 382s self._extract_mappable_attributes() 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:1568: in _extract_mappable_attributes 382s value.declarative_scan( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:709: in declarative_scan 382s self._init_column_for_annotation( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:754: in _init_column_for_annotation 382s our_type = de_optionalize_union_types(argument) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:476: in de_optionalize_union_types 382s return make_union_type(*typ) 382s ^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:550: in make_union_type 382s return Union.__getitem__(types) # type: ignore 382s ^^^^^^^^^^^^^^^^^^^^^^^^ 382s E TypeError: descriptor '__getitem__' requires a 'typing.Union' object but received a 'tuple' 382s ____________________________ test_named_constraints ____________________________ 382s tests/test_generator_declarative.py:1379: in test_named_constraints 382s validate_code( 382s tests/conftest.py:30: in validate_code 382s exec(generated_code, {}) 382s :9: in 382s ??? 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_api.py:842: in __init_subclass__ 382s _as_declarative(cls._sa_registry, cls, cls.__dict__) 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:244: in _as_declarative 382s return _MapperConfig.setup_mapping(registry, cls, dict_, None, {}) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:325: in setup_mapping 382s return _ClassScanMapperConfig( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:572: in __init__ 382s self._extract_mappable_attributes() 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:1568: in _extract_mappable_attributes 382s value.declarative_scan( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:709: in declarative_scan 382s self._init_column_for_annotation( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:754: in _init_column_for_annotation 382s our_type = de_optionalize_union_types(argument) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:476: in de_optionalize_union_types 382s return make_union_type(*typ) 382s ^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:550: in make_union_type 382s return Union.__getitem__(types) # type: ignore 382s ^^^^^^^^^^^^^^^^^^^^^^^^ 382s E TypeError: descriptor '__getitem__' requires a 'typing.Union' object but received a 'tuple' 382s ______________________ test_named_foreign_key_constraints ______________________ 382s tests/test_generator_declarative.py:1421: in test_named_foreign_key_constraints 382s validate_code( 382s tests/conftest.py:30: in validate_code 382s exec(generated_code, {}) 382s :17: in 382s ??? 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_api.py:842: in __init_subclass__ 382s _as_declarative(cls._sa_registry, cls, cls.__dict__) 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:244: in _as_declarative 382s return _MapperConfig.setup_mapping(registry, cls, dict_, None, {}) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:325: in setup_mapping 382s return _ClassScanMapperConfig( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:572: in __init__ 382s self._extract_mappable_attributes() 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:1568: in _extract_mappable_attributes 382s value.declarative_scan( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:709: in declarative_scan 382s self._init_column_for_annotation( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:754: in _init_column_for_annotation 382s our_type = de_optionalize_union_types(argument) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:476: in de_optionalize_union_types 382s return make_union_type(*typ) 382s ^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:550: in make_union_type 382s return Union.__getitem__(types) # type: ignore 382s ^^^^^^^^^^^^^^^^^^^^^^^^ 382s E TypeError: descriptor '__getitem__' requires a 'typing.Union' object but received a 'tuple' 382s _________________________ test_colname_import_conflict _________________________ 382s tests/test_generator_declarative.py:1467: in test_colname_import_conflict 382s validate_code( 382s tests/conftest.py:30: in validate_code 382s exec(generated_code, {}) 382s :9: in 382s ??? 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_api.py:842: in __init_subclass__ 382s _as_declarative(cls._sa_registry, cls, cls.__dict__) 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:244: in _as_declarative 382s return _MapperConfig.setup_mapping(registry, cls, dict_, None, {}) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:325: in setup_mapping 382s return _ClassScanMapperConfig( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:572: in __init__ 382s self._extract_mappable_attributes() 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/decl_base.py:1568: in _extract_mappable_attributes 382s value.declarative_scan( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:709: in declarative_scan 382s self._init_column_for_annotation( 382s /usr/lib/python3/dist-packages/sqlalchemy/orm/properties.py:754: in _init_column_for_annotation 382s our_type = de_optionalize_union_types(argument) 382s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:476: in de_optionalize_union_types 382s return make_union_type(*typ) 382s ^^^^^^^^^^^^^^^^^^^^^ 382s /usr/lib/python3/dist-packages/sqlalchemy/util/typing.py:550: in make_union_type 382s return Union.__getitem__(types) # type: ignore 382s ^^^^^^^^^^^^^^^^^^^^^^^^ 382s E TypeError: descriptor '__getitem__' requires a 'typing.Union' object but received a 'tuple' 382s =========================== short test summary info ============================ 382s SKIPPED [1] tests/test_generator_sqlmodel.py:21: could not import 'sqlmodel': No module named 'sqlmodel' 382s ================== 28 failed, 62 passed, 1 skipped in 16.17s =================== 382s E: pybuild pybuild:483: test: plugin pyproject failed with: exit code=1: cd /tmp/autopkgtest.S5XuxV/autopkgtest_tmp/build; python3.14 -m pytest tests 382s pybuild-autopkgtest: error: pybuild --autopkgtest --test-pytest -i python{version} -p "3.13 3.14" returned exit code 13 382s make: *** [/tmp/HOZWaLpqPu/run:4: pybuild-autopkgtest] Error 25 382s pybuild-autopkgtest: error: /tmp/HOZWaLpqPu/run pybuild-autopkgtest returned exit code 2 383s autopkgtest [20:58:45]: test pybuild-autopkgtest: -----------------------] 383s pybuild-autopkgtest FAIL non-zero exit status 25 383s autopkgtest [20:58:45]: test pybuild-autopkgtest: - - - - - - - - - - results - - - - - - - - - - 383s autopkgtest [20:58:45]: @@@@@@@@@@@@@@@@@@@@ summary 383s pybuild-autopkgtest FAIL non-zero exit status 25