1s autopkgtest [03:27:27]: starting date and time: 2024-11-27 03:27:27+0000 1s autopkgtest [03:27:27]: git checkout: 6408f825 Correct logic in old-systemd fallback code 1s autopkgtest [03:27:27]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.3xn3ob4r/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:pydantic,src:pydantic-core --apt-upgrade python-llm --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=pydantic/2.10.1-1 pydantic-core/2.27.1-1' -- lxd -r lxd-armhf-10.145.243.247 lxd-armhf-10.145.243.247:autopkgtest/ubuntu/plucky/armhf 60s autopkgtest [03:28:26]: testbed dpkg architecture: armhf 62s autopkgtest [03:28:28]: testbed apt version: 2.9.14ubuntu1 62s autopkgtest [03:28:28]: @@@@@@@@@@@@@@@@@@@@ test bed setup 71s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 71s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [799 kB] 71s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 71s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [53.1 kB] 71s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [13.6 kB] 71s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [66.5 kB] 71s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Packages [928 B] 71s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [578 kB] 71s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [6096 B] 72s Fetched 1601 kB in 1s (2011 kB/s) 72s Reading package lists... 91s tee: /proc/self/fd/2: Permission denied 107s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 107s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 108s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 108s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 109s Reading package lists... 109s Reading package lists... 109s Building dependency tree... 109s Reading state information... 110s Calculating upgrade... 110s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 110s Reading package lists... 110s Building dependency tree... 110s Reading state information... 111s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 113s autopkgtest [03:29:19]: rebooting testbed after setup commands that affected boot 198s autopkgtest [03:30:44]: 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 232s autopkgtest [03:31:18]: @@@@@@@@@@@@@@@@@@@@ apt-source python-llm 244s Get:1 http://ftpmaster.internal/ubuntu plucky/universe python-llm 0.19~a1-1 (dsc) [2677 B] 244s Get:2 http://ftpmaster.internal/ubuntu plucky/universe python-llm 0.19~a1-1 (tar) [120 kB] 244s Get:3 http://ftpmaster.internal/ubuntu plucky/universe python-llm 0.19~a1-1 (diff) [3620 B] 244s gpgv: Signature made Wed Nov 20 23:01:23 2024 UTC 244s gpgv: using RSA key FB8ACFA78C726089C38AD0269605A1098C63B92A 244s gpgv: Can't check signature: No public key 244s dpkg-source: warning: cannot verify inline signature for ./python-llm_0.19~a1-1.dsc: no acceptable signature found 244s autopkgtest [03:31:30]: testing package python-llm version 0.19~a1-1 247s autopkgtest [03:31:33]: build not needed 249s autopkgtest [03:31:35]: test run-tests: preparing testbed 261s Reading package lists... 261s Building dependency tree... 261s Reading state information... 261s Starting pkgProblemResolver with broken count: 0 261s Starting 2 pkgProblemResolver with broken count: 0 261s Done 262s The following additional packages will be installed: 262s libblas3 libgfortran5 libjs-jquery libjs-sphinxdoc libjs-underscore 262s liblapack3 python3-all python3-annotated-types python3-anyio 262s python3-async-generator python3-click python3-click-default-group 262s python3-colorama python3-dateutil python3-dnspython python3-email-validator 262s python3-h11 python3-httpcore python3-httpx python3-iniconfig python3-llm 262s python3-numpy python3-openai python3-packaging python3-pip python3-pluggy 262s python3-puremagic python3-pydantic python3-pydantic-core python3-pytest 262s python3-pytest-asyncio python3-pytest-httpx python3-sniffio 262s python3-sqlite-fts4 python3-sqlite-migrate python3-tabulate python3-tqdm 262s python3-ulid python3-wheel sqlite-utils 262s Suggested packages: 262s python3-trio python3-aioquic python3-h2 gcc gfortran python-numpy-doc 262s python3-dev 262s Recommended packages: 262s javascript-common build-essential python3-dev 262s The following NEW packages will be installed: 262s autopkgtest-satdep libblas3 libgfortran5 libjs-jquery libjs-sphinxdoc 262s libjs-underscore liblapack3 python3-all python3-annotated-types 262s python3-anyio python3-async-generator python3-click 262s python3-click-default-group python3-colorama python3-dateutil 262s python3-dnspython python3-email-validator python3-h11 python3-httpcore 262s python3-httpx python3-iniconfig python3-llm python3-numpy python3-openai 262s python3-packaging python3-pip python3-pluggy python3-puremagic 262s python3-pydantic python3-pydantic-core python3-pytest python3-pytest-asyncio 262s python3-pytest-httpx python3-sniffio python3-sqlite-fts4 262s python3-sqlite-migrate python3-tabulate python3-tqdm python3-ulid 262s python3-wheel sqlite-utils 262s 0 upgraded, 41 newly installed, 0 to remove and 0 not upgraded. 262s Need to get 12.6 MB/12.6 MB of archives. 262s After this operation, 62.0 MB of additional disk space will be used. 262s Get:1 /tmp/autopkgtest.2xB0Ni/1-autopkgtest-satdep.deb autopkgtest-satdep armhf 0 [740 B] 262s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf libblas3 armhf 3.12.0-4 [126 kB] 263s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf libgfortran5 armhf 14.2.0-8ubuntu1 [311 kB] 263s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 263s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 263s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf libjs-sphinxdoc all 7.4.7-4 [158 kB] 263s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf liblapack3 armhf 3.12.0-4 [2086 kB] 263s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf python3-all armhf 3.12.6-0ubuntu1 [886 B] 263s Get:9 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-annotated-types all 0.7.0-1 [19.4 kB] 263s Get:10 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-sniffio all 1.3.1-1 [7262 B] 263s Get:11 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-anyio all 4.6.2-4 [60.0 kB] 263s Get:12 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-async-generator all 1.10-4 [17.5 kB] 263s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf python3-colorama all 0.4.6-4 [32.1 kB] 263s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf python3-click all 8.1.7-2 [79.5 kB] 263s Get:15 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-click-default-group all 1.2.4-1 [5684 B] 263s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf python3-dateutil all 2.9.0-3 [80.2 kB] 263s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf python3-dnspython all 2.6.1-1ubuntu1 [163 kB] 263s Get:18 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-email-validator all 2.2.0-1 [28.5 kB] 263s Get:19 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-h11 all 0.14.0-1 [51.1 kB] 263s Get:20 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-httpcore all 1.0.4-1 [38.8 kB] 263s Get:21 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-httpx all 0.27.2-1 [61.3 kB] 263s Get:22 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-iniconfig all 1.1.1-2 [6024 B] 263s Get:23 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf python3-pydantic-core armhf 2.27.1-1 [1694 kB] 263s Get:24 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf python3-pydantic armhf 2.10.1-1 [307 kB] 263s Get:25 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-tqdm all 4.67.1-1 [92.5 kB] 263s Get:26 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-openai all 1.51.0-2 [148 kB] 263s Get:27 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-wheel all 0.45.1-1 [57.7 kB] 263s Get:28 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pip all 24.3.1+dfsg-1 [1404 kB] 263s Get:29 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pluggy all 1.5.0-1 [21.0 kB] 263s Get:30 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-puremagic all 1.28-1 [39.3 kB] 263s Get:31 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-sqlite-fts4 all 1.0.3-2 [9228 B] 263s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf python3-tabulate all 0.9.0-1 [45.3 kB] 263s Get:33 http://ftpmaster.internal/ubuntu plucky/universe armhf sqlite-utils all 3.38~a0-1 [534 kB] 263s Get:34 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-sqlite-migrate all 0.1~beta0-2 [8472 B] 263s Get:35 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-ulid all 2.2.0-4 [9356 B] 263s Get:36 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-llm all 0.19~a1-1 [160 kB] 263s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf python3-numpy armhf 1:1.26.4+ds-11ubuntu1 [3975 kB] 264s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf python3-packaging all 24.2-1 [51.5 kB] 264s Get:39 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest all 8.3.3-1 [251 kB] 264s Get:40 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest-asyncio all 0.20.3-1.3 [10.7 kB] 264s Get:41 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-pytest-httpx all 0.34.0-1 [23.9 kB] 264s Fetched 12.6 MB in 1s (9379 kB/s) 264s Selecting previously unselected package libblas3:armhf. 264s (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 ... 59972 files and directories currently installed.) 264s Preparing to unpack .../00-libblas3_3.12.0-4_armhf.deb ... 264s Unpacking libblas3:armhf (3.12.0-4) ... 264s Selecting previously unselected package libgfortran5:armhf. 264s Preparing to unpack .../01-libgfortran5_14.2.0-8ubuntu1_armhf.deb ... 264s Unpacking libgfortran5:armhf (14.2.0-8ubuntu1) ... 264s Selecting previously unselected package libjs-jquery. 264s Preparing to unpack .../02-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 264s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 264s Selecting previously unselected package libjs-underscore. 264s Preparing to unpack .../03-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 264s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 264s Selecting previously unselected package libjs-sphinxdoc. 264s Preparing to unpack .../04-libjs-sphinxdoc_7.4.7-4_all.deb ... 264s Unpacking libjs-sphinxdoc (7.4.7-4) ... 264s Selecting previously unselected package liblapack3:armhf. 264s Preparing to unpack .../05-liblapack3_3.12.0-4_armhf.deb ... 264s Unpacking liblapack3:armhf (3.12.0-4) ... 264s Selecting previously unselected package python3-all. 264s Preparing to unpack .../06-python3-all_3.12.6-0ubuntu1_armhf.deb ... 264s Unpacking python3-all (3.12.6-0ubuntu1) ... 264s Selecting previously unselected package python3-annotated-types. 264s Preparing to unpack .../07-python3-annotated-types_0.7.0-1_all.deb ... 264s Unpacking python3-annotated-types (0.7.0-1) ... 264s Selecting previously unselected package python3-sniffio. 265s Preparing to unpack .../08-python3-sniffio_1.3.1-1_all.deb ... 265s Unpacking python3-sniffio (1.3.1-1) ... 265s Selecting previously unselected package python3-anyio. 265s Preparing to unpack .../09-python3-anyio_4.6.2-4_all.deb ... 265s Unpacking python3-anyio (4.6.2-4) ... 265s Selecting previously unselected package python3-async-generator. 265s Preparing to unpack .../10-python3-async-generator_1.10-4_all.deb ... 265s Unpacking python3-async-generator (1.10-4) ... 265s Selecting previously unselected package python3-colorama. 265s Preparing to unpack .../11-python3-colorama_0.4.6-4_all.deb ... 265s Unpacking python3-colorama (0.4.6-4) ... 265s Selecting previously unselected package python3-click. 265s Preparing to unpack .../12-python3-click_8.1.7-2_all.deb ... 265s Unpacking python3-click (8.1.7-2) ... 265s Selecting previously unselected package python3-click-default-group. 265s Preparing to unpack .../13-python3-click-default-group_1.2.4-1_all.deb ... 265s Unpacking python3-click-default-group (1.2.4-1) ... 265s Selecting previously unselected package python3-dateutil. 265s Preparing to unpack .../14-python3-dateutil_2.9.0-3_all.deb ... 265s Unpacking python3-dateutil (2.9.0-3) ... 265s Selecting previously unselected package python3-dnspython. 265s Preparing to unpack .../15-python3-dnspython_2.6.1-1ubuntu1_all.deb ... 265s Unpacking python3-dnspython (2.6.1-1ubuntu1) ... 265s Selecting previously unselected package python3-email-validator. 265s Preparing to unpack .../16-python3-email-validator_2.2.0-1_all.deb ... 265s Unpacking python3-email-validator (2.2.0-1) ... 265s Selecting previously unselected package python3-h11. 265s Preparing to unpack .../17-python3-h11_0.14.0-1_all.deb ... 265s Unpacking python3-h11 (0.14.0-1) ... 265s Selecting previously unselected package python3-httpcore. 265s Preparing to unpack .../18-python3-httpcore_1.0.4-1_all.deb ... 265s Unpacking python3-httpcore (1.0.4-1) ... 265s Selecting previously unselected package python3-httpx. 265s Preparing to unpack .../19-python3-httpx_0.27.2-1_all.deb ... 265s Unpacking python3-httpx (0.27.2-1) ... 265s Selecting previously unselected package python3-iniconfig. 265s Preparing to unpack .../20-python3-iniconfig_1.1.1-2_all.deb ... 265s Unpacking python3-iniconfig (1.1.1-2) ... 265s Selecting previously unselected package python3-pydantic-core. 265s Preparing to unpack .../21-python3-pydantic-core_2.27.1-1_armhf.deb ... 265s Unpacking python3-pydantic-core (2.27.1-1) ... 265s Selecting previously unselected package python3-pydantic. 265s Preparing to unpack .../22-python3-pydantic_2.10.1-1_armhf.deb ... 265s Unpacking python3-pydantic (2.10.1-1) ... 265s Selecting previously unselected package python3-tqdm. 265s Preparing to unpack .../23-python3-tqdm_4.67.1-1_all.deb ... 265s Unpacking python3-tqdm (4.67.1-1) ... 265s Selecting previously unselected package python3-openai. 265s Preparing to unpack .../24-python3-openai_1.51.0-2_all.deb ... 265s Unpacking python3-openai (1.51.0-2) ... 265s Selecting previously unselected package python3-wheel. 265s Preparing to unpack .../25-python3-wheel_0.45.1-1_all.deb ... 265s Unpacking python3-wheel (0.45.1-1) ... 265s Selecting previously unselected package python3-pip. 265s Preparing to unpack .../26-python3-pip_24.3.1+dfsg-1_all.deb ... 265s Unpacking python3-pip (24.3.1+dfsg-1) ... 265s Selecting previously unselected package python3-pluggy. 265s Preparing to unpack .../27-python3-pluggy_1.5.0-1_all.deb ... 265s Unpacking python3-pluggy (1.5.0-1) ... 265s Selecting previously unselected package python3-puremagic. 265s Preparing to unpack .../28-python3-puremagic_1.28-1_all.deb ... 265s Unpacking python3-puremagic (1.28-1) ... 265s Selecting previously unselected package python3-sqlite-fts4. 265s Preparing to unpack .../29-python3-sqlite-fts4_1.0.3-2_all.deb ... 265s Unpacking python3-sqlite-fts4 (1.0.3-2) ... 265s Selecting previously unselected package python3-tabulate. 265s Preparing to unpack .../30-python3-tabulate_0.9.0-1_all.deb ... 265s Unpacking python3-tabulate (0.9.0-1) ... 265s Selecting previously unselected package sqlite-utils. 266s Preparing to unpack .../31-sqlite-utils_3.38~a0-1_all.deb ... 266s Unpacking sqlite-utils (3.38~a0-1) ... 266s Selecting previously unselected package python3-sqlite-migrate. 266s Preparing to unpack .../32-python3-sqlite-migrate_0.1~beta0-2_all.deb ... 266s Unpacking python3-sqlite-migrate (0.1~beta0-2) ... 266s Selecting previously unselected package python3-ulid. 266s Preparing to unpack .../33-python3-ulid_2.2.0-4_all.deb ... 266s Unpacking python3-ulid (2.2.0-4) ... 266s Selecting previously unselected package python3-llm. 266s Preparing to unpack .../34-python3-llm_0.19~a1-1_all.deb ... 266s Unpacking python3-llm (0.19~a1-1) ... 266s Selecting previously unselected package python3-numpy. 266s Preparing to unpack .../35-python3-numpy_1%3a1.26.4+ds-11ubuntu1_armhf.deb ... 266s Unpacking python3-numpy (1:1.26.4+ds-11ubuntu1) ... 266s Selecting previously unselected package python3-packaging. 266s Preparing to unpack .../36-python3-packaging_24.2-1_all.deb ... 266s Unpacking python3-packaging (24.2-1) ... 266s Selecting previously unselected package python3-pytest. 266s Preparing to unpack .../37-python3-pytest_8.3.3-1_all.deb ... 266s Unpacking python3-pytest (8.3.3-1) ... 266s Selecting previously unselected package python3-pytest-asyncio. 266s Preparing to unpack .../38-python3-pytest-asyncio_0.20.3-1.3_all.deb ... 266s Unpacking python3-pytest-asyncio (0.20.3-1.3) ... 266s Selecting previously unselected package python3-pytest-httpx. 266s Preparing to unpack .../39-python3-pytest-httpx_0.34.0-1_all.deb ... 266s Unpacking python3-pytest-httpx (0.34.0-1) ... 266s Selecting previously unselected package autopkgtest-satdep. 266s Preparing to unpack .../40-1-autopkgtest-satdep.deb ... 266s Unpacking autopkgtest-satdep (0) ... 266s Setting up python3-iniconfig (1.1.1-2) ... 266s Setting up python3-sniffio (1.3.1-1) ... 266s Setting up python3-pydantic-core (2.27.1-1) ... 266s Setting up python3-async-generator (1.10-4) ... 267s Setting up python3-anyio (4.6.2-4) ... 267s Setting up python3-colorama (0.4.6-4) ... 267s Setting up python3-tqdm (4.67.1-1) ... 267s Setting up python3-tabulate (0.9.0-1) ... 267s Setting up python3-all (3.12.6-0ubuntu1) ... 267s Setting up python3-sqlite-fts4 (1.0.3-2) ... 267s Setting up python3-click (8.1.7-2) ... 268s Setting up python3-wheel (0.45.1-1) ... 268s Setting up python3-annotated-types (0.7.0-1) ... 268s Setting up python3-puremagic (1.28-1) ... 268s Setting up libblas3:armhf (3.12.0-4) ... 268s 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 268s Setting up python3-packaging (24.2-1) ... 268s Setting up python3-click-default-group (1.2.4-1) ... 268s Setting up python3-h11 (0.14.0-1) ... 269s Setting up python3-pip (24.3.1+dfsg-1) ... 270s Setting up libgfortran5:armhf (14.2.0-8ubuntu1) ... 270s Setting up python3-pluggy (1.5.0-1) ... 270s Setting up python3-dnspython (2.6.1-1ubuntu1) ... 271s Setting up python3-ulid (2.2.0-4) ... 271s Setting up python3-dateutil (2.9.0-3) ... 271s Setting up python3-email-validator (2.2.0-1) ... 271s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 271s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 271s Setting up python3-httpcore (1.0.4-1) ... 271s Setting up liblapack3:armhf (3.12.0-4) ... 271s 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 271s Setting up python3-pytest (8.3.3-1) ... 273s Setting up python3-httpx (0.27.2-1) ... 273s Setting up python3-pydantic (2.10.1-1) ... 273s Setting up python3-numpy (1:1.26.4+ds-11ubuntu1) ... 275s Setting up libjs-sphinxdoc (7.4.7-4) ... 275s Setting up sqlite-utils (3.38~a0-1) ... 275s Setting up python3-pytest-asyncio (0.20.3-1.3) ... 275s Setting up python3-sqlite-migrate (0.1~beta0-2) ... 275s Setting up python3-openai (1.51.0-2) ... 275s Setting up python3-pytest-httpx (0.34.0-1) ... 275s Setting up python3-llm (0.19~a1-1) ... 276s Setting up autopkgtest-satdep (0) ... 276s Processing triggers for man-db (2.13.0-1) ... 276s Processing triggers for libc-bin (2.40-1ubuntu3) ... 291s (Reading database ... 63303 files and directories currently installed.) 291s Removing autopkgtest-satdep (0) ... 298s autopkgtest [03:32:24]: test run-tests: [----------------------- 302s ============================= test session starts ============================== 302s platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.12 302s cachedir: .pytest_cache 302s rootdir: /tmp/autopkgtest.2xB0Ni/autopkgtest_tmp 302s plugins: typeguard-4.4.1, anyio-4.6.2, asyncio-0.20.3, httpx-0.34.0 302s asyncio: mode=Mode.AUTO 303s collecting ... collected 206 items / 7 deselected / 199 selected 303s 303s tests/test_aliases.py::test_set_alias[gpt-3.5-turbo] PASSED [ 0%] 303s tests/test_aliases.py::test_set_alias[chatgpt] PASSED [ 1%] 303s tests/test_aliases.py::test_remove_alias PASSED [ 1%] 303s tests/test_aliases.py::test_cli_aliases_list[args0] PASSED [ 2%] 303s tests/test_aliases.py::test_cli_aliases_list[args1] PASSED [ 2%] 303s tests/test_aliases.py::test_cli_aliases_list_json[args0] PASSED [ 3%] 303s tests/test_aliases.py::test_cli_aliases_list_json[args1] PASSED [ 3%] 303s tests/test_aliases.py::test_cli_aliases_set PASSED [ 4%] 303s tests/test_aliases.py::test_cli_aliases_path PASSED [ 4%] 303s tests/test_aliases.py::test_cli_aliases_remove PASSED [ 5%] 303s tests/test_aliases.py::test_cli_aliases_remove_invalid PASSED [ 5%] 303s tests/test_aliases.py::test_cli_aliases_are_registered[args0] PASSED [ 6%] 303s tests/test_aliases.py::test_cli_aliases_are_registered[args1] PASSED [ 6%] 303s tests/test_async.py::test_async_model PASSED [ 7%] 303s tests/test_async.py::test_async_model_conversation PASSED [ 7%] 303s 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%] 304s 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%] 304s tests/test_chat.py::test_mock_model PASSED [ 9%] 305s tests/test_chat.py::test_chat_basic PASSED [ 9%] 305s tests/test_chat.py::test_chat_system PASSED [ 10%] 306s tests/test_chat.py::test_chat_options PASSED [ 10%] 306s tests/test_chat.py::test_chat_multi[Hi\n!multi\nthis is multiple lines\nuntil the !end\n!end\nquit\n-expected0] PASSED [ 11%] 306s tests/test_chat.py::test_chat_multi[!multi\nthis is multiple lines\nquit\nuntil the !end\n!end\nquit\n-expected1] PASSED [ 11%] 307s tests/test_chat.py::test_chat_multi[!multi abc\nCustom delimiter\n!end\n!end 123\n!end abc\nquit\n-expected2] PASSED [ 12%] 307s tests/test_cli_openai_models.py::test_openai_models PASSED [ 12%] 307s tests/test_cli_openai_models.py::test_openai_options_min_max PASSED [ 13%] 307s tests/test_cli_openai_models.py::test_only_gpt4_audio_preview_allows_mp3_or_wav[mp3-gpt-4o-mini] PASSED [ 13%] 308s tests/test_cli_openai_models.py::test_only_gpt4_audio_preview_allows_mp3_or_wav[mp3-gpt-4o-audio-preview] PASSED [ 14%] 308s tests/test_cli_openai_models.py::test_only_gpt4_audio_preview_allows_mp3_or_wav[wav-gpt-4o-mini] PASSED [ 14%] 308s tests/test_cli_openai_models.py::test_only_gpt4_audio_preview_allows_mp3_or_wav[wav-gpt-4o-audio-preview] PASSED [ 15%] 309s tests/test_cli_openai_models.py::test_gpt4o_mini_sync_and_async[None-False] PASSED [ 15%] 309s tests/test_cli_openai_models.py::test_gpt4o_mini_sync_and_async[None-True] PASSED [ 16%] 310s tests/test_cli_openai_models.py::test_gpt4o_mini_sync_and_async[-u-False] PASSED [ 16%] 310s tests/test_cli_openai_models.py::test_gpt4o_mini_sync_and_async[-u-True] PASSED [ 17%] 311s tests/test_cli_openai_models.py::test_gpt4o_mini_sync_and_async[--usage-False] PASSED [ 17%] 311s tests/test_cli_openai_models.py::test_gpt4o_mini_sync_and_async[--usage-True] PASSED [ 18%] 311s tests/test_embed.py::test_demo_plugin PASSED [ 18%] 311s tests/test_embed.py::test_embed_huge_list[None-100] PASSED [ 19%] 311s tests/test_embed.py::test_embed_huge_list[10-100] PASSED [ 19%] 311s tests/test_embed.py::test_embed_store PASSED [ 20%] 311s tests/test_embed.py::test_embed_metadata PASSED [ 20%] 311s tests/test_embed.py::test_collection PASSED [ 21%] 311s tests/test_embed.py::test_similar PASSED [ 21%] 311s tests/test_embed.py::test_similar_by_id PASSED [ 22%] 311s tests/test_embed.py::test_embed_multi[False-None-100] PASSED [ 22%] 311s tests/test_embed.py::test_embed_multi[False-5-200] PASSED [ 23%] 312s tests/test_embed.py::test_embed_multi[True-None-100] PASSED [ 23%] 312s tests/test_embed.py::test_embed_multi[True-5-200] PASSED [ 24%] 312s tests/test_embed.py::test_collection_delete PASSED [ 24%] 312s tests/test_embed.py::test_binary_only_and_text_only_embedding_models PASSED [ 25%] 312s 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%] 312s tests/test_embed_cli.py::test_embed_output_format[argument-base64-AACgQAAAoEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==\n] PASSED [ 26%] 312s tests/test_embed_cli.py::test_embed_output_format[argument-hex-0000a0400000a0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\n] PASSED [ 26%] 312s 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%] 312s 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%] 312s tests/test_embed_cli.py::test_embed_output_format[file-base64-AACgQAAAoEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==\n] PASSED [ 28%] 312s tests/test_embed_cli.py::test_embed_output_format[file-hex-0000a0400000a0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\n] PASSED [ 28%] 312s 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%] 312s 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%] 312s tests/test_embed_cli.py::test_embed_output_format[stdin-base64-AACgQAAAoEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==\n] PASSED [ 30%] 312s tests/test_embed_cli.py::test_embed_output_format[stdin-hex-0000a0400000a0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\n] PASSED [ 30%] 312s 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%] 312s tests/test_embed_cli.py::test_embed_errors[args0-Must provide both collection and id] PASSED [ 31%] 312s tests/test_embed_cli.py::test_embed_store[None-None] PASSED [ 32%] 312s tests/test_embed_cli.py::test_embed_store[{"foo": "bar"}-None] PASSED [ 32%] 312s tests/test_embed_cli.py::test_embed_store[{"foo": [1, 2, 3]}-None] PASSED [ 33%] 312s tests/test_embed_cli.py::test_embed_store[[1, 2, 3]-Metadata must be a JSON object] PASSED [ 33%] 312s tests/test_embed_cli.py::test_embed_store[{"foo": "incomplete}-Metadata must be valid JSON] PASSED [ 34%] 312s tests/test_embed_cli.py::test_embed_store_binary PASSED [ 34%] 313s tests/test_embed_cli.py::test_collection_delete_errors PASSED [ 35%] 313s tests/test_embed_cli.py::test_similar_errors[args0-Missing argument 'COLLECTION'] PASSED [ 35%] 313s tests/test_embed_cli.py::test_similar_errors[args1-Collection does not exist] PASSED [ 36%] 313s tests/test_embed_cli.py::test_similar_errors[args2-ID not found in collection] PASSED [ 36%] 313s tests/test_embed_cli.py::test_similar_by_id_cli PASSED [ 37%] 314s tests/test_embed_cli.py::test_similar_by_content_cli[argument] PASSED [ 37%] 314s tests/test_embed_cli.py::test_similar_by_content_cli[file] PASSED [ 38%] 314s tests/test_embed_cli.py::test_similar_by_content_cli[stdin] PASSED [ 38%] 314s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.csv-id,phrase\n1,hello world\n2,goodbye world-None-False] PASSED [ 39%] 315s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.csv-id,phrase\n1,hello world\n2,goodbye world-None-True] PASSED [ 39%] 315s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.csv-id,phrase\n1,hello world\n2,goodbye world-prefix-False] PASSED [ 40%] 315s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.csv-id,phrase\n1,hello world\n2,goodbye world-prefix-True] PASSED [ 40%] 315s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.tsv-id\tphrase\n1\thello world\n2\tgoodbye world-None-False] PASSED [ 41%] 316s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.tsv-id\tphrase\n1\thello world\n2\tgoodbye world-None-True] PASSED [ 41%] 316s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.tsv-id\tphrase\n1\thello world\n2\tgoodbye world-prefix-False] PASSED [ 42%] 316s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.tsv-id\tphrase\n1\thello world\n2\tgoodbye world-prefix-True] PASSED [ 42%] 316s 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%] 317s 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%] 317s 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%] 317s 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%] 317s 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%] 317s 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%] 318s 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%] 318s 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%] 318s tests/test_embed_cli.py::test_embed_multi_files_binary_store PASSED [ 47%] 318s tests/test_embed_cli.py::test_embed_multi_sql[None-True] PASSED [ 47%] 318s tests/test_embed_cli.py::test_embed_multi_sql[None-False] PASSED [ 48%] 319s tests/test_embed_cli.py::test_embed_multi_sql[prefix-True] PASSED [ 48%] 319s tests/test_embed_cli.py::test_embed_multi_sql[prefix-False] PASSED [ 49%] 319s tests/test_embed_cli.py::test_embed_multi_batch_size PASSED [ 49%] 319s tests/test_embed_cli.py::test_embed_multi_files[single] PASSED [ 50%] 320s tests/test_embed_cli.py::test_embed_multi_files[multi] PASSED [ 50%] 320s tests/test_embed_cli.py::test_embed_multi_files_errors[args0-Invalid directory: not-a-dir] PASSED [ 51%] 320s tests/test_embed_cli.py::test_embed_multi_files_encoding[extra_args0-None] PASSED [ 51%] 320s tests/test_embed_cli.py::test_embed_multi_files_encoding[extra_args1-Could not decode text in file] PASSED [ 52%] 321s tests/test_embed_cli.py::test_embed_multi_files_encoding[extra_args2-None] PASSED [ 52%] 321s tests/test_embed_cli.py::test_embed_multi_files_encoding[extra_args3-None] PASSED [ 53%] 321s tests/test_embed_cli.py::test_embed_multi_files_encoding[extra_args4-None] PASSED [ 53%] 321s tests/test_embed_cli.py::test_default_embedding_model PASSED [ 54%] 321s tests/test_embed_cli.py::test_default_embed_model_errors[embed-False] PASSED [ 54%] 321s tests/test_embed_cli.py::test_default_embed_model_errors[embed-True] PASSED [ 55%] 322s tests/test_embed_cli.py::test_default_embed_model_errors[embed-multi-False] PASSED [ 55%] 322s tests/test_embed_cli.py::test_default_embed_model_errors[embed-multi-True] PASSED [ 56%] 322s tests/test_embed_cli.py::test_duplicate_content_embedded_only_once PASSED [ 56%] 322s tests/test_encode_decode.py::test_roundtrip[array0] PASSED [ 57%] 322s tests/test_encode_decode.py::test_roundtrip[array1] PASSED [ 57%] 322s tests/test_keys.py::test_keys_in_user_path[env0] PASSED [ 58%] 322s tests/test_keys.py::test_keys_in_user_path[env1] PASSED [ 58%] 322s tests/test_keys.py::test_keys_set PASSED [ 59%] 322s tests/test_keys.py::test_keys_get PASSED [ 59%] 322s tests/test_keys.py::test_keys_list[args0] PASSED [ 60%] 322s tests/test_keys.py::test_keys_list[args1] PASSED [ 60%] 322s tests/test_llm.py::test_version PASSED [ 61%] 322s tests/test_llm.py::test_logs_text[False] PASSED [ 61%] 323s tests/test_llm.py::test_logs_text[True] PASSED [ 62%] 323s tests/test_llm.py::test_logs_json[None] PASSED [ 62%] 324s tests/test_llm.py::test_logs_json[0] PASSED [ 63%] 324s tests/test_llm.py::test_logs_json[2] PASSED [ 63%] 324s tests/test_llm.py::test_logs_response_only[args0] PASSED [ 64%] 325s tests/test_llm.py::test_logs_response_only[args1] PASSED [ 64%] 325s tests/test_llm.py::test_logs_response_only[args2] PASSED [ 65%] 326s tests/test_llm.py::test_logs_response_only[args3] PASSED [ 65%] 326s tests/test_llm.py::test_logs_path[env0] PASSED [ 66%] 326s tests/test_llm.py::test_logs_path[env1] PASSED [ 66%] 326s tests/test_llm.py::test_logs_filtered[davinci] PASSED [ 67%] 326s tests/test_llm.py::test_logs_filtered[curie] PASSED [ 67%] 327s tests/test_llm.py::test_logs_search[-extra_args0-expected0] PASSED [ 68%] 327s tests/test_llm.py::test_logs_search[llama-extra_args1-expected1] PASSED [ 68%] 327s tests/test_llm.py::test_logs_search[alpaca-extra_args2-expected2] PASSED [ 69%] 328s tests/test_llm.py::test_logs_search[llama-extra_args3-expected3] PASSED [ 69%] 328s tests/test_llm.py::test_logs_search[llama-extra_args4-expected4] PASSED [ 70%] 329s tests/test_llm.py::test_llm_prompt_creates_log_database PASSED [ 70%] 329s tests/test_llm.py::test_llm_default_prompt[True-logs_args0-False-True] PASSED [ 71%] 329s tests/test_llm.py::test_llm_default_prompt[True-logs_args0-False-False] PASSED [ 71%] 329s tests/test_llm.py::test_llm_default_prompt[True-logs_args0-False-split] PASSED [ 72%] 329s tests/test_llm.py::test_llm_default_prompt[False-logs_args1-True-True] PASSED [ 72%] 330s tests/test_llm.py::test_llm_default_prompt[False-logs_args1-True-False] PASSED [ 73%] 330s tests/test_llm.py::test_llm_default_prompt[False-logs_args1-True-split] PASSED [ 73%] 330s tests/test_llm.py::test_llm_default_prompt[False-logs_args2-False-True] PASSED [ 74%] 330s tests/test_llm.py::test_llm_default_prompt[False-logs_args2-False-False] PASSED [ 74%] 330s tests/test_llm.py::test_llm_default_prompt[False-logs_args2-False-split] PASSED [ 75%] 330s tests/test_llm.py::test_llm_default_prompt[False-logs_args3-True-True] PASSED [ 75%] 331s tests/test_llm.py::test_llm_default_prompt[False-logs_args3-True-False] PASSED [ 76%] 331s tests/test_llm.py::test_llm_default_prompt[False-logs_args3-True-split] PASSED [ 76%] 331s tests/test_llm.py::test_llm_default_prompt[True-logs_args4-False-True] PASSED [ 77%] 331s tests/test_llm.py::test_llm_default_prompt[True-logs_args4-False-False] PASSED [ 77%] 331s tests/test_llm.py::test_llm_default_prompt[True-logs_args4-False-split] PASSED [ 78%] 332s tests/test_llm.py::test_llm_default_prompt[True-logs_args5-True-True] PASSED [ 78%] 332s tests/test_llm.py::test_llm_default_prompt[True-logs_args5-True-False] PASSED [ 79%] 333s tests/test_llm.py::test_llm_default_prompt[True-logs_args5-True-split] PASSED [ 79%] 333s tests/test_llm.py::test_openai_chat_stream PASSED [ 80%] 334s tests/test_llm.py::test_openai_completion PASSED [ 80%] 334s tests/test_llm.py::test_openai_completion_system_prompt_error PASSED [ 81%] 334s tests/test_llm.py::test_openai_completion_logprobs_stream PASSED [ 81%] 334s tests/test_llm.py::test_openai_completion_logprobs_nostream PASSED [ 82%] 335s tests/test_llm.py::test_openai_localai_configuration PASSED [ 82%] 335s tests/test_llm.py::test_llm_models_options PASSED [ 83%] 335s tests/test_llm.py::test_llm_models_async PASSED [ 83%] 335s tests/test_llm.py::test_llm_user_dir PASSED [ 84%] 335s tests/test_llm.py::test_model_defaults PASSED [ 84%] 335s tests/test_migrate.py::test_migrate_blank PASSED [ 85%] 335s tests/test_migrate.py::test_migrate_from_original_schema[True] PASSED [ 85%] 335s tests/test_migrate.py::test_migrate_from_original_schema[False] PASSED [ 86%] 335s tests/test_migrate.py::test_migrations_with_legacy_alter_table PASSED [ 86%] 335s tests/test_migrate.py::test_migrations_for_embeddings PASSED [ 87%] 335s tests/test_migrate.py::test_backfill_content_hash PASSED [ 87%] 335s tests/test_plugins.py::test_register_commands PASSED [ 88%] 335s tests/test_templates.py::test_template_evaluate[S: $input-None-None-params0-S: input-None-None] PASSED [ 88%] 335s tests/test_templates.py::test_template_evaluate[S: $input-system-None-params1-S: input-system-None] PASSED [ 89%] 335s tests/test_templates.py::test_template_evaluate[No vars-None-None-params2-No vars-None-None] PASSED [ 89%] 335s tests/test_templates.py::test_template_evaluate[$one and $two-None-None-params3-None-None-Missing variables: one, two] PASSED [ 90%] 335s tests/test_templates.py::test_template_evaluate[$one and $two-None-None-params4-1 and 2-None-None] PASSED [ 90%] 335s tests/test_templates.py::test_template_evaluate[$one and $two-None-defaults5-params5-1 and 2-None-None] PASSED [ 91%] 335s tests/test_templates.py::test_template_evaluate[$one and $two-None-defaults6-params6-1 and 2-None-None] PASSED [ 91%] 335s tests/test_templates.py::test_templates_list_no_templates_found PASSED [ 92%] 335s tests/test_templates.py::test_templates_list[args0] PASSED [ 92%] 335s tests/test_templates.py::test_templates_list[args1] PASSED [ 93%] 335s tests/test_templates.py::test_templates_prompt_save[args0-expected_prompt0-None] PASSED [ 93%] 335s tests/test_templates.py::test_templates_prompt_save[args1-expected_prompt1-None] PASSED [ 94%] 335s tests/test_templates.py::test_templates_prompt_save[args2-expected_prompt2-None] PASSED [ 94%] 335s tests/test_templates.py::test_templates_prompt_save[args3-None---save cannot be used with --template] PASSED [ 95%] 335s tests/test_templates.py::test_templates_prompt_save[args4-None---save cannot be used with --continue] PASSED [ 95%] 335s tests/test_templates.py::test_templates_prompt_save[args5-None---save cannot be used with --cid] PASSED [ 96%] 335s tests/test_templates.py::test_templates_prompt_save[args6-None---save cannot be used with --cid] PASSED [ 96%] 335s tests/test_templates.py::test_templates_prompt_save[args7-expected_prompt7-None] PASSED [ 97%] 335s tests/test_utils.py::test_simplify_usage_dict[input_data0-expected_output0] PASSED [ 97%] 335s tests/test_utils.py::test_simplify_usage_dict[input_data1-expected_output1] PASSED [ 98%] 335s tests/test_utils.py::test_simplify_usage_dict[input_data2-expected_output2] PASSED [ 98%] 335s tests/test_utils.py::test_simplify_usage_dict[input_data3-expected_output3] PASSED [ 99%] 335s tests/test_utils.py::test_simplify_usage_dict[input_data4-expected_output4] PASSED [100%] 335s 335s =============================== warnings summary =============================== 335s ../../../usr/lib/python3/dist-packages/pydantic/_internal/_config.py:295 335s /usr/lib/python3/dist-packages/pydantic/_internal/_config.py:295: 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.10/migration/ 335s warnings.warn(DEPRECATION_MESSAGE, DeprecationWarning) 335s 335s tests/test_async.py::test_async_model 335s tests/test_async.py::test_async_model_conversation 335s tests/test_cli_openai_models.py::test_gpt4o_mini_sync_and_async[None-True] 335s tests/test_cli_openai_models.py::test_gpt4o_mini_sync_and_async[-u-True] 335s tests/test_cli_openai_models.py::test_gpt4o_mini_sync_and_async[--usage-True] 335s /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). 335s self._start_utcnow = datetime.datetime.utcnow() 335s 335s tests/test_attachments.py: 2 warnings 335s tests/test_chat.py: 7 warnings 335s tests/test_cli_openai_models.py: 5 warnings 335s tests/test_llm.py: 25 warnings 335s /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). 335s self._start_utcnow = datetime.datetime.utcnow() 335s 335s tests/test_attachments.py: 2 warnings 335s tests/test_chat.py: 6 warnings 335s tests/test_cli_openai_models.py: 8 warnings 335s tests/test_llm.py: 31 warnings 335s tests/test_migrate.py: 4 warnings 335s /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). 335s {"name": name, "applied_at": str(datetime.datetime.utcnow())} 335s 335s tests/test_cli_openai_models.py::test_openai_models 335s /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). 335s created_str = datetime.datetime.utcfromtimestamp( 335s 335s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.csv-id,phrase\n1,hello world\n2,goodbye world-None-False] 335s /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'> 335s for row in reader: 335s Enable tracemalloc to get traceback where the object was allocated. 335s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 335s 335s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.csv-id,phrase\n1,hello world\n2,goodbye world-prefix-False] 335s /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'> 335s for row in reader: 335s Enable tracemalloc to get traceback where the object was allocated. 335s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 335s 335s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.tsv-id\tphrase\n1\thello world\n2\tgoodbye world-None-False] 335s /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'> 335s for row in reader: 335s Enable tracemalloc to get traceback where the object was allocated. 335s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 335s 335s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.tsv-id\tphrase\n1\thello world\n2\tgoodbye world-prefix-False] 335s /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'> 335s for row in reader: 335s Enable tracemalloc to get traceback where the object was allocated. 335s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 335s 335s 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] 335s /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'> 335s yield from self.iter 335s Enable tracemalloc to get traceback where the object was allocated. 335s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 335s 335s 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] 335s /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'> 335s yield from self.iter 335s Enable tracemalloc to get traceback where the object was allocated. 335s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 335s 335s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.json-[{"id": 1, "phrase": "hello world"}, {"id": 2, "phrase": "goodbye world"}]-None-False] 335s /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'> 335s return rows_from_file(fp, Format[format.upper()] if format else None)[0] 335s Enable tracemalloc to get traceback where the object was allocated. 335s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 335s 335s tests/test_embed_cli.py::test_embed_multi_file_input[phrases.json-[{"id": 1, "phrase": "hello world"}, {"id": 2, "phrase": "goodbye world"}]-prefix-False] 335s /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'> 335s return rows_from_file(fp, Format[format.upper()] if format else None)[0] 335s Enable tracemalloc to get traceback where the object was allocated. 335s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 335s 335s tests/test_embed_cli.py::test_embed_multi_files_encoding[extra_args0-None] 335s /usr/lib/python3.12/asyncio/base_events.py:725: ResourceWarning: unclosed event loop <_UnixSelectorEventLoop running=False closed=False debug=False> 335s _warn(f"unclosed event loop {self!r}", ResourceWarning, source=self) 335s Enable tracemalloc to get traceback where the object was allocated. 335s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 335s 335s tests/test_llm.py::test_logs_text[False] 335s tests/test_llm.py::test_logs_text[True] 335s tests/test_llm.py::test_logs_json[None] 335s tests/test_llm.py::test_logs_json[0] 335s tests/test_llm.py::test_logs_json[2] 335s tests/test_llm.py::test_logs_response_only[args0] 335s tests/test_llm.py::test_logs_response_only[args1] 335s tests/test_llm.py::test_logs_response_only[args2] 335s tests/test_llm.py::test_logs_response_only[args3] 335s /tmp/autopkgtest.2xB0Ni/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). 335s start = datetime.datetime.utcnow() 335s 335s tests/test_llm.py::test_llm_models_options 335s /usr/lib/python3/dist-packages/llm/cli.py:1063: 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.10/migration/ 335s if options and model.Options.schema()["properties"]: 335s 335s tests/test_llm.py::test_llm_models_options 335s /usr/lib/python3/dist-packages/llm/cli.py:1065: 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.10/migration/ 335s for name, field in model.Options.schema()["properties"].items(): 335s 335s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 335s =============== 199 passed, 7 deselected, 117 warnings in 33.34s =============== 336s autopkgtest [03:33:02]: test run-tests: -----------------------] 340s autopkgtest [03:33:06]: test run-tests: - - - - - - - - - - results - - - - - - - - - - 340s run-tests PASS 343s autopkgtest [03:33:09]: @@@@@@@@@@@@@@@@@@@@ summary 343s run-tests PASS