0s autopkgtest [18:22:58]: starting date and time: 2024-11-26 18:22:58+0000 0s autopkgtest [18:22:58]: git checkout: 6408f825 Correct logic in old-systemd fallback code 0s autopkgtest [18:22:58]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.9dec4kf8/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src:python3-defaults --apt-upgrade python-llm --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 -- lxd -r lxd-armhf-10.145.243.115 lxd-armhf-10.145.243.115:autopkgtest/ubuntu/plucky/armhf 53s autopkgtest [18:23:51]: testbed dpkg architecture: armhf 55s autopkgtest [18:23:53]: testbed apt version: 2.9.14ubuntu1 55s autopkgtest [18:23:53]: @@@@@@@@@@@@@@@@@@@@ test bed setup 62s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 63s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [822 kB] 64s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [56.7 kB] 64s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [13.6 kB] 64s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 64s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [75.0 kB] 64s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Packages [928 B] 64s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [583 kB] 65s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [6096 B] 65s Fetched 1641 kB in 3s (597 kB/s) 65s Reading package lists... 82s tee: /proc/self/fd/2: Permission denied 146s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 146s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 146s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 146s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 147s Reading package lists... 147s Reading package lists... 147s Building dependency tree... 147s Reading state information... 148s Calculating upgrade... 149s The following NEW packages will be installed: 149s appstream cloud-init-base gir1.2-packagekitglib-1.0 libappstream5 149s libduktape207 libglib2.0-bin libgstreamer1.0-0 libpackagekit-glib2-18 149s libstemmer0d libunwind8 packagekit packagekit-tools polkitd 149s python3-distro-info python3-software-properties sgml-base 149s software-properties-common unattended-upgrades xml-core 149s The following packages will be upgraded: 149s cloud-init dracut-install libpython3-stdlib python3 python3-minimal 149s 5 upgraded, 19 newly installed, 0 to remove and 0 not upgraded. 149s Need to get 3337 kB of archives. 149s After this operation, 7918 kB of additional disk space will be used. 149s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-minimal armhf 3.12.7-1 [27.4 kB] 149s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3 armhf 3.12.7-1 [24.0 kB] 149s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libpython3-stdlib armhf 3.12.7-1 [10.0 kB] 149s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf sgml-base all 1.31 [11.4 kB] 149s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf python3-distro-info all 1.12 [7754 B] 149s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf libstemmer0d armhf 2.2.0-4build1 [130 kB] 149s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libappstream5 armhf 1.0.3-1 [209 kB] 149s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf appstream armhf 1.0.3-1 [64.2 kB] 149s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf cloud-init all 24.4-0ubuntu1 [2088 B] 149s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf cloud-init-base all 24.4-0ubuntu1 [612 kB] 150s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf dracut-install armhf 105-2ubuntu3 [37.6 kB] 150s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf libpackagekit-glib2-18 armhf 1.3.0-2 [109 kB] 150s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-packagekitglib-1.0 armhf 1.3.0-2 [25.5 kB] 150s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf libduktape207 armhf 2.7.0+tests-0ubuntu3 [123 kB] 150s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf libglib2.0-bin armhf 2.82.2-3 [92.3 kB] 150s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf libunwind8 armhf 1.6.2-3.1 [47.6 kB] 150s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf libgstreamer1.0-0 armhf 1.24.9-1 [1136 kB] 151s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf xml-core all 0.19 [20.3 kB] 151s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf polkitd armhf 125-2ubuntu1 [91.5 kB] 151s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf packagekit armhf 1.3.0-2 [430 kB] 152s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf packagekit-tools armhf 1.3.0-2 [27.7 kB] 152s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf python3-software-properties all 0.105 [30.3 kB] 152s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf software-properties-common all 0.105 [16.5 kB] 152s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf unattended-upgrades all 2.9.1+nmu4ubuntu1 [51.2 kB] 152s Preconfiguring packages ... 152s Fetched 3337 kB in 3s (990 kB/s) 153s (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 ... 59609 files and directories currently installed.) 153s Preparing to unpack .../python3-minimal_3.12.7-1_armhf.deb ... 153s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 153s Setting up python3-minimal (3.12.7-1) ... 153s (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 ... 59609 files and directories currently installed.) 153s Preparing to unpack .../00-python3_3.12.7-1_armhf.deb ... 153s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 153s Preparing to unpack .../01-libpython3-stdlib_3.12.7-1_armhf.deb ... 153s Unpacking libpython3-stdlib:armhf (3.12.7-1) over (3.12.6-0ubuntu1) ... 153s Selecting previously unselected package sgml-base. 153s Preparing to unpack .../02-sgml-base_1.31_all.deb ... 153s Unpacking sgml-base (1.31) ... 153s Selecting previously unselected package python3-distro-info. 153s Preparing to unpack .../03-python3-distro-info_1.12_all.deb ... 153s Unpacking python3-distro-info (1.12) ... 153s Selecting previously unselected package libstemmer0d:armhf. 153s Preparing to unpack .../04-libstemmer0d_2.2.0-4build1_armhf.deb ... 153s Unpacking libstemmer0d:armhf (2.2.0-4build1) ... 153s Selecting previously unselected package libappstream5:armhf. 153s Preparing to unpack .../05-libappstream5_1.0.3-1_armhf.deb ... 153s Unpacking libappstream5:armhf (1.0.3-1) ... 153s Selecting previously unselected package appstream. 153s Preparing to unpack .../06-appstream_1.0.3-1_armhf.deb ... 153s Unpacking appstream (1.0.3-1) ... 153s Preparing to unpack .../07-cloud-init_24.4-0ubuntu1_all.deb ... 153s Unpacking cloud-init (24.4-0ubuntu1) over (24.4~3+really24.3.1-0ubuntu4) ... 153s dpkg: warning: unable to delete old directory '/etc/cloud/templates': Directory not empty 153s dpkg: warning: unable to delete old directory '/etc/cloud/cloud.cfg.d': Directory not empty 153s dpkg: warning: unable to delete old directory '/etc/cloud': Directory not empty 153s Selecting previously unselected package cloud-init-base. 153s Preparing to unpack .../08-cloud-init-base_24.4-0ubuntu1_all.deb ... 153s awk: fatal: cannot open file `/etc/fstab' for reading: No such file or directory 154s Unpacking cloud-init-base (24.4-0ubuntu1) ... 154s Preparing to unpack .../09-dracut-install_105-2ubuntu3_armhf.deb ... 154s Unpacking dracut-install (105-2ubuntu3) over (105-2ubuntu2) ... 154s Selecting previously unselected package libpackagekit-glib2-18:armhf. 154s Preparing to unpack .../10-libpackagekit-glib2-18_1.3.0-2_armhf.deb ... 154s Unpacking libpackagekit-glib2-18:armhf (1.3.0-2) ... 154s Selecting previously unselected package gir1.2-packagekitglib-1.0. 154s Preparing to unpack .../11-gir1.2-packagekitglib-1.0_1.3.0-2_armhf.deb ... 154s Unpacking gir1.2-packagekitglib-1.0 (1.3.0-2) ... 154s Selecting previously unselected package libduktape207:armhf. 154s Preparing to unpack .../12-libduktape207_2.7.0+tests-0ubuntu3_armhf.deb ... 154s Unpacking libduktape207:armhf (2.7.0+tests-0ubuntu3) ... 154s Selecting previously unselected package libglib2.0-bin. 154s Preparing to unpack .../13-libglib2.0-bin_2.82.2-3_armhf.deb ... 154s Unpacking libglib2.0-bin (2.82.2-3) ... 154s Selecting previously unselected package libunwind8:armhf. 154s Preparing to unpack .../14-libunwind8_1.6.2-3.1_armhf.deb ... 154s Unpacking libunwind8:armhf (1.6.2-3.1) ... 154s Selecting previously unselected package libgstreamer1.0-0:armhf. 154s Preparing to unpack .../15-libgstreamer1.0-0_1.24.9-1_armhf.deb ... 154s Unpacking libgstreamer1.0-0:armhf (1.24.9-1) ... 154s Selecting previously unselected package xml-core. 154s Preparing to unpack .../16-xml-core_0.19_all.deb ... 154s Unpacking xml-core (0.19) ... 154s Selecting previously unselected package polkitd. 154s Preparing to unpack .../17-polkitd_125-2ubuntu1_armhf.deb ... 154s Unpacking polkitd (125-2ubuntu1) ... 154s Selecting previously unselected package packagekit. 154s Preparing to unpack .../18-packagekit_1.3.0-2_armhf.deb ... 154s Unpacking packagekit (1.3.0-2) ... 154s Selecting previously unselected package packagekit-tools. 154s Preparing to unpack .../19-packagekit-tools_1.3.0-2_armhf.deb ... 154s Unpacking packagekit-tools (1.3.0-2) ... 154s Selecting previously unselected package python3-software-properties. 154s Preparing to unpack .../20-python3-software-properties_0.105_all.deb ... 154s Unpacking python3-software-properties (0.105) ... 154s Selecting previously unselected package software-properties-common. 154s Preparing to unpack .../21-software-properties-common_0.105_all.deb ... 154s Unpacking software-properties-common (0.105) ... 154s Selecting previously unselected package unattended-upgrades. 154s Preparing to unpack .../22-unattended-upgrades_2.9.1+nmu4ubuntu1_all.deb ... 154s Unpacking unattended-upgrades (2.9.1+nmu4ubuntu1) ... 155s Setting up libglib2.0-bin (2.82.2-3) ... 155s Setting up libpackagekit-glib2-18:armhf (1.3.0-2) ... 155s Setting up libunwind8:armhf (1.6.2-3.1) ... 155s Setting up gir1.2-packagekitglib-1.0 (1.3.0-2) ... 155s Setting up dracut-install (105-2ubuntu3) ... 155s Setting up libduktape207:armhf (2.7.0+tests-0ubuntu3) ... 155s Setting up sgml-base (1.31) ... 155s Setting up libstemmer0d:armhf (2.2.0-4build1) ... 155s Setting up libgstreamer1.0-0:armhf (1.24.9-1) ... 155s Setcap worked! gst-ptp-helper is not suid! 155s Setting up libpython3-stdlib:armhf (3.12.7-1) ... 155s Setting up libappstream5:armhf (1.0.3-1) ... 155s Setting up python3 (3.12.7-1) ... 155s Setting up cloud-init-base (24.4-0ubuntu1) ... 157s Setting up appstream (1.0.3-1) ... 157s ✔ Metadata cache was updated successfully. 157s Setting up python3-software-properties (0.105) ... 157s Setting up xml-core (0.19) ... 157s Setting up python3-distro-info (1.12) ... 157s Setting up cloud-init (24.4-0ubuntu1) ... 157s Setting up unattended-upgrades (2.9.1+nmu4ubuntu1) ... 157s 157s Creating config file /etc/apt/apt.conf.d/20auto-upgrades with new version 158s 158s Creating config file /etc/apt/apt.conf.d/50unattended-upgrades with new version 158s Created symlink '/etc/systemd/system/multi-user.target.wants/unattended-upgrades.service' → '/usr/lib/systemd/system/unattended-upgrades.service'. 158s Synchronizing state of unattended-upgrades.service with SysV service script with /usr/lib/systemd/systemd-sysv-install. 158s Executing: /usr/lib/systemd/systemd-sysv-install enable unattended-upgrades 159s Processing triggers for libc-bin (2.40-1ubuntu3) ... 159s Processing triggers for rsyslog (8.2406.0-1ubuntu2) ... 159s Processing triggers for man-db (2.13.0-1) ... 160s Processing triggers for dbus (1.14.10-4ubuntu5) ... 160s Processing triggers for sgml-base (1.31) ... 160s Setting up polkitd (125-2ubuntu1) ... 161s Setting up packagekit (1.3.0-2) ... 161s Created symlink '/etc/systemd/user/sockets.target.wants/pk-debconf-helper.socket' → '/usr/lib/systemd/user/pk-debconf-helper.socket'. 161s Setting up packagekit-tools (1.3.0-2) ... 161s Setting up software-properties-common (0.105) ... 161s Processing triggers for dbus (1.14.10-4ubuntu5) ... 161s Reading package lists... 162s Building dependency tree... 162s Reading state information... 162s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 165s autopkgtest [18:25:43]: rebooting testbed after setup commands that affected boot 240s autopkgtest [18:26:58]: testbed running kernel: Linux 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 18:12:14 UTC 2 275s autopkgtest [18:27:33]: @@@@@@@@@@@@@@@@@@@@ apt-source python-llm 288s Get:1 http://ftpmaster.internal/ubuntu plucky/universe python-llm 0.19~a1-1 (dsc) [2677 B] 288s Get:2 http://ftpmaster.internal/ubuntu plucky/universe python-llm 0.19~a1-1 (tar) [120 kB] 288s Get:3 http://ftpmaster.internal/ubuntu plucky/universe python-llm 0.19~a1-1 (diff) [3620 B] 289s gpgv: Signature made Wed Nov 20 23:01:23 2024 UTC 289s gpgv: using RSA key FB8ACFA78C726089C38AD0269605A1098C63B92A 289s gpgv: Can't check signature: No public key 289s dpkg-source: warning: cannot verify inline signature for ./python-llm_0.19~a1-1.dsc: no acceptable signature found 289s autopkgtest [18:27:47]: testing package python-llm version 0.19~a1-1 291s autopkgtest [18:27:49]: build not needed 293s autopkgtest [18:27:51]: test run-tests: preparing testbed 304s Reading package lists... 304s Building dependency tree... 304s Reading state information... 305s Starting pkgProblemResolver with broken count: 0 305s Starting 2 pkgProblemResolver with broken count: 0 305s Done 306s The following additional packages will be installed: 306s libblas3 libgfortran5 libjs-jquery libjs-sphinxdoc libjs-underscore 306s liblapack3 libpython3.13-minimal libpython3.13-stdlib python3-all 306s python3-annotated-types python3-anyio python3-async-generator python3-click 306s python3-click-default-group python3-colorama python3-dateutil 306s python3-dnspython python3-email-validator python3-h11 python3-httpcore 306s python3-httpx python3-iniconfig python3-llm python3-numpy python3-openai 306s python3-packaging python3-pip python3-pluggy python3-puremagic 306s python3-pydantic python3-pydantic-core python3-pytest python3-pytest-asyncio 306s python3-pytest-httpx python3-sniffio python3-sqlite-fts4 306s python3-sqlite-migrate python3-tabulate python3-tqdm python3-ulid 306s python3-wheel python3.13 python3.13-minimal sqlite-utils 306s Suggested packages: 306s python3-trio python3-aioquic python3-h2 gcc gfortran python-numpy-doc 306s python3-dev python3.13-venv python3.13-doc binfmt-support 306s Recommended packages: 306s javascript-common build-essential python3-dev 306s The following NEW packages will be installed: 306s autopkgtest-satdep libblas3 libgfortran5 libjs-jquery libjs-sphinxdoc 306s libjs-underscore liblapack3 libpython3.13-minimal libpython3.13-stdlib 306s python3-all python3-annotated-types python3-anyio python3-async-generator 306s python3-click python3-click-default-group python3-colorama python3-dateutil 306s python3-dnspython python3-email-validator python3-h11 python3-httpcore 306s python3-httpx python3-iniconfig python3-llm python3-numpy python3-openai 306s python3-packaging python3-pip python3-pluggy python3-puremagic 306s python3-pydantic python3-pydantic-core python3-pytest python3-pytest-asyncio 306s python3-pytest-httpx python3-sniffio python3-sqlite-fts4 306s python3-sqlite-migrate python3-tabulate python3-tqdm python3-ulid 306s python3-wheel python3.13 python3.13-minimal sqlite-utils 306s 0 upgraded, 45 newly installed, 0 to remove and 0 not upgraded. 306s Need to get 18.0 MB/18.0 MB of archives. 306s After this operation, 80.0 MB of additional disk space will be used. 306s Get:1 /tmp/autopkgtest.rQwagW/1-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [736 B] 306s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-minimal armhf 3.13.0-2 [866 kB] 307s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-minimal armhf 3.13.0-2 [1854 kB] 309s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libblas3 armhf 3.12.0-4 [126 kB] 309s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf libgfortran5 armhf 14.2.0-8ubuntu1 [311 kB] 310s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 310s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 310s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf libjs-sphinxdoc all 7.4.7-4 [158 kB] 310s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf liblapack3 armhf 3.12.0-4 [2086 kB] 312s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-stdlib armhf 3.13.0-2 [1972 kB] 314s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13 armhf 3.13.0-2 [719 kB] 315s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf python3-all armhf 3.12.7-1 [890 B] 315s Get:13 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-annotated-types all 0.7.0-1 [19.4 kB] 315s Get:14 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-sniffio all 1.3.1-1 [7262 B] 315s Get:15 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-anyio all 4.6.2-4 [60.0 kB] 315s Get:16 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-async-generator all 1.10-4 [17.5 kB] 315s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf python3-colorama all 0.4.6-4 [32.1 kB] 315s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf python3-click all 8.1.7-2 [79.5 kB] 315s Get:19 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-click-default-group all 1.2.4-1 [5684 B] 315s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf python3-dateutil all 2.9.0-3 [80.2 kB] 315s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf python3-dnspython all 2.6.1-1ubuntu1 [163 kB] 315s Get:22 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-email-validator all 2.2.0-1 [28.5 kB] 315s Get:23 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-h11 all 0.14.0-1 [51.1 kB] 315s Get:24 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-httpcore all 1.0.4-1 [38.8 kB] 315s Get:25 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-httpx all 0.27.2-1 [61.3 kB] 315s Get:26 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-iniconfig all 1.1.1-2 [6024 B] 315s Get:27 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pydantic-core armhf 2.23.4-2build1 [1653 kB] 317s Get:28 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pydantic armhf 2.9.2-2 [290 kB] 317s Get:29 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-tqdm all 4.67.0-1 [91.6 kB] 317s Get:30 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-openai all 1.51.0-2 [148 kB] 318s Get:31 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-wheel all 0.45.1-1 [57.7 kB] 318s Get:32 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pip all 24.3.1+dfsg-1 [1404 kB] 319s Get:33 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pluggy all 1.5.0-1 [21.0 kB] 319s Get:34 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-puremagic all 1.28-1 [39.3 kB] 319s Get:35 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-sqlite-fts4 all 1.0.3-2 [9228 B] 319s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf python3-tabulate all 0.9.0-1 [45.3 kB] 319s Get:37 http://ftpmaster.internal/ubuntu plucky/universe armhf sqlite-utils all 3.38~a0-1 [534 kB] 320s Get:38 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-sqlite-migrate all 0.1~beta0-2 [8472 B] 320s Get:39 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-ulid all 2.2.0-4 [9356 B] 320s Get:40 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-llm all 0.19~a1-1 [160 kB] 320s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf python3-numpy armhf 1:1.26.4+ds-11ubuntu1 [3975 kB] 324s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf python3-packaging all 24.2-1 [51.5 kB] 324s Get:43 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest all 8.3.3-1 [251 kB] 324s Get:44 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest-asyncio all 0.20.3-1.3 [10.7 kB] 324s Get:45 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest-httpx all 0.34.0-1 [23.9 kB] 325s Fetched 18.0 MB in 18s (980 kB/s) 325s Selecting previously unselected package libpython3.13-minimal:armhf. 325s (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 ... 59963 files and directories currently installed.) 325s Preparing to unpack .../00-libpython3.13-minimal_3.13.0-2_armhf.deb ... 325s Unpacking libpython3.13-minimal:armhf (3.13.0-2) ... 325s Selecting previously unselected package python3.13-minimal. 325s Preparing to unpack .../01-python3.13-minimal_3.13.0-2_armhf.deb ... 325s Unpacking python3.13-minimal (3.13.0-2) ... 325s Selecting previously unselected package libblas3:armhf. 325s Preparing to unpack .../02-libblas3_3.12.0-4_armhf.deb ... 325s Unpacking libblas3:armhf (3.12.0-4) ... 325s Selecting previously unselected package libgfortran5:armhf. 325s Preparing to unpack .../03-libgfortran5_14.2.0-8ubuntu1_armhf.deb ... 325s Unpacking libgfortran5:armhf (14.2.0-8ubuntu1) ... 325s Selecting previously unselected package libjs-jquery. 325s Preparing to unpack .../04-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 325s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 325s Selecting previously unselected package libjs-underscore. 325s Preparing to unpack .../05-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 325s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 325s Selecting previously unselected package libjs-sphinxdoc. 325s Preparing to unpack .../06-libjs-sphinxdoc_7.4.7-4_all.deb ... 325s Unpacking libjs-sphinxdoc (7.4.7-4) ... 325s Selecting previously unselected package liblapack3:armhf. 325s Preparing to unpack .../07-liblapack3_3.12.0-4_armhf.deb ... 325s Unpacking liblapack3:armhf (3.12.0-4) ... 325s Selecting previously unselected package libpython3.13-stdlib:armhf. 325s Preparing to unpack .../08-libpython3.13-stdlib_3.13.0-2_armhf.deb ... 325s Unpacking libpython3.13-stdlib:armhf (3.13.0-2) ... 325s Selecting previously unselected package python3.13. 325s Preparing to unpack .../09-python3.13_3.13.0-2_armhf.deb ... 325s Unpacking python3.13 (3.13.0-2) ... 325s Selecting previously unselected package python3-all. 325s Preparing to unpack .../10-python3-all_3.12.7-1_armhf.deb ... 325s Unpacking python3-all (3.12.7-1) ... 325s Selecting previously unselected package python3-annotated-types. 325s Preparing to unpack .../11-python3-annotated-types_0.7.0-1_all.deb ... 325s Unpacking python3-annotated-types (0.7.0-1) ... 325s Selecting previously unselected package python3-sniffio. 325s Preparing to unpack .../12-python3-sniffio_1.3.1-1_all.deb ... 325s Unpacking python3-sniffio (1.3.1-1) ... 325s Selecting previously unselected package python3-anyio. 325s Preparing to unpack .../13-python3-anyio_4.6.2-4_all.deb ... 325s Unpacking python3-anyio (4.6.2-4) ... 326s Selecting previously unselected package python3-async-generator. 326s Preparing to unpack .../14-python3-async-generator_1.10-4_all.deb ... 326s Unpacking python3-async-generator (1.10-4) ... 326s Selecting previously unselected package python3-colorama. 326s Preparing to unpack .../15-python3-colorama_0.4.6-4_all.deb ... 326s Unpacking python3-colorama (0.4.6-4) ... 326s Selecting previously unselected package python3-click. 326s Preparing to unpack .../16-python3-click_8.1.7-2_all.deb ... 326s Unpacking python3-click (8.1.7-2) ... 326s Selecting previously unselected package python3-click-default-group. 326s Preparing to unpack .../17-python3-click-default-group_1.2.4-1_all.deb ... 326s Unpacking python3-click-default-group (1.2.4-1) ... 326s Selecting previously unselected package python3-dateutil. 326s Preparing to unpack .../18-python3-dateutil_2.9.0-3_all.deb ... 326s Unpacking python3-dateutil (2.9.0-3) ... 326s Selecting previously unselected package python3-dnspython. 326s Preparing to unpack .../19-python3-dnspython_2.6.1-1ubuntu1_all.deb ... 326s Unpacking python3-dnspython (2.6.1-1ubuntu1) ... 326s Selecting previously unselected package python3-email-validator. 326s Preparing to unpack .../20-python3-email-validator_2.2.0-1_all.deb ... 326s Unpacking python3-email-validator (2.2.0-1) ... 326s Selecting previously unselected package python3-h11. 326s Preparing to unpack .../21-python3-h11_0.14.0-1_all.deb ... 326s Unpacking python3-h11 (0.14.0-1) ... 326s Selecting previously unselected package python3-httpcore. 326s Preparing to unpack .../22-python3-httpcore_1.0.4-1_all.deb ... 326s Unpacking python3-httpcore (1.0.4-1) ... 326s Selecting previously unselected package python3-httpx. 326s Preparing to unpack .../23-python3-httpx_0.27.2-1_all.deb ... 326s Unpacking python3-httpx (0.27.2-1) ... 326s Selecting previously unselected package python3-iniconfig. 326s Preparing to unpack .../24-python3-iniconfig_1.1.1-2_all.deb ... 326s Unpacking python3-iniconfig (1.1.1-2) ... 326s Selecting previously unselected package python3-pydantic-core. 326s Preparing to unpack .../25-python3-pydantic-core_2.23.4-2build1_armhf.deb ... 326s Unpacking python3-pydantic-core (2.23.4-2build1) ... 326s Selecting previously unselected package python3-pydantic. 326s Preparing to unpack .../26-python3-pydantic_2.9.2-2_armhf.deb ... 326s Unpacking python3-pydantic (2.9.2-2) ... 326s Selecting previously unselected package python3-tqdm. 326s Preparing to unpack .../27-python3-tqdm_4.67.0-1_all.deb ... 326s Unpacking python3-tqdm (4.67.0-1) ... 326s Selecting previously unselected package python3-openai. 326s Preparing to unpack .../28-python3-openai_1.51.0-2_all.deb ... 326s Unpacking python3-openai (1.51.0-2) ... 326s Selecting previously unselected package python3-wheel. 326s Preparing to unpack .../29-python3-wheel_0.45.1-1_all.deb ... 326s Unpacking python3-wheel (0.45.1-1) ... 326s Selecting previously unselected package python3-pip. 326s Preparing to unpack .../30-python3-pip_24.3.1+dfsg-1_all.deb ... 326s Unpacking python3-pip (24.3.1+dfsg-1) ... 326s Selecting previously unselected package python3-pluggy. 326s Preparing to unpack .../31-python3-pluggy_1.5.0-1_all.deb ... 326s Unpacking python3-pluggy (1.5.0-1) ... 326s Selecting previously unselected package python3-puremagic. 326s Preparing to unpack .../32-python3-puremagic_1.28-1_all.deb ... 326s Unpacking python3-puremagic (1.28-1) ... 327s Selecting previously unselected package python3-sqlite-fts4. 327s Preparing to unpack .../33-python3-sqlite-fts4_1.0.3-2_all.deb ... 327s Unpacking python3-sqlite-fts4 (1.0.3-2) ... 327s Selecting previously unselected package python3-tabulate. 327s Preparing to unpack .../34-python3-tabulate_0.9.0-1_all.deb ... 327s Unpacking python3-tabulate (0.9.0-1) ... 327s Selecting previously unselected package sqlite-utils. 327s Preparing to unpack .../35-sqlite-utils_3.38~a0-1_all.deb ... 327s Unpacking sqlite-utils (3.38~a0-1) ... 327s Selecting previously unselected package python3-sqlite-migrate. 327s Preparing to unpack .../36-python3-sqlite-migrate_0.1~beta0-2_all.deb ... 327s Unpacking python3-sqlite-migrate (0.1~beta0-2) ... 327s Selecting previously unselected package python3-ulid. 327s Preparing to unpack .../37-python3-ulid_2.2.0-4_all.deb ... 327s Unpacking python3-ulid (2.2.0-4) ... 327s Selecting previously unselected package python3-llm. 327s Preparing to unpack .../38-python3-llm_0.19~a1-1_all.deb ... 327s Unpacking python3-llm (0.19~a1-1) ... 327s Selecting previously unselected package python3-numpy. 327s Preparing to unpack .../39-python3-numpy_1%3a1.26.4+ds-11ubuntu1_armhf.deb ... 327s Unpacking python3-numpy (1:1.26.4+ds-11ubuntu1) ... 327s Selecting previously unselected package python3-packaging. 327s Preparing to unpack .../40-python3-packaging_24.2-1_all.deb ... 327s Unpacking python3-packaging (24.2-1) ... 327s Selecting previously unselected package python3-pytest. 327s Preparing to unpack .../41-python3-pytest_8.3.3-1_all.deb ... 327s Unpacking python3-pytest (8.3.3-1) ... 327s Selecting previously unselected package python3-pytest-asyncio. 327s Preparing to unpack .../42-python3-pytest-asyncio_0.20.3-1.3_all.deb ... 327s Unpacking python3-pytest-asyncio (0.20.3-1.3) ... 327s Selecting previously unselected package python3-pytest-httpx. 327s Preparing to unpack .../43-python3-pytest-httpx_0.34.0-1_all.deb ... 327s Unpacking python3-pytest-httpx (0.34.0-1) ... 327s Selecting previously unselected package autopkgtest-satdep. 327s Preparing to unpack .../44-1-autopkgtest-satdep.deb ... 327s Unpacking autopkgtest-satdep (0) ... 327s Setting up python3-iniconfig (1.1.1-2) ... 328s Setting up python3-sniffio (1.3.1-1) ... 328s Setting up python3-pydantic-core (2.23.4-2build1) ... 328s Setting up python3-async-generator (1.10-4) ... 328s Setting up python3-anyio (4.6.2-4) ... 329s Setting up python3-colorama (0.4.6-4) ... 329s Setting up python3-tqdm (4.67.0-1) ... 329s Setting up python3-tabulate (0.9.0-1) ... 329s Setting up python3-sqlite-fts4 (1.0.3-2) ... 329s Setting up python3-click (8.1.7-2) ... 330s Setting up python3-wheel (0.45.1-1) ... 330s Setting up python3-annotated-types (0.7.0-1) ... 330s Setting up python3-puremagic (1.28-1) ... 330s Setting up libpython3.13-minimal:armhf (3.13.0-2) ... 330s Setting up libblas3:armhf (3.12.0-4) ... 330s update-alternatives: using /usr/lib/arm-linux-gnueabihf/blas/libblas.so.3 to provide /usr/lib/arm-linux-gnueabihf/libblas.so.3 (libblas.so.3-arm-linux-gnueabihf) in auto mode 330s Setting up python3-packaging (24.2-1) ... 331s Setting up python3-click-default-group (1.2.4-1) ... 331s Setting up python3-h11 (0.14.0-1) ... 331s Setting up python3-pip (24.3.1+dfsg-1) ... 333s Setting up libgfortran5:armhf (14.2.0-8ubuntu1) ... 333s Setting up python3-pluggy (1.5.0-1) ... 334s Setting up python3-dnspython (2.6.1-1ubuntu1) ... 334s Setting up python3-ulid (2.2.0-4) ... 334s Setting up python3.13-minimal (3.13.0-2) ... 335s Setting up python3-dateutil (2.9.0-3) ... 336s Setting up python3-email-validator (2.2.0-1) ... 336s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 336s Setting up libpython3.13-stdlib:armhf (3.13.0-2) ... 336s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 336s Setting up python3-httpcore (1.0.4-1) ... 336s Setting up liblapack3:armhf (3.12.0-4) ... 336s update-alternatives: using /usr/lib/arm-linux-gnueabihf/lapack/liblapack.so.3 to provide /usr/lib/arm-linux-gnueabihf/liblapack.so.3 (liblapack.so.3-arm-linux-gnueabihf) in auto mode 336s Setting up python3.13 (3.13.0-2) ... 338s Setting up python3-pytest (8.3.3-1) ... 338s Setting up python3-all (3.12.7-1) ... 338s Setting up python3-httpx (0.27.2-1) ... 339s Setting up python3-pydantic (2.9.2-2) ... 339s Setting up python3-numpy (1:1.26.4+ds-11ubuntu1) ... 344s Setting up libjs-sphinxdoc (7.4.7-4) ... 344s Setting up sqlite-utils (3.38~a0-1) ... 344s Setting up python3-pytest-asyncio (0.20.3-1.3) ... 344s Setting up python3-sqlite-migrate (0.1~beta0-2) ... 345s Setting up python3-openai (1.51.0-2) ... 345s Setting up python3-pytest-httpx (0.34.0-1) ... 346s Setting up python3-llm (0.19~a1-1) ... 346s Setting up autopkgtest-satdep (0) ... 346s Processing triggers for systemd (256.5-2ubuntu4) ... 346s Processing triggers for man-db (2.13.0-1) ... 346s Processing triggers for libc-bin (2.40-1ubuntu3) ... 363s (Reading database ... 63984 files and directories currently installed.) 363s Removing autopkgtest-satdep (0) ... 369s autopkgtest [18:29:07]: test run-tests: [----------------------- 373s ============================= test session starts ============================== 373s platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.13 373s cachedir: .pytest_cache 373s rootdir: /tmp/autopkgtest.rQwagW/autopkgtest_tmp 373s plugins: typeguard-4.4.1, anyio-4.6.2, asyncio-0.20.3, httpx-0.34.0 373s asyncio: mode=Mode.AUTO 373s collecting ... collected 206 items / 7 deselected / 199 selected 373s 373s tests/test_aliases.py::test_set_alias[gpt-3.5-turbo] PASSED [ 0%] 373s tests/test_aliases.py::test_set_alias[chatgpt] PASSED [ 1%] 373s tests/test_aliases.py::test_remove_alias PASSED [ 1%] 373s tests/test_aliases.py::test_cli_aliases_list[args0] PASSED [ 2%] 373s tests/test_aliases.py::test_cli_aliases_list[args1] PASSED [ 2%] 373s tests/test_aliases.py::test_cli_aliases_list_json[args0] PASSED [ 3%] 373s tests/test_aliases.py::test_cli_aliases_list_json[args1] PASSED [ 3%] 373s tests/test_aliases.py::test_cli_aliases_set PASSED [ 4%] 373s tests/test_aliases.py::test_cli_aliases_path PASSED [ 4%] 373s tests/test_aliases.py::test_cli_aliases_remove PASSED [ 5%] 373s tests/test_aliases.py::test_cli_aliases_remove_invalid PASSED [ 5%] 373s tests/test_aliases.py::test_cli_aliases_are_registered[args0] PASSED [ 6%] 373s tests/test_aliases.py::test_cli_aliases_are_registered[args1] PASSED [ 6%] 373s tests/test_async.py::test_async_model PASSED [ 7%] 373s tests/test_async.py::test_async_model_conversation PASSED [ 7%] 374s tests/test_attachments.py::test_prompt_attachment[image/png-\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00\xa6\x00\x00\x01\x1a\x02\x03\x00\x00\x00\xe6\x99\xc4^\x00\x00\x00\tPLTE\xff\xff\xff\x00\xff\x00\xfe\x01\x00\x12t\x01J\x00\x00\x00GIDATx\xda\xed\xd81\x11\x000\x08\xc0\xc0.]\xea\xaf&Q\x89\x04V\xe0>\xf3+\xc8\x91Z\xf4\xa2\x08EQ\x14EQ\x14EQ\x14EQ\xd4B\x91$I3\xbb\xbf\x08EQ\x14EQ\x14EQ\x14E\xd1\xa5\xd4\x17\x91\xc6\x95\x05\x15\x0f\x9f\xc5\t\x9f\xa4\x00\x00\x00\x00IEND\xaeB`\x82] PASSED [ 8%] 374s tests/test_attachments.py::test_prompt_attachment[audio/wav-RIFF$\x00\x00\x00WAVEfmt \x10\x00\x00\x00\x01\x00\x01\x00D\xac\x00\x00] PASSED [ 8%] 374s tests/test_chat.py::test_mock_model PASSED [ 9%] 375s tests/test_chat.py::test_chat_basic PASSED [ 9%] 375s tests/test_chat.py::test_chat_system PASSED [ 10%] 376s tests/test_chat.py::test_chat_options PASSED [ 10%] 376s tests/test_chat.py::test_chat_multi[Hi\n!multi\nthis is multiple lines\nuntil the !end\n!end\nquit\n-expected0] PASSED [ 11%] 376s tests/test_chat.py::test_chat_multi[!multi\nthis is multiple lines\nquit\nuntil the !end\n!end\nquit\n-expected1] PASSED [ 11%] 377s tests/test_chat.py::test_chat_multi[!multi abc\nCustom delimiter\n!end\n!end 123\n!end abc\nquit\n-expected2] PASSED [ 12%] 377s tests/test_cli_openai_models.py::test_openai_models PASSED [ 12%] 377s tests/test_cli_openai_models.py::test_openai_options_min_max PASSED [ 13%] 377s tests/test_cli_openai_models.py::test_only_gpt4_audio_preview_allows_mp3_or_wav[mp3-gpt-4o-mini] PASSED [ 13%] 377s tests/test_cli_openai_models.py::test_only_gpt4_audio_preview_allows_mp3_or_wav[mp3-gpt-4o-audio-preview] PASSED [ 14%] 378s tests/test_cli_openai_models.py::test_only_gpt4_audio_preview_allows_mp3_or_wav[wav-gpt-4o-mini] PASSED [ 14%] 378s tests/test_cli_openai_models.py::test_only_gpt4_audio_preview_allows_mp3_or_wav[wav-gpt-4o-audio-preview] PASSED [ 15%] 379s tests/test_cli_openai_models.py::test_gpt4o_mini_sync_and_async[None-False] PASSED [ 15%] 379s tests/test_cli_openai_models.py::test_gpt4o_mini_sync_and_async[None-True] PASSED [ 16%] 380s tests/test_cli_openai_models.py::test_gpt4o_mini_sync_and_async[-u-False] PASSED [ 16%] 380s tests/test_cli_openai_models.py::test_gpt4o_mini_sync_and_async[-u-True] PASSED [ 17%] 381s tests/test_cli_openai_models.py::test_gpt4o_mini_sync_and_async[--usage-False] PASSED [ 17%] 381s tests/test_cli_openai_models.py::test_gpt4o_mini_sync_and_async[--usage-True] PASSED [ 18%] 381s tests/test_embed.py::test_demo_plugin PASSED [ 18%] 381s tests/test_embed.py::test_embed_huge_list[None-100] PASSED [ 19%] 381s tests/test_embed.py::test_embed_huge_list[10-100] PASSED [ 19%] 381s tests/test_embed.py::test_embed_store PASSED [ 20%] 381s tests/test_embed.py::test_embed_metadata PASSED [ 20%] 381s tests/test_embed.py::test_collection PASSED [ 21%] 381s tests/test_embed.py::test_similar PASSED [ 21%] 381s tests/test_embed.py::test_similar_by_id PASSED [ 22%] 381s tests/test_embed.py::test_embed_multi[False-None-100] PASSED [ 22%] 381s tests/test_embed.py::test_embed_multi[False-5-200] PASSED [ 23%] 381s tests/test_embed.py::test_embed_multi[True-None-100] PASSED [ 23%] 381s tests/test_embed.py::test_embed_multi[True-5-200] PASSED [ 24%] 381s tests/test_embed.py::test_collection_delete PASSED [ 24%] 381s tests/test_embed.py::test_binary_only_and_text_only_embedding_models PASSED [ 25%] 381s tests/test_embed_cli.py::test_embed_output_format[argument-json-[5, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]\n] PASSED [ 25%] 381s tests/test_embed_cli.py::test_embed_output_format[argument-base64-AACgQAAAoEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==\n] PASSED [ 26%] 381s tests/test_embed_cli.py::test_embed_output_format[argument-hex-0000a0400000a0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\n] PASSED [ 26%] 381s tests/test_embed_cli.py::test_embed_output_format[argument-blob-\x00\x00\ufffd@\x00\x00\ufffd@\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\n] PASSED [ 27%] 381s tests/test_embed_cli.py::test_embed_output_format[file-json-[5, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]\n] PASSED [ 27%] 381s tests/test_embed_cli.py::test_embed_output_format[file-base64-AACgQAAAoEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==\n] PASSED [ 28%] 381s tests/test_embed_cli.py::test_embed_output_format[file-hex-0000a0400000a0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\n] PASSED [ 28%] 381s tests/test_embed_cli.py::test_embed_output_format[file-blob-\x00\x00\ufffd@\x00\x00\ufffd@\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\n] PASSED [ 29%] 381s tests/test_embed_cli.py::test_embed_output_format[stdin-json-[5, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]\n] PASSED [ 29%] 381s tests/test_embed_cli.py::test_embed_output_format[stdin-base64-AACgQAAAoEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==\n] PASSED [ 30%] 381s tests/test_embed_cli.py::test_embed_output_format[stdin-hex-0000a0400000a0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\n] PASSED [ 30%] 381s tests/test_embed_cli.py::test_embed_output_format[stdin-blob-\x00\x00\ufffd@\x00\x00\ufffd@\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\n] PASSED [ 31%] 381s tests/test_embed_cli.py::test_embed_errors[args0-Must provide both collection and id] PASSED [ 31%] 382s tests/test_embed_cli.py::test_embed_store[None-None] PASSED [ 32%] 382s tests/test_embed_cli.py::test_embed_store[{"foo": "bar"}-None] PASSED [ 32%] 382s tests/test_embed_cli.py::test_embed_store[{"foo": [1, 2, 3]}-None] PASSED [ 33%] 382s tests/test_embed_cli.py::test_embed_store[[1, 2, 3]-Metadata must be a JSON object] PASSED [ 33%] 382s tests/test_embed_cli.py::test_embed_store[{"foo": "incomplete}-Metadata must be valid JSON] PASSED [ 34%] 382s tests/test_embed_cli.py::test_embed_store_binary PASSED [ 34%] 382s tests/test_embed_cli.py::test_collection_delete_errors PASSED [ 35%] 383s tests/test_embed_cli.py::test_similar_errors[args0-Missing argument 'COLLECTION'] PASSED [ 35%] 383s tests/test_embed_cli.py::test_similar_errors[args1-Collection does not exist] PASSED [ 36%] 383s tests/test_embed_cli.py::test_similar_errors[args2-ID not found in collection] PASSED [ 36%] 383s tests/test_embed_cli.py::test_similar_by_id_cli PASSED [ 37%] 383s tests/test_embed_cli.py::test_similar_by_content_cli[argument] PASSED [ 37%] 384s tests/test_embed_cli.py::test_similar_by_content_cli[file] PASSED [ 38%] 384s tests/test_embed_cli.py::test_similar_by_content_cli[stdin] PASSED [ 38%] 384s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.csv-id,phrase\n1,hello world\n2,goodbye world-None-False] PASSED [ 39%] 384s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.csv-id,phrase\n1,hello world\n2,goodbye world-None-True] PASSED [ 39%] 384s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.csv-id,phrase\n1,hello world\n2,goodbye world-prefix-False] PASSED [ 40%] 384s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.csv-id,phrase\n1,hello world\n2,goodbye world-prefix-True] PASSED [ 40%] 385s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.tsv-id\tphrase\n1\thello world\n2\tgoodbye world-None-False] PASSED [ 41%] 385s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.tsv-id\tphrase\n1\thello world\n2\tgoodbye world-None-True] PASSED [ 41%] 385s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.tsv-id\tphrase\n1\thello world\n2\tgoodbye world-prefix-False] PASSED [ 42%] 385s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.tsv-id\tphrase\n1\thello world\n2\tgoodbye world-prefix-True] PASSED [ 42%] 385s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.jsonl-{"id": 1, "phrase": "hello world"}\n{"id": 2, "phrase": "goodbye world"}-None-False] PASSED [ 43%] 386s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.jsonl-{"id": 1, "phrase": "hello world"}\n{"id": 2, "phrase": "goodbye world"}-None-True] PASSED [ 43%] 386s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.jsonl-{"id": 1, "phrase": "hello world"}\n{"id": 2, "phrase": "goodbye world"}-prefix-False] PASSED [ 44%] 386s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.jsonl-{"id": 1, "phrase": "hello world"}\n{"id": 2, "phrase": "goodbye world"}-prefix-True] PASSED [ 44%] 386s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.json-[{"id": 1, "phrase": "hello world"}, {"id": 2, "phrase": "goodbye world"}]-None-False] PASSED [ 45%] 386s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.json-[{"id": 1, "phrase": "hello world"}, {"id": 2, "phrase": "goodbye world"}]-None-True] PASSED [ 45%] 387s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.json-[{"id": 1, "phrase": "hello world"}, {"id": 2, "phrase": "goodbye world"}]-prefix-False] PASSED [ 46%] 387s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.json-[{"id": 1, "phrase": "hello world"}, {"id": 2, "phrase": "goodbye world"}]-prefix-True] PASSED [ 46%] 387s tests/test_embed_cli.py::test_embed_multi_files_binary_store PASSED [ 47%] 387s tests/test_embed_cli.py::test_embed_multi_sql[None-True] PASSED [ 47%] 387s tests/test_embed_cli.py::test_embed_multi_sql[None-False] PASSED [ 48%] 388s tests/test_embed_cli.py::test_embed_multi_sql[prefix-True] PASSED [ 48%] 388s tests/test_embed_cli.py::test_embed_multi_sql[prefix-False] PASSED [ 49%] 388s tests/test_embed_cli.py::test_embed_multi_batch_size PASSED [ 49%] 388s tests/test_embed_cli.py::test_embed_multi_files[single] PASSED [ 50%] 389s tests/test_embed_cli.py::test_embed_multi_files[multi] PASSED [ 50%] 389s tests/test_embed_cli.py::test_embed_multi_files_errors[args0-Invalid directory: not-a-dir] PASSED [ 51%] 389s tests/test_embed_cli.py::test_embed_multi_files_encoding[extra_args0-None] PASSED [ 51%] 389s tests/test_embed_cli.py::test_embed_multi_files_encoding[extra_args1-Could not decode text in file] PASSED [ 52%] 389s tests/test_embed_cli.py::test_embed_multi_files_encoding[extra_args2-None] PASSED [ 52%] 389s tests/test_embed_cli.py::test_embed_multi_files_encoding[extra_args3-None] PASSED [ 53%] 390s tests/test_embed_cli.py::test_embed_multi_files_encoding[extra_args4-None] PASSED [ 53%] 390s tests/test_embed_cli.py::test_default_embedding_model PASSED [ 54%] 390s tests/test_embed_cli.py::test_default_embed_model_errors[embed-False] PASSED [ 54%] 390s tests/test_embed_cli.py::test_default_embed_model_errors[embed-True] PASSED [ 55%] 390s tests/test_embed_cli.py::test_default_embed_model_errors[embed-multi-False] PASSED [ 55%] 390s tests/test_embed_cli.py::test_default_embed_model_errors[embed-multi-True] PASSED [ 56%] 390s tests/test_embed_cli.py::test_duplicate_content_embedded_only_once PASSED [ 56%] 390s tests/test_encode_decode.py::test_roundtrip[array0] PASSED [ 57%] 390s tests/test_encode_decode.py::test_roundtrip[array1] PASSED [ 57%] 390s tests/test_keys.py::test_keys_in_user_path[env0] PASSED [ 58%] 390s tests/test_keys.py::test_keys_in_user_path[env1] PASSED [ 58%] 390s tests/test_keys.py::test_keys_set PASSED [ 59%] 390s tests/test_keys.py::test_keys_get PASSED [ 59%] 390s tests/test_keys.py::test_keys_list[args0] PASSED [ 60%] 390s tests/test_keys.py::test_keys_list[args1] PASSED [ 60%] 390s tests/test_llm.py::test_version PASSED [ 61%] 391s tests/test_llm.py::test_logs_text[False] PASSED [ 61%] 391s tests/test_llm.py::test_logs_text[True] PASSED [ 62%] 392s tests/test_llm.py::test_logs_json[None] PASSED [ 62%] 392s tests/test_llm.py::test_logs_json[0] PASSED [ 63%] 393s tests/test_llm.py::test_logs_json[2] PASSED [ 63%] 393s tests/test_llm.py::test_logs_response_only[args0] PASSED [ 64%] 394s tests/test_llm.py::test_logs_response_only[args1] PASSED [ 64%] 394s tests/test_llm.py::test_logs_response_only[args2] PASSED [ 65%] 395s tests/test_llm.py::test_logs_response_only[args3] PASSED [ 65%] 395s tests/test_llm.py::test_logs_path[env0] PASSED [ 66%] 395s tests/test_llm.py::test_logs_path[env1] PASSED [ 66%] 395s tests/test_llm.py::test_logs_filtered[davinci] PASSED [ 67%] 396s tests/test_llm.py::test_logs_filtered[curie] PASSED [ 67%] 396s tests/test_llm.py::test_logs_search[-extra_args0-expected0] PASSED [ 68%] 397s tests/test_llm.py::test_logs_search[llama-extra_args1-expected1] PASSED [ 68%] 397s tests/test_llm.py::test_logs_search[alpaca-extra_args2-expected2] PASSED [ 69%] 398s tests/test_llm.py::test_logs_search[llama-extra_args3-expected3] PASSED [ 69%] 398s tests/test_llm.py::test_logs_search[llama-extra_args4-expected4] PASSED [ 70%] 399s tests/test_llm.py::test_llm_prompt_creates_log_database PASSED [ 70%] 399s tests/test_llm.py::test_llm_default_prompt[True-logs_args0-False-True] PASSED [ 71%] 399s tests/test_llm.py::test_llm_default_prompt[True-logs_args0-False-False] PASSED [ 71%] 399s tests/test_llm.py::test_llm_default_prompt[True-logs_args0-False-split] PASSED [ 72%] 400s tests/test_llm.py::test_llm_default_prompt[False-logs_args1-True-True] PASSED [ 72%] 400s tests/test_llm.py::test_llm_default_prompt[False-logs_args1-True-False] PASSED [ 73%] 401s tests/test_llm.py::test_llm_default_prompt[False-logs_args1-True-split] PASSED [ 73%] 401s tests/test_llm.py::test_llm_default_prompt[False-logs_args2-False-True] PASSED [ 74%] 401s tests/test_llm.py::test_llm_default_prompt[False-logs_args2-False-False] PASSED [ 74%] 401s tests/test_llm.py::test_llm_default_prompt[False-logs_args2-False-split] PASSED [ 75%] 401s tests/test_llm.py::test_llm_default_prompt[False-logs_args3-True-True] PASSED [ 75%] 402s tests/test_llm.py::test_llm_default_prompt[False-logs_args3-True-False] PASSED [ 76%] 402s tests/test_llm.py::test_llm_default_prompt[False-logs_args3-True-split] PASSED [ 76%] 402s tests/test_llm.py::test_llm_default_prompt[True-logs_args4-False-True] PASSED [ 77%] 402s tests/test_llm.py::test_llm_default_prompt[True-logs_args4-False-False] PASSED [ 77%] 402s tests/test_llm.py::test_llm_default_prompt[True-logs_args4-False-split] PASSED [ 78%] 403s tests/test_llm.py::test_llm_default_prompt[True-logs_args5-True-True] PASSED [ 78%] 404s tests/test_llm.py::test_llm_default_prompt[True-logs_args5-True-False] PASSED [ 79%] 404s tests/test_llm.py::test_llm_default_prompt[True-logs_args5-True-split] PASSED [ 79%] 405s tests/test_llm.py::test_openai_chat_stream PASSED [ 80%] 405s tests/test_llm.py::test_openai_completion PASSED [ 80%] 405s tests/test_llm.py::test_openai_completion_system_prompt_error PASSED [ 81%] 406s tests/test_llm.py::test_openai_completion_logprobs_stream PASSED [ 81%] 406s tests/test_llm.py::test_openai_completion_logprobs_nostream PASSED [ 82%] 407s tests/test_llm.py::test_openai_localai_configuration PASSED [ 82%] 407s tests/test_llm.py::test_llm_models_options PASSED [ 83%] 407s tests/test_llm.py::test_llm_models_async PASSED [ 83%] 407s tests/test_llm.py::test_llm_user_dir PASSED [ 84%] 407s tests/test_llm.py::test_model_defaults PASSED [ 84%] 407s tests/test_migrate.py::test_migrate_blank PASSED [ 85%] 407s tests/test_migrate.py::test_migrate_from_original_schema[True] PASSED [ 85%] 407s tests/test_migrate.py::test_migrate_from_original_schema[False] PASSED [ 86%] 407s tests/test_migrate.py::test_migrations_with_legacy_alter_table PASSED [ 86%] 407s tests/test_migrate.py::test_migrations_for_embeddings PASSED [ 87%] 407s tests/test_migrate.py::test_backfill_content_hash PASSED [ 87%] 407s tests/test_plugins.py::test_register_commands PASSED [ 88%] 407s tests/test_templates.py::test_template_evaluate[S: $input-None-None-params0-S: input-None-None] PASSED [ 88%] 407s tests/test_templates.py::test_template_evaluate[S: $input-system-None-params1-S: input-system-None] PASSED [ 89%] 407s tests/test_templates.py::test_template_evaluate[No vars-None-None-params2-No vars-None-None] PASSED [ 89%] 407s tests/test_templates.py::test_template_evaluate[$one and $two-None-None-params3-None-None-Missing variables: one, two] PASSED [ 90%] 407s tests/test_templates.py::test_template_evaluate[$one and $two-None-None-params4-1 and 2-None-None] PASSED [ 90%] 407s tests/test_templates.py::test_template_evaluate[$one and $two-None-defaults5-params5-1 and 2-None-None] PASSED [ 91%] 407s tests/test_templates.py::test_template_evaluate[$one and $two-None-defaults6-params6-1 and 2-None-None] PASSED [ 91%] 407s tests/test_templates.py::test_templates_list_no_templates_found PASSED [ 92%] 407s tests/test_templates.py::test_templates_list[args0] PASSED [ 92%] 407s tests/test_templates.py::test_templates_list[args1] PASSED [ 93%] 407s tests/test_templates.py::test_templates_prompt_save[args0-expected_prompt0-None] PASSED [ 93%] 407s tests/test_templates.py::test_templates_prompt_save[args1-expected_prompt1-None] PASSED [ 94%] 407s tests/test_templates.py::test_templates_prompt_save[args2-expected_prompt2-None] PASSED [ 94%] 407s tests/test_templates.py::test_templates_prompt_save[args3-None---save cannot be used with --template] PASSED [ 95%] 407s tests/test_templates.py::test_templates_prompt_save[args4-None---save cannot be used with --continue] PASSED [ 95%] 407s tests/test_templates.py::test_templates_prompt_save[args5-None---save cannot be used with --cid] PASSED [ 96%] 407s tests/test_templates.py::test_templates_prompt_save[args6-None---save cannot be used with --cid] PASSED [ 96%] 407s tests/test_templates.py::test_templates_prompt_save[args7-expected_prompt7-None] PASSED [ 97%] 407s tests/test_utils.py::test_simplify_usage_dict[input_data0-expected_output0] PASSED [ 97%] 407s tests/test_utils.py::test_simplify_usage_dict[input_data1-expected_output1] PASSED [ 98%] 407s tests/test_utils.py::test_simplify_usage_dict[input_data2-expected_output2] PASSED [ 98%] 407s tests/test_utils.py::test_simplify_usage_dict[input_data3-expected_output3] PASSED [ 99%] 407s tests/test_utils.py::test_simplify_usage_dict[input_data4-expected_output4] PASSED [100%] 407s 407s =============================== warnings summary =============================== 407s ../../../usr/lib/python3/dist-packages/pydantic/_internal/_config.py:291 407s /usr/lib/python3/dist-packages/pydantic/_internal/_config.py:291: PydanticDeprecatedSince20: Support for class-based `config` is deprecated, use ConfigDict instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.9/migration/ 407s warnings.warn(DEPRECATION_MESSAGE, DeprecationWarning) 407s 407s tests/test_async.py::test_async_model 407s tests/test_async.py::test_async_model_conversation 407s tests/test_cli_openai_models.py::test_gpt4o_mini_sync_and_async[None-True] 407s tests/test_cli_openai_models.py::test_gpt4o_mini_sync_and_async[-u-True] 407s tests/test_cli_openai_models.py::test_gpt4o_mini_sync_and_async[--usage-True] 407s /usr/lib/python3/dist-packages/llm/models.py:407: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 407s self._start_utcnow = datetime.datetime.utcnow() 407s 407s tests/test_attachments.py: 2 warnings 407s tests/test_chat.py: 7 warnings 407s tests/test_cli_openai_models.py: 5 warnings 407s tests/test_llm.py: 25 warnings 407s /usr/lib/python3/dist-packages/llm/models.py:375: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 407s self._start_utcnow = datetime.datetime.utcnow() 407s 407s tests/test_attachments.py: 2 warnings 407s tests/test_chat.py: 6 warnings 407s tests/test_cli_openai_models.py: 8 warnings 407s tests/test_llm.py: 31 warnings 407s tests/test_migrate.py: 4 warnings 407s /usr/lib/python3/dist-packages/llm/migrations.py:16: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 407s {"name": name, "applied_at": str(datetime.datetime.utcnow())} 407s 407s tests/test_attachments.py::test_prompt_attachment[audio/wav-RIFF$\x00\x00\x00WAVEfmt \x10\x00\x00\x00\x01\x00\x01\x00D\xac\x00\x00] 407s /usr/lib/python3/dist-packages/sqlite_utils/utils.py:496: ResourceWarning: unclosed database in 407s yield itertools.chain([item], itertools.islice(iterator, size - 1)) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_attachments.py::test_prompt_attachment[audio/wav-RIFF$\x00\x00\x00WAVEfmt \x10\x00\x00\x00\x01\x00\x01\x00D\xac\x00\x00] 407s /usr/lib/python3/dist-packages/sqlite_utils/utils.py:496: ResourceWarning: unclosed database in 407s yield itertools.chain([item], itertools.islice(iterator, size - 1)) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_chat.py::test_chat_multi[Hi\n!multi\nthis is multiple lines\nuntil the !end\n!end\nquit\n-expected0] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:781: ResourceWarning: unclosed database in 407s if all(isinstance(fk, ForeignKey) for fk in foreign_keys): 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_chat.py::test_chat_multi[Hi\n!multi\nthis is multiple lines\nuntil the !end\n!end\nquit\n-expected0] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:781: ResourceWarning: unclosed database in 407s if all(isinstance(fk, ForeignKey) for fk in foreign_keys): 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_chat.py::test_chat_multi[Hi\n!multi\nthis is multiple lines\nuntil the !end\n!end\nquit\n-expected0] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:781: ResourceWarning: unclosed database in 407s if all(isinstance(fk, ForeignKey) for fk in foreign_keys): 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_chat.py::test_chat_multi[Hi\n!multi\nthis is multiple lines\nuntil the !end\n!end\nquit\n-expected0] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:781: ResourceWarning: unclosed database in 407s if all(isinstance(fk, ForeignKey) for fk in foreign_keys): 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_chat.py::test_chat_multi[Hi\n!multi\nthis is multiple lines\nuntil the !end\n!end\nquit\n-expected0] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:781: ResourceWarning: unclosed database in 407s if all(isinstance(fk, ForeignKey) for fk in foreign_keys): 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_chat.py::test_chat_multi[Hi\n!multi\nthis is multiple lines\nuntil the !end\n!end\nquit\n-expected0] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:781: ResourceWarning: unclosed database in 407s if all(isinstance(fk, ForeignKey) for fk in foreign_keys): 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_chat.py::test_chat_multi[Hi\n!multi\nthis is multiple lines\nuntil the !end\n!end\nquit\n-expected0] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:781: ResourceWarning: unclosed database in 407s if all(isinstance(fk, ForeignKey) for fk in foreign_keys): 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_chat.py::test_chat_multi[Hi\n!multi\nthis is multiple lines\nuntil the !end\n!end\nquit\n-expected0] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:781: ResourceWarning: unclosed database in 407s if all(isinstance(fk, ForeignKey) for fk in foreign_keys): 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_cli_openai_models.py::test_openai_models 407s /usr/lib/python3/dist-packages/llm/default_plugins/openai_models.py:185: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). 407s created_str = datetime.datetime.utcfromtimestamp( 407s 407s tests/test_cli_openai_models.py::test_openai_options_min_max 407s /usr/lib/python3.13/pathlib/_local.py:289: ResourceWarning: unclosed database in 407s @property 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_cli_openai_models.py::test_openai_options_min_max 407s /usr/lib/python3.13/pathlib/_local.py:289: ResourceWarning: unclosed database in 407s @property 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_cli_openai_models.py::test_openai_options_min_max 407s /usr/lib/python3.13/pathlib/_local.py:289: ResourceWarning: unclosed database in 407s @property 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_cli_openai_models.py::test_openai_options_min_max 407s /usr/lib/python3.13/pathlib/_local.py:289: ResourceWarning: unclosed database in 407s @property 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_cli_openai_models.py::test_gpt4o_mini_sync_and_async[None-False] 407s /usr/lib/python3.13/functools.py:36: ResourceWarning: unclosed database in 407s def update_wrapper(wrapper, 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_cli_openai_models.py::test_gpt4o_mini_sync_and_async[None-False] 407s /usr/lib/python3.13/functools.py:36: ResourceWarning: unclosed database in 407s def update_wrapper(wrapper, 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_cli_openai_models.py::test_gpt4o_mini_sync_and_async[None-True] 407s /usr/lib/python3/dist-packages/anyio/_backends/_asyncio.py:2330: ResourceWarning: unclosed database in 407s @classmethod 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_cli_openai_models.py::test_gpt4o_mini_sync_and_async[None-True] 407s /usr/lib/python3/dist-packages/anyio/_backends/_asyncio.py:2330: ResourceWarning: unclosed database in 407s @classmethod 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_cli_openai_models.py::test_gpt4o_mini_sync_and_async[-u-True] 407s /usr/lib/python3.13/typing.py:463: ResourceWarning: unclosed database in 407s def _eval_type(t, globalns, localns, type_params=_sentinel, *, recursive_guard=frozenset()): 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_cli_openai_models.py::test_gpt4o_mini_sync_and_async[-u-True] 407s /usr/lib/python3.13/typing.py:463: ResourceWarning: unclosed database in 407s def _eval_type(t, globalns, localns, type_params=_sentinel, *, recursive_guard=frozenset()): 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_cli_openai_models.py::test_gpt4o_mini_sync_and_async[-u-True] 407s /usr/lib/python3.13/typing.py:463: ResourceWarning: unclosed database in 407s def _eval_type(t, globalns, localns, type_params=_sentinel, *, recursive_guard=frozenset()): 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_cli_openai_models.py::test_gpt4o_mini_sync_and_async[-u-True] 407s /usr/lib/python3.13/typing.py:463: ResourceWarning: unclosed database in 407s def _eval_type(t, globalns, localns, type_params=_sentinel, *, recursive_guard=frozenset()): 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_cli_openai_models.py::test_gpt4o_mini_sync_and_async[--usage-True] 407s /usr/lib/python3/dist-packages/httpx/_decoders.py:212: ResourceWarning: unclosed database in 407s self._buffer = io.BytesIO() 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_cli_openai_models.py::test_gpt4o_mini_sync_and_async[--usage-True] 407s /usr/lib/python3/dist-packages/httpx/_decoders.py:212: ResourceWarning: unclosed database in 407s self._buffer = io.BytesIO() 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_cli_openai_models.py::test_gpt4o_mini_sync_and_async[--usage-True] 407s /usr/lib/python3/dist-packages/httpx/_decoders.py:212: ResourceWarning: unclosed database in 407s self._buffer = io.BytesIO() 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_cli_openai_models.py::test_gpt4o_mini_sync_and_async[--usage-True] 407s /usr/lib/python3/dist-packages/httpx/_decoders.py:212: ResourceWarning: unclosed database in 407s self._buffer = io.BytesIO() 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed.py::test_embed_multi[False-None-100] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:531: ResourceWarning: unclosed database in 407s return self.conn.execute(sql) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed.py::test_embed_multi[False-None-100] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:531: ResourceWarning: unclosed database in 407s return self.conn.execute(sql) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed.py::test_embed_multi[False-None-100] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:531: ResourceWarning: unclosed database in 407s return self.conn.execute(sql) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed.py::test_embed_multi[False-None-100] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:531: ResourceWarning: unclosed database in 407s return self.conn.execute(sql) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed.py::test_embed_multi[False-None-100] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:531: ResourceWarning: unclosed database in 407s return self.conn.execute(sql) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed.py::test_embed_multi[False-None-100] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:531: ResourceWarning: unclosed database in 407s return self.conn.execute(sql) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed.py::test_embed_multi[False-None-100] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:531: ResourceWarning: unclosed database in 407s return self.conn.execute(sql) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_output_format[file-base64-AACgQAAAoEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==\n] 407s /usr/lib/python3/dist-packages/click/parser.py:171: ResourceWarning: unclosed database in 407s self.prefixes: t.Set[str] = set() 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_output_format[file-base64-AACgQAAAoEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==\n] 407s /usr/lib/python3/dist-packages/click/parser.py:171: ResourceWarning: unclosed database in 407s self.prefixes: t.Set[str] = set() 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_output_format[file-base64-AACgQAAAoEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==\n] 407s /usr/lib/python3/dist-packages/click/parser.py:171: ResourceWarning: unclosed database in 407s self.prefixes: t.Set[str] = set() 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_output_format[file-base64-AACgQAAAoEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==\n] 407s /usr/lib/python3/dist-packages/click/parser.py:171: ResourceWarning: unclosed database in 407s self.prefixes: t.Set[str] = set() 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_store[{"foo": "bar"}-None] 407s /usr/lib/python3.13/asyncio/base_events.py:759: ResourceWarning: unclosed event loop <_UnixSelectorEventLoop running=False closed=False debug=False> 407s _warn(f"unclosed event loop {self!r}", ResourceWarning, source=self) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_store[{"foo": "bar"}-None] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:1854: ResourceWarning: unclosed database in 407s rename.get(column) or column, 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_store[{"foo": "bar"}-None] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:1854: ResourceWarning: unclosed database in 407s rename.get(column) or column, 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_store[{"foo": "bar"}-None] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:1854: ResourceWarning: unclosed database in 407s rename.get(column) or column, 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_store[{"foo": "bar"}-None] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:1854: ResourceWarning: unclosed database in 407s rename.get(column) or column, 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_store[{"foo": "bar"}-None] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:1854: ResourceWarning: unclosed database in 407s rename.get(column) or column, 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_store[{"foo": "bar"}-None] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:1854: ResourceWarning: unclosed database in 407s rename.get(column) or column, 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_store[{"foo": "bar"}-None] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:1854: ResourceWarning: unclosed database in 407s rename.get(column) or column, 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_store[{"foo": "bar"}-None] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:1854: ResourceWarning: unclosed database in 407s rename.get(column) or column, 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_store[{"foo": "bar"}-None] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:1854: ResourceWarning: unclosed database in 407s rename.get(column) or column, 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_store[{"foo": "bar"}-None] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:1854: ResourceWarning: unclosed database in 407s rename.get(column) or column, 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_collection_delete_errors 407s /usr/lib/python3.13/pathlib/_local.py:277: ResourceWarning: unclosed database in 407s @property 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_collection_delete_errors 407s /usr/lib/python3.13/pathlib/_local.py:277: ResourceWarning: unclosed database in 407s @property 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_collection_delete_errors 407s /usr/lib/python3.13/pathlib/_local.py:277: ResourceWarning: unclosed database in 407s @property 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_collection_delete_errors 407s /usr/lib/python3.13/pathlib/_local.py:277: ResourceWarning: unclosed database in 407s @property 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_collection_delete_errors 407s /usr/lib/python3.13/pathlib/_local.py:277: ResourceWarning: unclosed database in 407s @property 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_collection_delete_errors 407s /usr/lib/python3.13/pathlib/_local.py:277: ResourceWarning: unclosed database in 407s @property 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_collection_delete_errors 407s /usr/lib/python3.13/pathlib/_local.py:277: ResourceWarning: unclosed database in 407s @property 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_collection_delete_errors 407s /usr/lib/python3.13/pathlib/_local.py:277: ResourceWarning: unclosed database in 407s @property 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_collection_delete_errors 407s /usr/lib/python3.13/pathlib/_local.py:277: ResourceWarning: unclosed database in 407s @property 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_collection_delete_errors 407s /usr/lib/python3.13/pathlib/_local.py:277: ResourceWarning: unclosed database in 407s @property 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_collection_delete_errors 407s /usr/lib/python3.13/pathlib/_local.py:277: ResourceWarning: unclosed database in 407s @property 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_collection_delete_errors 407s /usr/lib/python3.13/pathlib/_local.py:277: ResourceWarning: unclosed database in 407s @property 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.csv-id,phrase\n1,hello world\n2,goodbye world-None-False] 407s /usr/lib/python3/dist-packages/sqlite_utils/utils.py:217: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/pytest-of-ubuntu/pytest-0/test_embed_multi_file_input_ph0/phrases.csv' encoding='utf-8-sig'> 407s for row in reader: 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.csv-id,phrase\n1,hello world\n2,goodbye world-None-False] 407s /usr/lib/python3.13/typing.py:426: ResourceWarning: unclosed database in 407s @functools.wraps(func) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.csv-id,phrase\n1,hello world\n2,goodbye world-None-False] 407s /usr/lib/python3.13/typing.py:426: ResourceWarning: unclosed database in 407s @functools.wraps(func) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.csv-id,phrase\n1,hello world\n2,goodbye world-None-False] 407s /usr/lib/python3.13/typing.py:426: ResourceWarning: unclosed database in 407s @functools.wraps(func) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.csv-id,phrase\n1,hello world\n2,goodbye world-None-False] 407s /usr/lib/python3.13/typing.py:426: ResourceWarning: unclosed database in 407s @functools.wraps(func) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.csv-id,phrase\n1,hello world\n2,goodbye world-None-False] 407s /usr/lib/python3.13/typing.py:426: ResourceWarning: unclosed database in 407s @functools.wraps(func) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.csv-id,phrase\n1,hello world\n2,goodbye world-None-False] 407s /usr/lib/python3.13/typing.py:426: ResourceWarning: unclosed database in 407s @functools.wraps(func) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.csv-id,phrase\n1,hello world\n2,goodbye world-None-False] 407s /usr/lib/python3.13/typing.py:426: ResourceWarning: unclosed database in 407s @functools.wraps(func) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.csv-id,phrase\n1,hello world\n2,goodbye world-prefix-False] 407s /usr/lib/python3/dist-packages/sqlite_utils/utils.py:217: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/pytest-of-ubuntu/pytest-0/test_embed_multi_file_input_ph2/phrases.csv' encoding='utf-8-sig'> 407s for row in reader: 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.tsv-id\tphrase\n1\thello world\n2\tgoodbye world-None-False] 407s /usr/lib/python3/dist-packages/sqlite_utils/utils.py:217: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/pytest-of-ubuntu/pytest-0/test_embed_multi_file_input_ph4/phrases.tsv' encoding='utf-8-sig'> 407s for row in reader: 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.tsv-id\tphrase\n1\thello world\n2\tgoodbye world-None-True] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:2951: ResourceWarning: unclosed database in 407s record.get( 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.tsv-id\tphrase\n1\thello world\n2\tgoodbye world-None-True] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:2951: ResourceWarning: unclosed database in 407s record.get( 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.tsv-id\tphrase\n1\thello world\n2\tgoodbye world-None-True] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:2951: ResourceWarning: unclosed database in 407s record.get( 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.tsv-id\tphrase\n1\thello world\n2\tgoodbye world-None-True] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:2951: ResourceWarning: unclosed database in 407s record.get( 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.tsv-id\tphrase\n1\thello world\n2\tgoodbye world-None-True] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:2951: ResourceWarning: unclosed database in 407s record.get( 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.tsv-id\tphrase\n1\thello world\n2\tgoodbye world-None-True] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:2951: ResourceWarning: unclosed database in 407s record.get( 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.tsv-id\tphrase\n1\thello world\n2\tgoodbye world-None-True] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:2951: ResourceWarning: unclosed database in 407s record.get( 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.tsv-id\tphrase\n1\thello world\n2\tgoodbye world-None-True] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:2951: ResourceWarning: unclosed database in 407s record.get( 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.tsv-id\tphrase\n1\thello world\n2\tgoodbye world-None-True] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:2951: ResourceWarning: unclosed database in 407s record.get( 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.tsv-id\tphrase\n1\thello world\n2\tgoodbye world-prefix-False] 407s /usr/lib/python3/dist-packages/sqlite_utils/utils.py:217: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/pytest-of-ubuntu/pytest-0/test_embed_multi_file_input_ph6/phrases.tsv' encoding='utf-8-sig'> 407s for row in reader: 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.jsonl-{"id": 1, "phrase": "hello world"}\n{"id": 2, "phrase": "goodbye world"}-None-False] 407s /usr/lib/python3/dist-packages/click/_termui_impl.py:342: ResourceWarning: unclosed file <_io.BufferedReader name='/tmp/pytest-of-ubuntu/pytest-0/test_embed_multi_file_input_ph8/phrases.jsonl'> 407s yield from self.iter 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.jsonl-{"id": 1, "phrase": "hello world"}\n{"id": 2, "phrase": "goodbye world"}-prefix-False] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:2951: ResourceWarning: unclosed database in 407s record.get( 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.jsonl-{"id": 1, "phrase": "hello world"}\n{"id": 2, "phrase": "goodbye world"}-prefix-False] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:2951: ResourceWarning: unclosed database in 407s record.get( 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.jsonl-{"id": 1, "phrase": "hello world"}\n{"id": 2, "phrase": "goodbye world"}-prefix-False] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:2951: ResourceWarning: unclosed database in 407s record.get( 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.jsonl-{"id": 1, "phrase": "hello world"}\n{"id": 2, "phrase": "goodbye world"}-prefix-False] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:2951: ResourceWarning: unclosed database in 407s record.get( 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.jsonl-{"id": 1, "phrase": "hello world"}\n{"id": 2, "phrase": "goodbye world"}-prefix-False] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:2951: ResourceWarning: unclosed database in 407s record.get( 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.jsonl-{"id": 1, "phrase": "hello world"}\n{"id": 2, "phrase": "goodbye world"}-prefix-False] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:2951: ResourceWarning: unclosed database in 407s record.get( 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.jsonl-{"id": 1, "phrase": "hello world"}\n{"id": 2, "phrase": "goodbye world"}-prefix-False] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:2951: ResourceWarning: unclosed database in 407s record.get( 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.jsonl-{"id": 1, "phrase": "hello world"}\n{"id": 2, "phrase": "goodbye world"}-prefix-False] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:2951: ResourceWarning: unclosed database in 407s record.get( 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.jsonl-{"id": 1, "phrase": "hello world"}\n{"id": 2, "phrase": "goodbye world"}-prefix-False] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:2951: ResourceWarning: unclosed database in 407s record.get( 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.jsonl-{"id": 1, "phrase": "hello world"}\n{"id": 2, "phrase": "goodbye world"}-prefix-False] 407s /usr/lib/python3/dist-packages/click/_termui_impl.py:342: ResourceWarning: unclosed file <_io.BufferedReader name='/tmp/pytest-of-ubuntu/pytest-0/test_embed_multi_file_input_ph10/phrases.jsonl'> 407s yield from self.iter 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.json-[{"id": 1, "phrase": "hello world"}, {"id": 2, "phrase": "goodbye world"}]-None-False] 407s /usr/lib/python3/dist-packages/llm/cli.py:1582: ResourceWarning: unclosed file <_io.BufferedReader name='/tmp/pytest-of-ubuntu/pytest-0/test_embed_multi_file_input_ph12/phrases.json'> 407s return rows_from_file(fp, Format[format.upper()] if format else None)[0] 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.json-[{"id": 1, "phrase": "hello world"}, {"id": 2, "phrase": "goodbye world"}]-prefix-False] 407s /usr/lib/python3/dist-packages/llm/cli.py:1582: ResourceWarning: unclosed file <_io.BufferedReader name='/tmp/pytest-of-ubuntu/pytest-0/test_embed_multi_file_input_ph14/phrases.json'> 407s return rows_from_file(fp, Format[format.upper()] if format else None)[0] 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.json-[{"id": 1, "phrase": "hello world"}, {"id": 2, "phrase": "goodbye world"}]-prefix-True] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:1897: ResourceWarning: unclosed database in 407s rename.get(c.name) or c.name 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.json-[{"id": 1, "phrase": "hello world"}, {"id": 2, "phrase": "goodbye world"}]-prefix-True] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:1897: ResourceWarning: unclosed database in 407s rename.get(c.name) or c.name 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.json-[{"id": 1, "phrase": "hello world"}, {"id": 2, "phrase": "goodbye world"}]-prefix-True] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:1897: ResourceWarning: unclosed database in 407s rename.get(c.name) or c.name 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.json-[{"id": 1, "phrase": "hello world"}, {"id": 2, "phrase": "goodbye world"}]-prefix-True] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:1897: ResourceWarning: unclosed database in 407s rename.get(c.name) or c.name 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.json-[{"id": 1, "phrase": "hello world"}, {"id": 2, "phrase": "goodbye world"}]-prefix-True] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:1897: ResourceWarning: unclosed database in 407s rename.get(c.name) or c.name 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.json-[{"id": 1, "phrase": "hello world"}, {"id": 2, "phrase": "goodbye world"}]-prefix-True] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:1897: ResourceWarning: unclosed database in 407s rename.get(c.name) or c.name 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.json-[{"id": 1, "phrase": "hello world"}, {"id": 2, "phrase": "goodbye world"}]-prefix-True] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:1897: ResourceWarning: unclosed database in 407s rename.get(c.name) or c.name 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.json-[{"id": 1, "phrase": "hello world"}, {"id": 2, "phrase": "goodbye world"}]-prefix-True] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:1897: ResourceWarning: unclosed database in 407s rename.get(c.name) or c.name 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.json-[{"id": 1, "phrase": "hello world"}, {"id": 2, "phrase": "goodbye world"}]-prefix-True] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:1897: ResourceWarning: unclosed database in 407s rename.get(c.name) or c.name 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_sql[prefix-False] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:531: ResourceWarning: unclosed database in 407s return self.conn.execute(sql) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_sql[prefix-False] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:531: ResourceWarning: unclosed database in 407s return self.conn.execute(sql) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_sql[prefix-False] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:531: ResourceWarning: unclosed database in 407s return self.conn.execute(sql) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_sql[prefix-False] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:531: ResourceWarning: unclosed database in 407s return self.conn.execute(sql) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_sql[prefix-False] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:531: ResourceWarning: unclosed database in 407s return self.conn.execute(sql) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_sql[prefix-False] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:531: ResourceWarning: unclosed database in 407s return self.conn.execute(sql) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_sql[prefix-False] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:531: ResourceWarning: unclosed database in 407s return self.conn.execute(sql) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_sql[prefix-False] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:531: ResourceWarning: unclosed database in 407s return self.conn.execute(sql) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_sql[prefix-False] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:531: ResourceWarning: unclosed database in 407s return self.conn.execute(sql) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_sql[prefix-False] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:531: ResourceWarning: unclosed database in 407s return self.conn.execute(sql) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_sql[prefix-False] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:531: ResourceWarning: unclosed database in 407s return self.conn.execute(sql) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_sql[prefix-False] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:531: ResourceWarning: unclosed database in 407s return self.conn.execute(sql) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_sql[prefix-False] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:531: ResourceWarning: unclosed database in 407s return self.conn.execute(sql) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_sql[prefix-False] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:531: ResourceWarning: unclosed database in 407s return self.conn.execute(sql) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_files_encoding[extra_args0-None] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:414: ResourceWarning: unclosed database in 407s def __getitem__(self, table_name: str) -> Union["Table", "View"]: 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_files_encoding[extra_args0-None] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:414: ResourceWarning: unclosed database in 407s def __getitem__(self, table_name: str) -> Union["Table", "View"]: 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_files_encoding[extra_args0-None] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:414: ResourceWarning: unclosed database in 407s def __getitem__(self, table_name: str) -> Union["Table", "View"]: 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_files_encoding[extra_args0-None] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:414: ResourceWarning: unclosed database in 407s def __getitem__(self, table_name: str) -> Union["Table", "View"]: 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_files_encoding[extra_args0-None] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:414: ResourceWarning: unclosed database in 407s def __getitem__(self, table_name: str) -> Union["Table", "View"]: 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_files_encoding[extra_args0-None] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:414: ResourceWarning: unclosed database in 407s def __getitem__(self, table_name: str) -> Union["Table", "View"]: 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_files_encoding[extra_args0-None] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:414: ResourceWarning: unclosed database in 407s def __getitem__(self, table_name: str) -> Union["Table", "View"]: 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_embed_multi_files_encoding[extra_args0-None] 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:414: ResourceWarning: unclosed database in 407s def __getitem__(self, table_name: str) -> Union["Table", "View"]: 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_default_embed_model_errors[embed-False] 407s /usr/lib/python3/dist-packages/click/parser.py:109: ResourceWarning: unclosed database in 407s def split_opt(opt: str) -> t.Tuple[str, str]: 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_default_embed_model_errors[embed-False] 407s /usr/lib/python3/dist-packages/click/parser.py:109: ResourceWarning: unclosed database in 407s def split_opt(opt: str) -> t.Tuple[str, str]: 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_default_embed_model_errors[embed-False] 407s /usr/lib/python3/dist-packages/click/parser.py:109: ResourceWarning: unclosed database in 407s def split_opt(opt: str) -> t.Tuple[str, str]: 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_default_embed_model_errors[embed-False] 407s /usr/lib/python3/dist-packages/click/parser.py:109: ResourceWarning: unclosed database in 407s def split_opt(opt: str) -> t.Tuple[str, str]: 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_default_embed_model_errors[embed-False] 407s /usr/lib/python3/dist-packages/click/parser.py:109: ResourceWarning: unclosed database in 407s def split_opt(opt: str) -> t.Tuple[str, str]: 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_default_embed_model_errors[embed-False] 407s /usr/lib/python3/dist-packages/click/parser.py:109: ResourceWarning: unclosed database in 407s def split_opt(opt: str) -> t.Tuple[str, str]: 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_default_embed_model_errors[embed-False] 407s /usr/lib/python3/dist-packages/click/parser.py:109: ResourceWarning: unclosed database in 407s def split_opt(opt: str) -> t.Tuple[str, str]: 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_embed_cli.py::test_default_embed_model_errors[embed-False] 407s /usr/lib/python3/dist-packages/click/parser.py:109: ResourceWarning: unclosed database in 407s def split_opt(opt: str) -> t.Tuple[str, str]: 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_keys.py::test_keys_in_user_path[env1] 407s /usr/lib/python3/dist-packages/click/core.py:127: ResourceWarning: unclosed database in 407s idx = float("inf") 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_keys.py::test_keys_in_user_path[env1] 407s /usr/lib/python3/dist-packages/click/core.py:127: ResourceWarning: unclosed database in 407s idx = float("inf") 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_keys.py::test_keys_in_user_path[env1] 407s /usr/lib/python3/dist-packages/click/core.py:127: ResourceWarning: unclosed database in 407s idx = float("inf") 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_keys.py::test_keys_in_user_path[env1] 407s /usr/lib/python3/dist-packages/click/core.py:127: ResourceWarning: unclosed database in 407s idx = float("inf") 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_keys.py::test_keys_in_user_path[env1] 407s /usr/lib/python3/dist-packages/click/core.py:127: ResourceWarning: unclosed database in 407s idx = float("inf") 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_keys.py::test_keys_in_user_path[env1] 407s /usr/lib/python3/dist-packages/click/core.py:127: ResourceWarning: unclosed database in 407s idx = float("inf") 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_keys.py::test_keys_in_user_path[env1] 407s /usr/lib/python3/dist-packages/click/core.py:127: ResourceWarning: unclosed database in 407s idx = float("inf") 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_keys.py::test_keys_in_user_path[env1] 407s /usr/lib/python3/dist-packages/click/core.py:127: ResourceWarning: unclosed database in 407s idx = float("inf") 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_keys.py::test_keys_in_user_path[env1] 407s /usr/lib/python3/dist-packages/click/core.py:127: ResourceWarning: unclosed database in 407s idx = float("inf") 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_keys.py::test_keys_in_user_path[env1] 407s /usr/lib/python3/dist-packages/click/core.py:127: ResourceWarning: unclosed database in 407s idx = float("inf") 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_keys.py::test_keys_in_user_path[env1] 407s /usr/lib/python3/dist-packages/click/core.py:127: ResourceWarning: unclosed database in 407s idx = float("inf") 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_logs_text[False] 407s tests/test_llm.py::test_logs_text[True] 407s tests/test_llm.py::test_logs_json[None] 407s tests/test_llm.py::test_logs_json[0] 407s tests/test_llm.py::test_logs_json[2] 407s tests/test_llm.py::test_logs_response_only[args0] 407s tests/test_llm.py::test_logs_response_only[args1] 407s tests/test_llm.py::test_logs_response_only[args2] 407s tests/test_llm.py::test_logs_response_only[args3] 407s /tmp/autopkgtest.rQwagW/autopkgtest_tmp/tests/test_llm.py:30: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 407s start = datetime.datetime.utcnow() 407s 407s tests/test_llm.py::test_logs_search[llama-extra_args3-expected3] 407s /usr/lib/python3/dist-packages/llm/default_plugins/openai_models.py:307: ResourceWarning: unclosed database in 407s def __init__( 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_logs_search[llama-extra_args3-expected3] 407s /usr/lib/python3/dist-packages/llm/default_plugins/openai_models.py:307: ResourceWarning: unclosed database in 407s def __init__( 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_logs_search[llama-extra_args3-expected3] 407s /usr/lib/python3/dist-packages/llm/default_plugins/openai_models.py:307: ResourceWarning: unclosed database in 407s def __init__( 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_logs_search[llama-extra_args3-expected3] 407s /usr/lib/python3/dist-packages/llm/default_plugins/openai_models.py:307: ResourceWarning: unclosed database in 407s def __init__( 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_logs_search[llama-extra_args3-expected3] 407s /usr/lib/python3/dist-packages/llm/default_plugins/openai_models.py:307: ResourceWarning: unclosed database in 407s def __init__( 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_logs_search[llama-extra_args3-expected3] 407s /usr/lib/python3/dist-packages/llm/default_plugins/openai_models.py:307: ResourceWarning: unclosed database in 407s def __init__( 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_logs_search[llama-extra_args3-expected3] 407s /usr/lib/python3/dist-packages/llm/default_plugins/openai_models.py:307: ResourceWarning: unclosed database in 407s def __init__( 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_llm_default_prompt[True-logs_args0-False-True] 407s /usr/lib/python3.13/functools.py:53: ResourceWarning: unclosed database in 407s value = getattr(wrapped, attr) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_llm_default_prompt[True-logs_args0-False-True] 407s /usr/lib/python3.13/functools.py:53: ResourceWarning: unclosed database in 407s value = getattr(wrapped, attr) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_llm_default_prompt[True-logs_args0-False-True] 407s /usr/lib/python3.13/functools.py:53: ResourceWarning: unclosed database in 407s value = getattr(wrapped, attr) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_llm_default_prompt[True-logs_args0-False-True] 407s /usr/lib/python3.13/functools.py:53: ResourceWarning: unclosed database in 407s value = getattr(wrapped, attr) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_llm_default_prompt[False-logs_args1-True-True] 407s /usr/lib/python3.13/functools.py:77: ResourceWarning: unclosed database in 407s return partial(update_wrapper, wrapped=wrapped, 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_llm_default_prompt[False-logs_args1-True-True] 407s /usr/lib/python3.13/functools.py:77: ResourceWarning: unclosed database in 407s return partial(update_wrapper, wrapped=wrapped, 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_llm_default_prompt[False-logs_args1-True-split] 407s /usr/lib/python3.13/functools.py:36: ResourceWarning: unclosed database in 407s def update_wrapper(wrapper, 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_llm_default_prompt[False-logs_args1-True-split] 407s /usr/lib/python3.13/functools.py:36: ResourceWarning: unclosed database in 407s def update_wrapper(wrapper, 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_llm_default_prompt[False-logs_args1-True-split] 407s /usr/lib/python3.13/functools.py:36: ResourceWarning: unclosed database in 407s def update_wrapper(wrapper, 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_llm_default_prompt[False-logs_args1-True-split] 407s /usr/lib/python3.13/functools.py:36: ResourceWarning: unclosed database in 407s def update_wrapper(wrapper, 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_llm_default_prompt[False-logs_args1-True-split] 407s /usr/lib/python3.13/functools.py:36: ResourceWarning: unclosed database in 407s def update_wrapper(wrapper, 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_llm_default_prompt[False-logs_args2-False-False] 407s /usr/lib/python3/dist-packages/httpx/_models.py:834: ResourceWarning: unclosed database in 407s yield chunk 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_llm_default_prompt[False-logs_args2-False-False] 407s /usr/lib/python3/dist-packages/httpx/_models.py:834: ResourceWarning: unclosed database in 407s yield chunk 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_llm_default_prompt[False-logs_args2-False-False] 407s /usr/lib/python3/dist-packages/httpx/_models.py:834: ResourceWarning: unclosed database in 407s yield chunk 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_llm_default_prompt[False-logs_args3-True-False] 407s /usr/lib/python3/dist-packages/click/parser.py:109: ResourceWarning: unclosed database in 407s def split_opt(opt: str) -> t.Tuple[str, str]: 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_llm_default_prompt[False-logs_args3-True-False] 407s /usr/lib/python3/dist-packages/click/parser.py:109: ResourceWarning: unclosed database in 407s def split_opt(opt: str) -> t.Tuple[str, str]: 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_llm_default_prompt[False-logs_args3-True-False] 407s /usr/lib/python3/dist-packages/click/parser.py:109: ResourceWarning: unclosed database in 407s def split_opt(opt: str) -> t.Tuple[str, str]: 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_llm_default_prompt[False-logs_args3-True-False] 407s /usr/lib/python3/dist-packages/click/parser.py:109: ResourceWarning: unclosed database in 407s def split_opt(opt: str) -> t.Tuple[str, str]: 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_llm_default_prompt[True-logs_args4-False-True] 407s /usr/lib/python3/dist-packages/llm/default_plugins/openai_models.py:334: ResourceWarning: unclosed database in 407s self.attachment_types = set() 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_llm_default_prompt[True-logs_args4-False-True] 407s /usr/lib/python3/dist-packages/llm/default_plugins/openai_models.py:334: ResourceWarning: unclosed database in 407s self.attachment_types = set() 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_llm_default_prompt[True-logs_args4-False-True] 407s /usr/lib/python3/dist-packages/llm/default_plugins/openai_models.py:334: ResourceWarning: unclosed database in 407s self.attachment_types = set() 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_llm_default_prompt[True-logs_args4-False-True] 407s /usr/lib/python3/dist-packages/llm/default_plugins/openai_models.py:334: ResourceWarning: unclosed database in 407s self.attachment_types = set() 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_llm_default_prompt[True-logs_args4-False-True] 407s /usr/lib/python3/dist-packages/llm/default_plugins/openai_models.py:334: ResourceWarning: unclosed database in 407s self.attachment_types = set() 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_llm_default_prompt[True-logs_args5-True-True] 407s /usr/lib/python3/dist-packages/click/core.py:2295: ResourceWarning: unclosed database in 407s def type_cast_value(self, ctx: Context, value: t.Any) -> t.Any: 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_llm_default_prompt[True-logs_args5-True-True] 407s /usr/lib/python3/dist-packages/click/core.py:2295: ResourceWarning: unclosed database in 407s def type_cast_value(self, ctx: Context, value: t.Any) -> t.Any: 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_llm_default_prompt[True-logs_args5-True-split] 407s /usr/lib/python3/dist-packages/click/parser.py:61: ResourceWarning: unclosed database in 407s args = deque(args) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_llm_default_prompt[True-logs_args5-True-split] 407s /usr/lib/python3/dist-packages/click/parser.py:61: ResourceWarning: unclosed database in 407s args = deque(args) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_llm_default_prompt[True-logs_args5-True-split] 407s /usr/lib/python3/dist-packages/click/parser.py:61: ResourceWarning: unclosed database in 407s args = deque(args) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_llm_default_prompt[True-logs_args5-True-split] 407s /usr/lib/python3/dist-packages/click/parser.py:61: ResourceWarning: unclosed database in 407s args = deque(args) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_llm_default_prompt[True-logs_args5-True-split] 407s /usr/lib/python3/dist-packages/click/parser.py:61: ResourceWarning: unclosed database in 407s args = deque(args) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_openai_completion 407s /usr/lib/python3.13/difflib.py:280: ResourceWarning: unclosed database in 407s for i, elt in enumerate(b): 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_openai_completion 407s /usr/lib/python3.13/difflib.py:280: ResourceWarning: unclosed database in 407s for i, elt in enumerate(b): 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_openai_completion 407s /usr/lib/python3.13/difflib.py:280: ResourceWarning: unclosed database in 407s for i, elt in enumerate(b): 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_openai_completion_logprobs_stream 407s /usr/lib/python3/dist-packages/openai/_streaming.py:226: ResourceWarning: unclosed database in 407s def __init__( 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_openai_localai_configuration 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:531: ResourceWarning: unclosed database in 407s return self.conn.execute(sql) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_openai_localai_configuration 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:531: ResourceWarning: unclosed database in 407s return self.conn.execute(sql) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_openai_localai_configuration 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:531: ResourceWarning: unclosed database in 407s return self.conn.execute(sql) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_openai_localai_configuration 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:531: ResourceWarning: unclosed database in 407s return self.conn.execute(sql) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_openai_localai_configuration 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:531: ResourceWarning: unclosed database in 407s return self.conn.execute(sql) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_openai_localai_configuration 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:531: ResourceWarning: unclosed database in 407s return self.conn.execute(sql) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_openai_localai_configuration 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:531: ResourceWarning: unclosed database in 407s return self.conn.execute(sql) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_openai_localai_configuration 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:531: ResourceWarning: unclosed database in 407s return self.conn.execute(sql) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_openai_localai_configuration 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:531: ResourceWarning: unclosed database in 407s return self.conn.execute(sql) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_openai_localai_configuration 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:531: ResourceWarning: unclosed database in 407s return self.conn.execute(sql) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_openai_localai_configuration 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:531: ResourceWarning: unclosed database in 407s return self.conn.execute(sql) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_openai_localai_configuration 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:531: ResourceWarning: unclosed database in 407s return self.conn.execute(sql) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_openai_localai_configuration 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:531: ResourceWarning: unclosed database in 407s return self.conn.execute(sql) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_openai_localai_configuration 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:531: ResourceWarning: unclosed database in 407s return self.conn.execute(sql) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_openai_localai_configuration 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:531: ResourceWarning: unclosed database in 407s return self.conn.execute(sql) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_openai_localai_configuration 407s /usr/lib/python3/dist-packages/sqlite_utils/db.py:531: ResourceWarning: unclosed database in 407s return self.conn.execute(sql) 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s tests/test_llm.py::test_llm_models_options 407s /usr/lib/python3/dist-packages/pydantic/main.py:1355: PydanticDeprecatedSince20: The `schema` method is deprecated; use `model_json_schema` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.9/migration/ 407s warnings.warn( 407s 407s tests/test_llm.py::test_llm_models_options 407s /usr/lib/python3/dist-packages/pydantic/_internal/_core_utils.py:419: ResourceWarning: unclosed database in 407s def simplify_schema_references(schema: core_schema.CoreSchema) -> core_schema.CoreSchema: # noqa: C901 407s Enable tracemalloc to get traceback where the object was allocated. 407s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 407s 407s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 407s =============== 199 passed, 7 deselected, 308 warnings in 34.83s =============== 407s :0: ResourceWarning: unclosed database in 407s ResourceWarning: Enable tracemalloc to get the object allocation traceback 407s :0: ResourceWarning: unclosed database in 407s ResourceWarning: Enable tracemalloc to get the object allocation traceback 407s :0: ResourceWarning: unclosed database in 407s ResourceWarning: Enable tracemalloc to get the object allocation traceback 409s ============================= test session starts ============================== 409s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.12 409s cachedir: .pytest_cache 409s rootdir: /tmp/autopkgtest.rQwagW/autopkgtest_tmp 409s plugins: typeguard-4.4.1, anyio-4.6.2, asyncio-0.20.3, httpx-0.34.0 409s asyncio: mode=Mode.AUTO 409s collecting ... collected 206 items / 7 deselected / 199 selected 409s 409s tests/test_aliases.py::test_set_alias[gpt-3.5-turbo] PASSED [ 0%] 409s tests/test_aliases.py::test_set_alias[chatgpt] PASSED [ 1%] 409s tests/test_aliases.py::test_remove_alias PASSED [ 1%] 409s tests/test_aliases.py::test_cli_aliases_list[args0] PASSED [ 2%] 409s tests/test_aliases.py::test_cli_aliases_list[args1] PASSED [ 2%] 409s tests/test_aliases.py::test_cli_aliases_list_json[args0] PASSED [ 3%] 409s tests/test_aliases.py::test_cli_aliases_list_json[args1] PASSED [ 3%] 409s tests/test_aliases.py::test_cli_aliases_set PASSED [ 4%] 409s tests/test_aliases.py::test_cli_aliases_path PASSED [ 4%] 409s tests/test_aliases.py::test_cli_aliases_remove PASSED [ 5%] 409s tests/test_aliases.py::test_cli_aliases_remove_invalid PASSED [ 5%] 409s tests/test_aliases.py::test_cli_aliases_are_registered[args0] PASSED [ 6%] 409s tests/test_aliases.py::test_cli_aliases_are_registered[args1] PASSED [ 6%] 409s tests/test_async.py::test_async_model PASSED [ 7%] 409s tests/test_async.py::test_async_model_conversation PASSED [ 7%] 410s tests/test_attachments.py::test_prompt_attachment[image/png-\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00\xa6\x00\x00\x01\x1a\x02\x03\x00\x00\x00\xe6\x99\xc4^\x00\x00\x00\tPLTE\xff\xff\xff\x00\xff\x00\xfe\x01\x00\x12t\x01J\x00\x00\x00GIDATx\xda\xed\xd81\x11\x000\x08\xc0\xc0.]\xea\xaf&Q\x89\x04V\xe0>\xf3+\xc8\x91Z\xf4\xa2\x08EQ\x14EQ\x14EQ\x14EQ\xd4B\x91$I3\xbb\xbf\x08EQ\x14EQ\x14EQ\x14E\xd1\xa5\xd4\x17\x91\xc6\x95\x05\x15\x0f\x9f\xc5\t\x9f\xa4\x00\x00\x00\x00IEND\xaeB`\x82] PASSED [ 8%] 410s tests/test_attachments.py::test_prompt_attachment[audio/wav-RIFF$\x00\x00\x00WAVEfmt \x10\x00\x00\x00\x01\x00\x01\x00D\xac\x00\x00] PASSED [ 8%] 410s tests/test_chat.py::test_mock_model PASSED [ 9%] 411s tests/test_chat.py::test_chat_basic PASSED [ 9%] 412s tests/test_chat.py::test_chat_system PASSED [ 10%] 412s tests/test_chat.py::test_chat_options PASSED [ 10%] 413s tests/test_chat.py::test_chat_multi[Hi\n!multi\nthis is multiple lines\nuntil the !end\n!end\nquit\n-expected0] PASSED [ 11%] 413s tests/test_chat.py::test_chat_multi[!multi\nthis is multiple lines\nquit\nuntil the !end\n!end\nquit\n-expected1] PASSED [ 11%] 414s tests/test_chat.py::test_chat_multi[!multi abc\nCustom delimiter\n!end\n!end 123\n!end abc\nquit\n-expected2] PASSED [ 12%] 414s tests/test_cli_openai_models.py::test_openai_models PASSED [ 12%] 414s tests/test_cli_openai_models.py::test_openai_options_min_max PASSED [ 13%] 414s tests/test_cli_openai_models.py::test_only_gpt4_audio_preview_allows_mp3_or_wav[mp3-gpt-4o-mini] PASSED [ 13%] 414s tests/test_cli_openai_models.py::test_only_gpt4_audio_preview_allows_mp3_or_wav[mp3-gpt-4o-audio-preview] PASSED [ 14%] 414s tests/test_cli_openai_models.py::test_only_gpt4_audio_preview_allows_mp3_or_wav[wav-gpt-4o-mini] PASSED [ 14%] 415s tests/test_cli_openai_models.py::test_only_gpt4_audio_preview_allows_mp3_or_wav[wav-gpt-4o-audio-preview] PASSED [ 15%] 416s tests/test_cli_openai_models.py::test_gpt4o_mini_sync_and_async[None-False] PASSED [ 15%] 416s tests/test_cli_openai_models.py::test_gpt4o_mini_sync_and_async[None-True] PASSED [ 16%] 417s tests/test_cli_openai_models.py::test_gpt4o_mini_sync_and_async[-u-False] PASSED [ 16%] 417s tests/test_cli_openai_models.py::test_gpt4o_mini_sync_and_async[-u-True] PASSED [ 17%] 418s tests/test_cli_openai_models.py::test_gpt4o_mini_sync_and_async[--usage-False] PASSED [ 17%] 418s tests/test_cli_openai_models.py::test_gpt4o_mini_sync_and_async[--usage-True] PASSED [ 18%] 418s tests/test_embed.py::test_demo_plugin PASSED [ 18%] 418s tests/test_embed.py::test_embed_huge_list[None-100] PASSED [ 19%] 418s tests/test_embed.py::test_embed_huge_list[10-100] PASSED [ 19%] 418s tests/test_embed.py::test_embed_store PASSED [ 20%] 418s tests/test_embed.py::test_embed_metadata PASSED [ 20%] 418s tests/test_embed.py::test_collection PASSED [ 21%] 418s tests/test_embed.py::test_similar PASSED [ 21%] 418s tests/test_embed.py::test_similar_by_id PASSED [ 22%] 418s tests/test_embed.py::test_embed_multi[False-None-100] PASSED [ 22%] 418s tests/test_embed.py::test_embed_multi[False-5-200] PASSED [ 23%] 418s tests/test_embed.py::test_embed_multi[True-None-100] PASSED [ 23%] 419s tests/test_embed.py::test_embed_multi[True-5-200] PASSED [ 24%] 419s tests/test_embed.py::test_collection_delete PASSED [ 24%] 419s tests/test_embed.py::test_binary_only_and_text_only_embedding_models PASSED [ 25%] 419s tests/test_embed_cli.py::test_embed_output_format[argument-json-[5, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]\n] PASSED [ 25%] 419s tests/test_embed_cli.py::test_embed_output_format[argument-base64-AACgQAAAoEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==\n] PASSED [ 26%] 419s tests/test_embed_cli.py::test_embed_output_format[argument-hex-0000a0400000a0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\n] PASSED [ 26%] 419s tests/test_embed_cli.py::test_embed_output_format[argument-blob-\x00\x00\ufffd@\x00\x00\ufffd@\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\n] PASSED [ 27%] 419s tests/test_embed_cli.py::test_embed_output_format[file-json-[5, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]\n] PASSED [ 27%] 419s tests/test_embed_cli.py::test_embed_output_format[file-base64-AACgQAAAoEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==\n] PASSED [ 28%] 419s tests/test_embed_cli.py::test_embed_output_format[file-hex-0000a0400000a0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\n] PASSED [ 28%] 419s tests/test_embed_cli.py::test_embed_output_format[file-blob-\x00\x00\ufffd@\x00\x00\ufffd@\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\n] PASSED [ 29%] 419s tests/test_embed_cli.py::test_embed_output_format[stdin-json-[5, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]\n] PASSED [ 29%] 419s tests/test_embed_cli.py::test_embed_output_format[stdin-base64-AACgQAAAoEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==\n] PASSED [ 30%] 419s tests/test_embed_cli.py::test_embed_output_format[stdin-hex-0000a0400000a0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\n] PASSED [ 30%] 419s tests/test_embed_cli.py::test_embed_output_format[stdin-blob-\x00\x00\ufffd@\x00\x00\ufffd@\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\n] PASSED [ 31%] 419s tests/test_embed_cli.py::test_embed_errors[args0-Must provide both collection and id] PASSED [ 31%] 419s tests/test_embed_cli.py::test_embed_store[None-None] PASSED [ 32%] 419s tests/test_embed_cli.py::test_embed_store[{"foo": "bar"}-None] PASSED [ 32%] 419s tests/test_embed_cli.py::test_embed_store[{"foo": [1, 2, 3]}-None] PASSED [ 33%] 419s tests/test_embed_cli.py::test_embed_store[[1, 2, 3]-Metadata must be a JSON object] PASSED [ 33%] 419s tests/test_embed_cli.py::test_embed_store[{"foo": "incomplete}-Metadata must be valid JSON] PASSED [ 34%] 420s tests/test_embed_cli.py::test_embed_store_binary PASSED [ 34%] 420s tests/test_embed_cli.py::test_collection_delete_errors PASSED [ 35%] 420s tests/test_embed_cli.py::test_similar_errors[args0-Missing argument 'COLLECTION'] PASSED [ 35%] 420s tests/test_embed_cli.py::test_similar_errors[args1-Collection does not exist] PASSED [ 36%] 421s tests/test_embed_cli.py::test_similar_errors[args2-ID not found in collection] PASSED [ 36%] 421s tests/test_embed_cli.py::test_similar_by_id_cli PASSED [ 37%] 421s tests/test_embed_cli.py::test_similar_by_content_cli[argument] PASSED [ 37%] 422s tests/test_embed_cli.py::test_similar_by_content_cli[file] PASSED [ 38%] 422s tests/test_embed_cli.py::test_similar_by_content_cli[stdin] PASSED [ 38%] 422s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.csv-id,phrase\n1,hello world\n2,goodbye world-None-False] PASSED [ 39%] 422s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.csv-id,phrase\n1,hello world\n2,goodbye world-None-True] PASSED [ 39%] 423s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.csv-id,phrase\n1,hello world\n2,goodbye world-prefix-False] PASSED [ 40%] 423s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.csv-id,phrase\n1,hello world\n2,goodbye world-prefix-True] PASSED [ 40%] 423s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.tsv-id\tphrase\n1\thello world\n2\tgoodbye world-None-False] PASSED [ 41%] 423s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.tsv-id\tphrase\n1\thello world\n2\tgoodbye world-None-True] PASSED [ 41%] 424s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.tsv-id\tphrase\n1\thello world\n2\tgoodbye world-prefix-False] PASSED [ 42%] 424s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.tsv-id\tphrase\n1\thello world\n2\tgoodbye world-prefix-True] PASSED [ 42%] 424s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.jsonl-{"id": 1, "phrase": "hello world"}\n{"id": 2, "phrase": "goodbye world"}-None-False] PASSED [ 43%] 424s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.jsonl-{"id": 1, "phrase": "hello world"}\n{"id": 2, "phrase": "goodbye world"}-None-True] PASSED [ 43%] 425s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.jsonl-{"id": 1, "phrase": "hello world"}\n{"id": 2, "phrase": "goodbye world"}-prefix-False] PASSED [ 44%] 425s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.jsonl-{"id": 1, "phrase": "hello world"}\n{"id": 2, "phrase": "goodbye world"}-prefix-True] PASSED [ 44%] 425s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.json-[{"id": 1, "phrase": "hello world"}, {"id": 2, "phrase": "goodbye world"}]-None-False] PASSED [ 45%] 425s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.json-[{"id": 1, "phrase": "hello world"}, {"id": 2, "phrase": "goodbye world"}]-None-True] PASSED [ 45%] 425s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.json-[{"id": 1, "phrase": "hello world"}, {"id": 2, "phrase": "goodbye world"}]-prefix-False] PASSED [ 46%] 426s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.json-[{"id": 1, "phrase": "hello world"}, {"id": 2, "phrase": "goodbye world"}]-prefix-True] PASSED [ 46%] 426s tests/test_embed_cli.py::test_embed_multi_files_binary_store PASSED [ 47%] 426s tests/test_embed_cli.py::test_embed_multi_sql[None-True] PASSED [ 47%] 426s tests/test_embed_cli.py::test_embed_multi_sql[None-False] PASSED [ 48%] 427s tests/test_embed_cli.py::test_embed_multi_sql[prefix-True] PASSED [ 48%] 427s tests/test_embed_cli.py::test_embed_multi_sql[prefix-False] PASSED [ 49%] 427s tests/test_embed_cli.py::test_embed_multi_batch_size PASSED [ 49%] 428s tests/test_embed_cli.py::test_embed_multi_files[single] PASSED [ 50%] 428s tests/test_embed_cli.py::test_embed_multi_files[multi] PASSED [ 50%] 428s tests/test_embed_cli.py::test_embed_multi_files_errors[args0-Invalid directory: not-a-dir] PASSED [ 51%] 428s tests/test_embed_cli.py::test_embed_multi_files_encoding[extra_args0-None] PASSED [ 51%] 428s tests/test_embed_cli.py::test_embed_multi_files_encoding[extra_args1-Could not decode text in file] PASSED [ 52%] 429s tests/test_embed_cli.py::test_embed_multi_files_encoding[extra_args2-None] PASSED [ 52%] 429s tests/test_embed_cli.py::test_embed_multi_files_encoding[extra_args3-None] PASSED [ 53%] 429s tests/test_embed_cli.py::test_embed_multi_files_encoding[extra_args4-None] PASSED [ 53%] 429s tests/test_embed_cli.py::test_default_embedding_model PASSED [ 54%] 429s tests/test_embed_cli.py::test_default_embed_model_errors[embed-False] PASSED [ 54%] 430s tests/test_embed_cli.py::test_default_embed_model_errors[embed-True] PASSED [ 55%] 430s tests/test_embed_cli.py::test_default_embed_model_errors[embed-multi-False] PASSED [ 55%] 430s tests/test_embed_cli.py::test_default_embed_model_errors[embed-multi-True] PASSED [ 56%] 430s tests/test_embed_cli.py::test_duplicate_content_embedded_only_once PASSED [ 56%] 430s tests/test_encode_decode.py::test_roundtrip[array0] PASSED [ 57%] 430s tests/test_encode_decode.py::test_roundtrip[array1] PASSED [ 57%] 430s tests/test_keys.py::test_keys_in_user_path[env0] PASSED [ 58%] 430s tests/test_keys.py::test_keys_in_user_path[env1] PASSED [ 58%] 430s tests/test_keys.py::test_keys_set PASSED [ 59%] 430s tests/test_keys.py::test_keys_get PASSED [ 59%] 430s tests/test_keys.py::test_keys_list[args0] PASSED [ 60%] 430s tests/test_keys.py::test_keys_list[args1] PASSED [ 60%] 430s tests/test_llm.py::test_version PASSED [ 61%] 431s tests/test_llm.py::test_logs_text[False] PASSED [ 61%] 431s tests/test_llm.py::test_logs_text[True] PASSED [ 62%] 432s tests/test_llm.py::test_logs_json[None] PASSED [ 62%] 432s tests/test_llm.py::test_logs_json[0] PASSED [ 63%] 433s tests/test_llm.py::test_logs_json[2] PASSED [ 63%] 433s tests/test_llm.py::test_logs_response_only[args0] PASSED [ 64%] 434s tests/test_llm.py::test_logs_response_only[args1] PASSED [ 64%] 434s tests/test_llm.py::test_logs_response_only[args2] PASSED [ 65%] 435s tests/test_llm.py::test_logs_response_only[args3] PASSED [ 65%] 435s tests/test_llm.py::test_logs_path[env0] PASSED [ 66%] 435s tests/test_llm.py::test_logs_path[env1] PASSED [ 66%] 436s tests/test_llm.py::test_logs_filtered[davinci] PASSED [ 67%] 436s tests/test_llm.py::test_logs_filtered[curie] PASSED [ 67%] 437s tests/test_llm.py::test_logs_search[-extra_args0-expected0] PASSED [ 68%] 438s tests/test_llm.py::test_logs_search[llama-extra_args1-expected1] PASSED [ 68%] 438s tests/test_llm.py::test_logs_search[alpaca-extra_args2-expected2] PASSED [ 69%] 439s tests/test_llm.py::test_logs_search[llama-extra_args3-expected3] PASSED [ 69%] 439s tests/test_llm.py::test_logs_search[llama-extra_args4-expected4] PASSED [ 70%] 440s tests/test_llm.py::test_llm_prompt_creates_log_database PASSED [ 70%] 440s tests/test_llm.py::test_llm_default_prompt[True-logs_args0-False-True] PASSED [ 71%] 440s tests/test_llm.py::test_llm_default_prompt[True-logs_args0-False-False] PASSED [ 71%] 440s tests/test_llm.py::test_llm_default_prompt[True-logs_args0-False-split] PASSED [ 72%] 441s tests/test_llm.py::test_llm_default_prompt[False-logs_args1-True-True] PASSED [ 72%] 441s tests/test_llm.py::test_llm_default_prompt[False-logs_args1-True-False] PASSED [ 73%] 442s tests/test_llm.py::test_llm_default_prompt[False-logs_args1-True-split] PASSED [ 73%] 442s tests/test_llm.py::test_llm_default_prompt[False-logs_args2-False-True] PASSED [ 74%] 442s tests/test_llm.py::test_llm_default_prompt[False-logs_args2-False-False] PASSED [ 74%] 442s tests/test_llm.py::test_llm_default_prompt[False-logs_args2-False-split] PASSED [ 75%] 443s tests/test_llm.py::test_llm_default_prompt[False-logs_args3-True-True] PASSED [ 75%] 443s tests/test_llm.py::test_llm_default_prompt[False-logs_args3-True-False] PASSED [ 76%] 444s tests/test_llm.py::test_llm_default_prompt[False-logs_args3-True-split] PASSED [ 76%] 444s tests/test_llm.py::test_llm_default_prompt[True-logs_args4-False-True] PASSED [ 77%] 444s tests/test_llm.py::test_llm_default_prompt[True-logs_args4-False-False] PASSED [ 77%] 444s tests/test_llm.py::test_llm_default_prompt[True-logs_args4-False-split] PASSED [ 78%] 444s tests/test_llm.py::test_llm_default_prompt[True-logs_args5-True-True] PASSED [ 78%] 445s tests/test_llm.py::test_llm_default_prompt[True-logs_args5-True-False] PASSED [ 79%] 445s tests/test_llm.py::test_llm_default_prompt[True-logs_args5-True-split] PASSED [ 79%] 446s tests/test_llm.py::test_openai_chat_stream PASSED [ 80%] 446s tests/test_llm.py::test_openai_completion PASSED [ 80%] 446s tests/test_llm.py::test_openai_completion_system_prompt_error PASSED [ 81%] 447s tests/test_llm.py::test_openai_completion_logprobs_stream PASSED [ 81%] 448s tests/test_llm.py::test_openai_completion_logprobs_nostream PASSED [ 82%] 448s tests/test_llm.py::test_openai_localai_configuration PASSED [ 82%] 448s tests/test_llm.py::test_llm_models_options PASSED [ 83%] 448s tests/test_llm.py::test_llm_models_async PASSED [ 83%] 448s tests/test_llm.py::test_llm_user_dir PASSED [ 84%] 448s tests/test_llm.py::test_model_defaults PASSED [ 84%] 448s tests/test_migrate.py::test_migrate_blank PASSED [ 85%] 448s tests/test_migrate.py::test_migrate_from_original_schema[True] PASSED [ 85%] 448s tests/test_migrate.py::test_migrate_from_original_schema[False] PASSED [ 86%] 448s tests/test_migrate.py::test_migrations_with_legacy_alter_table PASSED [ 86%] 448s tests/test_migrate.py::test_migrations_for_embeddings PASSED [ 87%] 448s tests/test_migrate.py::test_backfill_content_hash PASSED [ 87%] 448s tests/test_plugins.py::test_register_commands PASSED [ 88%] 448s tests/test_templates.py::test_template_evaluate[S: $input-None-None-params0-S: input-None-None] PASSED [ 88%] 448s tests/test_templates.py::test_template_evaluate[S: $input-system-None-params1-S: input-system-None] PASSED [ 89%] 448s tests/test_templates.py::test_template_evaluate[No vars-None-None-params2-No vars-None-None] PASSED [ 89%] 448s tests/test_templates.py::test_template_evaluate[$one and $two-None-None-params3-None-None-Missing variables: one, two] PASSED [ 90%] 448s tests/test_templates.py::test_template_evaluate[$one and $two-None-None-params4-1 and 2-None-None] PASSED [ 90%] 448s tests/test_templates.py::test_template_evaluate[$one and $two-None-defaults5-params5-1 and 2-None-None] PASSED [ 91%] 448s tests/test_templates.py::test_template_evaluate[$one and $two-None-defaults6-params6-1 and 2-None-None] PASSED [ 91%] 448s tests/test_templates.py::test_templates_list_no_templates_found PASSED [ 92%] 448s tests/test_templates.py::test_templates_list[args0] PASSED [ 92%] 448s tests/test_templates.py::test_templates_list[args1] PASSED [ 93%] 448s tests/test_templates.py::test_templates_prompt_save[args0-expected_prompt0-None] PASSED [ 93%] 448s tests/test_templates.py::test_templates_prompt_save[args1-expected_prompt1-None] PASSED [ 94%] 448s tests/test_templates.py::test_templates_prompt_save[args2-expected_prompt2-None] PASSED [ 94%] 448s tests/test_templates.py::test_templates_prompt_save[args3-None---save cannot be used with --template] PASSED [ 95%] 448s tests/test_templates.py::test_templates_prompt_save[args4-None---save cannot be used with --continue] PASSED [ 95%] 448s tests/test_templates.py::test_templates_prompt_save[args5-None---save cannot be used with --cid] PASSED [ 96%] 448s tests/test_templates.py::test_templates_prompt_save[args6-None---save cannot be used with --cid] PASSED [ 96%] 448s tests/test_templates.py::test_templates_prompt_save[args7-expected_prompt7-None] PASSED [ 97%] 448s tests/test_utils.py::test_simplify_usage_dict[input_data0-expected_output0] PASSED [ 97%] 448s tests/test_utils.py::test_simplify_usage_dict[input_data1-expected_output1] PASSED [ 98%] 448s tests/test_utils.py::test_simplify_usage_dict[input_data2-expected_output2] PASSED [ 98%] 448s tests/test_utils.py::test_simplify_usage_dict[input_data3-expected_output3] PASSED [ 99%] 448s tests/test_utils.py::test_simplify_usage_dict[input_data4-expected_output4] PASSED [100%] 448s 448s =============================== warnings summary =============================== 448s ../../../usr/lib/python3/dist-packages/pydantic/_internal/_config.py:291 448s /usr/lib/python3/dist-packages/pydantic/_internal/_config.py:291: PydanticDeprecatedSince20: Support for class-based `config` is deprecated, use ConfigDict instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.9/migration/ 448s warnings.warn(DEPRECATION_MESSAGE, DeprecationWarning) 448s 448s tests/test_async.py::test_async_model 448s tests/test_async.py::test_async_model_conversation 448s tests/test_cli_openai_models.py::test_gpt4o_mini_sync_and_async[None-True] 448s tests/test_cli_openai_models.py::test_gpt4o_mini_sync_and_async[-u-True] 448s tests/test_cli_openai_models.py::test_gpt4o_mini_sync_and_async[--usage-True] 448s /usr/lib/python3/dist-packages/llm/models.py:407: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 448s self._start_utcnow = datetime.datetime.utcnow() 448s 448s tests/test_attachments.py: 2 warnings 448s tests/test_chat.py: 7 warnings 448s tests/test_cli_openai_models.py: 5 warnings 448s tests/test_llm.py: 25 warnings 448s /usr/lib/python3/dist-packages/llm/models.py:375: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 448s self._start_utcnow = datetime.datetime.utcnow() 448s 448s tests/test_attachments.py: 2 warnings 448s tests/test_chat.py: 6 warnings 448s tests/test_cli_openai_models.py: 8 warnings 448s tests/test_llm.py: 31 warnings 448s tests/test_migrate.py: 4 warnings 448s /usr/lib/python3/dist-packages/llm/migrations.py:16: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 448s {"name": name, "applied_at": str(datetime.datetime.utcnow())} 448s 448s tests/test_cli_openai_models.py::test_openai_models 448s /usr/lib/python3/dist-packages/llm/default_plugins/openai_models.py:185: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). 448s created_str = datetime.datetime.utcfromtimestamp( 448s 448s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.csv-id,phrase\n1,hello world\n2,goodbye world-None-False] 448s /usr/lib/python3/dist-packages/sqlite_utils/utils.py:217: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/pytest-of-ubuntu/pytest-1/test_embed_multi_file_input_ph0/phrases.csv' encoding='utf-8-sig'> 448s for row in reader: 448s Enable tracemalloc to get traceback where the object was allocated. 448s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 448s 448s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.csv-id,phrase\n1,hello world\n2,goodbye world-prefix-False] 448s /usr/lib/python3/dist-packages/sqlite_utils/utils.py:217: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/pytest-of-ubuntu/pytest-1/test_embed_multi_file_input_ph2/phrases.csv' encoding='utf-8-sig'> 448s for row in reader: 448s Enable tracemalloc to get traceback where the object was allocated. 448s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 448s 448s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.tsv-id\tphrase\n1\thello world\n2\tgoodbye world-None-False] 448s /usr/lib/python3/dist-packages/sqlite_utils/utils.py:217: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/pytest-of-ubuntu/pytest-1/test_embed_multi_file_input_ph4/phrases.tsv' encoding='utf-8-sig'> 448s for row in reader: 448s Enable tracemalloc to get traceback where the object was allocated. 448s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 448s 448s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.tsv-id\tphrase\n1\thello world\n2\tgoodbye world-prefix-False] 448s /usr/lib/python3/dist-packages/sqlite_utils/utils.py:217: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/pytest-of-ubuntu/pytest-1/test_embed_multi_file_input_ph6/phrases.tsv' encoding='utf-8-sig'> 448s for row in reader: 448s Enable tracemalloc to get traceback where the object was allocated. 448s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 448s 448s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.jsonl-{"id": 1, "phrase": "hello world"}\n{"id": 2, "phrase": "goodbye world"}-None-False] 448s /usr/lib/python3/dist-packages/click/_termui_impl.py:342: ResourceWarning: unclosed file <_io.BufferedReader name='/tmp/pytest-of-ubuntu/pytest-1/test_embed_multi_file_input_ph8/phrases.jsonl'> 448s yield from self.iter 448s Enable tracemalloc to get traceback where the object was allocated. 448s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 448s 448s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.jsonl-{"id": 1, "phrase": "hello world"}\n{"id": 2, "phrase": "goodbye world"}-prefix-False] 448s /usr/lib/python3/dist-packages/click/_termui_impl.py:342: ResourceWarning: unclosed file <_io.BufferedReader name='/tmp/pytest-of-ubuntu/pytest-1/test_embed_multi_file_input_ph10/phrases.jsonl'> 448s yield from self.iter 448s Enable tracemalloc to get traceback where the object was allocated. 448s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 448s 448s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.json-[{"id": 1, "phrase": "hello world"}, {"id": 2, "phrase": "goodbye world"}]-None-False] 448s /usr/lib/python3/dist-packages/llm/cli.py:1582: ResourceWarning: unclosed file <_io.BufferedReader name='/tmp/pytest-of-ubuntu/pytest-1/test_embed_multi_file_input_ph12/phrases.json'> 448s return rows_from_file(fp, Format[format.upper()] if format else None)[0] 448s Enable tracemalloc to get traceback where the object was allocated. 448s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 448s 448s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.json-[{"id": 1, "phrase": "hello world"}, {"id": 2, "phrase": "goodbye world"}]-prefix-False] 448s /usr/lib/python3/dist-packages/llm/cli.py:1582: ResourceWarning: unclosed file <_io.BufferedReader name='/tmp/pytest-of-ubuntu/pytest-1/test_embed_multi_file_input_ph14/phrases.json'> 448s return rows_from_file(fp, Format[format.upper()] if format else None)[0] 448s Enable tracemalloc to get traceback where the object was allocated. 448s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 448s 448s tests/test_embed_cli.py::test_embed_multi_files[single] 448s /usr/lib/python3.12/asyncio/base_events.py:725: ResourceWarning: unclosed event loop <_UnixSelectorEventLoop running=False closed=False debug=False> 448s _warn(f"unclosed event loop {self!r}", ResourceWarning, source=self) 448s Enable tracemalloc to get traceback where the object was allocated. 448s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 448s 448s tests/test_llm.py::test_logs_text[False] 448s tests/test_llm.py::test_logs_text[True] 448s tests/test_llm.py::test_logs_json[None] 448s tests/test_llm.py::test_logs_json[0] 448s tests/test_llm.py::test_logs_json[2] 448s tests/test_llm.py::test_logs_response_only[args0] 448s tests/test_llm.py::test_logs_response_only[args1] 448s tests/test_llm.py::test_logs_response_only[args2] 448s tests/test_llm.py::test_logs_response_only[args3] 448s /tmp/autopkgtest.rQwagW/autopkgtest_tmp/tests/test_llm.py:30: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 448s start = datetime.datetime.utcnow() 448s 448s tests/test_llm.py::test_llm_models_options 448s /usr/lib/python3/dist-packages/pydantic/main.py:1355: PydanticDeprecatedSince20: The `schema` method is deprecated; use `model_json_schema` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.9/migration/ 448s warnings.warn( 448s 448s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 448s =============== 199 passed, 7 deselected, 116 warnings in 39.76s =============== 449s autopkgtest [18:30:27]: test run-tests: -----------------------] 456s autopkgtest [18:30:34]: test run-tests: - - - - - - - - - - results - - - - - - - - - - 456s run-tests PASS 463s autopkgtest [18:30:41]: @@@@@@@@@@@@@@@@@@@@ summary 463s run-tests PASS