0s autopkgtest [10:48:43]: starting date and time: 2024-11-13 10:48:43+0000 0s autopkgtest [10:48:43]: git checkout: 0acbae0a WIP show VirtSubproc stderr in real-time 0s autopkgtest [10:48:43]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.akd_kq6j/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-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-s390x-10.secgroup --name adt-plucky-s390x-pygresql-20241113-104843-juju-7f2275-prod-proposed-migration-environment-2-abfaa421-f708-405a-a18d-88bcd2bdfbf8 --image adt/ubuntu-plucky-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration-s390x -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/ 112s autopkgtest [10:50:35]: testbed dpkg architecture: s390x 112s autopkgtest [10:50:35]: testbed apt version: 2.9.8 112s autopkgtest [10:50:35]: @@@@@@@@@@@@@@@@@@@@ test bed setup 113s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 113s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [849 kB] 113s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.3 kB] 113s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 113s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [76.4 kB] 113s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [85.8 kB] 113s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [565 kB] 113s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [16.6 kB] 113s Fetched 1689 kB in 1s (2245 kB/s) 113s Reading package lists... 116s Reading package lists... 116s Building dependency tree... 116s Reading state information... 116s Calculating upgrade... 116s The following NEW packages will be installed: 116s python3.13-gdbm 116s The following packages will be upgraded: 116s libgpgme11t64 libpython3-stdlib python3 python3-gdbm python3-minimal 116s 5 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 116s Need to get 252 kB of archives. 116s After this operation, 98.3 kB of additional disk space will be used. 116s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x python3-minimal s390x 3.12.7-1 [27.4 kB] 116s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x python3 s390x 3.12.7-1 [24.0 kB] 116s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x libpython3-stdlib s390x 3.12.7-1 [10.0 kB] 116s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x python3.13-gdbm s390x 3.13.0-2 [31.0 kB] 117s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x python3-gdbm s390x 3.12.7-1 [8642 B] 117s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x libgpgme11t64 s390x 1.23.2-5ubuntu4 [151 kB] 117s Fetched 252 kB in 0s (632 kB/s) 117s (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 ... 55510 files and directories currently installed.) 117s Preparing to unpack .../python3-minimal_3.12.7-1_s390x.deb ... 117s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 117s Setting up python3-minimal (3.12.7-1) ... 117s (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 ... 55510 files and directories currently installed.) 117s Preparing to unpack .../python3_3.12.7-1_s390x.deb ... 117s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 117s Preparing to unpack .../libpython3-stdlib_3.12.7-1_s390x.deb ... 117s Unpacking libpython3-stdlib:s390x (3.12.7-1) over (3.12.6-0ubuntu1) ... 117s Selecting previously unselected package python3.13-gdbm. 117s Preparing to unpack .../python3.13-gdbm_3.13.0-2_s390x.deb ... 117s Unpacking python3.13-gdbm (3.13.0-2) ... 117s Preparing to unpack .../python3-gdbm_3.12.7-1_s390x.deb ... 117s Unpacking python3-gdbm:s390x (3.12.7-1) over (3.12.6-1ubuntu1) ... 117s Preparing to unpack .../libgpgme11t64_1.23.2-5ubuntu4_s390x.deb ... 117s Unpacking libgpgme11t64:s390x (1.23.2-5ubuntu4) over (1.18.0-4.1ubuntu4) ... 117s Setting up libgpgme11t64:s390x (1.23.2-5ubuntu4) ... 117s Setting up python3.13-gdbm (3.13.0-2) ... 117s Setting up libpython3-stdlib:s390x (3.12.7-1) ... 117s Setting up python3 (3.12.7-1) ... 117s Setting up python3-gdbm:s390x (3.12.7-1) ... 117s Processing triggers for man-db (2.12.1-3) ... 118s Processing triggers for libc-bin (2.40-1ubuntu3) ... 118s Reading package lists... 118s Building dependency tree... 118s Reading state information... 118s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 119s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 119s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 119s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 119s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 120s Reading package lists... 120s Reading package lists... 120s Building dependency tree... 120s Reading state information... 120s Calculating upgrade... 120s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 120s Reading package lists... 120s Building dependency tree... 120s Reading state information... 120s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 123s autopkgtest [10:50:46]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP Mon Sep 16 12:49:35 UTC 2024 124s autopkgtest [10:50:47]: @@@@@@@@@@@@@@@@@@@@ apt-source pygresql 126s Get:1 http://ftpmaster.internal/ubuntu plucky/universe pygresql 1:6.0.1-2 (dsc) [2216 B] 126s Get:2 http://ftpmaster.internal/ubuntu plucky/universe pygresql 1:6.0.1-2 (tar) [273 kB] 126s Get:3 http://ftpmaster.internal/ubuntu plucky/universe pygresql 1:6.0.1-2 (diff) [7480 B] 126s gpgv: Signature made Fri Sep 6 12:07:28 2024 UTC 126s gpgv: using RSA key 5C48FE6157F49179597087C64C5A6BAB12D2A7AE 126s gpgv: Can't check signature: No public key 126s dpkg-source: warning: cannot verify inline signature for ./pygresql_6.0.1-2.dsc: no acceptable signature found 126s autopkgtest [10:50:49]: testing package pygresql version 1:6.0.1-2 126s autopkgtest [10:50:49]: build not needed 127s autopkgtest [10:50:50]: test unittests: preparing testbed 128s Reading package lists... 128s Building dependency tree... 128s Reading state information... 128s Starting pkgProblemResolver with broken count: 0 128s Starting 2 pkgProblemResolver with broken count: 0 128s Done 128s The following additional packages will be installed: 128s libjson-perl libpq5 libpython3.13-minimal libpython3.13-stdlib libxslt1.1 128s postgresql postgresql-16 postgresql-client-16 postgresql-client-common 128s postgresql-common python3-all python3-pygresql python3.13 python3.13-minimal 128s ssl-cert 128s Suggested packages: 128s postgresql-doc postgresql-doc-16 python-pygresql-doc python3.13-venv 128s python3.13-doc binfmt-support 128s Recommended packages: 128s libjson-xs-perl 128s The following NEW packages will be installed: 128s autopkgtest-satdep libjson-perl libpq5 libpython3.13-minimal 128s libpython3.13-stdlib libxslt1.1 postgresql postgresql-16 128s postgresql-client-16 postgresql-client-common postgresql-common python3-all 128s python3-pygresql python3.13 python3.13-minimal ssl-cert 128s 0 upgraded, 16 newly installed, 0 to remove and 0 not upgraded. 128s Need to get 24.2 MB/24.2 MB of archives. 128s After this operation, 76.2 MB of additional disk space will be used. 128s Get:1 /tmp/autopkgtest.x2Gtqo/1-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [724 B] 129s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x libjson-perl all 4.10000-1 [81.9 kB] 129s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x postgresql-client-common all 262 [36.7 kB] 129s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x ssl-cert all 1.1.2ubuntu2 [18.0 kB] 129s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x postgresql-common all 262 [162 kB] 129s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x libpython3.13-minimal s390x 3.13.0-2 [877 kB] 129s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x python3.13-minimal s390x 3.13.0-2 [2172 kB] 129s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x libpq5 s390x 17.0-1 [252 kB] 129s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x libpython3.13-stdlib s390x 3.13.0-2 [2086 kB] 129s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x libxslt1.1 s390x 1.1.39-0exp1ubuntu1 [169 kB] 129s Get:11 http://ftpmaster.internal/ubuntu plucky/main s390x postgresql-client-16 s390x 16.4-3 [1294 kB] 129s Get:12 http://ftpmaster.internal/ubuntu plucky/main s390x postgresql-16 s390x 16.4-3 [16.3 MB] 130s Get:13 http://ftpmaster.internal/ubuntu plucky/main s390x postgresql all 16+262 [11.8 kB] 130s Get:14 http://ftpmaster.internal/ubuntu plucky/main s390x python3.13 s390x 3.13.0-2 [719 kB] 130s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x python3-all s390x 3.12.7-1 [890 B] 130s Get:16 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pygresql s390x 1:6.0.1-2 [84.5 kB] 130s Preconfiguring packages ... 130s Fetched 24.2 MB in 1s (17.1 MB/s) 130s Selecting previously unselected package libjson-perl. 130s (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 ... 55517 files and directories currently installed.) 130s Preparing to unpack .../00-libjson-perl_4.10000-1_all.deb ... 130s Unpacking libjson-perl (4.10000-1) ... 130s Selecting previously unselected package postgresql-client-common. 130s Preparing to unpack .../01-postgresql-client-common_262_all.deb ... 130s Unpacking postgresql-client-common (262) ... 130s Selecting previously unselected package ssl-cert. 130s Preparing to unpack .../02-ssl-cert_1.1.2ubuntu2_all.deb ... 130s Unpacking ssl-cert (1.1.2ubuntu2) ... 130s Selecting previously unselected package postgresql-common. 130s Preparing to unpack .../03-postgresql-common_262_all.deb ... 130s Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common' 130s Unpacking postgresql-common (262) ... 130s Selecting previously unselected package libpython3.13-minimal:s390x. 130s Preparing to unpack .../04-libpython3.13-minimal_3.13.0-2_s390x.deb ... 130s Unpacking libpython3.13-minimal:s390x (3.13.0-2) ... 130s Selecting previously unselected package python3.13-minimal. 130s Preparing to unpack .../05-python3.13-minimal_3.13.0-2_s390x.deb ... 130s Unpacking python3.13-minimal (3.13.0-2) ... 130s Selecting previously unselected package libpq5:s390x. 130s Preparing to unpack .../06-libpq5_17.0-1_s390x.deb ... 130s Unpacking libpq5:s390x (17.0-1) ... 130s Selecting previously unselected package libpython3.13-stdlib:s390x. 130s Preparing to unpack .../07-libpython3.13-stdlib_3.13.0-2_s390x.deb ... 130s Unpacking libpython3.13-stdlib:s390x (3.13.0-2) ... 130s Selecting previously unselected package libxslt1.1:s390x. 130s Preparing to unpack .../08-libxslt1.1_1.1.39-0exp1ubuntu1_s390x.deb ... 130s Unpacking libxslt1.1:s390x (1.1.39-0exp1ubuntu1) ... 130s Selecting previously unselected package postgresql-client-16. 130s Preparing to unpack .../09-postgresql-client-16_16.4-3_s390x.deb ... 130s Unpacking postgresql-client-16 (16.4-3) ... 130s Selecting previously unselected package postgresql-16. 130s Preparing to unpack .../10-postgresql-16_16.4-3_s390x.deb ... 130s Unpacking postgresql-16 (16.4-3) ... 131s Selecting previously unselected package postgresql. 131s Preparing to unpack .../11-postgresql_16+262_all.deb ... 131s Unpacking postgresql (16+262) ... 131s Selecting previously unselected package python3.13. 131s Preparing to unpack .../12-python3.13_3.13.0-2_s390x.deb ... 131s Unpacking python3.13 (3.13.0-2) ... 131s Selecting previously unselected package python3-all. 131s Preparing to unpack .../13-python3-all_3.12.7-1_s390x.deb ... 131s Unpacking python3-all (3.12.7-1) ... 131s Selecting previously unselected package python3-pygresql. 131s Preparing to unpack .../14-python3-pygresql_1%3a6.0.1-2_s390x.deb ... 131s Unpacking python3-pygresql (1:6.0.1-2) ... 131s Selecting previously unselected package autopkgtest-satdep. 131s Preparing to unpack .../15-1-autopkgtest-satdep.deb ... 131s Unpacking autopkgtest-satdep (0) ... 131s Setting up postgresql-client-common (262) ... 131s Setting up libpq5:s390x (17.0-1) ... 131s Setting up libpython3.13-minimal:s390x (3.13.0-2) ... 131s Setting up ssl-cert (1.1.2ubuntu2) ... 131s Created symlink '/etc/systemd/system/multi-user.target.wants/ssl-cert.service' → '/usr/lib/systemd/system/ssl-cert.service'. 131s Setting up libjson-perl (4.10000-1) ... 131s Setting up libxslt1.1:s390x (1.1.39-0exp1ubuntu1) ... 131s Setting up python3.13-minimal (3.13.0-2) ... 132s Setting up libpython3.13-stdlib:s390x (3.13.0-2) ... 132s Setting up python3.13 (3.13.0-2) ... 133s Setting up python3-pygresql (1:6.0.1-2) ... 134s Setting up postgresql-client-16 (16.4-3) ... 134s 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 134s Setting up python3-all (3.12.7-1) ... 134s Setting up postgresql-common (262) ... 134s 134s Creating config file /etc/postgresql-common/createcluster.conf with new version 134s Building PostgreSQL dictionaries from installed myspell/hunspell packages... 134s Removing obsolete dictionary files: 135s Created symlink '/etc/systemd/system/multi-user.target.wants/postgresql.service' → '/usr/lib/systemd/system/postgresql.service'. 135s Setting up postgresql-16 (16.4-3) ... 135s Creating new PostgreSQL cluster 16/main ... 135s /usr/lib/postgresql/16/bin/initdb -D /var/lib/postgresql/16/main --auth-local peer --auth-host scram-sha-256 --no-instructions 135s The files belonging to this database system will be owned by user "postgres". 135s This user must also own the server process. 135s 135s The database cluster will be initialized with locale "C.UTF-8". 135s The default database encoding has accordingly been set to "UTF8". 135s The default text search configuration will be set to "english". 135s 135s Data page checksums are disabled. 135s 135s fixing permissions on existing directory /var/lib/postgresql/16/main ... ok 135s creating subdirectories ... ok 135s selecting dynamic shared memory implementation ... posix 135s selecting default max_connections ... 100 135s selecting default shared_buffers ... 128MB 135s selecting default time zone ... Etc/UTC 135s creating configuration files ... ok 135s running bootstrap script ... ok 136s performing post-bootstrap initialization ... ok 136s syncing data to disk ... ok 139s Setting up postgresql (16+262) ... 139s Setting up autopkgtest-satdep (0) ... 139s Processing triggers for systemd (256.5-2ubuntu4) ... 139s Processing triggers for man-db (2.12.1-3) ... 140s Processing triggers for libc-bin (2.40-1ubuntu3) ... 142s (Reading database ... 58244 files and directories currently installed.) 142s Removing autopkgtest-satdep (0) ... 143s autopkgtest [10:51:06]: test unittests: [----------------------- 143s CREATE ROLE 143s CREATE DATABASE 143s Testing with: python3.13 143s tests.test_classic (unittest.loader._FailedTest.tests.test_classic) ... ERROR 143s tests.test_classic_attrdict (unittest.loader._FailedTest.tests.test_classic_attrdict) ... ERROR 143s tests.test_classic_connection (unittest.loader._FailedTest.tests.test_classic_connection) ... ERROR 143s tests.test_classic_dbwrapper (unittest.loader._FailedTest.tests.test_classic_dbwrapper) ... ERROR 143s tests.test_classic_functions (unittest.loader._FailedTest.tests.test_classic_functions) ... ERROR 143s tests.test_classic_largeobj (unittest.loader._FailedTest.tests.test_classic_largeobj) ... ERROR 143s tests.test_classic_notification (unittest.loader._FailedTest.tests.test_classic_notification) ... ERROR 143s tests.test_dbapi20 (unittest.loader._FailedTest.tests.test_dbapi20) ... ERROR 143s tests.test_dbapi20_copy (unittest.loader._FailedTest.tests.test_dbapi20_copy) ... ERROR 143s tests.test_tutorial (unittest.loader._FailedTest.tests.test_tutorial) ... ERROR 143s 143s ====================================================================== 143s ERROR: tests.test_classic (unittest.loader._FailedTest.tests.test_classic) 143s ---------------------------------------------------------------------- 143s ImportError: Failed to import test module: tests.test_classic 143s Traceback (most recent call last): 143s File "/usr/lib/python3/dist-packages/pg/core.py", line 4, in 143s from ._pg import version 143s ModuleNotFoundError: No module named 'pg._pg' 143s 143s The above exception was the direct cause of the following exception: 143s 143s Traceback (most recent call last): 143s File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path 143s module = self._get_module_from_name(name) 143s File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name 143s __import__(name) 143s ~~~~~~~~~~^^^^^^ 143s File "/tmp/autopkgtest.x2Gtqo/autopkgtest_tmp/tests/test_classic.py", line 9, in 143s from pg import ( 143s ...<7 lines>... 143s ) 143s File "/usr/lib/python3/dist-packages/pg/__init__.py", line 25, in 143s from .adapt import Adapter, Bytea, Hstore, Json, Literal 143s File "/usr/lib/python3/dist-packages/pg/adapt.py", line 16, in 143s from .cast import Typecasts 143s File "/usr/lib/python3/dist-packages/pg/cast.py", line 14, in 143s from .core import ( 143s ...<9 lines>... 143s ) 143s File "/usr/lib/python3/dist-packages/pg/core.py", line 31, in 143s raise ImportError( 143s "Cannot import shared library for PyGreSQL,\n" 143s f"probably because no {libpq} is installed.\n{e}") from e 143s ImportError: Cannot import shared library for PyGreSQL, 143s probably because no libpq.so is installed. 143s No module named 'pg._pg' 143s 143s 143s ====================================================================== 143s ERROR: tests.test_classic_attrdict (unittest.loader._FailedTest.tests.test_classic_attrdict) 143s ---------------------------------------------------------------------- 143s ImportError: Failed to import test module: tests.test_classic_attrdict 143s Traceback (most recent call last): 143s File "/usr/lib/python3/dist-packages/pg/core.py", line 4, in 143s from ._pg import version 143s ModuleNotFoundError: No module named 'pg._pg' 143s 143s The above exception was the direct cause of the following exception: 143s 143s Traceback (most recent call last): 143s File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path 143s module = self._get_module_from_name(name) 143s File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name 143s __import__(name) 143s ~~~~~~~~~~^^^^^^ 143s File "/tmp/autopkgtest.x2Gtqo/autopkgtest_tmp/tests/test_classic_attrdict.py", line 14, in 143s import pg.attrs # the module under test 143s ^^^^^^^^^^^^^^^ 143s File "/usr/lib/python3/dist-packages/pg/__init__.py", line 25, in 143s from .adapt import Adapter, Bytea, Hstore, Json, Literal 143s File "/usr/lib/python3/dist-packages/pg/adapt.py", line 16, in 143s from .cast import Typecasts 143s File "/usr/lib/python3/dist-packages/pg/cast.py", line 14, in 143s from .core import ( 143s ...<9 lines>... 143s ) 143s File "/usr/lib/python3/dist-packages/pg/core.py", line 31, in 143s raise ImportError( 143s "Cannot import shared library for PyGreSQL,\n" 143s f"probably because no {libpq} is installed.\n{e}") from e 143s ImportError: Cannot import shared library for PyGreSQL, 143s probably because no libpq.so is installed. 143s No module named 'pg._pg' 143s 143s 143s ====================================================================== 143s ERROR: tests.test_classic_connection (unittest.loader._FailedTest.tests.test_classic_connection) 143s ---------------------------------------------------------------------- 143s ImportError: Failed to import test module: tests.test_classic_connection 143s Traceback (most recent call last): 143s File "/usr/lib/python3/dist-packages/pg/core.py", line 4, in 143s from ._pg import version 143s ModuleNotFoundError: No module named 'pg._pg' 143s 143s The above exception was the direct cause of the following exception: 143s 143s Traceback (most recent call last): 143s File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path 143s module = self._get_module_from_name(name) 143s File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name 143s __import__(name) 143s ~~~~~~~~~~^^^^^^ 143s File "/tmp/autopkgtest.x2Gtqo/autopkgtest_tmp/tests/test_classic_connection.py", line 24, in 143s import pg # the module under test 143s ^^^^^^^^^ 143s File "/usr/lib/python3/dist-packages/pg/__init__.py", line 25, in 143s from .adapt import Adapter, Bytea, Hstore, Json, Literal 143s File "/usr/lib/python3/dist-packages/pg/adapt.py", line 16, in 143s from .cast import Typecasts 143s File "/usr/lib/python3/dist-packages/pg/cast.py", line 14, in 143s from .core import ( 143s ...<9 lines>... 143s ) 143s File "/usr/lib/python3/dist-packages/pg/core.py", line 31, in 143s raise ImportError( 143s "Cannot import shared library for PyGreSQL,\n" 143s f"probably because no {libpq} is installed.\n{e}") from e 143s ImportError: Cannot import shared library for PyGreSQL, 143s probably because no libpq.so is installed. 143s No module named 'pg._pg' 143s 143s 143s ====================================================================== 143s ERROR: tests.test_classic_dbwrapper (unittest.loader._FailedTest.tests.test_classic_dbwrapper) 143s ---------------------------------------------------------------------- 143s ImportError: Failed to import test module: tests.test_classic_dbwrapper 143s Traceback (most recent call last): 143s File "/usr/lib/python3/dist-packages/pg/core.py", line 4, in 143s from ._pg import version 143s ModuleNotFoundError: No module named 'pg._pg' 143s 143s The above exception was the direct cause of the following exception: 143s 143s Traceback (most recent call last): 143s File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path 143s module = self._get_module_from_name(name) 143s File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name 143s __import__(name) 143s ~~~~~~~~~~^^^^^^ 143s File "/tmp/autopkgtest.x2Gtqo/autopkgtest_tmp/tests/test_classic_dbwrapper.py", line 29, in 143s import pg # the module under test 143s ^^^^^^^^^ 143s File "/usr/lib/python3/dist-packages/pg/__init__.py", line 25, in 143s from .adapt import Adapter, Bytea, Hstore, Json, Literal 143s File "/usr/lib/python3/dist-packages/pg/adapt.py", line 16, in 143s from .cast import Typecasts 143s File "/usr/lib/python3/dist-packages/pg/cast.py", line 14, in 143s from .core import ( 143s ...<9 lines>... 143s ) 143s File "/usr/lib/python3/dist-packages/pg/core.py", line 31, in 143s raise ImportError( 143s "Cannot import shared library for PyGreSQL,\n" 143s f"probably because no {libpq} is installed.\n{e}") from e 143s ImportError: Cannot import shared library for PyGreSQL, 143s probably because no libpq.so is installed. 143s No module named 'pg._pg' 143s 143s 143s ====================================================================== 143s ERROR: tests.test_classic_functions (unittest.loader._FailedTest.tests.test_classic_functions) 143s ---------------------------------------------------------------------- 143s ImportError: Failed to import test module: tests.test_classic_functions 143s Traceback (most recent call last): 143s File "/usr/lib/python3/dist-packages/pg/core.py", line 4, in 143s from ._pg import version 143s ModuleNotFoundError: No module named 'pg._pg' 143s 143s The above exception was the direct cause of the following exception: 143s 143s Traceback (most recent call last): 143s File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path 143s module = self._get_module_from_name(name) 143s File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name 143s __import__(name) 143s ~~~~~~~~~~^^^^^^ 143s File "/tmp/autopkgtest.x2Gtqo/autopkgtest_tmp/tests/test_classic_functions.py", line 21, in 143s import pg # the module under test 143s ^^^^^^^^^ 143s File "/usr/lib/python3/dist-packages/pg/__init__.py", line 25, in 143s from .adapt import Adapter, Bytea, Hstore, Json, Literal 143s File "/usr/lib/python3/dist-packages/pg/adapt.py", line 16, in 143s from .cast import Typecasts 143s File "/usr/lib/python3/dist-packages/pg/cast.py", line 14, in 143s from .core import ( 143s ...<9 lines>... 143s ) 143s File "/usr/lib/python3/dist-packages/pg/core.py", line 31, in 143s raise ImportError( 143s "Cannot import shared library for PyGreSQL,\n" 143s f"probably because no {libpq} is installed.\n{e}") from e 143s ImportError: Cannot import shared library for PyGreSQL, 143s probably because no libpq.so is installed. 143s No module named 'pg._pg' 143s 143s 143s ====================================================================== 143s ERROR: tests.test_classic_largeobj (unittest.loader._FailedTest.tests.test_classic_largeobj) 143s ---------------------------------------------------------------------- 143s ImportError: Failed to import test module: tests.test_classic_largeobj 143s Traceback (most recent call last): 143s File "/usr/lib/python3/dist-packages/pg/core.py", line 4, in 143s from ._pg import version 143s ModuleNotFoundError: No module named 'pg._pg' 143s 143s The above exception was the direct cause of the following exception: 143s 143s Traceback (most recent call last): 143s File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path 143s module = self._get_module_from_name(name) 143s File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name 143s __import__(name) 143s ~~~~~~~~~~^^^^^^ 143s File "/tmp/autopkgtest.x2Gtqo/autopkgtest_tmp/tests/test_classic_largeobj.py", line 18, in 143s import pg # the module under test 143s ^^^^^^^^^ 143s File "/usr/lib/python3/dist-packages/pg/__init__.py", line 25, in 143s from .adapt import Adapter, Bytea, Hstore, Json, Literal 143s File "/usr/lib/python3/dist-packages/pg/adapt.py", line 16, in 143s from .cast import Typecasts 143s File "/usr/lib/python3/dist-packages/pg/cast.py", line 14, in 143s from .core import ( 143s ...<9 lines>... 143s ) 143s File "/usr/lib/python3/dist-packages/pg/core.py", line 31, in 143s raise ImportError( 143s "Cannot import shared library for PyGreSQL,\n" 143s f"probably because no {libpq} is installed.\n{e}") from e 143s ImportError: Cannot import shared library for PyGreSQL, 143s probably because no libpq.so is installed. 143s No module named 'pg._pg' 143s 143s 143s ====================================================================== 143s ERROR: tests.test_classic_notification (unittest.loader._FailedTest.tests.test_classic_notification) 143s ---------------------------------------------------------------------- 143s ImportError: Failed to import test module: tests.test_classic_notification 143s Traceback (most recent call last): 143s File "/usr/lib/python3/dist-packages/pg/core.py", line 4, in 143s from ._pg import version 143s ModuleNotFoundError: No module named 'pg._pg' 143s 143s The above exception was the direct cause of the following exception: 143s 143s Traceback (most recent call last): 143s File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path 143s module = self._get_module_from_name(name) 143s File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name 143s __import__(name) 143s ~~~~~~~~~~^^^^^^ 143s File "/tmp/autopkgtest.x2Gtqo/autopkgtest_tmp/tests/test_classic_notification.py", line 16, in 143s import pg # the module under test 143s ^^^^^^^^^ 143s File "/usr/lib/python3/dist-packages/pg/__init__.py", line 25, in 143s from .adapt import Adapter, Bytea, Hstore, Json, Literal 143s File "/usr/lib/python3/dist-packages/pg/adapt.py", line 16, in 143s from .cast import Typecasts 143s File "/usr/lib/python3/dist-packages/pg/cast.py", line 14, in 143s from .core import ( 143s ...<9 lines>... 143s ) 143s File "/usr/lib/python3/dist-packages/pg/core.py", line 31, in 143s raise ImportError( 143s "Cannot import shared library for PyGreSQL,\n" 143s f"probably because no {libpq} is installed.\n{e}") from e 143s ImportError: Cannot import shared library for PyGreSQL, 143s probably because no libpq.so is installed. 143s No module named 'pg._pg' 143s 143s 143s ====================================================================== 143s ERROR: tests.test_dbapi20 (unittest.loader._FailedTest.tests.test_dbapi20) 143s ---------------------------------------------------------------------- 143s ImportError: Failed to import test module: tests.test_dbapi20 143s Traceback (most recent call last): 143s File "/usr/lib/python3/dist-packages/pg/core.py", line 4, in 143s from ._pg import version 143s ModuleNotFoundError: No module named 'pg._pg' 143s 143s The above exception was the direct cause of the following exception: 143s 143s Traceback (most recent call last): 143s File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path 143s module = self._get_module_from_name(name) 143s File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name 143s __import__(name) 143s ~~~~~~~~~~^^^^^^ 143s File "/tmp/autopkgtest.x2Gtqo/autopkgtest_tmp/tests/test_dbapi20.py", line 12, in 143s import pgdb 143s File "/usr/lib/python3/dist-packages/pgdb/__init__.py", line 67, in 143s from pg.core import ( 143s ...<11 lines>... 143s ) 143s File "/usr/lib/python3/dist-packages/pg/__init__.py", line 25, in 143s from .adapt import Adapter, Bytea, Hstore, Json, Literal 143s File "/usr/lib/python3/dist-packages/pg/adapt.py", line 16, in 143s from .cast import Typecasts 143s File "/usr/lib/python3/dist-packages/pg/cast.py", line 14, in 143s from .core import ( 143s ...<9 lines>... 143s ) 143s File "/usr/lib/python3/dist-packages/pg/core.py", line 31, in 143s raise ImportError( 143s "Cannot import shared library for PyGreSQL,\n" 143s f"probably because no {libpq} is installed.\n{e}") from e 143s ImportError: Cannot import shared library for PyGreSQL, 143s probably because no libpq.so is installed. 143s No module named 'pg._pg' 143s 143s 143s ====================================================================== 143s ERROR: tests.test_dbapi20_copy (unittest.loader._FailedTest.tests.test_dbapi20_copy) 143s ---------------------------------------------------------------------- 143s ImportError: Failed to import test module: tests.test_dbapi20_copy 143s Traceback (most recent call last): 143s File "/usr/lib/python3/dist-packages/pg/core.py", line 4, in 143s from ._pg import version 143s ModuleNotFoundError: No module named 'pg._pg' 143s 143s The above exception was the direct cause of the following exception: 143s 143s Traceback (most recent call last): 143s File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path 143s module = self._get_module_from_name(name) 143s File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name 143s __import__(name) 143s ~~~~~~~~~~^^^^^^ 143s File "/tmp/autopkgtest.x2Gtqo/autopkgtest_tmp/tests/test_dbapi20_copy.py", line 19, in 143s import pgdb # the module under test 143s ^^^^^^^^^^^ 143s File "/usr/lib/python3/dist-packages/pgdb/__init__.py", line 67, in 143s from pg.core import ( 143s ...<11 lines>... 143s ) 143s File "/usr/lib/python3/dist-packages/pg/__init__.py", line 25, in 143s from .adapt import Adapter, Bytea, Hstore, Json, Literal 143s File "/usr/lib/python3/dist-packages/pg/adapt.py", line 16, in 143s from .cast import Typecasts 143s File "/usr/lib/python3/dist-packages/pg/cast.py", line 14, in 143s from .core import ( 143s ...<9 lines>... 143s ) 143s File "/usr/lib/python3/dist-packages/pg/core.py", line 31, in 143s raise ImportError( 143s "Cannot import shared library for PyGreSQL,\n" 143s f"probably because no {libpq} is installed.\n{e}") from e 143s ImportError: Cannot import shared library for PyGreSQL, 143s probably because no libpq.so is installed. 143s No module named 'pg._pg' 143s 143s 143s ====================================================================== 143s ERROR: tests.test_tutorial (unittest.loader._FailedTest.tests.test_tutorial) 143s ---------------------------------------------------------------------- 143s ImportError: Failed to import test module: tests.test_tutorial 143s Traceback (most recent call last): 143s File "/usr/lib/python3/dist-packages/pg/core.py", line 4, in 143s from ._pg import version 143s ModuleNotFoundError: No module named 'pg._pg' 143s 143s The above exception was the direct cause of the following exception: 143s 143s Traceback (most recent call last): 143s File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path 143s module = self._get_module_from_name(name) 143s File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name 143s __import__(name) 143s ~~~~~~~~~~^^^^^^ 143s File "/tmp/autopkgtest.x2Gtqo/autopkgtest_tmp/tests/test_tutorial.py", line 6, in 143s from pg import DB 143s File "/usr/lib/python3/dist-packages/pg/__init__.py", line 25, in 143s from .adapt import Adapter, Bytea, Hstore, Json, Literal 143s File "/usr/lib/python3/dist-packages/pg/adapt.py", line 16, in 143s from .cast import Typecasts 143s File "/usr/lib/python3/dist-packages/pg/cast.py", line 14, in 143s from .core import ( 143s ...<9 lines>... 143s ) 143s File "/usr/lib/python3/dist-packages/pg/core.py", line 31, in 143s raise ImportError( 143s "Cannot import shared library for PyGreSQL,\n" 143s f"probably because no {libpq} is installed.\n{e}") from e 143s ImportError: Cannot import shared library for PyGreSQL, 143s probably because no libpq.so is installed. 143s No module named 'pg._pg' 143s 143s 143s ---------------------------------------------------------------------- 143s Ran 10 tests in 0.001s 143s 143s FAILED (errors=10) 144s autopkgtest [10:51:07]: test unittests: -----------------------] 144s autopkgtest [10:51:07]: test unittests: - - - - - - - - - - results - - - - - - - - - - 144s unittests FAIL non-zero exit status 1 145s autopkgtest [10:51:08]: @@@@@@@@@@@@@@@@@@@@ summary 145s unittests FAIL non-zero exit status 1 159s virt: nova [W] Using flock in prodstack6-s390x 159s virt: flock: timeout while waiting to get lock 159s virt: Creating nova instance adt-plucky-s390x-pygresql-20241113-104843-juju-7f2275-prod-proposed-migration-environment-2-abfaa421-f708-405a-a18d-88bcd2bdfbf8 from image adt/ubuntu-plucky-s390x-server-20241113.img (UUID e740277e-1f72-40ae-bfbe-46030537c71c)...