0s autopkgtest [09:54:13]: starting date and time: 2024-11-13 09:54:13+0000 0s autopkgtest [09:54:13]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [09:54:13]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.c_5usi6e/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults,src:python3-stdlib-extensions --apt-upgrade pygresql --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-arm64-22.secgroup --name adt-plucky-arm64-pygresql-20241113-095413-juju-7f2275-prod-proposed-migration-environment-15-dc23b4e5-4a8f-4de7-81b0-f794d0d3050a --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 91s autopkgtest [09:55:44]: testbed dpkg architecture: arm64 91s autopkgtest [09:55:44]: testbed apt version: 2.9.8 91s autopkgtest [09:55:44]: @@@@@@@@@@@@@@@@@@@@ test bed setup 92s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 92s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [76.4 kB] 93s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [849 kB] 93s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 93s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.3 kB] 93s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [104 kB] 93s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [50.3 kB] 93s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [601 kB] 93s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [17.1 kB] 93s Fetched 1794 kB in 1s (2217 kB/s) 93s Reading package lists... 95s Reading package lists... 96s Building dependency tree... 96s Reading state information... 97s Calculating upgrade... 97s The following NEW packages will be installed: 97s python3.13-gdbm 97s The following packages will be upgraded: 97s libpython3-stdlib python3 python3-gdbm python3-minimal 98s 4 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 98s Need to get 101 kB of archives. 98s After this operation, 141 kB of additional disk space will be used. 98s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-minimal arm64 3.12.7-1 [27.4 kB] 98s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3 arm64 3.12.7-1 [24.0 kB] 98s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libpython3-stdlib arm64 3.12.7-1 [10.0 kB] 98s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13-gdbm arm64 3.13.0-2 [30.7 kB] 98s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-gdbm arm64 3.12.7-1 [8642 B] 98s Fetched 101 kB in 0s (245 kB/s) 98s (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 ... 79924 files and directories currently installed.) 98s Preparing to unpack .../python3-minimal_3.12.7-1_arm64.deb ... 98s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 99s Setting up python3-minimal (3.12.7-1) ... 99s (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 ... 79924 files and directories currently installed.) 99s Preparing to unpack .../python3_3.12.7-1_arm64.deb ... 99s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 99s Preparing to unpack .../libpython3-stdlib_3.12.7-1_arm64.deb ... 99s Unpacking libpython3-stdlib:arm64 (3.12.7-1) over (3.12.6-0ubuntu1) ... 99s Selecting previously unselected package python3.13-gdbm. 99s Preparing to unpack .../python3.13-gdbm_3.13.0-2_arm64.deb ... 99s Unpacking python3.13-gdbm (3.13.0-2) ... 99s Preparing to unpack .../python3-gdbm_3.12.7-1_arm64.deb ... 99s Unpacking python3-gdbm:arm64 (3.12.7-1) over (3.12.6-1ubuntu1) ... 99s Setting up python3.13-gdbm (3.13.0-2) ... 99s Setting up libpython3-stdlib:arm64 (3.12.7-1) ... 99s Setting up python3 (3.12.7-1) ... 99s Setting up python3-gdbm:arm64 (3.12.7-1) ... 99s Processing triggers for man-db (2.12.1-3) ... 100s Reading package lists... 100s Building dependency tree... 100s Reading state information... 101s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 102s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 102s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 102s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 102s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 103s Reading package lists... 103s Reading package lists... 103s Building dependency tree... 103s Reading state information... 104s Calculating upgrade... 104s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 104s Reading package lists... 105s Building dependency tree... 105s Reading state information... 106s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 108s autopkgtest [09:56:01]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 14:19:41 UTC 2024 109s autopkgtest [09:56:02]: @@@@@@@@@@@@@@@@@@@@ apt-source pygresql 111s Get:1 http://ftpmaster.internal/ubuntu plucky/universe pygresql 1:6.0.1-2 (dsc) [2216 B] 111s Get:2 http://ftpmaster.internal/ubuntu plucky/universe pygresql 1:6.0.1-2 (tar) [273 kB] 111s Get:3 http://ftpmaster.internal/ubuntu plucky/universe pygresql 1:6.0.1-2 (diff) [7480 B] 111s gpgv: Signature made Fri Sep 6 12:07:28 2024 UTC 111s gpgv: using RSA key 5C48FE6157F49179597087C64C5A6BAB12D2A7AE 111s gpgv: Can't check signature: No public key 111s dpkg-source: warning: cannot verify inline signature for ./pygresql_6.0.1-2.dsc: no acceptable signature found 111s autopkgtest [09:56:04]: testing package pygresql version 1:6.0.1-2 112s autopkgtest [09:56:05]: build not needed 112s autopkgtest [09:56:05]: test unittests: preparing testbed 115s Reading package lists... 115s Building dependency tree... 115s Reading state information... 116s Starting pkgProblemResolver with broken count: 0 116s Starting 2 pkgProblemResolver with broken count: 0 116s Done 116s The following additional packages will be installed: 116s libjson-perl libpq5 libpython3.13-minimal libpython3.13-stdlib libxslt1.1 116s postgresql postgresql-16 postgresql-client-16 postgresql-client-common 116s postgresql-common python3-all python3-pygresql python3.13 python3.13-minimal 116s ssl-cert 116s Suggested packages: 116s postgresql-doc postgresql-doc-16 python-pygresql-doc python3.13-venv 116s python3.13-doc binfmt-support 116s Recommended packages: 116s libjson-xs-perl 116s The following NEW packages will be installed: 116s autopkgtest-satdep libjson-perl libpq5 libpython3.13-minimal 116s libpython3.13-stdlib libxslt1.1 postgresql postgresql-16 116s postgresql-client-16 postgresql-client-common postgresql-common python3-all 116s python3-pygresql python3.13 python3.13-minimal ssl-cert 116s 0 upgraded, 16 newly installed, 0 to remove and 0 not upgraded. 116s Need to get 22.8 MB/22.8 MB of archives. 116s After this operation, 80.0 MB of additional disk space will be used. 116s Get:1 /tmp/autopkgtest.UlphGj/1-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [728 B] 117s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libjson-perl all 4.10000-1 [81.9 kB] 117s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 postgresql-client-common all 262 [36.7 kB] 117s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 ssl-cert all 1.1.2ubuntu2 [18.0 kB] 117s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 postgresql-common all 262 [162 kB] 117s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-minimal arm64 3.13.0-2 [877 kB] 117s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13-minimal arm64 3.13.0-2 [2100 kB] 117s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 libpq5 arm64 17.0-1 [248 kB] 117s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-stdlib arm64 3.13.0-2 [2073 kB] 118s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 libxslt1.1 arm64 1.1.39-0exp1ubuntu1 [167 kB] 118s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 postgresql-client-16 arm64 16.4-3 [1269 kB] 118s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 postgresql-16 arm64 16.4-3 [15.0 MB] 119s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 postgresql all 16+262 [11.8 kB] 119s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13 arm64 3.13.0-2 [719 kB] 119s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-all arm64 3.12.7-1 [890 B] 119s Get:16 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pygresql arm64 1:6.0.1-2 [81.6 kB] 119s Preconfiguring packages ... 119s Fetched 22.8 MB in 2s (9726 kB/s) 119s Selecting previously unselected package libjson-perl. 119s (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 ... 79931 files and directories currently installed.) 119s Preparing to unpack .../00-libjson-perl_4.10000-1_all.deb ... 119s Unpacking libjson-perl (4.10000-1) ... 119s Selecting previously unselected package postgresql-client-common. 119s Preparing to unpack .../01-postgresql-client-common_262_all.deb ... 119s Unpacking postgresql-client-common (262) ... 119s Selecting previously unselected package ssl-cert. 119s Preparing to unpack .../02-ssl-cert_1.1.2ubuntu2_all.deb ... 119s Unpacking ssl-cert (1.1.2ubuntu2) ... 119s Selecting previously unselected package postgresql-common. 120s Preparing to unpack .../03-postgresql-common_262_all.deb ... 120s Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common' 120s Unpacking postgresql-common (262) ... 120s Selecting previously unselected package libpython3.13-minimal:arm64. 120s Preparing to unpack .../04-libpython3.13-minimal_3.13.0-2_arm64.deb ... 120s Unpacking libpython3.13-minimal:arm64 (3.13.0-2) ... 120s Selecting previously unselected package python3.13-minimal. 120s Preparing to unpack .../05-python3.13-minimal_3.13.0-2_arm64.deb ... 120s Unpacking python3.13-minimal (3.13.0-2) ... 120s Selecting previously unselected package libpq5:arm64. 120s Preparing to unpack .../06-libpq5_17.0-1_arm64.deb ... 120s Unpacking libpq5:arm64 (17.0-1) ... 120s Selecting previously unselected package libpython3.13-stdlib:arm64. 120s Preparing to unpack .../07-libpython3.13-stdlib_3.13.0-2_arm64.deb ... 120s Unpacking libpython3.13-stdlib:arm64 (3.13.0-2) ... 120s Selecting previously unselected package libxslt1.1:arm64. 120s Preparing to unpack .../08-libxslt1.1_1.1.39-0exp1ubuntu1_arm64.deb ... 120s Unpacking libxslt1.1:arm64 (1.1.39-0exp1ubuntu1) ... 120s Selecting previously unselected package postgresql-client-16. 120s Preparing to unpack .../09-postgresql-client-16_16.4-3_arm64.deb ... 120s Unpacking postgresql-client-16 (16.4-3) ... 120s Selecting previously unselected package postgresql-16. 120s Preparing to unpack .../10-postgresql-16_16.4-3_arm64.deb ... 120s Unpacking postgresql-16 (16.4-3) ... 120s Selecting previously unselected package postgresql. 120s Preparing to unpack .../11-postgresql_16+262_all.deb ... 120s Unpacking postgresql (16+262) ... 120s Selecting previously unselected package python3.13. 120s Preparing to unpack .../12-python3.13_3.13.0-2_arm64.deb ... 120s Unpacking python3.13 (3.13.0-2) ... 120s Selecting previously unselected package python3-all. 121s Preparing to unpack .../13-python3-all_3.12.7-1_arm64.deb ... 121s Unpacking python3-all (3.12.7-1) ... 121s Selecting previously unselected package python3-pygresql. 121s Preparing to unpack .../14-python3-pygresql_1%3a6.0.1-2_arm64.deb ... 121s Unpacking python3-pygresql (1:6.0.1-2) ... 121s Selecting previously unselected package autopkgtest-satdep. 121s Preparing to unpack .../15-1-autopkgtest-satdep.deb ... 121s Unpacking autopkgtest-satdep (0) ... 121s Setting up postgresql-client-common (262) ... 121s Setting up libpq5:arm64 (17.0-1) ... 121s Setting up libpython3.13-minimal:arm64 (3.13.0-2) ... 121s Setting up ssl-cert (1.1.2ubuntu2) ... 121s Created symlink '/etc/systemd/system/multi-user.target.wants/ssl-cert.service' → '/usr/lib/systemd/system/ssl-cert.service'. 122s Setting up libjson-perl (4.10000-1) ... 122s Setting up libxslt1.1:arm64 (1.1.39-0exp1ubuntu1) ... 122s Setting up python3.13-minimal (3.13.0-2) ... 123s Setting up libpython3.13-stdlib:arm64 (3.13.0-2) ... 123s Setting up python3.13 (3.13.0-2) ... 124s Setting up python3-pygresql (1:6.0.1-2) ... 124s Setting up postgresql-client-16 (16.4-3) ... 125s update-alternatives: using /usr/share/postgresql/16/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode 125s Setting up python3-all (3.12.7-1) ... 125s Setting up postgresql-common (262) ... 125s 125s Creating config file /etc/postgresql-common/createcluster.conf with new version 125s Building PostgreSQL dictionaries from installed myspell/hunspell packages... 125s Removing obsolete dictionary files: 126s Created symlink '/etc/systemd/system/multi-user.target.wants/postgresql.service' → '/usr/lib/systemd/system/postgresql.service'. 126s Setting up postgresql-16 (16.4-3) ... 127s Creating new PostgreSQL cluster 16/main ... 127s /usr/lib/postgresql/16/bin/initdb -D /var/lib/postgresql/16/main --auth-local peer --auth-host scram-sha-256 --no-instructions 127s The files belonging to this database system will be owned by user "postgres". 127s This user must also own the server process. 127s 127s The database cluster will be initialized with locale "C.UTF-8". 127s The default database encoding has accordingly been set to "UTF8". 127s The default text search configuration will be set to "english". 127s 127s Data page checksums are disabled. 127s 127s fixing permissions on existing directory /var/lib/postgresql/16/main ... ok 127s creating subdirectories ... ok 127s selecting dynamic shared memory implementation ... posix 127s selecting default max_connections ... 100 127s selecting default shared_buffers ... 128MB 127s selecting default time zone ... Etc/UTC 127s creating configuration files ... ok 127s running bootstrap script ... ok 127s performing post-bootstrap initialization ... ok 127s syncing data to disk ... ok 131s Setting up postgresql (16+262) ... 131s Setting up autopkgtest-satdep (0) ... 131s Processing triggers for systemd (256.5-2ubuntu4) ... 131s Processing triggers for man-db (2.12.1-3) ... 132s Processing triggers for libc-bin (2.40-1ubuntu3) ... 135s (Reading database ... 82658 files and directories currently installed.) 135s Removing autopkgtest-satdep (0) ... 136s autopkgtest [09:56:29]: test unittests: [----------------------- 137s CREATE ROLE 137s CREATE DATABASE 137s Testing with: python3.13 137s tests.test_classic (unittest.loader._FailedTest.tests.test_classic) ... ERROR 137s tests.test_classic_attrdict (unittest.loader._FailedTest.tests.test_classic_attrdict) ... ERROR 137s tests.test_classic_connection (unittest.loader._FailedTest.tests.test_classic_connection) ... ERROR 137s tests.test_classic_dbwrapper (unittest.loader._FailedTest.tests.test_classic_dbwrapper) ... ERROR 137s tests.test_classic_functions (unittest.loader._FailedTest.tests.test_classic_functions) ... ERROR 137s tests.test_classic_largeobj (unittest.loader._FailedTest.tests.test_classic_largeobj) ... ERROR 137s tests.test_classic_notification (unittest.loader._FailedTest.tests.test_classic_notification) ... ERROR 137s tests.test_dbapi20 (unittest.loader._FailedTest.tests.test_dbapi20) ... ERROR 137s tests.test_dbapi20_copy (unittest.loader._FailedTest.tests.test_dbapi20_copy) ... ERROR 137s tests.test_tutorial (unittest.loader._FailedTest.tests.test_tutorial) ... ERROR 137s 137s ====================================================================== 137s ERROR: tests.test_classic (unittest.loader._FailedTest.tests.test_classic) 137s ---------------------------------------------------------------------- 137s ImportError: Failed to import test module: tests.test_classic 137s Traceback (most recent call last): 137s File "/usr/lib/python3/dist-packages/pg/core.py", line 4, in 137s from ._pg import version 137s ModuleNotFoundError: No module named 'pg._pg' 137s 137s The above exception was the direct cause of the following exception: 137s 137s Traceback (most recent call last): 137s File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path 137s module = self._get_module_from_name(name) 137s File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name 137s __import__(name) 137s ~~~~~~~~~~^^^^^^ 137s File "/tmp/autopkgtest.UlphGj/autopkgtest_tmp/tests/test_classic.py", line 9, in 137s from pg import ( 137s ...<7 lines>... 137s ) 137s File "/usr/lib/python3/dist-packages/pg/__init__.py", line 25, in 137s from .adapt import Adapter, Bytea, Hstore, Json, Literal 137s File "/usr/lib/python3/dist-packages/pg/adapt.py", line 16, in 137s from .cast import Typecasts 137s File "/usr/lib/python3/dist-packages/pg/cast.py", line 14, in 137s from .core import ( 137s ...<9 lines>... 137s ) 137s File "/usr/lib/python3/dist-packages/pg/core.py", line 31, in 137s raise ImportError( 137s "Cannot import shared library for PyGreSQL,\n" 137s f"probably because no {libpq} is installed.\n{e}") from e 137s ImportError: Cannot import shared library for PyGreSQL, 137s probably because no libpq.so is installed. 137s No module named 'pg._pg' 137s 137s 137s ====================================================================== 137s ERROR: tests.test_classic_attrdict (unittest.loader._FailedTest.tests.test_classic_attrdict) 137s ---------------------------------------------------------------------- 137s ImportError: Failed to import test module: tests.test_classic_attrdict 137s Traceback (most recent call last): 137s File "/usr/lib/python3/dist-packages/pg/core.py", line 4, in 137s from ._pg import version 137s ModuleNotFoundError: No module named 'pg._pg' 137s 137s The above exception was the direct cause of the following exception: 137s 137s Traceback (most recent call last): 137s File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path 137s module = self._get_module_from_name(name) 137s File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name 137s __import__(name) 137s ~~~~~~~~~~^^^^^^ 137s File "/tmp/autopkgtest.UlphGj/autopkgtest_tmp/tests/test_classic_attrdict.py", line 14, in 137s import pg.attrs # the module under test 137s ^^^^^^^^^^^^^^^ 137s File "/usr/lib/python3/dist-packages/pg/__init__.py", line 25, in 137s from .adapt import Adapter, Bytea, Hstore, Json, Literal 137s File "/usr/lib/python3/dist-packages/pg/adapt.py", line 16, in 137s from .cast import Typecasts 137s File "/usr/lib/python3/dist-packages/pg/cast.py", line 14, in 137s from .core import ( 137s ...<9 lines>... 137s ) 137s File "/usr/lib/python3/dist-packages/pg/core.py", line 31, in 137s raise ImportError( 137s "Cannot import shared library for PyGreSQL,\n" 137s f"probably because no {libpq} is installed.\n{e}") from e 137s ImportError: Cannot import shared library for PyGreSQL, 137s probably because no libpq.so is installed. 137s No module named 'pg._pg' 137s 137s 137s ====================================================================== 137s ERROR: tests.test_classic_connection (unittest.loader._FailedTest.tests.test_classic_connection) 137s ---------------------------------------------------------------------- 137s ImportError: Failed to import test module: tests.test_classic_connection 137s Traceback (most recent call last): 137s File "/usr/lib/python3/dist-packages/pg/core.py", line 4, in 137s from ._pg import version 137s ModuleNotFoundError: No module named 'pg._pg' 137s 137s The above exception was the direct cause of the following exception: 137s 137s Traceback (most recent call last): 137s File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path 137s module = self._get_module_from_name(name) 137s File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name 137s __import__(name) 137s ~~~~~~~~~~^^^^^^ 137s File "/tmp/autopkgtest.UlphGj/autopkgtest_tmp/tests/test_classic_connection.py", line 24, in 137s import pg # the module under test 137s ^^^^^^^^^ 137s File "/usr/lib/python3/dist-packages/pg/__init__.py", line 25, in 137s from .adapt import Adapter, Bytea, Hstore, Json, Literal 137s File "/usr/lib/python3/dist-packages/pg/adapt.py", line 16, in 137s from .cast import Typecasts 137s File "/usr/lib/python3/dist-packages/pg/cast.py", line 14, in 137s from .core import ( 137s ...<9 lines>... 137s ) 137s File "/usr/lib/python3/dist-packages/pg/core.py", line 31, in 137s raise ImportError( 137s "Cannot import shared library for PyGreSQL,\n" 137s f"probably because no {libpq} is installed.\n{e}") from e 137s ImportError: Cannot import shared library for PyGreSQL, 137s probably because no libpq.so is installed. 137s No module named 'pg._pg' 137s 137s 137s ====================================================================== 137s ERROR: tests.test_classic_dbwrapper (unittest.loader._FailedTest.tests.test_classic_dbwrapper) 137s ---------------------------------------------------------------------- 137s ImportError: Failed to import test module: tests.test_classic_dbwrapper 137s Traceback (most recent call last): 137s File "/usr/lib/python3/dist-packages/pg/core.py", line 4, in 137s from ._pg import version 137s ModuleNotFoundError: No module named 'pg._pg' 137s 137s The above exception was the direct cause of the following exception: 137s 137s Traceback (most recent call last): 137s File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path 137s module = self._get_module_from_name(name) 137s File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name 137s __import__(name) 137s ~~~~~~~~~~^^^^^^ 137s File "/tmp/autopkgtest.UlphGj/autopkgtest_tmp/tests/test_classic_dbwrapper.py", line 29, in 137s import pg # the module under test 137s ^^^^^^^^^ 137s File "/usr/lib/python3/dist-packages/pg/__init__.py", line 25, in 137s from .adapt import Adapter, Bytea, Hstore, Json, Literal 137s File "/usr/lib/python3/dist-packages/pg/adapt.py", line 16, in 137s from .cast import Typecasts 137s File "/usr/lib/python3/dist-packages/pg/cast.py", line 14, in 137s from .core import ( 137s ...<9 lines>... 137s ) 137s File "/usr/lib/python3/dist-packages/pg/core.py", line 31, in 137s raise ImportError( 137s "Cannot import shared library for PyGreSQL,\n" 137s f"probably because no {libpq} is installed.\n{e}") from e 137s ImportError: Cannot import shared library for PyGreSQL, 137s probably because no libpq.so is installed. 137s No module named 'pg._pg' 137s 137s 137s ====================================================================== 137s ERROR: tests.test_classic_functions (unittest.loader._FailedTest.tests.test_classic_functions) 137s ---------------------------------------------------------------------- 137s ImportError: Failed to import test module: tests.test_classic_functions 137s Traceback (most recent call last): 137s File "/usr/lib/python3/dist-packages/pg/core.py", line 4, in 137s from ._pg import version 137s ModuleNotFoundError: No module named 'pg._pg' 137s 137s The above exception was the direct cause of the following exception: 137s 137s Traceback (most recent call last): 137s File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path 137s module = self._get_module_from_name(name) 137s File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name 137s __import__(name) 137s ~~~~~~~~~~^^^^^^ 137s File "/tmp/autopkgtest.UlphGj/autopkgtest_tmp/tests/test_classic_functions.py", line 21, in 137s import pg # the module under test 137s ^^^^^^^^^ 137s File "/usr/lib/python3/dist-packages/pg/__init__.py", line 25, in 137s from .adapt import Adapter, Bytea, Hstore, Json, Literal 137s File "/usr/lib/python3/dist-packages/pg/adapt.py", line 16, in 137s from .cast import Typecasts 137s File "/usr/lib/python3/dist-packages/pg/cast.py", line 14, in 137s from .core import ( 137s ...<9 lines>... 137s ) 137s File "/usr/lib/python3/dist-packages/pg/core.py", line 31, in 137s raise ImportError( 137s "Cannot import shared library for PyGreSQL,\n" 137s f"probably because no {libpq} is installed.\n{e}") from e 137s ImportError: Cannot import shared library for PyGreSQL, 137s probably because no libpq.so is installed. 137s No module named 'pg._pg' 137s 137s 137s ====================================================================== 137s ERROR: tests.test_classic_largeobj (unittest.loader._FailedTest.tests.test_classic_largeobj) 137s ---------------------------------------------------------------------- 137s ImportError: Failed to import test module: tests.test_classic_largeobj 137s Traceback (most recent call last): 137s File "/usr/lib/python3/dist-packages/pg/core.py", line 4, in 137s from ._pg import version 137s ModuleNotFoundError: No module named 'pg._pg' 137s 137s The above exception was the direct cause of the following exception: 137s 137s Traceback (most recent call last): 137s File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path 137s module = self._get_module_from_name(name) 137s File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name 137s __import__(name) 137s ~~~~~~~~~~^^^^^^ 137s File "/tmp/autopkgtest.UlphGj/autopkgtest_tmp/tests/test_classic_largeobj.py", line 18, in 137s import pg # the module under test 137s ^^^^^^^^^ 137s File "/usr/lib/python3/dist-packages/pg/__init__.py", line 25, in 137s from .adapt import Adapter, Bytea, Hstore, Json, Literal 137s File "/usr/lib/python3/dist-packages/pg/adapt.py", line 16, in 137s from .cast import Typecasts 137s File "/usr/lib/python3/dist-packages/pg/cast.py", line 14, in 137s from .core import ( 137s ...<9 lines>... 137s ) 137s File "/usr/lib/python3/dist-packages/pg/core.py", line 31, in 137s raise ImportError( 137s "Cannot import shared library for PyGreSQL,\n" 137s f"probably because no {libpq} is installed.\n{e}") from e 137s ImportError: Cannot import shared library for PyGreSQL, 137s probably because no libpq.so is installed. 137s No module named 'pg._pg' 137s 137s 137s ====================================================================== 137s ERROR: tests.test_classic_notification (unittest.loader._FailedTest.tests.test_classic_notification) 137s ---------------------------------------------------------------------- 137s ImportError: Failed to import test module: tests.test_classic_notification 137s Traceback (most recent call last): 137s File "/usr/lib/python3/dist-packages/pg/core.py", line 4, in 137s from ._pg import version 137s ModuleNotFoundError: No module named 'pg._pg' 137s 137s The above exception was the direct cause of the following exception: 137s 137s Traceback (most recent call last): 137s File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path 137s module = self._get_module_from_name(name) 137s File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name 137s __import__(name) 137s ~~~~~~~~~~^^^^^^ 137s File "/tmp/autopkgtest.UlphGj/autopkgtest_tmp/tests/test_classic_notification.py", line 16, in 137s import pg # the module under test 137s ^^^^^^^^^ 137s File "/usr/lib/python3/dist-packages/pg/__init__.py", line 25, in 137s from .adapt import Adapter, Bytea, Hstore, Json, Literal 137s File "/usr/lib/python3/dist-packages/pg/adapt.py", line 16, in 137s from .cast import Typecasts 137s File "/usr/lib/python3/dist-packages/pg/cast.py", line 14, in 137s from .core import ( 137s ...<9 lines>... 137s ) 137s File "/usr/lib/python3/dist-packages/pg/core.py", line 31, in 137s raise ImportError( 137s "Cannot import shared library for PyGreSQL,\n" 137s f"probably because no {libpq} is installed.\n{e}") from e 137s ImportError: Cannot import shared library for PyGreSQL, 137s probably because no libpq.so is installed. 137s No module named 'pg._pg' 137s 137s 137s ====================================================================== 137s ERROR: tests.test_dbapi20 (unittest.loader._FailedTest.tests.test_dbapi20) 137s ---------------------------------------------------------------------- 137s ImportError: Failed to import test module: tests.test_dbapi20 137s Traceback (most recent call last): 137s File "/usr/lib/python3/dist-packages/pg/core.py", line 4, in 137s from ._pg import version 137s ModuleNotFoundError: No module named 'pg._pg' 137s 137s The above exception was the direct cause of the following exception: 137s 137s Traceback (most recent call last): 137s File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path 137s module = self._get_module_from_name(name) 137s File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name 137s __import__(name) 137s ~~~~~~~~~~^^^^^^ 137s File "/tmp/autopkgtest.UlphGj/autopkgtest_tmp/tests/test_dbapi20.py", line 12, in 137s import pgdb 137s File "/usr/lib/python3/dist-packages/pgdb/__init__.py", line 67, in 137s from pg.core import ( 137s ...<11 lines>... 137s ) 137s File "/usr/lib/python3/dist-packages/pg/__init__.py", line 25, in 137s from .adapt import Adapter, Bytea, Hstore, Json, Literal 137s File "/usr/lib/python3/dist-packages/pg/adapt.py", line 16, in 137s from .cast import Typecasts 137s File "/usr/lib/python3/dist-packages/pg/cast.py", line 14, in 137s from .core import ( 137s ...<9 lines>... 137s ) 137s File "/usr/lib/python3/dist-packages/pg/core.py", line 31, in 137s raise ImportError( 137s "Cannot import shared library for PyGreSQL,\n" 137s f"probably because no {libpq} is installed.\n{e}") from e 137s ImportError: Cannot import shared library for PyGreSQL, 137s probably because no libpq.so is installed. 137s No module named 'pg._pg' 137s 137s 137s ====================================================================== 137s ERROR: tests.test_dbapi20_copy (unittest.loader._FailedTest.tests.test_dbapi20_copy) 137s ---------------------------------------------------------------------- 137s ImportError: Failed to import test module: tests.test_dbapi20_copy 137s Traceback (most recent call last): 137s File "/usr/lib/python3/dist-packages/pg/core.py", line 4, in 137s from ._pg import version 137s ModuleNotFoundError: No module named 'pg._pg' 137s 137s The above exception was the direct cause of the following exception: 137s 137s Traceback (most recent call last): 137s File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path 137s module = self._get_module_from_name(name) 137s File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name 137s __import__(name) 137s ~~~~~~~~~~^^^^^^ 137s File "/tmp/autopkgtest.UlphGj/autopkgtest_tmp/tests/test_dbapi20_copy.py", line 19, in 137s import pgdb # the module under test 137s ^^^^^^^^^^^ 137s File "/usr/lib/python3/dist-packages/pgdb/__init__.py", line 67, in 137s from pg.core import ( 137s ...<11 lines>... 137s ) 137s File "/usr/lib/python3/dist-packages/pg/__init__.py", line 25, in 137s from .adapt import Adapter, Bytea, Hstore, Json, Literal 137s File "/usr/lib/python3/dist-packages/pg/adapt.py", line 16, in 137s from .cast import Typecasts 137s File "/usr/lib/python3/dist-packages/pg/cast.py", line 14, in 137s from .core import ( 137s ...<9 lines>... 137s ) 137s File "/usr/lib/python3/dist-packages/pg/core.py", line 31, in 137s raise ImportError( 137s "Cannot import shared library for PyGreSQL,\n" 137s f"probably because no {libpq} is installed.\n{e}") from e 137s ImportError: Cannot import shared library for PyGreSQL, 137s probably because no libpq.so is installed. 137s No module named 'pg._pg' 137s 137s 137s ====================================================================== 137s ERROR: tests.test_tutorial (unittest.loader._FailedTest.tests.test_tutorial) 137s ---------------------------------------------------------------------- 137s ImportError: Failed to import test module: tests.test_tutorial 137s Traceback (most recent call last): 137s File "/usr/lib/python3/dist-packages/pg/core.py", line 4, in 137s from ._pg import version 137s ModuleNotFoundError: No module named 'pg._pg' 137s 137s The above exception was the direct cause of the following exception: 137s 137s Traceback (most recent call last): 137s File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path 137s module = self._get_module_from_name(name) 137s File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name 137s __import__(name) 137s ~~~~~~~~~~^^^^^^ 137s File "/tmp/autopkgtest.UlphGj/autopkgtest_tmp/tests/test_tutorial.py", line 6, in 137s from pg import DB 137s File "/usr/lib/python3/dist-packages/pg/__init__.py", line 25, in 137s from .adapt import Adapter, Bytea, Hstore, Json, Literal 137s File "/usr/lib/python3/dist-packages/pg/adapt.py", line 16, in 137s from .cast import Typecasts 137s File "/usr/lib/python3/dist-packages/pg/cast.py", line 14, in 137s from .core import ( 137s ...<9 lines>... 137s ) 137s File "/usr/lib/python3/dist-packages/pg/core.py", line 31, in 137s raise ImportError( 137s "Cannot import shared library for PyGreSQL,\n" 137s f"probably because no {libpq} is installed.\n{e}") from e 137s ImportError: Cannot import shared library for PyGreSQL, 137s probably because no libpq.so is installed. 137s No module named 'pg._pg' 137s 137s 137s ---------------------------------------------------------------------- 137s Ran 10 tests in 0.001s 137s 137s FAILED (errors=10) 137s autopkgtest [09:56:30]: test unittests: -----------------------] 138s autopkgtest [09:56:31]: test unittests: - - - - - - - - - - results - - - - - - - - - - 138s unittests FAIL non-zero exit status 1 138s autopkgtest [09:56:31]: @@@@@@@@@@@@@@@@@@@@ summary 138s unittests FAIL non-zero exit status 1 151s nova [W] Skipping flock in bos03-arm64 151s Creating nova instance adt-plucky-arm64-pygresql-20241113-095413-juju-7f2275-prod-proposed-migration-environment-15-dc23b4e5-4a8f-4de7-81b0-f794d0d3050a from image adt/ubuntu-plucky-arm64-server-20241113.img (UUID 2d7760e6-2439-4200-89d6-5ed33e5c6330)...