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