0s autopkgtest [10:12:33]: starting date and time: 2024-11-13 10:12:33+0000 0s autopkgtest [10:12:33]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [10:12:33]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.tp7pxb7e/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@lcy02-49.secgroup --name adt-plucky-amd64-pygresql-20241113-101232-juju-7f2275-prod-proposed-migration-environment-15-afdaf96b-eb69-45a6-b20b-d5724020a117 --image adt/ubuntu-plucky-amd64-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/ 82s autopkgtest [10:13:55]: testbed dpkg architecture: amd64 82s autopkgtest [10:13:55]: testbed apt version: 2.9.8 82s autopkgtest [10:13:55]: @@@@@@@@@@@@@@@@@@@@ test bed setup 82s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 82s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [849 kB] 82s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 82s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.3 kB] 82s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [76.4 kB] 82s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [111 kB] 82s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [65.2 kB] 82s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [32.6 kB] 82s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [639 kB] 82s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [255 kB] 82s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [37.7 kB] 82s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [13.0 kB] 82s Fetched 2175 kB in 0s (7033 kB/s) 82s Reading package lists... 84s Reading package lists... 84s Building dependency tree... 84s Reading state information... 85s Calculating upgrade... 85s The following NEW packages will be installed: 85s python3.13-gdbm 85s The following packages will be upgraded: 85s libgpgme11t64 libpython3-stdlib python3 python3-gdbm python3-minimal 85s 5 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 85s Need to get 253 kB of archives. 85s After this operation, 147 kB of additional disk space will be used. 85s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3-minimal amd64 3.12.7-1 [27.4 kB] 85s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3 amd64 3.12.7-1 [24.0 kB] 85s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libpython3-stdlib amd64 3.12.7-1 [10.0 kB] 85s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13-gdbm amd64 3.13.0-2 [31.3 kB] 85s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3-gdbm amd64 3.12.7-1 [8642 B] 85s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 libgpgme11t64 amd64 1.23.2-5ubuntu4 [152 kB] 85s Fetched 253 kB in 0s (5806 kB/s) 85s (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 ... 75541 files and directories currently installed.) 85s Preparing to unpack .../python3-minimal_3.12.7-1_amd64.deb ... 85s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 85s Setting up python3-minimal (3.12.7-1) ... 86s (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 ... 75541 files and directories currently installed.) 86s Preparing to unpack .../python3_3.12.7-1_amd64.deb ... 86s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 86s Preparing to unpack .../libpython3-stdlib_3.12.7-1_amd64.deb ... 86s Unpacking libpython3-stdlib:amd64 (3.12.7-1) over (3.12.6-0ubuntu1) ... 86s Selecting previously unselected package python3.13-gdbm. 86s Preparing to unpack .../python3.13-gdbm_3.13.0-2_amd64.deb ... 86s Unpacking python3.13-gdbm (3.13.0-2) ... 86s Preparing to unpack .../python3-gdbm_3.12.7-1_amd64.deb ... 86s Unpacking python3-gdbm:amd64 (3.12.7-1) over (3.12.6-1ubuntu1) ... 86s Preparing to unpack .../libgpgme11t64_1.23.2-5ubuntu4_amd64.deb ... 86s Unpacking libgpgme11t64:amd64 (1.23.2-5ubuntu4) over (1.18.0-4.1ubuntu4) ... 86s Setting up libgpgme11t64:amd64 (1.23.2-5ubuntu4) ... 86s Setting up python3.13-gdbm (3.13.0-2) ... 86s Setting up libpython3-stdlib:amd64 (3.12.7-1) ... 86s Setting up python3 (3.12.7-1) ... 86s Setting up python3-gdbm:amd64 (3.12.7-1) ... 86s Processing triggers for man-db (2.12.1-3) ... 87s Processing triggers for libc-bin (2.40-1ubuntu3) ... 87s Reading package lists... 87s Building dependency tree... 87s Reading state information... 88s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 88s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 88s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 88s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 88s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 90s Reading package lists... 90s Reading package lists... 90s Building dependency tree... 90s Reading state information... 90s Calculating upgrade... 91s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 91s Reading package lists... 91s Building dependency tree... 91s Reading state information... 92s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 92s autopkgtest [10:14:05]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 13:41:20 UTC 2024 93s autopkgtest [10:14:06]: @@@@@@@@@@@@@@@@@@@@ apt-source pygresql 93s Get:1 http://ftpmaster.internal/ubuntu plucky/universe pygresql 1:6.0.1-2 (dsc) [2216 B] 93s Get:2 http://ftpmaster.internal/ubuntu plucky/universe pygresql 1:6.0.1-2 (tar) [273 kB] 93s Get:3 http://ftpmaster.internal/ubuntu plucky/universe pygresql 1:6.0.1-2 (diff) [7480 B] 94s gpgv: Signature made Fri Sep 6 12:07:28 2024 UTC 94s gpgv: using RSA key 5C48FE6157F49179597087C64C5A6BAB12D2A7AE 94s gpgv: Can't check signature: No public key 94s dpkg-source: warning: cannot verify inline signature for ./pygresql_6.0.1-2.dsc: no acceptable signature found 94s autopkgtest [10:14:07]: testing package pygresql version 1:6.0.1-2 94s autopkgtest [10:14:07]: build not needed 94s autopkgtest [10:14:07]: test unittests: preparing testbed 95s Reading package lists... 95s Building dependency tree... 95s Reading state information... 96s Starting pkgProblemResolver with broken count: 0 96s Starting 2 pkgProblemResolver with broken count: 0 96s Done 96s The following additional packages will be installed: 96s libjson-perl libpq5 libpython3.13-minimal libpython3.13-stdlib libxslt1.1 96s postgresql postgresql-16 postgresql-client-16 postgresql-client-common 96s postgresql-common python3-all python3-pygresql python3.13 python3.13-minimal 96s ssl-cert 96s Suggested packages: 96s postgresql-doc postgresql-doc-16 python-pygresql-doc python3.13-venv 96s python3.13-doc binfmt-support 96s Recommended packages: 96s libjson-xs-perl 96s The following NEW packages will be installed: 96s autopkgtest-satdep libjson-perl libpq5 libpython3.13-minimal 96s libpython3.13-stdlib libxslt1.1 postgresql postgresql-16 96s postgresql-client-16 postgresql-client-common postgresql-common python3-all 96s python3-pygresql python3.13 python3.13-minimal ssl-cert 96s 0 upgraded, 16 newly installed, 0 to remove and 0 not upgraded. 96s Need to get 23.2 MB/23.2 MB of archives. 96s After this operation, 74.4 MB of additional disk space will be used. 96s Get:1 /tmp/autopkgtest.33JJE7/1-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [724 B] 96s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 libjson-perl all 4.10000-1 [81.9 kB] 96s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 postgresql-client-common all 262 [36.7 kB] 96s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 ssl-cert all 1.1.2ubuntu2 [18.0 kB] 96s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 postgresql-common all 262 [162 kB] 96s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3.13-minimal amd64 3.13.0-2 [879 kB] 96s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13-minimal amd64 3.13.0-2 [2188 kB] 96s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 libpq5 amd64 17.0-1 [249 kB] 96s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3.13-stdlib amd64 3.13.0-2 [2107 kB] 96s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 libxslt1.1 amd64 1.1.39-0exp1ubuntu1 [169 kB] 96s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 postgresql-client-16 amd64 16.4-3 [1278 kB] 96s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 postgresql-16 amd64 16.4-3 [15.2 MB] 96s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 postgresql all 16+262 [11.8 kB] 96s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13 amd64 3.13.0-2 [719 kB] 97s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3-all amd64 3.12.7-1 [890 B] 97s Get:16 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pygresql amd64 1:6.0.1-2 [82.5 kB] 97s Preconfiguring packages ... 98s Fetched 23.2 MB in 0s (70.7 MB/s) 98s Selecting previously unselected package libjson-perl. 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 ... 75548 files and directories currently installed.) 98s Preparing to unpack .../00-libjson-perl_4.10000-1_all.deb ... 98s Unpacking libjson-perl (4.10000-1) ... 98s Selecting previously unselected package postgresql-client-common. 98s Preparing to unpack .../01-postgresql-client-common_262_all.deb ... 98s Unpacking postgresql-client-common (262) ... 98s Selecting previously unselected package ssl-cert. 98s Preparing to unpack .../02-ssl-cert_1.1.2ubuntu2_all.deb ... 98s Unpacking ssl-cert (1.1.2ubuntu2) ... 98s Selecting previously unselected package postgresql-common. 98s Preparing to unpack .../03-postgresql-common_262_all.deb ... 98s Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common' 98s Unpacking postgresql-common (262) ... 98s Selecting previously unselected package libpython3.13-minimal:amd64. 98s Preparing to unpack .../04-libpython3.13-minimal_3.13.0-2_amd64.deb ... 98s Unpacking libpython3.13-minimal:amd64 (3.13.0-2) ... 98s Selecting previously unselected package python3.13-minimal. 98s Preparing to unpack .../05-python3.13-minimal_3.13.0-2_amd64.deb ... 98s Unpacking python3.13-minimal (3.13.0-2) ... 98s Selecting previously unselected package libpq5:amd64. 98s Preparing to unpack .../06-libpq5_17.0-1_amd64.deb ... 98s Unpacking libpq5:amd64 (17.0-1) ... 98s Selecting previously unselected package libpython3.13-stdlib:amd64. 98s Preparing to unpack .../07-libpython3.13-stdlib_3.13.0-2_amd64.deb ... 98s Unpacking libpython3.13-stdlib:amd64 (3.13.0-2) ... 98s Selecting previously unselected package libxslt1.1:amd64. 98s Preparing to unpack .../08-libxslt1.1_1.1.39-0exp1ubuntu1_amd64.deb ... 98s Unpacking libxslt1.1:amd64 (1.1.39-0exp1ubuntu1) ... 98s Selecting previously unselected package postgresql-client-16. 98s Preparing to unpack .../09-postgresql-client-16_16.4-3_amd64.deb ... 98s Unpacking postgresql-client-16 (16.4-3) ... 98s Selecting previously unselected package postgresql-16. 98s Preparing to unpack .../10-postgresql-16_16.4-3_amd64.deb ... 98s Unpacking postgresql-16 (16.4-3) ... 98s Selecting previously unselected package postgresql. 98s Preparing to unpack .../11-postgresql_16+262_all.deb ... 98s Unpacking postgresql (16+262) ... 98s Selecting previously unselected package python3.13. 98s Preparing to unpack .../12-python3.13_3.13.0-2_amd64.deb ... 98s Unpacking python3.13 (3.13.0-2) ... 98s Selecting previously unselected package python3-all. 98s Preparing to unpack .../13-python3-all_3.12.7-1_amd64.deb ... 98s Unpacking python3-all (3.12.7-1) ... 98s Selecting previously unselected package python3-pygresql. 98s Preparing to unpack .../14-python3-pygresql_1%3a6.0.1-2_amd64.deb ... 98s Unpacking python3-pygresql (1:6.0.1-2) ... 98s Selecting previously unselected package autopkgtest-satdep. 98s Preparing to unpack .../15-1-autopkgtest-satdep.deb ... 98s Unpacking autopkgtest-satdep (0) ... 98s Setting up postgresql-client-common (262) ... 98s Setting up libpq5:amd64 (17.0-1) ... 98s Setting up libpython3.13-minimal:amd64 (3.13.0-2) ... 98s Setting up ssl-cert (1.1.2ubuntu2) ... 98s Created symlink '/etc/systemd/system/multi-user.target.wants/ssl-cert.service' → '/usr/lib/systemd/system/ssl-cert.service'. 99s Setting up libjson-perl (4.10000-1) ... 99s Setting up libxslt1.1:amd64 (1.1.39-0exp1ubuntu1) ... 99s Setting up python3.13-minimal (3.13.0-2) ... 100s Setting up libpython3.13-stdlib:amd64 (3.13.0-2) ... 100s Setting up python3.13 (3.13.0-2) ... 101s Setting up python3-pygresql (1:6.0.1-2) ... 101s Setting up postgresql-client-16 (16.4-3) ... 101s 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 101s Setting up python3-all (3.12.7-1) ... 101s Setting up postgresql-common (262) ... 102s 102s Creating config file /etc/postgresql-common/createcluster.conf with new version 102s Building PostgreSQL dictionaries from installed myspell/hunspell packages... 102s Removing obsolete dictionary files: 103s Created symlink '/etc/systemd/system/multi-user.target.wants/postgresql.service' → '/usr/lib/systemd/system/postgresql.service'. 103s Setting up postgresql-16 (16.4-3) ... 103s Creating new PostgreSQL cluster 16/main ... 103s /usr/lib/postgresql/16/bin/initdb -D /var/lib/postgresql/16/main --auth-local peer --auth-host scram-sha-256 --no-instructions 103s The files belonging to this database system will be owned by user "postgres". 103s This user must also own the server process. 103s 103s The database cluster will be initialized with locale "C.UTF-8". 103s The default database encoding has accordingly been set to "UTF8". 103s The default text search configuration will be set to "english". 103s 103s Data page checksums are disabled. 103s 103s fixing permissions on existing directory /var/lib/postgresql/16/main ... ok 103s creating subdirectories ... ok 103s selecting dynamic shared memory implementation ... posix 103s selecting default max_connections ... 100 103s selecting default shared_buffers ... 128MB 103s selecting default time zone ... Etc/UTC 103s creating configuration files ... ok 104s running bootstrap script ... ok 104s performing post-bootstrap initialization ... ok 104s syncing data to disk ... ok 108s Setting up postgresql (16+262) ... 108s Setting up autopkgtest-satdep (0) ... 108s Processing triggers for systemd (256.5-2ubuntu4) ... 108s Processing triggers for man-db (2.12.1-3) ... 109s Processing triggers for libc-bin (2.40-1ubuntu3) ... 111s (Reading database ... 78275 files and directories currently installed.) 111s Removing autopkgtest-satdep (0) ... 112s autopkgtest [10:14:25]: test unittests: [----------------------- 112s CREATE ROLE 112s CREATE DATABASE 112s Testing with: python3.13 112s tests.test_classic (unittest.loader._FailedTest.tests.test_classic) ... ERROR 112s tests.test_classic_attrdict (unittest.loader._FailedTest.tests.test_classic_attrdict) ... ERROR 112s tests.test_classic_connection (unittest.loader._FailedTest.tests.test_classic_connection) ... ERROR 112s tests.test_classic_dbwrapper (unittest.loader._FailedTest.tests.test_classic_dbwrapper) ... ERROR 112s tests.test_classic_functions (unittest.loader._FailedTest.tests.test_classic_functions) ... ERROR 112s tests.test_classic_largeobj (unittest.loader._FailedTest.tests.test_classic_largeobj) ... ERROR 112s tests.test_classic_notification (unittest.loader._FailedTest.tests.test_classic_notification) ... ERROR 112s tests.test_dbapi20 (unittest.loader._FailedTest.tests.test_dbapi20) ... ERROR 112s tests.test_dbapi20_copy (unittest.loader._FailedTest.tests.test_dbapi20_copy) ... ERROR 112s tests.test_tutorial (unittest.loader._FailedTest.tests.test_tutorial) ... ERROR 112s 112s ====================================================================== 112s ERROR: tests.test_classic (unittest.loader._FailedTest.tests.test_classic) 112s ---------------------------------------------------------------------- 112s ImportError: Failed to import test module: tests.test_classic 112s Traceback (most recent call last): 112s File "/usr/lib/python3/dist-packages/pg/core.py", line 4, in 112s from ._pg import version 112s ModuleNotFoundError: No module named 'pg._pg' 112s 112s The above exception was the direct cause of the following exception: 112s 112s Traceback (most recent call last): 112s File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path 112s module = self._get_module_from_name(name) 112s File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name 112s __import__(name) 112s ~~~~~~~~~~^^^^^^ 112s File "/tmp/autopkgtest.33JJE7/autopkgtest_tmp/tests/test_classic.py", line 9, in 112s from pg import ( 112s ...<7 lines>... 112s ) 112s File "/usr/lib/python3/dist-packages/pg/__init__.py", line 25, in 112s from .adapt import Adapter, Bytea, Hstore, Json, Literal 112s File "/usr/lib/python3/dist-packages/pg/adapt.py", line 16, in 112s from .cast import Typecasts 112s File "/usr/lib/python3/dist-packages/pg/cast.py", line 14, in 112s from .core import ( 112s ...<9 lines>... 112s ) 112s File "/usr/lib/python3/dist-packages/pg/core.py", line 31, in 112s raise ImportError( 112s "Cannot import shared library for PyGreSQL,\n" 112s f"probably because no {libpq} is installed.\n{e}") from e 112s ImportError: Cannot import shared library for PyGreSQL, 112s probably because no libpq.so is installed. 112s No module named 'pg._pg' 112s 112s 112s ====================================================================== 112s ERROR: tests.test_classic_attrdict (unittest.loader._FailedTest.tests.test_classic_attrdict) 112s ---------------------------------------------------------------------- 112s ImportError: Failed to import test module: tests.test_classic_attrdict 112s Traceback (most recent call last): 112s File "/usr/lib/python3/dist-packages/pg/core.py", line 4, in 112s from ._pg import version 112s ModuleNotFoundError: No module named 'pg._pg' 112s 112s The above exception was the direct cause of the following exception: 112s 112s Traceback (most recent call last): 112s File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path 112s module = self._get_module_from_name(name) 112s File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name 112s __import__(name) 112s ~~~~~~~~~~^^^^^^ 112s File "/tmp/autopkgtest.33JJE7/autopkgtest_tmp/tests/test_classic_attrdict.py", line 14, in 112s import pg.attrs # the module under test 112s ^^^^^^^^^^^^^^^ 112s File "/usr/lib/python3/dist-packages/pg/__init__.py", line 25, in 112s from .adapt import Adapter, Bytea, Hstore, Json, Literal 112s File "/usr/lib/python3/dist-packages/pg/adapt.py", line 16, in 112s from .cast import Typecasts 112s File "/usr/lib/python3/dist-packages/pg/cast.py", line 14, in 112s from .core import ( 112s ...<9 lines>... 112s ) 112s File "/usr/lib/python3/dist-packages/pg/core.py", line 31, in 112s raise ImportError( 112s "Cannot import shared library for PyGreSQL,\n" 112s f"probably because no {libpq} is installed.\n{e}") from e 112s ImportError: Cannot import shared library for PyGreSQL, 112s probably because no libpq.so is installed. 112s No module named 'pg._pg' 112s 112s 112s ====================================================================== 112s ERROR: tests.test_classic_connection (unittest.loader._FailedTest.tests.test_classic_connection) 112s ---------------------------------------------------------------------- 112s ImportError: Failed to import test module: tests.test_classic_connection 112s Traceback (most recent call last): 112s File "/usr/lib/python3/dist-packages/pg/core.py", line 4, in 112s from ._pg import version 112s ModuleNotFoundError: No module named 'pg._pg' 112s 112s The above exception was the direct cause of the following exception: 112s 112s Traceback (most recent call last): 112s File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path 112s module = self._get_module_from_name(name) 112s File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name 112s __import__(name) 112s ~~~~~~~~~~^^^^^^ 112s File "/tmp/autopkgtest.33JJE7/autopkgtest_tmp/tests/test_classic_connection.py", line 24, in 112s import pg # the module under test 112s ^^^^^^^^^ 112s File "/usr/lib/python3/dist-packages/pg/__init__.py", line 25, in 112s from .adapt import Adapter, Bytea, Hstore, Json, Literal 112s File "/usr/lib/python3/dist-packages/pg/adapt.py", line 16, in 112s from .cast import Typecasts 112s File "/usr/lib/python3/dist-packages/pg/cast.py", line 14, in 112s from .core import ( 112s ...<9 lines>... 112s ) 112s File "/usr/lib/python3/dist-packages/pg/core.py", line 31, in 112s raise ImportError( 112s "Cannot import shared library for PyGreSQL,\n" 112s f"probably because no {libpq} is installed.\n{e}") from e 112s ImportError: Cannot import shared library for PyGreSQL, 112s probably because no libpq.so is installed. 112s No module named 'pg._pg' 112s 112s 112s ====================================================================== 112s ERROR: tests.test_classic_dbwrapper (unittest.loader._FailedTest.tests.test_classic_dbwrapper) 112s ---------------------------------------------------------------------- 112s ImportError: Failed to import test module: tests.test_classic_dbwrapper 112s Traceback (most recent call last): 112s File "/usr/lib/python3/dist-packages/pg/core.py", line 4, in 112s from ._pg import version 112s ModuleNotFoundError: No module named 'pg._pg' 112s 112s The above exception was the direct cause of the following exception: 112s 112s Traceback (most recent call last): 112s File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path 112s module = self._get_module_from_name(name) 112s File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name 112s __import__(name) 112s ~~~~~~~~~~^^^^^^ 112s File "/tmp/autopkgtest.33JJE7/autopkgtest_tmp/tests/test_classic_dbwrapper.py", line 29, in 112s import pg # the module under test 112s ^^^^^^^^^ 112s File "/usr/lib/python3/dist-packages/pg/__init__.py", line 25, in 112s from .adapt import Adapter, Bytea, Hstore, Json, Literal 112s File "/usr/lib/python3/dist-packages/pg/adapt.py", line 16, in 112s from .cast import Typecasts 112s File "/usr/lib/python3/dist-packages/pg/cast.py", line 14, in 112s from .core import ( 112s ...<9 lines>... 112s ) 112s File "/usr/lib/python3/dist-packages/pg/core.py", line 31, in 112s raise ImportError( 112s "Cannot import shared library for PyGreSQL,\n" 112s f"probably because no {libpq} is installed.\n{e}") from e 112s ImportError: Cannot import shared library for PyGreSQL, 112s probably because no libpq.so is installed. 112s No module named 'pg._pg' 112s 112s 112s ====================================================================== 112s ERROR: tests.test_classic_functions (unittest.loader._FailedTest.tests.test_classic_functions) 112s ---------------------------------------------------------------------- 112s ImportError: Failed to import test module: tests.test_classic_functions 112s Traceback (most recent call last): 112s File "/usr/lib/python3/dist-packages/pg/core.py", line 4, in 112s from ._pg import version 112s ModuleNotFoundError: No module named 'pg._pg' 112s 112s The above exception was the direct cause of the following exception: 112s 112s Traceback (most recent call last): 112s File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path 112s module = self._get_module_from_name(name) 112s File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name 112s __import__(name) 112s ~~~~~~~~~~^^^^^^ 112s File "/tmp/autopkgtest.33JJE7/autopkgtest_tmp/tests/test_classic_functions.py", line 21, in 112s import pg # the module under test 112s ^^^^^^^^^ 112s File "/usr/lib/python3/dist-packages/pg/__init__.py", line 25, in 112s from .adapt import Adapter, Bytea, Hstore, Json, Literal 112s File "/usr/lib/python3/dist-packages/pg/adapt.py", line 16, in 112s from .cast import Typecasts 112s File "/usr/lib/python3/dist-packages/pg/cast.py", line 14, in 112s from .core import ( 112s ...<9 lines>... 112s ) 112s File "/usr/lib/python3/dist-packages/pg/core.py", line 31, in 112s raise ImportError( 112s "Cannot import shared library for PyGreSQL,\n" 112s f"probably because no {libpq} is installed.\n{e}") from e 112s ImportError: Cannot import shared library for PyGreSQL, 112s probably because no libpq.so is installed. 112s No module named 'pg._pg' 112s 112s 112s ====================================================================== 112s ERROR: tests.test_classic_largeobj (unittest.loader._FailedTest.tests.test_classic_largeobj) 112s ---------------------------------------------------------------------- 112s ImportError: Failed to import test module: tests.test_classic_largeobj 112s Traceback (most recent call last): 112s File "/usr/lib/python3/dist-packages/pg/core.py", line 4, in 112s from ._pg import version 112s ModuleNotFoundError: No module named 'pg._pg' 112s 112s The above exception was the direct cause of the following exception: 112s 112s Traceback (most recent call last): 112s File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path 112s module = self._get_module_from_name(name) 112s File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name 112s __import__(name) 112s ~~~~~~~~~~^^^^^^ 112s File "/tmp/autopkgtest.33JJE7/autopkgtest_tmp/tests/test_classic_largeobj.py", line 18, in 112s import pg # the module under test 112s ^^^^^^^^^ 112s File "/usr/lib/python3/dist-packages/pg/__init__.py", line 25, in 112s from .adapt import Adapter, Bytea, Hstore, Json, Literal 112s File "/usr/lib/python3/dist-packages/pg/adapt.py", line 16, in 112s from .cast import Typecasts 112s File "/usr/lib/python3/dist-packages/pg/cast.py", line 14, in 112s from .core import ( 112s ...<9 lines>... 112s ) 112s File "/usr/lib/python3/dist-packages/pg/core.py", line 31, in 112s raise ImportError( 112s "Cannot import shared library for PyGreSQL,\n" 112s f"probably because no {libpq} is installed.\n{e}") from e 112s ImportError: Cannot import shared library for PyGreSQL, 112s probably because no libpq.so is installed. 112s No module named 'pg._pg' 112s 112s 112s ====================================================================== 112s ERROR: tests.test_classic_notification (unittest.loader._FailedTest.tests.test_classic_notification) 112s ---------------------------------------------------------------------- 112s ImportError: Failed to import test module: tests.test_classic_notification 112s Traceback (most recent call last): 112s File "/usr/lib/python3/dist-packages/pg/core.py", line 4, in 112s from ._pg import version 112s ModuleNotFoundError: No module named 'pg._pg' 112s 112s The above exception was the direct cause of the following exception: 112s 112s Traceback (most recent call last): 112s File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path 112s module = self._get_module_from_name(name) 112s File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name 112s __import__(name) 112s ~~~~~~~~~~^^^^^^ 112s File "/tmp/autopkgtest.33JJE7/autopkgtest_tmp/tests/test_classic_notification.py", line 16, in 112s import pg # the module under test 112s ^^^^^^^^^ 112s File "/usr/lib/python3/dist-packages/pg/__init__.py", line 25, in 112s from .adapt import Adapter, Bytea, Hstore, Json, Literal 112s File "/usr/lib/python3/dist-packages/pg/adapt.py", line 16, in 112s from .cast import Typecasts 112s File "/usr/lib/python3/dist-packages/pg/cast.py", line 14, in 112s from .core import ( 112s ...<9 lines>... 112s ) 112s File "/usr/lib/python3/dist-packages/pg/core.py", line 31, in 112s raise ImportError( 112s "Cannot import shared library for PyGreSQL,\n" 112s f"probably because no {libpq} is installed.\n{e}") from e 112s ImportError: Cannot import shared library for PyGreSQL, 112s probably because no libpq.so is installed. 112s No module named 'pg._pg' 112s 112s 112s ====================================================================== 112s ERROR: tests.test_dbapi20 (unittest.loader._FailedTest.tests.test_dbapi20) 112s ---------------------------------------------------------------------- 112s ImportError: Failed to import test module: tests.test_dbapi20 112s Traceback (most recent call last): 112s File "/usr/lib/python3/dist-packages/pg/core.py", line 4, in 112s from ._pg import version 112s ModuleNotFoundError: No module named 'pg._pg' 112s 112s The above exception was the direct cause of the following exception: 112s 112s Traceback (most recent call last): 112s File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path 112s module = self._get_module_from_name(name) 112s File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name 112s __import__(name) 112s ~~~~~~~~~~^^^^^^ 112s File "/tmp/autopkgtest.33JJE7/autopkgtest_tmp/tests/test_dbapi20.py", line 12, in 112s import pgdb 112s File "/usr/lib/python3/dist-packages/pgdb/__init__.py", line 67, in 112s from pg.core import ( 112s ...<11 lines>... 112s ) 112s File "/usr/lib/python3/dist-packages/pg/__init__.py", line 25, in 112s from .adapt import Adapter, Bytea, Hstore, Json, Literal 112s File "/usr/lib/python3/dist-packages/pg/adapt.py", line 16, in 112s from .cast import Typecasts 112s File "/usr/lib/python3/dist-packages/pg/cast.py", line 14, in 112s from .core import ( 112s ...<9 lines>... 112s ) 112s File "/usr/lib/python3/dist-packages/pg/core.py", line 31, in 112s raise ImportError( 112s "Cannot import shared library for PyGreSQL,\n" 112s f"probably because no {libpq} is installed.\n{e}") from e 112s ImportError: Cannot import shared library for PyGreSQL, 112s probably because no libpq.so is installed. 112s No module named 'pg._pg' 112s 112s 112s ====================================================================== 112s ERROR: tests.test_dbapi20_copy (unittest.loader._FailedTest.tests.test_dbapi20_copy) 112s ---------------------------------------------------------------------- 112s ImportError: Failed to import test module: tests.test_dbapi20_copy 112s Traceback (most recent call last): 112s File "/usr/lib/python3/dist-packages/pg/core.py", line 4, in 112s from ._pg import version 112s ModuleNotFoundError: No module named 'pg._pg' 112s 112s The above exception was the direct cause of the following exception: 112s 112s Traceback (most recent call last): 112s File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path 112s module = self._get_module_from_name(name) 112s File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name 112s __import__(name) 112s ~~~~~~~~~~^^^^^^ 112s File "/tmp/autopkgtest.33JJE7/autopkgtest_tmp/tests/test_dbapi20_copy.py", line 19, in 112s import pgdb # the module under test 112s ^^^^^^^^^^^ 112s File "/usr/lib/python3/dist-packages/pgdb/__init__.py", line 67, in 112s from pg.core import ( 112s ...<11 lines>... 112s ) 112s File "/usr/lib/python3/dist-packages/pg/__init__.py", line 25, in 112s from .adapt import Adapter, Bytea, Hstore, Json, Literal 112s File "/usr/lib/python3/dist-packages/pg/adapt.py", line 16, in 112s from .cast import Typecasts 112s File "/usr/lib/python3/dist-packages/pg/cast.py", line 14, in 112s from .core import ( 112s ...<9 lines>... 112s ) 112s File "/usr/lib/python3/dist-packages/pg/core.py", line 31, in 112s raise ImportError( 112s "Cannot import shared library for PyGreSQL,\n" 112s f"probably because no {libpq} is installed.\n{e}") from e 112s ImportError: Cannot import shared library for PyGreSQL, 112s probably because no libpq.so is installed. 112s No module named 'pg._pg' 112s 112s 112s ====================================================================== 112s ERROR: tests.test_tutorial (unittest.loader._FailedTest.tests.test_tutorial) 112s ---------------------------------------------------------------------- 112s ImportError: Failed to import test module: tests.test_tutorial 112s Traceback (most recent call last): 112s File "/usr/lib/python3/dist-packages/pg/core.py", line 4, in 112s from ._pg import version 112s ModuleNotFoundError: No module named 'pg._pg' 112s 112s The above exception was the direct cause of the following exception: 112s 112s Traceback (most recent call last): 112s File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path 112s module = self._get_module_from_name(name) 112s File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name 112s __import__(name) 112s ~~~~~~~~~~^^^^^^ 112s File "/tmp/autopkgtest.33JJE7/autopkgtest_tmp/tests/test_tutorial.py", line 6, in 112s from pg import DB 112s File "/usr/lib/python3/dist-packages/pg/__init__.py", line 25, in 112s from .adapt import Adapter, Bytea, Hstore, Json, Literal 112s File "/usr/lib/python3/dist-packages/pg/adapt.py", line 16, in 112s from .cast import Typecasts 112s File "/usr/lib/python3/dist-packages/pg/cast.py", line 14, in 112s from .core import ( 112s ...<9 lines>... 112s ) 112s File "/usr/lib/python3/dist-packages/pg/core.py", line 31, in 112s raise ImportError( 112s "Cannot import shared library for PyGreSQL,\n" 112s f"probably because no {libpq} is installed.\n{e}") from e 112s ImportError: Cannot import shared library for PyGreSQL, 112s probably because no libpq.so is installed. 112s No module named 'pg._pg' 112s 112s 112s ---------------------------------------------------------------------- 112s Ran 10 tests in 0.001s 112s 112s FAILED (errors=10) 113s autopkgtest [10:14:26]: test unittests: -----------------------] 113s autopkgtest [10:14:26]: test unittests: - - - - - - - - - - results - - - - - - - - - - 113s unittests FAIL non-zero exit status 1 113s autopkgtest [10:14:26]: @@@@@@@@@@@@@@@@@@@@ summary 113s unittests FAIL non-zero exit status 1 131s nova [W] Skipping flock for amd64 131s Creating nova instance adt-plucky-amd64-pygresql-20241113-101232-juju-7f2275-prod-proposed-migration-environment-15-afdaf96b-eb69-45a6-b20b-d5724020a117 from image adt/ubuntu-plucky-amd64-server-20241113.img (UUID 76b850f9-98f4-4b79-af06-fa11000b95b2)...