autopkgtest [01:43:00]: starting date: 2023-05-20 autopkgtest [01:43:00]: git checkout: 5b37e4c Merge branch 'fix-default-release' autopkgtest [01:43:00]: host juju-4d1272-prod-proposed-migration-5; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.23cksxrj/out --timeout-copy=6000 --setup-commands 'sed -i "s/ports.ubuntu.com/ftpmaster.internal/; s/ubuntu-ports/ubuntu/" /etc/apt/sources.list `ls /etc/apt/sources.list.d/*.list 2>/dev/null || true`; ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpad.net,10.24.0.0/24\n" >> /etc/environment' --apt-pocket=proposed=src:postgresql-common --apt-upgrade prometheus-sql-exporter --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=postgresql-common/238ubuntu0.1 -- lxd -r lxd-armhf-10.44.124.8 lxd-armhf-10.44.124.8:autopkgtest/ubuntu/jammy/armhf autopkgtest [01:43:22]: @@@@@@@@@@@@@@@@@@@@ test bed setup Get:1 http://ftpmaster.internal/ubuntu jammy-proposed InRelease [270 kB] Get:2 http://ftpmaster.internal/ubuntu jammy-proposed/main Sources [51.8 kB] Get:3 http://ftpmaster.internal/ubuntu jammy-proposed/restricted Sources [8280 B] Get:4 http://ftpmaster.internal/ubuntu jammy-proposed/multiverse Sources [976 B] Get:5 http://ftpmaster.internal/ubuntu jammy-proposed/universe Sources [22.0 kB] Get:6 http://ftpmaster.internal/ubuntu jammy-proposed/main armhf Packages [108 kB] Get:7 http://ftpmaster.internal/ubuntu jammy-proposed/main armhf c-n-f Metadata [2552 B] Get:8 http://ftpmaster.internal/ubuntu jammy-proposed/restricted armhf Packages [992 B] Get:9 http://ftpmaster.internal/ubuntu jammy-proposed/restricted armhf c-n-f Metadata [116 B] Get:10 http://ftpmaster.internal/ubuntu jammy-proposed/universe armhf Packages [98.0 kB] Get:11 http://ftpmaster.internal/ubuntu jammy-proposed/universe armhf c-n-f Metadata [1696 B] Get:12 http://ftpmaster.internal/ubuntu jammy-proposed/multiverse armhf c-n-f Metadata [116 B] Fetched 565 kB in 1s (638 kB/s) Reading package lists... tee: /proc/self/fd/2: Permission denied Hit:1 http://ftpmaster.internal/ubuntu jammy InRelease Hit:2 http://ftpmaster.internal/ubuntu jammy-updates InRelease Hit:3 http://ftpmaster.internal/ubuntu jammy-security InRelease Hit:4 http://ftpmaster.internal/ubuntu jammy-proposed InRelease Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages were automatically installed and are no longer required: linux-headers-5.15.0-71 linux-headers-5.15.0-71-generic Use 'apt autoremove' to remove them. The following NEW packages will be installed: linux-headers-5.15.0-72 linux-headers-5.15.0-72-generic The following packages will be upgraded: linux-headers-generic 1 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 13.4 MB of archives. After this operation, 83.5 MB of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu jammy-updates/main armhf linux-headers-5.15.0-72 all 5.15.0-72.79 [12.3 MB] Get:2 http://ftpmaster.internal/ubuntu jammy-updates/main armhf linux-headers-5.15.0-72-generic armhf 5.15.0-72.79 [1111 kB] Get:3 http://ftpmaster.internal/ubuntu jammy-updates/main armhf linux-headers-generic armhf 5.15.0.72.70 [2346 B] Fetched 13.4 MB in 2s (6492 kB/s) Selecting previously unselected package linux-headers-5.15.0-72. (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 ... 56313 files and directories currently installed.) Preparing to unpack .../linux-headers-5.15.0-72_5.15.0-72.79_all.deb ... Unpacking linux-headers-5.15.0-72 (5.15.0-72.79) ... Selecting previously unselected package linux-headers-5.15.0-72-generic. Preparing to unpack .../linux-headers-5.15.0-72-generic_5.15.0-72.79_armhf.deb ... Unpacking linux-headers-5.15.0-72-generic (5.15.0-72.79) ... Preparing to unpack .../linux-headers-generic_5.15.0.72.70_armhf.deb ... Unpacking linux-headers-generic (5.15.0.72.70) over (5.15.0.71.69) ... Setting up linux-headers-5.15.0-72 (5.15.0-72.79) ... Setting up linux-headers-5.15.0-72-generic (5.15.0-72.79) ... Setting up linux-headers-generic (5.15.0.72.70) ... Reading package lists... Building dependency tree... Reading state information... The following packages will be REMOVED: linux-headers-5.15.0-71* linux-headers-5.15.0-71-generic* 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. After this operation, 83.5 MB disk space will be freed. (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 ... 85499 files and directories currently installed.) Removing linux-headers-5.15.0-71-generic (5.15.0-71.78) ... Removing linux-headers-5.15.0-71 (5.15.0-71.78) ... autopkgtest [01:44:21]: rebooting testbed after setup commands that affected boot autopkgtest [01:44:54]: testbed running kernel: Linux 5.4.0-139-generic #156-Ubuntu SMP Sat Jan 21 13:46:46 UTC 2023 autopkgtest [01:45:00]: testbed dpkg architecture: armhf autopkgtest [01:45:17]: @@@@@@@@@@@@@@@@@@@@ apt-source prometheus-sql-exporter Get:1 http://ftpmaster.internal/ubuntu jammy/universe prometheus-sql-exporter 0.4.2-1 (dsc) [2520 B] Get:2 http://ftpmaster.internal/ubuntu jammy/universe prometheus-sql-exporter 0.4.2-1 (tar) [217 kB] Get:3 http://ftpmaster.internal/ubuntu jammy/universe prometheus-sql-exporter 0.4.2-1 (diff) [5884 B] gpgv: Signature made Fri Feb 4 11:13:44 2022 UTC gpgv: using RSA key 5C48FE6157F49179597087C64C5A6BAB12D2A7AE gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify signature ./prometheus-sql-exporter_0.4.2-1.dsc autopkgtest [01:45:23]: testing package prometheus-sql-exporter version 0.4.2-1 autopkgtest [01:45:23]: build not needed autopkgtest [01:45:25]: test exporter: preparing testbed Reading package lists... Building dependency tree... Reading state information... Correcting dependencies...Starting pkgProblemResolver with broken count: 0 Starting 2 pkgProblemResolver with broken count: 0 Done Done Starting pkgProblemResolver with broken count: 0 Starting 2 pkgProblemResolver with broken count: 0 Done The following additional packages will be installed: clang-14 gcc-11-base icu-devtools libasan6 libatomic1 libc-dev-bin libc6-dev libclang-common-14-dev libclang-cpp14 libclang1-14 libcrypt-dev libffi-dev libgc1 libgcc-11-dev libgomp1 libicu-dev libjson-perl libllvm14 libncurses-dev libnsl-dev libobjc-11-dev libobjc4 libpfm4 libpq-dev libpq5 libssl-dev libstdc++-11-dev libtinfo-dev libtirpc-dev libubsan1 libxml2-dev libxslt1.1 libz3-4 libz3-dev linux-libc-dev llvm-14 llvm-14-dev llvm-14-linker-tools llvm-14-runtime llvm-14-tools postgresql postgresql-14 postgresql-client-14 postgresql-client-common postgresql-common postgresql-server-dev-14 postgresql-server-dev-all prometheus-sql-exporter python3-pygments rpcsvc-proto ssl-cert Suggested packages: clang-14-doc glibc-doc manpages-dev icu-doc ncurses-doc postgresql-doc-14 libssl-doc libstdc++-11-doc pkg-config llvm-14-doc postgresql-doc python-pygments-doc ttf-bitstream-vera Recommended packages: manpages manpages-dev libc-devtools libjson-xs-perl binfmt-support sysstat The following NEW packages will be installed: clang-14 gcc-11-base icu-devtools libasan6 libatomic1 libc-dev-bin libc6-dev libclang-common-14-dev libclang-cpp14 libclang1-14 libcrypt-dev libffi-dev libgc1 libgcc-11-dev libgomp1 libicu-dev libjson-perl libllvm14 libncurses-dev libnsl-dev libobjc-11-dev libobjc4 libpfm4 libpq-dev libpq5 libssl-dev libstdc++-11-dev libtinfo-dev libtirpc-dev libubsan1 libxml2-dev libxslt1.1 libz3-4 libz3-dev linux-libc-dev llvm-14 llvm-14-dev llvm-14-linker-tools llvm-14-runtime llvm-14-tools postgresql postgresql-14 postgresql-client-14 postgresql-client-common postgresql-common postgresql-server-dev-14 postgresql-server-dev-all prometheus-sql-exporter python3-pygments rpcsvc-proto ssl-cert 0 upgraded, 51 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 149 MB of archives. After this operation, 691 MB of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu jammy/main armhf libjson-perl all 4.04000-1 [81.8 kB] Get:2 http://ftpmaster.internal/ubuntu jammy-proposed/main armhf postgresql-client-common all 238ubuntu0.1 [29.2 kB] Get:3 http://ftpmaster.internal/ubuntu jammy/main armhf ssl-cert all 1.1.2 [17.4 kB] Get:4 http://ftpmaster.internal/ubuntu jammy-proposed/main armhf postgresql-common all 238ubuntu0.1 [169 kB] Get:5 http://ftpmaster.internal/ubuntu jammy/universe armhf prometheus-sql-exporter armhf 0.4.2-1 [2645 kB] Get:6 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libpq5 armhf 14.7-0ubuntu0.22.04.1 [121 kB] Get:7 http://ftpmaster.internal/ubuntu jammy-updates/main armhf postgresql-client-14 armhf 14.7-0ubuntu0.22.04.1 [1185 kB] Get:8 http://ftpmaster.internal/ubuntu jammy/main armhf libllvm14 armhf 1:14.0.0-1ubuntu1 [22.7 MB] Get:9 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libxslt1.1 armhf 1.1.34-4ubuntu0.22.04.1 [146 kB] Get:10 http://ftpmaster.internal/ubuntu jammy-updates/main armhf postgresql-14 armhf 14.7-0ubuntu0.22.04.1 [15.2 MB] Get:11 http://ftpmaster.internal/ubuntu jammy-proposed/main armhf postgresql all 14+238ubuntu0.1 [2958 B] Get:12 http://ftpmaster.internal/ubuntu jammy/universe armhf libclang-cpp14 armhf 1:14.0.0-1ubuntu1 [11.0 MB] Get:13 http://ftpmaster.internal/ubuntu jammy-updates/main armhf gcc-11-base armhf 11.3.0-1ubuntu1~22.04.1 [20.9 kB] Get:14 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libgomp1 armhf 12.1.0-2ubuntu1~22.04 [110 kB] Get:15 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libatomic1 armhf 12.1.0-2ubuntu1~22.04 [7658 B] Get:16 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libasan6 armhf 11.3.0-1ubuntu1~22.04.1 [2242 kB] Get:17 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libubsan1 armhf 12.1.0-2ubuntu1~22.04 [959 kB] Get:18 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libgcc-11-dev armhf 11.3.0-1ubuntu1~22.04.1 [835 kB] Get:19 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libc-dev-bin armhf 2.35-0ubuntu3.1 [19.0 kB] Get:20 http://ftpmaster.internal/ubuntu jammy-updates/main armhf linux-libc-dev armhf 5.15.0-72.79 [1295 kB] Get:21 http://ftpmaster.internal/ubuntu jammy/main armhf libcrypt-dev armhf 1:4.4.27-1 [122 kB] Get:22 http://ftpmaster.internal/ubuntu jammy/main armhf rpcsvc-proto armhf 1.4.2-0ubuntu6 [63.7 kB] Get:23 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libtirpc-dev armhf 1.3.2-2ubuntu0.1 [184 kB] Get:24 http://ftpmaster.internal/ubuntu jammy/main armhf libnsl-dev armhf 1.3.0-2build2 [66.1 kB] Get:25 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libc6-dev armhf 2.35-0ubuntu3.1 [1332 kB] Get:26 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libstdc++-11-dev armhf 11.3.0-1ubuntu1~22.04.1 [2140 kB] Get:27 http://ftpmaster.internal/ubuntu jammy/main armhf libgc1 armhf 1:8.0.6-1.1build1 [83.7 kB] Get:28 http://ftpmaster.internal/ubuntu jammy-updates/universe armhf libobjc4 armhf 12.1.0-2ubuntu1~22.04 [39.6 kB] Get:29 http://ftpmaster.internal/ubuntu jammy-updates/universe armhf libobjc-11-dev armhf 11.3.0-1ubuntu1~22.04.1 [187 kB] Get:30 http://ftpmaster.internal/ubuntu jammy/universe armhf libclang-common-14-dev armhf 1:14.0.0-1ubuntu1 [3930 kB] Get:31 http://ftpmaster.internal/ubuntu jammy/universe armhf llvm-14-linker-tools armhf 1:14.0.0-1ubuntu1 [1169 kB] Get:32 http://ftpmaster.internal/ubuntu jammy/universe armhf libclang1-14 armhf 1:14.0.0-1ubuntu1 [6202 kB] Get:33 http://ftpmaster.internal/ubuntu jammy/universe armhf clang-14 armhf 1:14.0.0-1ubuntu1 [74.8 kB] Get:34 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libssl-dev armhf 3.0.2-0ubuntu1.9 [2082 kB] Get:35 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libpq-dev armhf 14.7-0ubuntu0.22.04.1 [137 kB] Get:36 http://ftpmaster.internal/ubuntu jammy/main armhf libffi-dev armhf 3.4.2-4 [58.5 kB] Get:37 http://ftpmaster.internal/ubuntu jammy/universe armhf llvm-14-runtime armhf 1:14.0.0-1ubuntu1 [456 kB] Get:38 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libpfm4 armhf 4.11.1+git32-gd0b85fb-1ubuntu0.1 [47.6 kB] Get:39 http://ftpmaster.internal/ubuntu jammy/universe armhf llvm-14 armhf 1:14.0.0-1ubuntu1 [11.4 MB] Get:40 http://ftpmaster.internal/ubuntu jammy/main armhf libncurses-dev armhf 6.3-2 [342 kB] Get:41 http://ftpmaster.internal/ubuntu jammy/main armhf libtinfo-dev armhf 6.3-2 [774 B] Get:42 http://ftpmaster.internal/ubuntu jammy/main armhf python3-pygments all 2.11.2+dfsg-2 [750 kB] Get:43 http://ftpmaster.internal/ubuntu jammy/universe armhf llvm-14-tools armhf 1:14.0.0-1ubuntu1 [376 kB] Get:44 http://ftpmaster.internal/ubuntu jammy/universe armhf libz3-4 armhf 4.8.12-1 [6804 kB] Get:45 http://ftpmaster.internal/ubuntu jammy/universe armhf libz3-dev armhf 4.8.12-1 [72.2 kB] Get:46 http://ftpmaster.internal/ubuntu jammy/main armhf icu-devtools armhf 70.1-2 [186 kB] Get:47 http://ftpmaster.internal/ubuntu jammy/main armhf libicu-dev armhf 70.1-2 [11.3 MB] Get:48 http://ftpmaster.internal/ubuntu jammy-updates/main armhf libxml2-dev armhf 2.9.13+dfsg-1ubuntu0.3 [740 kB] Get:49 http://ftpmaster.internal/ubuntu jammy/universe armhf llvm-14-dev armhf 1:14.0.0-1ubuntu1 [39.0 MB] Get:50 http://ftpmaster.internal/ubuntu jammy-updates/universe armhf postgresql-server-dev-14 armhf 14.7-0ubuntu0.22.04.1 [1157 kB] Get:51 http://ftpmaster.internal/ubuntu jammy-proposed/universe armhf postgresql-server-dev-all armhf 238ubuntu0.1 [13.6 kB] Preconfiguring packages ... Fetched 149 MB in 16s (9604 kB/s) Selecting previously unselected package libjson-perl. (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 ... 56313 files and directories currently installed.) Preparing to unpack .../00-libjson-perl_4.04000-1_all.deb ... Unpacking libjson-perl (4.04000-1) ... Selecting previously unselected package postgresql-client-common. Preparing to unpack .../01-postgresql-client-common_238ubuntu0.1_all.deb ... Unpacking postgresql-client-common (238ubuntu0.1) ... Selecting previously unselected package ssl-cert. Preparing to unpack .../02-ssl-cert_1.1.2_all.deb ... Unpacking ssl-cert (1.1.2) ... Selecting previously unselected package postgresql-common. Preparing to unpack .../03-postgresql-common_238ubuntu0.1_all.deb ... Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common' Unpacking postgresql-common (238ubuntu0.1) ... Selecting previously unselected package prometheus-sql-exporter. Preparing to unpack .../04-prometheus-sql-exporter_0.4.2-1_armhf.deb ... Unpacking prometheus-sql-exporter (0.4.2-1) ... Selecting previously unselected package libpq5:armhf. Preparing to unpack .../05-libpq5_14.7-0ubuntu0.22.04.1_armhf.deb ... Unpacking libpq5:armhf (14.7-0ubuntu0.22.04.1) ... Selecting previously unselected package postgresql-client-14. Preparing to unpack .../06-postgresql-client-14_14.7-0ubuntu0.22.04.1_armhf.deb ... Unpacking postgresql-client-14 (14.7-0ubuntu0.22.04.1) ... Selecting previously unselected package libllvm14:armhf. Preparing to unpack .../07-libllvm14_1%3a14.0.0-1ubuntu1_armhf.deb ... Unpacking libllvm14:armhf (1:14.0.0-1ubuntu1) ... Selecting previously unselected package libxslt1.1:armhf. Preparing to unpack .../08-libxslt1.1_1.1.34-4ubuntu0.22.04.1_armhf.deb ... Unpacking libxslt1.1:armhf (1.1.34-4ubuntu0.22.04.1) ... Selecting previously unselected package postgresql-14. Preparing to unpack .../09-postgresql-14_14.7-0ubuntu0.22.04.1_armhf.deb ... Unpacking postgresql-14 (14.7-0ubuntu0.22.04.1) ... Selecting previously unselected package postgresql. Preparing to unpack .../10-postgresql_14+238ubuntu0.1_all.deb ... Unpacking postgresql (14+238ubuntu0.1) ... Selecting previously unselected package libclang-cpp14. Preparing to unpack .../11-libclang-cpp14_1%3a14.0.0-1ubuntu1_armhf.deb ... Unpacking libclang-cpp14 (1:14.0.0-1ubuntu1) ... Selecting previously unselected package gcc-11-base:armhf. Preparing to unpack .../12-gcc-11-base_11.3.0-1ubuntu1~22.04.1_armhf.deb ... Unpacking gcc-11-base:armhf (11.3.0-1ubuntu1~22.04.1) ... Selecting previously unselected package libgomp1:armhf. Preparing to unpack .../13-libgomp1_12.1.0-2ubuntu1~22.04_armhf.deb ... Unpacking libgomp1:armhf (12.1.0-2ubuntu1~22.04) ... Selecting previously unselected package libatomic1:armhf. Preparing to unpack .../14-libatomic1_12.1.0-2ubuntu1~22.04_armhf.deb ... Unpacking libatomic1:armhf (12.1.0-2ubuntu1~22.04) ... Selecting previously unselected package libasan6:armhf. Preparing to unpack .../15-libasan6_11.3.0-1ubuntu1~22.04.1_armhf.deb ... Unpacking libasan6:armhf (11.3.0-1ubuntu1~22.04.1) ... Selecting previously unselected package libubsan1:armhf. Preparing to unpack .../16-libubsan1_12.1.0-2ubuntu1~22.04_armhf.deb ... Unpacking libubsan1:armhf (12.1.0-2ubuntu1~22.04) ... Selecting previously unselected package libgcc-11-dev:armhf. Preparing to unpack .../17-libgcc-11-dev_11.3.0-1ubuntu1~22.04.1_armhf.deb ... Unpacking libgcc-11-dev:armhf (11.3.0-1ubuntu1~22.04.1) ... Selecting previously unselected package libc-dev-bin. Preparing to unpack .../18-libc-dev-bin_2.35-0ubuntu3.1_armhf.deb ... Unpacking libc-dev-bin (2.35-0ubuntu3.1) ... Selecting previously unselected package linux-libc-dev:armhf. Preparing to unpack .../19-linux-libc-dev_5.15.0-72.79_armhf.deb ... Unpacking linux-libc-dev:armhf (5.15.0-72.79) ... Selecting previously unselected package libcrypt-dev:armhf. Preparing to unpack .../20-libcrypt-dev_1%3a4.4.27-1_armhf.deb ... Unpacking libcrypt-dev:armhf (1:4.4.27-1) ... Selecting previously unselected package rpcsvc-proto. Preparing to unpack .../21-rpcsvc-proto_1.4.2-0ubuntu6_armhf.deb ... Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ... Selecting previously unselected package libtirpc-dev:armhf. Preparing to unpack .../22-libtirpc-dev_1.3.2-2ubuntu0.1_armhf.deb ... Unpacking libtirpc-dev:armhf (1.3.2-2ubuntu0.1) ... Selecting previously unselected package libnsl-dev:armhf. Preparing to unpack .../23-libnsl-dev_1.3.0-2build2_armhf.deb ... Unpacking libnsl-dev:armhf (1.3.0-2build2) ... Selecting previously unselected package libc6-dev:armhf. Preparing to unpack .../24-libc6-dev_2.35-0ubuntu3.1_armhf.deb ... Unpacking libc6-dev:armhf (2.35-0ubuntu3.1) ... Selecting previously unselected package libstdc++-11-dev:armhf. Preparing to unpack .../25-libstdc++-11-dev_11.3.0-1ubuntu1~22.04.1_armhf.deb ... Unpacking libstdc++-11-dev:armhf (11.3.0-1ubuntu1~22.04.1) ... Selecting previously unselected package libgc1:armhf. Preparing to unpack .../26-libgc1_1%3a8.0.6-1.1build1_armhf.deb ... Unpacking libgc1:armhf (1:8.0.6-1.1build1) ... Selecting previously unselected package libobjc4:armhf. Preparing to unpack .../27-libobjc4_12.1.0-2ubuntu1~22.04_armhf.deb ... Unpacking libobjc4:armhf (12.1.0-2ubuntu1~22.04) ... Selecting previously unselected package libobjc-11-dev:armhf. Preparing to unpack .../28-libobjc-11-dev_11.3.0-1ubuntu1~22.04.1_armhf.deb ... Unpacking libobjc-11-dev:armhf (11.3.0-1ubuntu1~22.04.1) ... Selecting previously unselected package libclang-common-14-dev. Preparing to unpack .../29-libclang-common-14-dev_1%3a14.0.0-1ubuntu1_armhf.deb ... Unpacking libclang-common-14-dev (1:14.0.0-1ubuntu1) ... Selecting previously unselected package llvm-14-linker-tools. Preparing to unpack .../30-llvm-14-linker-tools_1%3a14.0.0-1ubuntu1_armhf.deb ... Unpacking llvm-14-linker-tools (1:14.0.0-1ubuntu1) ... Selecting previously unselected package libclang1-14. Preparing to unpack .../31-libclang1-14_1%3a14.0.0-1ubuntu1_armhf.deb ... Unpacking libclang1-14 (1:14.0.0-1ubuntu1) ... Selecting previously unselected package clang-14. Preparing to unpack .../32-clang-14_1%3a14.0.0-1ubuntu1_armhf.deb ... Unpacking clang-14 (1:14.0.0-1ubuntu1) ... Selecting previously unselected package libssl-dev:armhf. Preparing to unpack .../33-libssl-dev_3.0.2-0ubuntu1.9_armhf.deb ... Unpacking libssl-dev:armhf (3.0.2-0ubuntu1.9) ... Selecting previously unselected package libpq-dev. Preparing to unpack .../34-libpq-dev_14.7-0ubuntu0.22.04.1_armhf.deb ... Unpacking libpq-dev (14.7-0ubuntu0.22.04.1) ... Selecting previously unselected package libffi-dev:armhf. Preparing to unpack .../35-libffi-dev_3.4.2-4_armhf.deb ... Unpacking libffi-dev:armhf (3.4.2-4) ... Selecting previously unselected package llvm-14-runtime. Preparing to unpack .../36-llvm-14-runtime_1%3a14.0.0-1ubuntu1_armhf.deb ... Unpacking llvm-14-runtime (1:14.0.0-1ubuntu1) ... Selecting previously unselected package libpfm4:armhf. Preparing to unpack .../37-libpfm4_4.11.1+git32-gd0b85fb-1ubuntu0.1_armhf.deb ... Unpacking libpfm4:armhf (4.11.1+git32-gd0b85fb-1ubuntu0.1) ... Selecting previously unselected package llvm-14. Preparing to unpack .../38-llvm-14_1%3a14.0.0-1ubuntu1_armhf.deb ... Unpacking llvm-14 (1:14.0.0-1ubuntu1) ... Selecting previously unselected package libncurses-dev:armhf. Preparing to unpack .../39-libncurses-dev_6.3-2_armhf.deb ... Unpacking libncurses-dev:armhf (6.3-2) ... Selecting previously unselected package libtinfo-dev:armhf. Preparing to unpack .../40-libtinfo-dev_6.3-2_armhf.deb ... Unpacking libtinfo-dev:armhf (6.3-2) ... Selecting previously unselected package python3-pygments. Preparing to unpack .../41-python3-pygments_2.11.2+dfsg-2_all.deb ... Unpacking python3-pygments (2.11.2+dfsg-2) ... Selecting previously unselected package llvm-14-tools. Preparing to unpack .../42-llvm-14-tools_1%3a14.0.0-1ubuntu1_armhf.deb ... Unpacking llvm-14-tools (1:14.0.0-1ubuntu1) ... Selecting previously unselected package libz3-4:armhf. Preparing to unpack .../43-libz3-4_4.8.12-1_armhf.deb ... Unpacking libz3-4:armhf (4.8.12-1) ... Selecting previously unselected package libz3-dev:armhf. Preparing to unpack .../44-libz3-dev_4.8.12-1_armhf.deb ... Unpacking libz3-dev:armhf (4.8.12-1) ... Selecting previously unselected package icu-devtools. Preparing to unpack .../45-icu-devtools_70.1-2_armhf.deb ... Unpacking icu-devtools (70.1-2) ... Selecting previously unselected package libicu-dev:armhf. Preparing to unpack .../46-libicu-dev_70.1-2_armhf.deb ... Unpacking libicu-dev:armhf (70.1-2) ... Selecting previously unselected package libxml2-dev:armhf. Preparing to unpack .../47-libxml2-dev_2.9.13+dfsg-1ubuntu0.3_armhf.deb ... Unpacking libxml2-dev:armhf (2.9.13+dfsg-1ubuntu0.3) ... Selecting previously unselected package llvm-14-dev. Preparing to unpack .../48-llvm-14-dev_1%3a14.0.0-1ubuntu1_armhf.deb ... Unpacking llvm-14-dev (1:14.0.0-1ubuntu1) ... Selecting previously unselected package postgresql-server-dev-14. Preparing to unpack .../49-postgresql-server-dev-14_14.7-0ubuntu0.22.04.1_armhf.deb ... Unpacking postgresql-server-dev-14 (14.7-0ubuntu0.22.04.1) ... Selecting previously unselected package postgresql-server-dev-all:armhf. Preparing to unpack .../50-postgresql-server-dev-all_238ubuntu0.1_armhf.deb ... Unpacking postgresql-server-dev-all:armhf (238ubuntu0.1) ... Setting up postgresql-client-common (238ubuntu0.1) ... Setting up gcc-11-base:armhf (11.3.0-1ubuntu1~22.04.1) ... Setting up libpq5:armhf (14.7-0ubuntu0.22.04.1) ... Setting up linux-libc-dev:armhf (5.15.0-72.79) ... Setting up libgomp1:armhf (12.1.0-2ubuntu1~22.04) ... Setting up postgresql-client-14 (14.7-0ubuntu0.22.04.1) ... update-alternatives: using /usr/share/postgresql/14/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode Setting up libffi-dev:armhf (3.4.2-4) ... Setting up libasan6:armhf (11.3.0-1ubuntu1~22.04.1) ... Setting up python3-pygments (2.11.2+dfsg-2) ... Setting up libz3-4:armhf (4.8.12-1) ... Setting up libtirpc-dev:armhf (1.3.2-2ubuntu0.1) ... Setting up libpfm4:armhf (4.11.1+git32-gd0b85fb-1ubuntu0.1) ... Setting up rpcsvc-proto (1.4.2-0ubuntu6) ... Setting up ssl-cert (1.1.2) ... Setting up libssl-dev:armhf (3.0.2-0ubuntu1.9) ... Setting up libatomic1:armhf (12.1.0-2ubuntu1~22.04) ... Setting up icu-devtools (70.1-2) ... Setting up libgc1:armhf (1:8.0.6-1.1build1) ... Setting up libubsan1:armhf (12.1.0-2ubuntu1~22.04) ... Setting up libllvm14:armhf (1:14.0.0-1ubuntu1) ... Setting up libgcc-11-dev:armhf (11.3.0-1ubuntu1~22.04.1) ... Setting up libnsl-dev:armhf (1.3.0-2build2) ... Setting up libcrypt-dev:armhf (1:4.4.27-1) ... Setting up libjson-perl (4.04000-1) ... Setting up libxslt1.1:armhf (1.1.34-4ubuntu0.22.04.1) ... Setting up libc-dev-bin (2.35-0ubuntu3.1) ... Setting up llvm-14-linker-tools (1:14.0.0-1ubuntu1) ... Setting up llvm-14-tools (1:14.0.0-1ubuntu1) ... Setting up libz3-dev:armhf (4.8.12-1) ... Setting up libclang1-14 (1:14.0.0-1ubuntu1) ... Setting up libpq-dev (14.7-0ubuntu0.22.04.1) ... Setting up libobjc4:armhf (12.1.0-2ubuntu1~22.04) ... Setting up llvm-14-runtime (1:14.0.0-1ubuntu1) ... Setting up postgresql-common (238ubuntu0.1) ... ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. Adding user postgres to group ssl-cert Creating config file /etc/postgresql-common/createcluster.conf with new version Building PostgreSQL dictionaries from installed myspell/hunspell packages... Removing obsolete dictionary files: Created symlink /etc/systemd/system/multi-user.target.wants/postgresql.service → /lib/systemd/system/postgresql.service. Setting up libclang-common-14-dev (1:14.0.0-1ubuntu1) ... Setting up libclang-cpp14 (1:14.0.0-1ubuntu1) ... Setting up libc6-dev:armhf (2.35-0ubuntu3.1) ... Setting up prometheus-sql-exporter (0.4.2-1) ... Created symlink /etc/systemd/system/multi-user.target.wants/prometheus-sql-exporter.service → /lib/systemd/system/prometheus-sql-exporter.service. Setting up libicu-dev:armhf (70.1-2) ... Setting up llvm-14 (1:14.0.0-1ubuntu1) ... Setting up postgresql-14 (14.7-0ubuntu0.22.04.1) ... Creating new PostgreSQL cluster 14/main ... /usr/lib/postgresql/14/bin/initdb -D /var/lib/postgresql/14/main --auth-local peer --auth-host scram-sha-256 --no-instructions The files belonging to this database system will be owned by user "postgres". This user must also own the server process. The database cluster will be initialized with locale "C.UTF-8". The default database encoding has accordingly been set to "UTF8". The default text search configuration will be set to "english". Data page checksums are disabled. fixing permissions on existing directory /var/lib/postgresql/14/main ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... posix selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting default time zone ... Etc/UTC creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok syncing data to disk ... ok update-alternatives: using /usr/share/postgresql/14/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode Setting up libncurses-dev:armhf (6.3-2) ... Setting up libobjc-11-dev:armhf (11.3.0-1ubuntu1~22.04.1) ... Setting up libxml2-dev:armhf (2.9.13+dfsg-1ubuntu0.3) ... Setting up libstdc++-11-dev:armhf (11.3.0-1ubuntu1~22.04.1) ... Setting up postgresql (14+238ubuntu0.1) ... Setting up llvm-14-dev (1:14.0.0-1ubuntu1) ... Setting up libtinfo-dev:armhf (6.3-2) ... Setting up clang-14 (1:14.0.0-1ubuntu1) ... Setting up postgresql-server-dev-14 (14.7-0ubuntu0.22.04.1) ... Setting up postgresql-server-dev-all:armhf (238ubuntu0.1) ... Setting up autopkgtest-satdep (0) ... Processing triggers for man-db (2.10.2-1) ... Processing triggers for install-info (6.8-4build1) ... Processing triggers for libc-bin (2.35-0ubuntu3.1) ... (Reading database ... 65885 files and directories currently installed.) Removing autopkgtest-satdep (0) ... autopkgtest [01:46:49]: test exporter: [----------------------- + pg_virtualenv Creating new PostgreSQL cluster 14/regress ... + psql CREATE TABLE ++ mktemp --tmpdir sql_exporter.XXXXXX + config=/tmp/sql_exporter.edalV9 + trap 'kill $pid || :; rm -f $config' 0 2 3 15 + cat + cat /tmp/sql_exporter.edalV9 + unset PGSYSCONFDIR + pid=2772 + prometheus-sql-exporter -config.file /tmp/sql_exporter.edalV9 -web.listen-address localhost:9238 + sleep 1 INSERT 0 1 jobs: - name: "example" interval: 0 connections: - 'postgres://:5433/postgres?sslmode=disable' queries: - name: "test_table" help: "test query for autopkgtest" labels: - "l" values: - "a" query: "SELECT * FROM sql_exporter" {"build_context":"(go=go1.17.3, user=, date=)","caller":"main.go:55","msg":"Starting sql_exporter","ts":"2023-05-20T01:46:55.097882946Z","version_info":"(version=, branch=, revision=)"} {"caller":"main.go:78","level":"info","listenAddress":"localhost:9238","msg":"Listening","ts":"2023-05-20T01:46:55.098570588Z"} {"caller":"job.go:185","job":"example","level":"debug","msg":"Starting","ts":"2023-05-20T01:46:55.098638868Z"} + curl -f http://localhost:9238/metrics + grep 'testlabel.*2716' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0{"caller":"job.go:236","job":"example","level":"debug","msg":"Running Query","query":"test_table","ts":"2023-05-20T01:46:56.102385469Z"} {"caller":"job.go:242","job":"example","level":"debug","msg":"Query finished","query":"test_table","ts":"2023-05-20T01:46:56.103226111Z"} 100 6285 0 6285 0 0 317k 0 --:--:-- --:--:-- --:--:-- 323k sql_test_table{col="a",database="postgres",driver="postgres",host=":5433",l="testlabel",sql_job="example",user=""} 2716 + kill 2772 + rm -f /tmp/sql_exporter.edalV9 Dropping cluster 14/regress ... autopkgtest [01:46:56]: test exporter: -----------------------] autopkgtest [01:47:01]: test exporter: - - - - - - - - - - results - - - - - - - - - - exporter PASS autopkgtest [01:47:05]: @@@@@@@@@@@@@@@@@@@@ summary exporter PASS