0s autopkgtest [18:59:32]: starting date and time: 2024-03-20 18:59:32+0000 0s autopkgtest [18:59:32]: git checkout: 4a1cd702 l/adt_testbed: don't blame the testbed for unsolvable build deps 0s autopkgtest [18:59:32]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.62e2pcy0/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:openssl --apt-upgrade ruby-mysql2 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=openssl/3.0.13-0ubuntu2 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos02-s390x-2.secgroup --name adt-noble-s390x-ruby-mysql2-20240320-185932-juju-7f2275-prod-proposed-migration-environment-2 --image adt/ubuntu-noble-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --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,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 [19:01:24]: testbed dpkg architecture: s390x 112s autopkgtest [19:01:24]: testbed apt version: 2.7.12 112s autopkgtest [19:01:24]: @@@@@@@@@@@@@@@@@@@@ test bed setup 113s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 113s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [53.9 kB] 113s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [501 kB] 113s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 113s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3809 kB] 114s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main s390x Packages [679 kB] 114s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main s390x c-n-f Metadata [3032 B] 114s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted s390x Packages [1372 B] 114s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted s390x c-n-f Metadata [116 B] 114s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x Packages [4058 kB] 114s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x c-n-f Metadata [7292 B] 114s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse s390x Packages [45.3 kB] 114s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse s390x c-n-f Metadata [116 B] 116s Fetched 9282 kB in 2s (4013 kB/s) 116s Reading package lists... 118s Reading package lists... 119s Building dependency tree... 119s Reading state information... 119s Calculating upgrade... 119s The following packages will be REMOVED: 119s libssl3 119s The following NEW packages will be installed: 119s libssl3t64 119s The following packages will be upgraded: 119s openssl 119s 1 upgraded, 1 newly installed, 1 to remove and 0 not upgraded. 119s Need to get 2685 kB of archives. 119s After this operation, 239 kB of additional disk space will be used. 119s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main s390x openssl s390x 3.0.13-0ubuntu2 [1010 kB] 120s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libssl3t64 s390x 3.0.13-0ubuntu2 [1675 kB] 120s Fetched 2685 kB in 1s (3961 kB/s) 120s (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 ... 52171 files and directories currently installed.) 120s Preparing to unpack .../openssl_3.0.13-0ubuntu2_s390x.deb ... 120s Unpacking openssl (3.0.13-0ubuntu2) over (3.0.10-1ubuntu4) ... 120s dpkg: libssl3:s390x: dependency problems, but removing anyway as you requested: 120s wget depends on libssl3 (>= 3.0.0). 120s tnftp depends on libssl3 (>= 3.0.0). 120s tcpdump depends on libssl3 (>= 3.0.0). 120s systemd-resolved depends on libssl3 (>= 3.0.0). 120s systemd depends on libssl3 (>= 3.0.0). 120s sudo depends on libssl3 (>= 3.0.0). 120s s390-tools depends on libssl3 (>= 3.0.0). 120s rsync depends on libssl3 (>= 3.0.0). 120s python3-cryptography depends on libssl3 (>= 3.0.0). 120s openssh-server depends on libssl3 (>= 3.0.10). 120s openssh-client depends on libssl3 (>= 3.0.10). 120s linux-headers-6.8.0-11-generic depends on libssl3 (>= 3.0.0). 120s libsystemd-shared:s390x depends on libssl3 (>= 3.0.0). 120s libssh-4:s390x depends on libssl3 (>= 3.0.0). 120s libsasl2-modules:s390x depends on libssl3 (>= 3.0.0). 120s libsasl2-2:s390x depends on libssl3 (>= 3.0.0). 120s libpython3.12-minimal:s390x depends on libssl3 (>= 3.0.0). 120s libpython3.11-minimal:s390x depends on libssl3 (>= 3.0.0). 120s libnvme1 depends on libssl3 (>= 3.0.0). 120s libkrb5-3:s390x depends on libssl3 (>= 3.0.0). 120s libkmod2:s390x depends on libssl3 (>= 3.0.0). 120s libfido2-1:s390x depends on libssl3 (>= 3.0.0). 120s libcurl4:s390x depends on libssl3 (>= 3.0.0). 120s libcryptsetup12:s390x depends on libssl3 (>= 3.0.0). 120s kmod depends on libssl3 (>= 3.0.0). 120s dhcpcd-base depends on libssl3 (>= 3.0.0). 120s bind9-libs:s390x depends on libssl3 (>= 3.0.0). 120s 120s (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 ... 52171 files and directories currently installed.) 120s Removing libssl3:s390x (3.0.10-1ubuntu4) ... 120s Selecting previously unselected package libssl3t64:s390x. 120s (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 ... 52160 files and directories currently installed.) 120s Preparing to unpack .../libssl3t64_3.0.13-0ubuntu2_s390x.deb ... 120s Unpacking libssl3t64:s390x (3.0.13-0ubuntu2) ... 120s Setting up libssl3t64:s390x (3.0.13-0ubuntu2) ... 120s Setting up openssl (3.0.13-0ubuntu2) ... 120s Processing triggers for man-db (2.12.0-3) ... 121s Processing triggers for libc-bin (2.39-0ubuntu2) ... 121s Reading package lists... 121s Building dependency tree... 121s Reading state information... 121s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 122s Hit:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease 122s Hit:2 http://ftpmaster.internal/ubuntu noble InRelease 122s Hit:3 http://ftpmaster.internal/ubuntu noble-updates InRelease 122s Hit:4 http://ftpmaster.internal/ubuntu noble-security InRelease 123s Reading package lists... 123s Reading package lists... 124s Building dependency tree... 124s Reading state information... 124s Calculating upgrade... 124s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 124s Reading package lists... 124s Building dependency tree... 124s Reading state information... 124s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 127s autopkgtest [19:01:39]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP Tue Feb 13 23:45:46 UTC 2024 127s autopkgtest [19:01:39]: @@@@@@@@@@@@@@@@@@@@ apt-source ruby-mysql2 129s Get:1 http://ftpmaster.internal/ubuntu noble/universe ruby-mysql2 0.5.3-4ubuntu3 (dsc) [2318 B] 129s Get:2 http://ftpmaster.internal/ubuntu noble/universe ruby-mysql2 0.5.3-4ubuntu3 (tar) [108 kB] 129s Get:3 http://ftpmaster.internal/ubuntu noble/universe ruby-mysql2 0.5.3-4ubuntu3 (diff) [11.9 kB] 129s gpgv: Signature made Wed Feb 7 02:15:10 2024 UTC 129s gpgv: using RSA key 8ED6C3F8BAC9DB7FC130A870F823A2729883C97C 129s gpgv: issuer "kanashiro@ubuntu.com" 129s gpgv: Can't check signature: No public key 129s dpkg-source: warning: cannot verify inline signature for ./ruby-mysql2_0.5.3-4ubuntu3.dsc: no acceptable signature found 129s autopkgtest [19:01:41]: testing package ruby-mysql2 version 0.5.3-4ubuntu3 130s autopkgtest [19:01:42]: build not needed 130s autopkgtest [19:01:42]: test gem2deb-test-runner: preparing testbed 134s Reading package lists... 134s Building dependency tree... 134s Reading state information... 135s Starting pkgProblemResolver with broken count: 0 135s Starting 2 pkgProblemResolver with broken count: 0 135s Done 135s The following additional packages will be installed: 135s default-libmysqlclient-dev default-mysql-server gem2deb-test-runner 135s libc-dev-bin libc6-dev libcrypt-dev libevent-pthreads-2.1-7 libmecab2 135s libmysqlclient-dev libmysqlclient21 libnsl-dev libprotobuf-lite32 libruby 135s libruby3.1 libssl-dev libtirpc-dev libzstd-dev linux-libc-dev 135s mysql-client-8.0 mysql-client-core-8.0 mysql-common mysql-server-8.0 135s mysql-server-core-8.0 rake rpcsvc-proto ruby ruby-diff-lcs ruby-eventmachine 135s ruby-mysql2 ruby-net-telnet ruby-rspec ruby-rspec-core 135s ruby-rspec-expectations ruby-rspec-mocks ruby-rspec-support ruby-rubygems 135s ruby-sdbm ruby-webrick ruby-xmlrpc ruby3.1 rubygems-integration zlib1g-dev 135s Suggested packages: 135s glibc-doc manpages-dev libssl-doc mailx tinyca ri ruby-dev bundler 135s Recommended packages: 135s manpages manpages-dev libc-devtools libhtml-template-perl mecab-ipadic-utf8 135s zip fonts-lato libjs-jquery 135s The following NEW packages will be installed: 135s autopkgtest-satdep default-libmysqlclient-dev default-mysql-server 135s gem2deb-test-runner libc-dev-bin libc6-dev libcrypt-dev 135s libevent-pthreads-2.1-7 libmecab2 libmysqlclient-dev libmysqlclient21 135s libnsl-dev libprotobuf-lite32 libruby libruby3.1 libssl-dev libtirpc-dev 135s libzstd-dev linux-libc-dev mysql-client-8.0 mysql-client-core-8.0 135s mysql-common mysql-server-8.0 mysql-server-core-8.0 rake rpcsvc-proto ruby 135s ruby-diff-lcs ruby-eventmachine ruby-mysql2 ruby-net-telnet ruby-rspec 135s ruby-rspec-core ruby-rspec-expectations ruby-rspec-mocks ruby-rspec-support 135s ruby-rubygems ruby-sdbm ruby-webrick ruby-xmlrpc ruby3.1 135s rubygems-integration zlib1g-dev 135s 0 upgraded, 43 newly installed, 0 to remove and 0 not upgraded. 135s Need to get 39.0 MB/39.0 MB of archives. 135s After this operation, 270 MB of additional disk space will be used. 135s Get:1 /tmp/autopkgtest.NU86W4/1-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 135s Get:2 http://ftpmaster.internal/ubuntu noble/main s390x mysql-common all 5.8+1.1.0 [6626 B] 135s Get:3 http://ftpmaster.internal/ubuntu noble/main s390x mysql-client-core-8.0 s390x 8.0.36-1 [2570 kB] 136s Get:4 http://ftpmaster.internal/ubuntu noble/main s390x mysql-client-8.0 s390x 8.0.36-1 [22.4 kB] 136s Get:5 http://ftpmaster.internal/ubuntu noble/main s390x libevent-pthreads-2.1-7 s390x 2.1.12-stable-9 [7692 B] 136s Get:6 http://ftpmaster.internal/ubuntu noble/main s390x libmecab2 s390x 0.996-14ubuntu1 [213 kB] 137s Get:7 http://ftpmaster.internal/ubuntu noble/main s390x libprotobuf-lite32 s390x 3.21.12-8ubuntu5 [243 kB] 137s Get:8 http://ftpmaster.internal/ubuntu noble/main s390x mysql-server-core-8.0 s390x 8.0.36-1 [18.2 MB] 139s Get:9 http://ftpmaster.internal/ubuntu noble/main s390x mysql-server-8.0 s390x 8.0.36-1 [1227 kB] 139s Get:10 http://ftpmaster.internal/ubuntu noble/main s390x libmysqlclient21 s390x 8.0.36-1 [1325 kB] 139s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libssl-dev s390x 3.0.13-0ubuntu2 [2131 kB] 139s Get:12 http://ftpmaster.internal/ubuntu noble/main s390x libzstd-dev s390x 1.5.5+dfsg2-2 [408 kB] 139s Get:13 http://ftpmaster.internal/ubuntu noble/main s390x libc-dev-bin s390x 2.39-0ubuntu2 [20.2 kB] 139s Get:14 http://ftpmaster.internal/ubuntu noble/main s390x linux-libc-dev s390x 6.8.0-11.11 [1590 kB] 139s Get:15 http://ftpmaster.internal/ubuntu noble/main s390x libcrypt-dev s390x 1:4.4.36-4 [135 kB] 139s Get:16 http://ftpmaster.internal/ubuntu noble/main s390x libtirpc-dev s390x 1.3.4+ds-1build1 [225 kB] 139s Get:17 http://ftpmaster.internal/ubuntu noble/main s390x libnsl-dev s390x 1.3.0-3 [73.5 kB] 139s Get:18 http://ftpmaster.internal/ubuntu noble/main s390x rpcsvc-proto s390x 1.4.2-0ubuntu6 [64.7 kB] 139s Get:19 http://ftpmaster.internal/ubuntu noble/main s390x libc6-dev s390x 2.39-0ubuntu2 [1629 kB] 139s Get:20 http://ftpmaster.internal/ubuntu noble/main s390x zlib1g-dev s390x 1:1.3.dfsg-3ubuntu1 [905 kB] 139s Get:21 http://ftpmaster.internal/ubuntu noble/main s390x libmysqlclient-dev s390x 8.0.36-1 [1669 kB] 139s Get:22 http://ftpmaster.internal/ubuntu noble/main s390x default-libmysqlclient-dev s390x 1.1.0 [3014 B] 139s Get:23 http://ftpmaster.internal/ubuntu noble/universe s390x default-mysql-server all 1.1.0 [2810 B] 139s Get:24 http://ftpmaster.internal/ubuntu noble/main s390x rubygems-integration all 1.18 [5336 B] 139s Get:25 http://ftpmaster.internal/ubuntu noble/main s390x ruby-net-telnet all 0.2.0-1 [13.3 kB] 139s Get:26 http://ftpmaster.internal/ubuntu noble/main s390x ruby-webrick all 1.8.1-1 [52.3 kB] 139s Get:27 http://ftpmaster.internal/ubuntu noble/main s390x ruby-xmlrpc all 0.3.2-2 [24.8 kB] 139s Get:28 http://ftpmaster.internal/ubuntu noble/main s390x libruby s390x 1:3.1+1 [4640 B] 139s Get:29 http://ftpmaster.internal/ubuntu noble/main s390x ruby-sdbm s390x 1.0.0-5build3 [19.1 kB] 139s Get:30 http://ftpmaster.internal/ubuntu noble/main s390x libruby3.1 s390x 3.1.2-7ubuntu4 [5197 kB] 139s Get:31 http://ftpmaster.internal/ubuntu noble/main s390x ruby3.1 s390x 3.1.2-7ubuntu4 [49.1 kB] 139s Get:32 http://ftpmaster.internal/ubuntu noble/main s390x ruby-rubygems all 3.4.20-1 [238 kB] 139s Get:33 http://ftpmaster.internal/ubuntu noble/main s390x ruby s390x 1:3.1+1 [3466 B] 139s Get:34 http://ftpmaster.internal/ubuntu noble/main s390x rake all 13.0.6-3 [61.6 kB] 139s Get:35 http://ftpmaster.internal/ubuntu noble/universe s390x gem2deb-test-runner s390x 2.2.2 [18.2 kB] 139s Get:36 http://ftpmaster.internal/ubuntu noble/universe s390x ruby-diff-lcs all 1.5.0-1 [23.9 kB] 139s Get:37 http://ftpmaster.internal/ubuntu noble/universe s390x ruby-eventmachine s390x 1.3~pre20220315-df4ab006-3build3 [169 kB] 139s Get:38 http://ftpmaster.internal/ubuntu noble/universe s390x ruby-mysql2 s390x 0.5.3-4ubuntu3 [57.1 kB] 139s Get:39 http://ftpmaster.internal/ubuntu noble/universe s390x ruby-rspec-support all 3.12.0c0e1m1s0-1 [28.8 kB] 139s Get:40 http://ftpmaster.internal/ubuntu noble/universe s390x ruby-rspec-core all 3.12.0c0e1m1s0-1 [163 kB] 139s Get:41 http://ftpmaster.internal/ubuntu noble/universe s390x ruby-rspec-expectations all 3.12.0c0e1m1s0-1 [89.2 kB] 140s Get:42 http://ftpmaster.internal/ubuntu noble/universe s390x ruby-rspec-mocks all 3.12.0c0e1m1s0-1 [79.4 kB] 140s Get:43 http://ftpmaster.internal/ubuntu noble/universe s390x ruby-rspec all 3.12.0c0e1m1s0-1 [3506 B] 140s Preconfiguring packages ... 140s Fetched 39.0 MB in 5s (8533 kB/s) 140s Selecting previously unselected package mysql-common. 140s (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 ... 52173 files and directories currently installed.) 140s Preparing to unpack .../0-mysql-common_5.8+1.1.0_all.deb ... 140s Unpacking mysql-common (5.8+1.1.0) ... 140s Selecting previously unselected package mysql-client-core-8.0. 140s Preparing to unpack .../1-mysql-client-core-8.0_8.0.36-1_s390x.deb ... 140s Unpacking mysql-client-core-8.0 (8.0.36-1) ... 140s Selecting previously unselected package mysql-client-8.0. 140s Preparing to unpack .../2-mysql-client-8.0_8.0.36-1_s390x.deb ... 140s Unpacking mysql-client-8.0 (8.0.36-1) ... 140s Selecting previously unselected package libevent-pthreads-2.1-7:s390x. 140s Preparing to unpack .../3-libevent-pthreads-2.1-7_2.1.12-stable-9_s390x.deb ... 140s Unpacking libevent-pthreads-2.1-7:s390x (2.1.12-stable-9) ... 140s Selecting previously unselected package libmecab2:s390x. 140s Preparing to unpack .../4-libmecab2_0.996-14ubuntu1_s390x.deb ... 140s Unpacking libmecab2:s390x (0.996-14ubuntu1) ... 140s Selecting previously unselected package libprotobuf-lite32:s390x. 140s Preparing to unpack .../5-libprotobuf-lite32_3.21.12-8ubuntu5_s390x.deb ... 140s Unpacking libprotobuf-lite32:s390x (3.21.12-8ubuntu5) ... 140s Selecting previously unselected package mysql-server-core-8.0. 140s Preparing to unpack .../6-mysql-server-core-8.0_8.0.36-1_s390x.deb ... 140s Unpacking mysql-server-core-8.0 (8.0.36-1) ... 141s Setting up mysql-common (5.8+1.1.0) ... 141s update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode 141s Selecting previously unselected package mysql-server-8.0. 141s (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 ... 52390 files and directories currently installed.) 141s Preparing to unpack .../00-mysql-server-8.0_8.0.36-1_s390x.deb ... 141s Unpacking mysql-server-8.0 (8.0.36-1) ... 141s Selecting previously unselected package libmysqlclient21:s390x. 141s Preparing to unpack .../01-libmysqlclient21_8.0.36-1_s390x.deb ... 141s Unpacking libmysqlclient21:s390x (8.0.36-1) ... 142s Selecting previously unselected package libssl-dev:s390x. 142s Preparing to unpack .../02-libssl-dev_3.0.13-0ubuntu2_s390x.deb ... 142s Unpacking libssl-dev:s390x (3.0.13-0ubuntu2) ... 142s Selecting previously unselected package libzstd-dev:s390x. 142s Preparing to unpack .../03-libzstd-dev_1.5.5+dfsg2-2_s390x.deb ... 142s Unpacking libzstd-dev:s390x (1.5.5+dfsg2-2) ... 142s Selecting previously unselected package libc-dev-bin. 142s Preparing to unpack .../04-libc-dev-bin_2.39-0ubuntu2_s390x.deb ... 142s Unpacking libc-dev-bin (2.39-0ubuntu2) ... 142s Selecting previously unselected package linux-libc-dev:s390x. 142s Preparing to unpack .../05-linux-libc-dev_6.8.0-11.11_s390x.deb ... 142s Unpacking linux-libc-dev:s390x (6.8.0-11.11) ... 142s Selecting previously unselected package libcrypt-dev:s390x. 142s Preparing to unpack .../06-libcrypt-dev_1%3a4.4.36-4_s390x.deb ... 142s Unpacking libcrypt-dev:s390x (1:4.4.36-4) ... 142s Selecting previously unselected package libtirpc-dev:s390x. 142s Preparing to unpack .../07-libtirpc-dev_1.3.4+ds-1build1_s390x.deb ... 142s Unpacking libtirpc-dev:s390x (1.3.4+ds-1build1) ... 142s Selecting previously unselected package libnsl-dev:s390x. 142s Preparing to unpack .../08-libnsl-dev_1.3.0-3_s390x.deb ... 142s Unpacking libnsl-dev:s390x (1.3.0-3) ... 142s Selecting previously unselected package rpcsvc-proto. 142s Preparing to unpack .../09-rpcsvc-proto_1.4.2-0ubuntu6_s390x.deb ... 142s Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ... 142s Selecting previously unselected package libc6-dev:s390x. 142s Preparing to unpack .../10-libc6-dev_2.39-0ubuntu2_s390x.deb ... 142s Unpacking libc6-dev:s390x (2.39-0ubuntu2) ... 142s Selecting previously unselected package zlib1g-dev:s390x. 142s Preparing to unpack .../11-zlib1g-dev_1%3a1.3.dfsg-3ubuntu1_s390x.deb ... 142s Unpacking zlib1g-dev:s390x (1:1.3.dfsg-3ubuntu1) ... 142s Selecting previously unselected package libmysqlclient-dev. 142s Preparing to unpack .../12-libmysqlclient-dev_8.0.36-1_s390x.deb ... 142s Unpacking libmysqlclient-dev (8.0.36-1) ... 142s Selecting previously unselected package default-libmysqlclient-dev:s390x. 142s Preparing to unpack .../13-default-libmysqlclient-dev_1.1.0_s390x.deb ... 142s Unpacking default-libmysqlclient-dev:s390x (1.1.0) ... 142s Selecting previously unselected package default-mysql-server. 142s Preparing to unpack .../14-default-mysql-server_1.1.0_all.deb ... 142s Unpacking default-mysql-server (1.1.0) ... 142s Selecting previously unselected package rubygems-integration. 142s Preparing to unpack .../15-rubygems-integration_1.18_all.deb ... 142s Unpacking rubygems-integration (1.18) ... 142s Selecting previously unselected package ruby-net-telnet. 142s Preparing to unpack .../16-ruby-net-telnet_0.2.0-1_all.deb ... 142s Unpacking ruby-net-telnet (0.2.0-1) ... 142s Selecting previously unselected package ruby-webrick. 142s Preparing to unpack .../17-ruby-webrick_1.8.1-1_all.deb ... 142s Unpacking ruby-webrick (1.8.1-1) ... 142s Selecting previously unselected package ruby-xmlrpc. 142s Preparing to unpack .../18-ruby-xmlrpc_0.3.2-2_all.deb ... 142s Unpacking ruby-xmlrpc (0.3.2-2) ... 142s Selecting previously unselected package libruby:s390x. 142s Preparing to unpack .../19-libruby_1%3a3.1+1_s390x.deb ... 142s Unpacking libruby:s390x (1:3.1+1) ... 142s Selecting previously unselected package ruby-sdbm:s390x. 142s Preparing to unpack .../20-ruby-sdbm_1.0.0-5build3_s390x.deb ... 142s Unpacking ruby-sdbm:s390x (1.0.0-5build3) ... 142s Selecting previously unselected package libruby3.1:s390x. 142s Preparing to unpack .../21-libruby3.1_3.1.2-7ubuntu4_s390x.deb ... 142s Unpacking libruby3.1:s390x (3.1.2-7ubuntu4) ... 143s Selecting previously unselected package ruby3.1. 143s Preparing to unpack .../22-ruby3.1_3.1.2-7ubuntu4_s390x.deb ... 143s Unpacking ruby3.1 (3.1.2-7ubuntu4) ... 143s Selecting previously unselected package ruby-rubygems. 143s Preparing to unpack .../23-ruby-rubygems_3.4.20-1_all.deb ... 143s Unpacking ruby-rubygems (3.4.20-1) ... 143s Selecting previously unselected package ruby. 143s Preparing to unpack .../24-ruby_1%3a3.1+1_s390x.deb ... 143s Unpacking ruby (1:3.1+1) ... 143s Selecting previously unselected package rake. 143s Preparing to unpack .../25-rake_13.0.6-3_all.deb ... 143s Unpacking rake (13.0.6-3) ... 143s Selecting previously unselected package gem2deb-test-runner. 143s Preparing to unpack .../26-gem2deb-test-runner_2.2.2_s390x.deb ... 143s Unpacking gem2deb-test-runner (2.2.2) ... 143s Selecting previously unselected package ruby-diff-lcs. 143s Preparing to unpack .../27-ruby-diff-lcs_1.5.0-1_all.deb ... 143s Unpacking ruby-diff-lcs (1.5.0-1) ... 143s Selecting previously unselected package ruby-eventmachine:s390x. 143s Preparing to unpack .../28-ruby-eventmachine_1.3~pre20220315-df4ab006-3build3_s390x.deb ... 143s Unpacking ruby-eventmachine:s390x (1.3~pre20220315-df4ab006-3build3) ... 143s Selecting previously unselected package ruby-mysql2. 143s Preparing to unpack .../29-ruby-mysql2_0.5.3-4ubuntu3_s390x.deb ... 143s Unpacking ruby-mysql2 (0.5.3-4ubuntu3) ... 143s Selecting previously unselected package ruby-rspec-support. 143s Preparing to unpack .../30-ruby-rspec-support_3.12.0c0e1m1s0-1_all.deb ... 143s Unpacking ruby-rspec-support (3.12.0c0e1m1s0-1) ... 143s Selecting previously unselected package ruby-rspec-core. 143s Preparing to unpack .../31-ruby-rspec-core_3.12.0c0e1m1s0-1_all.deb ... 143s Unpacking ruby-rspec-core (3.12.0c0e1m1s0-1) ... 143s Selecting previously unselected package ruby-rspec-expectations. 143s Preparing to unpack .../32-ruby-rspec-expectations_3.12.0c0e1m1s0-1_all.deb ... 143s Unpacking ruby-rspec-expectations (3.12.0c0e1m1s0-1) ... 143s Selecting previously unselected package ruby-rspec-mocks. 143s Preparing to unpack .../33-ruby-rspec-mocks_3.12.0c0e1m1s0-1_all.deb ... 143s Unpacking ruby-rspec-mocks (3.12.0c0e1m1s0-1) ... 143s Selecting previously unselected package ruby-rspec. 143s Preparing to unpack .../34-ruby-rspec_3.12.0c0e1m1s0-1_all.deb ... 143s Unpacking ruby-rspec (3.12.0c0e1m1s0-1) ... 143s Selecting previously unselected package autopkgtest-satdep. 143s Preparing to unpack .../35-1-autopkgtest-satdep.deb ... 143s Unpacking autopkgtest-satdep (0) ... 143s Setting up libmecab2:s390x (0.996-14ubuntu1) ... 143s Setting up mysql-client-core-8.0 (8.0.36-1) ... 143s Setting up libmysqlclient21:s390x (8.0.36-1) ... 143s Setting up libzstd-dev:s390x (1.5.5+dfsg2-2) ... 143s Setting up linux-libc-dev:s390x (6.8.0-11.11) ... 143s Setting up rubygems-integration (1.18) ... 143s Setting up libtirpc-dev:s390x (1.3.4+ds-1build1) ... 143s Setting up rpcsvc-proto (1.4.2-0ubuntu6) ... 143s Setting up ruby-net-telnet (0.2.0-1) ... 143s Setting up libssl-dev:s390x (3.0.13-0ubuntu2) ... 143s Setting up ruby-rspec-support (3.12.0c0e1m1s0-1) ... 143s Setting up ruby-webrick (1.8.1-1) ... 143s Setting up libnsl-dev:s390x (1.3.0-3) ... 143s Setting up libcrypt-dev:s390x (1:4.4.36-4) ... 143s Setting up mysql-client-8.0 (8.0.36-1) ... 143s Setting up libprotobuf-lite32:s390x (3.21.12-8ubuntu5) ... 143s Setting up libc-dev-bin (2.39-0ubuntu2) ... 143s Setting up ruby-xmlrpc (0.3.2-2) ... 143s Setting up libevent-pthreads-2.1-7:s390x (2.1.12-stable-9) ... 143s Setting up mysql-server-core-8.0 (8.0.36-1) ... 143s Setting up libc6-dev:s390x (2.39-0ubuntu2) ... 143s Setting up mysql-server-8.0 (8.0.36-1) ... 143s update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode 143s Renaming removed key_buffer and myisam-recover options (if present) 151s mysqld will log errors to /var/log/mysql/error.log 151s mysqld is running as pid 2588 156s Created symlink /etc/systemd/system/multi-user.target.wants/mysql.service → /usr/lib/systemd/system/mysql.service. 157s Setting up default-mysql-server (1.1.0) ... 157s Setting up zlib1g-dev:s390x (1:1.3.dfsg-3ubuntu1) ... 157s Setting up libmysqlclient-dev (8.0.36-1) ... 157s Setting up default-libmysqlclient-dev:s390x (1.1.0) ... 157s Setting up ruby-rubygems (3.4.20-1) ... 157s Setting up ruby3.1 (3.1.2-7ubuntu4) ... 157s Setting up libruby:s390x (1:3.1+1) ... 157s Setting up ruby (1:3.1+1) ... 157s Setting up rake (13.0.6-3) ... 157s Setting up ruby-rspec-core (3.12.0c0e1m1s0-1) ... 157s Setting up ruby-sdbm:s390x (1.0.0-5build3) ... 157s Setting up ruby-diff-lcs (1.5.0-1) ... 157s Setting up libruby3.1:s390x (3.1.2-7ubuntu4) ... 157s Setting up ruby-eventmachine:s390x (1.3~pre20220315-df4ab006-3build3) ... 157s Setting up gem2deb-test-runner (2.2.2) ... 157s Setting up ruby-rspec-expectations (3.12.0c0e1m1s0-1) ... 157s Setting up ruby-rspec-mocks (3.12.0c0e1m1s0-1) ... 157s Setting up ruby-rspec (3.12.0c0e1m1s0-1) ... 157s Setting up ruby-mysql2 (0.5.3-4ubuntu3) ... 157s Setting up autopkgtest-satdep (0) ... 157s Processing triggers for libc-bin (2.39-0ubuntu2) ... 157s Processing triggers for man-db (2.12.0-3) ... 161s (Reading database ... 57909 files and directories currently installed.) 161s Removing autopkgtest-satdep (0) ... 162s autopkgtest [19:02:14]: test gem2deb-test-runner: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1 162s autopkgtest [19:02:14]: test gem2deb-test-runner: [----------------------- 162s 162s ┌──────────────────────────────────────────────────────────────────────────────┐ 162s │ Checking Rubygems dependency resolution on ruby3.1 │ 162s └──────────────────────────────────────────────────────────────────────────────┘ 162s 162s RUBYLIB=. GEM_PATH= ruby3.1 -e gem\ \"mysql2\" 162s mv lib ./.gem2deb.lib 162s mv ext ./.gem2deb.ext 162s mv ./.gem2deb.lib lib 162s mv ./.gem2deb.ext ext 162s 162s ┌──────────────────────────────────────────────────────────────────────────────┐ 162s │ Run tests for ruby3.1 from debian/ruby-tests.rake │ 162s └──────────────────────────────────────────────────────────────────────────────┘ 162s 162s RUBYLIB=. GEM_PATH= ruby3.1 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake 162s mv lib ./.gem2deb.lib 162s mv ext ./.gem2deb.ext 162s ./debian/start_mysqld_and_run.sh ruby3.1 -S rspec 162s + mktemp -d 162s + MYTEMP_DIR=/tmp/tmp.c1ci4SR9sM 162s + export MYSQL_UNIX_PORT=/tmp/tmp.c1ci4SR9sM/mysql.sock 162s + DO_MYSQL_USER=ubuntu 162s + DO_MYSQL_DBNAME=test 162s + DO_MYSQL_DATABASE=/test 162s + /usr/sbin/mysqld --no-defaults --initialize-insecure --user=ubuntu --datadir=/tmp/tmp.c1ci4SR9sM 162s 2024-03-20T19:02:14.843031Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.0.36-1) initializing of server in progress as process 2959 162s 2024-03-20T19:02:14.849546Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started. 163s 2024-03-20T19:02:15.204502Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended. 166s 2024-03-20T19:02:18.206624Z 5 [Warning] [MY-010453] [Server] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option. 168s + + /usr/sbin/mysqld --no-defaults --user=ubuntu --socket=/tmp/tmp.c1ci4SR9sM/mysql.sock --datadir=/tmp/tmp.c1ci4SR9sM --skip-networking 168s MYSQL_PID=2997 168s + mysqladmin=/usr/bin/mysqladmin --user=root --socket=/tmp/tmp.c1ci4SR9sM/mysql.sock 168s + echo -n pinging mysqld. 168s pinging mysqld.+ attempts=0 168s + /usr/bin/mysqladmin --user=root --socket=/tmp/tmp.c1ci4SR9sM/mysql.sock ping 168s mysqladmin: connect to server at 'localhost' failed 168s error: 'Can't connect to local MySQL server through socket '/tmp/tmp.c1ci4SR9sM/mysql.sock' (2)' 168s Check that mysqld is running and that the socket: '/tmp/tmp.c1ci4SR9sM/mysql.sock' exists! 168s + sleep 3 168s 2024-03-20T19:02:20.424681Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.36-1) starting as process 2997 168s 2024-03-20T19:02:20.431800Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started. 168s 2024-03-20T19:02:20.660950Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended. 168s 2024-03-20T19:02:20.759726Z 0 [ERROR] [MY-011292] [Server] Plugin mysqlx reported: 'Preparation of I/O interfaces failed, X Protocol won't be accessible' 168s 2024-03-20T19:02:20.759936Z 0 [ERROR] [MY-011300] [Server] Plugin mysqlx reported: 'Setup of socket: '/var/run/mysqld/mysqlx.sock' failed, can't open lock file /var/run/mysqld/mysqlx.sock.lock' 168s 2024-03-20T19:02:20.865961Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed. 168s 2024-03-20T19:02:20.866074Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel. 168s 2024-03-20T19:02:20.870034Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/tmp' in the path is accessible to all OS users. Consider choosing a different directory. 168s 2024-03-20T19:02:20.883611Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.36-1' socket: '/tmp/tmp.c1ci4SR9sM/mysql.sock' port: 0 (Ubuntu). 171s + attempts=1 171s + [ 1 -gt 10 ] 171s + /usr/bin/mysqladmin --user=root --socket=/tmp/tmp.c1ci4SR9sM/mysql.sock ping 171s mysqld is alive 171s + trap cleanup INT EXIT TERM 171s + mysql --user=root --socket=/tmp/tmp.c1ci4SR9sM/mysql.sock --execute CREATE USER 'ubuntu'@'localhost'; GRANT ALL PRIVILEGES ON *.* TO 'ubuntu'@'localhost'; CREATE DATABASE test; 171s + ruby3.1 -S rspec 171s 171s Randomized with seed 29156 171s 171s Mysql2::EM::Client 171s should support queries in callbacks 171s should support async queries 171s should not swallow exceptions raised in callbacks 171s should not raise error when closing client with no query running 171s when an exception is raised by the client 171s should fail the deferrable 172s should swallow exceptions raised in by the client 172s 172s Mysql2::Statement 172s should handle as a decimal binding a BigDecimal 172s should raise an exception when server disconnects 172s should handle booleans 172s should keep its result after other query 172s should accept keyword arguments on statement execute 172s should handle bignum but in int64_t 172s should prepare DateTime values with microseconds 172s should select dates 172s should tell us the field count 172s should handle bignum but beyond int64_t 172s should be reusable 1000 times 172s should raise an exception without a block 172s should tell us about the fields 172s should prepare Time values with microseconds 172s should warn but still work if cache_rows is set to false 172s should be reusable 10000 times 172s should let us execute our statement 172s should let us iterate over results 172s should update a DECIMAL value passing a BigDecimal 172s should prepare Date values 172s should tell us the param count 172s should handle comparisons and likes 172s should accept bind arguments and keyword arguments on statement execute 172s should tell us the result count 172s should create a statement (PENDING: Temporarily skipped with xit) 172s last_id 172s should handle bigint ids 172s should return last insert id 172s affected_rows 172s should return number of rows affected by a delete 172s should return number of rows affected by an update 172s should return number of rows affected by an insert 172s close 172s should raise an error on subsequent execution 172s should free server resources (PENDING: Temporarily skipped with xit) 172s utf8_db 172s should be able to retrieve utf8 field names correctly 172s should be able to retrieve query with param in different encoding correctly 172s should be able to retrieve utf8 param query correctly 172s #each 172s should be able to return results as an array 172s /tmp/autopkgtest.NU86W4/build.XlJ/src/spec/mysql2/statement_spec.rb:304: warning: :cache_rows is ignored if :stream is true 172s /tmp/autopkgtest.NU86W4/build.XlJ/src/spec/mysql2/statement_spec.rb:304: warning: :cache_rows is ignored if :stream is true 172s should yield different value for #first if streaming 172s should yield rows as hash's with symbol keys if :symbolize_keys was set to true 172s should yield rows as hash's 172s should throw an exception if we try to iterate twice when streaming is enabled 172s should cache previously yielded results by default 172s should yield the same value for #first if streaming is disabled 172s streaming result 172s should be able to stream query result 172s row data type mapping 172s should return String for an ENUM value 172s should return a String for CHAR 172s should raise an error given an invalid DATETIME (PENDING: Temporarily skipped with xit) 172s should return Time when timestamp is < 1901-12-13 20:45:52 172s should return String for a BIT(64) value 172s should return Time for a DATETIME value when within the supported range 172s should return a String for MEDIUMTEXT 172s should return Time for a TIMESTAMP value when within the supported range 172s should return Time when timestamp is > 2038-01-19T03:14:07 172s should return a String for TINYTEXT 172s should return a String for VARCHAR 172s should return a String for MEDIUMBLOB 172s should return Fixnum for an INT value 172s should return String for a SET value 172s should return Float for a FLOAT value 172s should return a String for LONGBLOB 172s should return nil for a NULL value 172s should return String for a BIT(1) value 172s should return a String for LONGTEXT 172s should return Fixnum for a TINYINT value 172s should return a String for VARBINARY 172s should return a String for TEXT 172s should return BigDecimal for a DECIMAL value 172s should return Fixnum for a SMALLINT value 172s should return Fixnum for a BIGINT value 172s should return a String for TINYBLOB 172s should return Fixnum for a MEDIUMINT value 172s should return a String for BLOB 172s should return Float for a DOUBLE value 172s should return Date for a DATE value 172s should return String for a BINARY value 172s should return Time for a TIME value 172s should return Fixnum for a YEAR value 172s string encoding for SET values 172s should use Encoding.default_internal 172s should default to the connection's encoding if Encoding.default_internal is nil 172s string encoding for BINARY values 172s should default to binary if Encoding.default_internal is nil 172s should not use Encoding.default_internal 172s string encoding for MEDIUMTEXT values 172s should use Encoding.default_internal 172s should default to utf-8 if Encoding.default_internal is nil 172s string encoding for LONGBLOB values 172s should not use Encoding.default_internal 172s should default to binary if Encoding.default_internal is nil 172s string encoding for ENUM values 172s should default to the connection's encoding if Encoding.default_internal is nil 172s should use Encoding.default_internal 172s string encoding for TINYTEXT values 172s should use Encoding.default_internal 172s should default to utf-8 if Encoding.default_internal is nil 172s string encoding for BLOB values 172s should default to binary if Encoding.default_internal is nil 172s should not use Encoding.default_internal 172s string encoding for CHAR values 172s should use Encoding.default_internal 172s should default to utf-8 if Encoding.default_internal is nil 172s string encoding for TINYBLOB values 172s should default to binary if Encoding.default_internal is nil 172s should not use Encoding.default_internal 172s string encoding for VARCHAR values 172s should use Encoding.default_internal 172s should default to utf-8 if Encoding.default_internal is nil 172s string encoding for VARBINARY values 172s should default to binary if Encoding.default_internal is nil 172s should not use Encoding.default_internal 172s string encoding for TEXT values 172s should use Encoding.default_internal 172s should default to utf-8 if Encoding.default_internal is nil 172s string encoding for MEDIUMBLOB values 172s should not use Encoding.default_internal 172s should default to binary if Encoding.default_internal is nil 172s cast booleans for TINYINT if :cast_booleans is enabled 172s should return TrueClass or FalseClass for a TINYINT value if :cast_booleans is enabled 172s cast booleans for BIT(1) if :cast_booleans is enabled 172s should return TrueClass or FalseClass for a BIT(1) value if :cast_booleans is enabled 172s string encoding for LONGTEXT values 172s should use Encoding.default_internal 172s should default to utf-8 if Encoding.default_internal is nil 172s #fields 172s method should exist 172s should return an array of field names in proper order 172s should return nil for statement with no result fields 172s 172s Mysql2::Client 172s should allow nil read_timeout 172s should be able to connect to database with numeric-only name 172s should respond to #query_info 172s should respond to #socket 172s should expect write_timeout to be a positive integer 172s should respond to #thread_id 172s should set default program_name in connect_attrs (PENDING: Temporarily skipped with xit) 172s should parse flags string 172s should expect connect_timeout to be a positive integer 172s should respond to escape 172s should expect read_timeout to be a positive integer 172s should respond to #info 172s #thread_id should be a Fixnum 172s should respond to #query 172s #thread_id should return a boolean 172s should accept connect flags and pass them to #connect 172s should terminate connections when calling close 172s should be able to connect via SSL options (PENDING: DON'T WORRY, THIS TEST PASSES - but /etc/mysql/client-key.pem does not exist.) 172s #info should return a hash containing the client version ID and String 172s should respond to #escape 172s should respond to #encoding 172s WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. 172s should not try to query closed mysql connection 172s should raise an exception on create for invalid encodings 172s should default flags to (REMEMBER_OPTIONS, LONG_PASSWORD, LONG_FLAG, TRANSACTIONS, PROTOCOL_41, SECURE_CONNECTION) 172s should be able to close properly 172s #server_info should return a hash containing the client version ID and String 172s #server_info should require an open connection 172s should have a global default_query_options hash 172s should respond to #close 172s should execute init command 172s should respond to #warning_count 172s should respond to #server_info 173s should not leave dangling connections after garbage collection 173s should set custom connect_attrs (PENDING: Temporarily skipped with xit) 173s should raise a Mysql2::Error::ConnectionError exception upon connection failure due to invalid credentials 173s should be able to connect using plaintext password 173s should not raise an exception on create for a valid encoding 173s should raise an exception on non-string encodings 173s should raise a Mysql::Error::ConnectionError upon connection failure 173s should respond to #ping 173s WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. 173s should send init_command after reconnect 173s should parse flags array 173s using defaults file 173s should not raise an exception without default group 173s should not raise an exception for valid defaults group 173s select_db 173s should respond to #select_db 173s should switch databases 173s should raise a Mysql2::Error when the database doesn't exist 173s should return the database switched to 173s #closed? 173s should return false when connected 173s should return true after close 173s #automatic_close 173s can be assigned 175s should not close connections when running in a child process 175s can be configured 175s is enabled by default 175s #set_server_option 175s enables multiple-statement 175s returns false when multi_statements is neither OPTION_MULTI_STATEMENTS_OFF or OPTION_MULTI_STATEMENTS_ON 175s returns true when multi_statements is enable 175s returns true when multi_statements is disable 175s disables multiple-statement 175s #escape 175s should return a new SQL-escape version of the passed string 175s should not overflow the process stack 175s should not overflow the thread stack 175s should return the passed string if nothing was escaped 175s should require an open connection 175s when mysql encoding is not utf8 175s should return a internal encoding string if Encoding.default_internal is set 175s :local_infile 175s should raise an error when local_infile is disabled (PENDING: DON'T WORRY, THIS TEST PASSES - but LOCAL INFILE is not enabled in your MySQL daemon.) 175s should raise an error when a non-existent file is loaded (PENDING: DON'T WORRY, THIS TEST PASSES - but LOCAL INFILE is not enabled in your MySQL daemon.) 175s should LOAD DATA LOCAL INFILE (PENDING: DON'T WORRY, THIS TEST PASSES - but LOCAL INFILE is not enabled in your MySQL daemon.) 175s escape 175s should return a new SQL-escape version of the passed string 175s should not overflow the thread stack 175s should carry over the original string's encoding 175s should not overflow the process stack 175s should return the passed string if nothing was escaped 175s strings returned by #server_info 175s should default to the connection's encoding if Encoding.default_internal is nil 175s should use Encoding.default_internal 175s write operations api 175s #last_id should handle BIGINT auto-increment ids above 32 bits 175s #last_id should return a Fixnum, the from the last INSERT/UPDATE 175s #last_id should return a Fixnum, the from the last INSERT/UPDATE 175s should respond to #last_id 175s should respond to #last_id 175s strings returned by .info 175s should be tagged as ascii 175s #query_info 175s when no info present 175s should 0 175s when has some info 175s should retrieve it 175s #query 175s should return results as a hash by default 175s should allow changing query options for subsequent queries 175s #socket should return a Fixnum (file descriptor from C) 175s should require an open connection 175s should only accept strings as the query parameter 175s threaded queries should be supported (PENDING: Temporarily skipped with xit) 175s should be able to return results as an array 175s should not let you query again if iterating is not finished when streaming 175s should describe the thread holding the active query 175s should not retain query options set on a query for subsequent queries, but should retain it in the result 175s should timeout if we wait longer than :read_timeout 175s evented async queries should be supported 175s should let you query again if iterating is finished when streaming 175s should detect closed connection on query read error 175s should not allow another query to be sent without fetching a result first 175s #socket should require an open connection 175s should be able to return results with symbolized keys 176s should run signal handlers while waiting for a response 176s Multiple results sets 176s #abandon_results! should work 176s does not interfere with other statements 176s #more_results? should work with stored procedures 176s will raise on query if there are outstanding results to read 176s should raise an exception when one of multiple statements fails 176s returns multiple result sets 176s #more_results? should work 176s when a non-standard exception class is raised 176s WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. 176s should handle Timeouts without leaving the connection hanging if reconnect is true 176s WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. 176s should handle Timeouts without leaving the connection hanging if reconnect is set to true after construction 176s should close the connection when an exception is raised 176s strings returned by #info 176s should be tagged as ascii 176s #warning_count 176s when has a warnings 176s should > 0 176s when no warnings 176s should 0 176s 176s Mysql2::Result 176s should have included Enumerable 176s should raise a TypeError exception when it doesn't wrap a result set 176s should be able to return the number of rows in the result set 176s should respond to #each 176s should respond to #free 176s should respond to #count, which is aliased as #size 176s should raise a Mysql2::Error exception upon a bad query 176s streaming 176s should retain the count when mixing first and each 176s #count should be zero for rows after streaming when there were no results 176s should not yield nil at the end of streaming 176s should maintain a count while streaming 176s should raise an exception if streaming ended due to a timeout (PENDING: Temporarily skipped with xit) 176s row data type mapping 176s should return a String for TINYBLOB 176s should return Time for a TIMESTAMP value when within the supported range 176s should return BigDecimal for a DECIMAL value 176s should return Fixnum for a TINYINT value 176s should return String for a BIT(1) value 176s should return a String for MEDIUMBLOB 176s should return a String for TEXT 176s should return nil for a NULL value 176s should return a String for VARBINARY 176s should return a String for MEDIUMTEXT 176s should return Fixnum for a YEAR value 176s should return String for a SET value 176s should return a String for LONGBLOB 176s should return a String for LONGTEXT 176s should return Float for a DOUBLE value 176s should return a String for TINYTEXT 176s should return String for a BINARY value 176s should return nil values for NULL and strings for everything else when :cast is false 176s should return a String for BLOB 176s should raise an error given an invalid DATETIME (PENDING: Temporarily skipped with xit) 176s should return a String for CHAR 176s should return Float for a FLOAT value 176s should return Time when timestamp is < 1901-12-13 20:45:52 176s should return Fixnum for a MEDIUMINT value 176s should return Fixnum for an INT value 176s should return Time for a DATETIME value when within the supported range 176s should return String for a BIT(64) value 176s should return Fixnum for a SMALLINT value 176s should return Fixnum for a BIGINT value 176s should return Time for a TIME value 176s should return a String for VARCHAR 176s should return String for an ENUM value 176s should return Time when timestamp is > 2038-01-19T03:14:07 176s should return Date for a DATE value 176s string encoding for CHAR values 176s should default to utf-8 if Encoding.default_internal is nil 176s should use Encoding.default_internal 176s string encoding for VARCHAR values 176s should use Encoding.default_internal 176s should default to utf-8 if Encoding.default_internal is nil 176s string encoding for LONGBLOB values 176s should default to binary if Encoding.default_internal is nil 176s should not use Encoding.default_internal 176s string encoding for MEDIUMTEXT values 176s should default to utf-8 if Encoding.default_internal is nil 176s should use Encoding.default_internal 176s string encoding for BINARY values 176s should not use Encoding.default_internal 176s should default to binary if Encoding.default_internal is nil 176s string encoding for TINYBLOB values 176s should not use Encoding.default_internal 176s should default to binary if Encoding.default_internal is nil 176s cast booleans for TINYINT if :cast_booleans is enabled 176s should return TrueClass or FalseClass for a TINYINT value if :cast_booleans is enabled 176s string encoding for ENUM values 176s should use Encoding.default_internal 176s should default to the connection's encoding if Encoding.default_internal is nil 176s string encoding for TINYTEXT values 176s should default to utf-8 if Encoding.default_internal is nil 176s should use Encoding.default_internal 176s string encoding for SET values 176s should use Encoding.default_internal 176s should default to the connection's encoding if Encoding.default_internal is nil 176s cast booleans for BIT(1) if :cast_booleans is enabled 176s should return TrueClass or FalseClass for a BIT(1) value if :cast_booleans is enabled 176s string encoding for MEDIUMBLOB values 176s should default to binary if Encoding.default_internal is nil 176s should not use Encoding.default_internal 176s string encoding for VARBINARY values 176s should not use Encoding.default_internal 176s should default to binary if Encoding.default_internal is nil 176s string encoding for TEXT values 176s should use Encoding.default_internal 176s should default to utf-8 if Encoding.default_internal is nil 176s string encoding for LONGTEXT values 176s should default to utf-8 if Encoding.default_internal is nil 176s should use Encoding.default_internal 176s string encoding for BLOB values 176s should not use Encoding.default_internal 176s should default to binary if Encoding.default_internal is nil 176s server flags 176s should set a definitive value for no_index_used 176s should set a definitive value for query_was_slow 176s should set a definitive value for no_good_index_used 176s metadata queries 176s should show tables 176s #each 176s should cache previously yielded results by default 176s should be able to iterate a second time even if cache_rows is disabled 176s should yield the same value for #first if streaming is disabled 176s should throw an exception if we try to iterate twice when streaming is enabled 176s should yield rows as hash's with symbol keys if :symbolize_keys was set to true 176s should not cache previously yielded results if cache_rows is disabled 176s should yield rows as hash's 176s should be able to return results as an array 176s should yield different value for #first if streaming 176s #fields 176s should return an array of field names in proper order 176s method should exist 176s 176s Mysql2::Error 176s responds to error_number and sql_state, with aliases 177s 177s Pending: (Failures listed here are expected and do not affect your suite's status) 177s 177s 1) Mysql2::Statement should create a statement 177s # Temporarily skipped with xit 177s # ./spec/mysql2/statement_spec.rb:16 177s 177s 2) Mysql2::Statement close should free server resources 177s # Temporarily skipped with xit 177s # ./spec/mysql2/statement_spec.rb:699 177s 177s 3) Mysql2::Statement row data type mapping should raise an error given an invalid DATETIME 177s # Temporarily skipped with xit 177s # ./spec/mysql2/statement_spec.rb:477 177s 177s 4) Mysql2::Client should set default program_name in connect_attrs 177s # Temporarily skipped with xit 177s # ./spec/mysql2/client_spec.rb:482 177s 177s 5) Mysql2::Client should be able to connect via SSL options 177s # DON'T WORRY, THIS TEST PASSES - but /etc/mysql/client-key.pem does not exist. 177s Failure/Error: 177s expect do 177s ssl_client = new_client(option_overrides) 177s end.not_to raise_error 177s 177s expected no Exception, got # with backtrace: 177s # ./spec/spec_helper.rb:25:in `new' 177s # ./spec/spec_helper.rb:25:in `new_client' 177s # ./spec/mysql2/client_spec.rb:154:in `block (3 levels) in ' 177s # ./spec/mysql2/client_spec.rb:153:in `block (2 levels) in ' 177s # ./spec/mysql2/client_spec.rb:153:in `block (2 levels) in ' 177s 177s 6) Mysql2::Client should set custom connect_attrs 177s # Temporarily skipped with xit 177s # ./spec/mysql2/client_spec.rb:491 177s 177s 7) Mysql2::Client :local_infile should raise an error when local_infile is disabled 177s # DON'T WORRY, THIS TEST PASSES - but LOCAL INFILE is not enabled in your MySQL daemon. 177s # ./spec/mysql2/client_spec.rb:433 177s 177s 8) Mysql2::Client :local_infile should raise an error when a non-existent file is loaded 177s # DON'T WORRY, THIS TEST PASSES - but LOCAL INFILE is not enabled in your MySQL daemon. 177s # ./spec/mysql2/client_spec.rb:440 177s 177s 9) Mysql2::Client :local_infile should LOAD DATA LOCAL INFILE 177s # DON'T WORRY, THIS TEST PASSES - but LOCAL INFILE is not enabled in your MySQL daemon. 177s # ./spec/mysql2/client_spec.rb:447 177s 177s 10) Mysql2::Client#query threaded queries should be supported 177s # Temporarily skipped with xit 177s # ./spec/mysql2/client_spec.rb:695 177s 177s 11) Mysql2::Result streaming should raise an exception if streaming ended due to a timeout 177s # Temporarily skipped with xit 177s # ./spec/mysql2/result_spec.rb:157 177s 177s 12) Mysql2::Result row data type mapping should raise an error given an invalid DATETIME 177s # Temporarily skipped with xit 177s # ./spec/mysql2/result_spec.rb:325 177s 177s Finished in 5.51 seconds (files took 0.17619 seconds to load) 177s 321 examples, 0 failures, 12 pending 177s 177s Randomized with seed 29156 177s 177s + cleanup 177s + /usr/bin/mysqladmin --user=root --socket=/tmp/tmp.c1ci4SR9sM/mysql.sock shutdown 177s 2024-03-20T19:02:29.069132Z 505 [System] [MY-013172] [Server] Received SHUTDOWN from user root. Shutting down mysqld (Version: 8.0.36-1). 178s 2024-03-20T19:02:30.361706Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.36-1) (Ubuntu). 179s + rm -rf /tmp/tmp.c1ci4SR9sM 179s mv ./.gem2deb.lib lib 179s mv ./.gem2deb.ext ext 179s autopkgtest [19:02:31]: test gem2deb-test-runner: -----------------------] 180s autopkgtest [19:02:32]: test gem2deb-test-runner: - - - - - - - - - - results - - - - - - - - - - 180s gem2deb-test-runner PASS 180s autopkgtest [19:02:32]: @@@@@@@@@@@@@@@@@@@@ summary 180s gem2deb-test-runner PASS 194s Creating nova instance adt-noble-s390x-ruby-mysql2-20240320-185932-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-s390x-server-20240320.img (UUID 6569a0ff-4984-4a4c-a4d0-b93f21cb5de9)...