0s autopkgtest [15:53:16]: starting date and time: 2024-03-18 15:53:16+0000 0s autopkgtest [15:53:16]: git checkout: b506e79c ssh-setup/nova: fix ARCH having two lines of data 0s autopkgtest [15:53:16]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work._kqccgn9/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@bos03-arm64-19.secgroup --name adt-noble-arm64-ruby-mysql2-20240318-155315-juju-7f2275-prod-proposed-migration-environment-2 --image adt/ubuntu-noble-arm64-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/ 79s autopkgtest [15:54:35]: testbed dpkg architecture: arm64 80s autopkgtest [15:54:36]: testbed apt version: 2.7.12 80s autopkgtest [15:54:36]: @@@@@@@@@@@@@@@@@@@@ test bed setup 80s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 81s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [485 kB] 81s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [52.0 kB] 81s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3728 kB] 81s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 81s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 Packages [654 kB] 81s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 c-n-f Metadata [3144 B] 81s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 Packages [33.6 kB] 81s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 c-n-f Metadata [116 B] 81s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 Packages [4102 kB] 81s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 c-n-f Metadata [8528 B] 81s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 Packages [55.5 kB] 81s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 c-n-f Metadata [116 B] 83s Fetched 9246 kB in 2s (5312 kB/s) 83s Reading package lists... 86s Reading package lists... 86s Building dependency tree... 86s Reading state information... 87s Calculating upgrade... 87s The following packages will be REMOVED: 87s libssl3 87s The following NEW packages will be installed: 87s libssl3t64 87s The following packages will be upgraded: 87s openssl 87s 1 upgraded, 1 newly installed, 1 to remove and 0 not upgraded. 87s Need to get 2777 kB of archives. 87s After this operation, 139 kB of additional disk space will be used. 87s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 openssl arm64 3.0.13-0ubuntu2 [985 kB] 88s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libssl3t64 arm64 3.0.13-0ubuntu2 [1793 kB] 89s Fetched 2777 kB in 1s (4085 kB/s) 89s (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 ... 74758 files and directories currently installed.) 89s Preparing to unpack .../openssl_3.0.13-0ubuntu2_arm64.deb ... 89s Unpacking openssl (3.0.13-0ubuntu2) over (3.0.10-1ubuntu4) ... 89s dpkg: libssl3:arm64: dependency problems, but removing anyway as you requested: 89s wget depends on libssl3 (>= 3.0.0). 89s u-boot-tools depends on libssl3 (>= 3.0.0). 89s tnftp depends on libssl3 (>= 3.0.0). 89s tcpdump depends on libssl3 (>= 3.0.0). 89s systemd-resolved depends on libssl3 (>= 3.0.0). 89s systemd depends on libssl3 (>= 3.0.0). 89s sudo depends on libssl3 (>= 3.0.0). 89s sbsigntool depends on libssl3 (>= 3.0.0). 89s rsync depends on libssl3 (>= 3.0.0). 89s python3-cryptography depends on libssl3 (>= 3.0.0). 89s openssh-server depends on libssl3 (>= 3.0.10). 89s openssh-client depends on libssl3 (>= 3.0.10). 89s mtd-utils depends on libssl3 (>= 3.0.0). 89s mokutil depends on libssl3 (>= 3.0.0). 89s linux-headers-6.8.0-11-generic depends on libssl3 (>= 3.0.0). 89s libsystemd-shared:arm64 depends on libssl3 (>= 3.0.0). 89s libssh-4:arm64 depends on libssl3 (>= 3.0.0). 89s libsasl2-modules:arm64 depends on libssl3 (>= 3.0.0). 89s libsasl2-2:arm64 depends on libssl3 (>= 3.0.0). 89s libpython3.12-minimal:arm64 depends on libssl3 (>= 3.0.0). 89s libnvme1 depends on libssl3 (>= 3.0.0). 89s libkrb5-3:arm64 depends on libssl3 (>= 3.0.0). 89s libkmod2:arm64 depends on libssl3 (>= 3.0.0). 89s libfido2-1:arm64 depends on libssl3 (>= 3.0.0). 89s libcurl4:arm64 depends on libssl3 (>= 3.0.0). 89s libcryptsetup12:arm64 depends on libssl3 (>= 3.0.0). 89s kmod depends on libssl3 (>= 3.0.0). 89s dhcpcd-base depends on libssl3 (>= 3.0.0). 89s bind9-libs:arm64 depends on libssl3 (>= 3.0.0). 89s 89s (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 ... 74758 files and directories currently installed.) 89s Removing libssl3:arm64 (3.0.10-1ubuntu4) ... 89s Selecting previously unselected package libssl3t64:arm64. 89s (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 ... 74747 files and directories currently installed.) 89s Preparing to unpack .../libssl3t64_3.0.13-0ubuntu2_arm64.deb ... 89s Unpacking libssl3t64:arm64 (3.0.13-0ubuntu2) ... 89s Setting up libssl3t64:arm64 (3.0.13-0ubuntu2) ... 89s Setting up openssl (3.0.13-0ubuntu2) ... 89s Processing triggers for man-db (2.12.0-3) ... 90s Processing triggers for libc-bin (2.39-0ubuntu2) ... 90s Reading package lists... 90s Building dependency tree... 90s Reading state information... 91s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 91s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 92s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 92s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 92s Hit:4 http://ftpmaster.internal/ubuntu noble-proposed InRelease 93s Reading package lists... 93s Reading package lists... 93s Building dependency tree... 93s Reading state information... 94s Calculating upgrade... 94s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 94s Reading package lists... 95s Building dependency tree... 95s Reading state information... 95s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 98s autopkgtest [15:54:54]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 14 02:53:31 UTC 2024 98s autopkgtest [15:54:54]: @@@@@@@@@@@@@@@@@@@@ apt-source ruby-mysql2 100s Get:1 http://ftpmaster.internal/ubuntu noble/universe ruby-mysql2 0.5.3-4ubuntu3 (dsc) [2318 B] 100s Get:2 http://ftpmaster.internal/ubuntu noble/universe ruby-mysql2 0.5.3-4ubuntu3 (tar) [108 kB] 100s Get:3 http://ftpmaster.internal/ubuntu noble/universe ruby-mysql2 0.5.3-4ubuntu3 (diff) [11.9 kB] 100s gpgv: Signature made Wed Feb 7 02:15:10 2024 UTC 100s gpgv: using RSA key 8ED6C3F8BAC9DB7FC130A870F823A2729883C97C 100s gpgv: issuer "kanashiro@ubuntu.com" 100s gpgv: Can't check signature: No public key 100s dpkg-source: warning: cannot verify inline signature for ./ruby-mysql2_0.5.3-4ubuntu3.dsc: no acceptable signature found 101s autopkgtest [15:54:57]: testing package ruby-mysql2 version 0.5.3-4ubuntu3 101s autopkgtest [15:54:57]: build not needed 102s autopkgtest [15:54:58]: test gem2deb-test-runner: preparing testbed 104s Reading package lists... 104s Building dependency tree... 104s Reading state information... 105s Starting pkgProblemResolver with broken count: 0 105s Starting 2 pkgProblemResolver with broken count: 0 105s Done 106s The following additional packages will be installed: 106s default-libmysqlclient-dev default-mysql-server gem2deb-test-runner 106s libc-dev-bin libc6-dev libcrypt-dev libevent-pthreads-2.1-7 libmecab2 106s libmysqlclient-dev libmysqlclient21 libnsl-dev libprotobuf-lite32 libruby 106s libruby3.1 libssl-dev libtirpc-dev libzstd-dev linux-libc-dev 106s mysql-client-8.0 mysql-client-core-8.0 mysql-common mysql-server-8.0 106s mysql-server-core-8.0 rake rpcsvc-proto ruby ruby-diff-lcs ruby-eventmachine 106s ruby-mysql2 ruby-net-telnet ruby-rspec ruby-rspec-core 106s ruby-rspec-expectations ruby-rspec-mocks ruby-rspec-support ruby-rubygems 106s ruby-sdbm ruby-webrick ruby-xmlrpc ruby3.1 rubygems-integration zlib1g-dev 106s Suggested packages: 106s glibc-doc manpages-dev libssl-doc mailx tinyca ri ruby-dev bundler 106s Recommended packages: 106s manpages manpages-dev libc-devtools libhtml-template-perl mecab-ipadic-utf8 106s zip fonts-lato libjs-jquery 106s The following NEW packages will be installed: 106s autopkgtest-satdep default-libmysqlclient-dev default-mysql-server 106s gem2deb-test-runner libc-dev-bin libc6-dev libcrypt-dev 106s libevent-pthreads-2.1-7 libmecab2 libmysqlclient-dev libmysqlclient21 106s libnsl-dev libprotobuf-lite32 libruby libruby3.1 libssl-dev libtirpc-dev 106s libzstd-dev linux-libc-dev mysql-client-8.0 mysql-client-core-8.0 106s mysql-common mysql-server-8.0 mysql-server-core-8.0 rake rpcsvc-proto ruby 106s ruby-diff-lcs ruby-eventmachine ruby-mysql2 ruby-net-telnet ruby-rspec 106s ruby-rspec-core ruby-rspec-expectations ruby-rspec-mocks ruby-rspec-support 106s ruby-rubygems ruby-sdbm ruby-webrick ruby-xmlrpc ruby3.1 106s rubygems-integration zlib1g-dev 106s 0 upgraded, 43 newly installed, 0 to remove and 0 not upgraded. 106s Need to get 37.9 MB/37.9 MB of archives. 106s After this operation, 272 MB of additional disk space will be used. 106s Get:1 /tmp/autopkgtest.IsGy0F/1-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [772 B] 106s Get:2 http://ftpmaster.internal/ubuntu noble/main arm64 mysql-common all 5.8+1.1.0 [6626 B] 106s Get:3 http://ftpmaster.internal/ubuntu noble/main arm64 mysql-client-core-8.0 arm64 8.0.36-1 [2708 kB] 107s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 mysql-client-8.0 arm64 8.0.36-1 [22.4 kB] 107s Get:5 http://ftpmaster.internal/ubuntu noble/main arm64 libevent-pthreads-2.1-7 arm64 2.1.12-stable-9 [7738 B] 107s Get:6 http://ftpmaster.internal/ubuntu noble/main arm64 libmecab2 arm64 0.996-14ubuntu1 [188 kB] 107s Get:7 http://ftpmaster.internal/ubuntu noble/main arm64 libprotobuf-lite32 arm64 3.21.12-8ubuntu5 [221 kB] 107s Get:8 http://ftpmaster.internal/ubuntu noble/main arm64 mysql-server-core-8.0 arm64 8.0.36-1 [17.1 MB] 107s Get:9 http://ftpmaster.internal/ubuntu noble/main arm64 mysql-server-8.0 arm64 8.0.36-1 [1231 kB] 107s Get:10 http://ftpmaster.internal/ubuntu noble/main arm64 libmysqlclient21 arm64 8.0.36-1 [1271 kB] 107s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libssl-dev arm64 3.0.13-0ubuntu2 [2335 kB] 107s Get:12 http://ftpmaster.internal/ubuntu noble/main arm64 libzstd-dev arm64 1.5.5+dfsg2-2 [343 kB] 107s Get:13 http://ftpmaster.internal/ubuntu noble/main arm64 libc-dev-bin arm64 2.39-0ubuntu2 [19.7 kB] 107s Get:14 http://ftpmaster.internal/ubuntu noble/main arm64 linux-libc-dev arm64 6.8.0-11.11 [1569 kB] 107s Get:15 http://ftpmaster.internal/ubuntu noble/main arm64 libcrypt-dev arm64 1:4.4.36-4 [136 kB] 107s Get:16 http://ftpmaster.internal/ubuntu noble/main arm64 libtirpc-dev arm64 1.3.4+ds-1build1 [232 kB] 107s Get:17 http://ftpmaster.internal/ubuntu noble/main arm64 libnsl-dev arm64 1.3.0-3 [71.9 kB] 107s Get:18 http://ftpmaster.internal/ubuntu noble/main arm64 rpcsvc-proto arm64 1.4.2-0ubuntu6 [65.4 kB] 107s Get:19 http://ftpmaster.internal/ubuntu noble/main arm64 libc6-dev arm64 2.39-0ubuntu2 [1596 kB] 107s Get:20 http://ftpmaster.internal/ubuntu noble/main arm64 zlib1g-dev arm64 1:1.3.dfsg-3ubuntu1 [895 kB] 107s Get:21 http://ftpmaster.internal/ubuntu noble/main arm64 libmysqlclient-dev arm64 8.0.36-1 [1632 kB] 107s Get:22 http://ftpmaster.internal/ubuntu noble/main arm64 default-libmysqlclient-dev arm64 1.1.0 [3016 B] 107s Get:23 http://ftpmaster.internal/ubuntu noble/universe arm64 default-mysql-server all 1.1.0 [2810 B] 107s Get:24 http://ftpmaster.internal/ubuntu noble/main arm64 rubygems-integration all 1.18 [5336 B] 107s Get:25 http://ftpmaster.internal/ubuntu noble/main arm64 ruby-net-telnet all 0.2.0-1 [13.3 kB] 107s Get:26 http://ftpmaster.internal/ubuntu noble/main arm64 ruby-webrick all 1.8.1-1 [52.3 kB] 107s Get:27 http://ftpmaster.internal/ubuntu noble/main arm64 ruby-xmlrpc all 0.3.2-2 [24.8 kB] 107s Get:28 http://ftpmaster.internal/ubuntu noble/main arm64 libruby arm64 1:3.1+1 [4640 B] 107s Get:29 http://ftpmaster.internal/ubuntu noble/main arm64 ruby-sdbm arm64 1.0.0-5build3 [17.9 kB] 107s Get:30 http://ftpmaster.internal/ubuntu noble/main arm64 libruby3.1 arm64 3.1.2-7ubuntu4 [5115 kB] 108s Get:31 http://ftpmaster.internal/ubuntu noble/main arm64 ruby3.1 arm64 3.1.2-7ubuntu4 [49.0 kB] 108s Get:32 http://ftpmaster.internal/ubuntu noble/main arm64 ruby-rubygems all 3.4.20-1 [238 kB] 108s Get:33 http://ftpmaster.internal/ubuntu noble/main arm64 ruby arm64 1:3.1+1 [3464 B] 108s Get:34 http://ftpmaster.internal/ubuntu noble/main arm64 rake all 13.0.6-3 [61.6 kB] 108s Get:35 http://ftpmaster.internal/ubuntu noble/universe arm64 gem2deb-test-runner arm64 2.2.2 [18.2 kB] 108s Get:36 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-diff-lcs all 1.5.0-1 [23.9 kB] 108s Get:37 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-eventmachine arm64 1.3~pre20220315-df4ab006-3build3 [165 kB] 108s Get:38 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-mysql2 arm64 0.5.3-4ubuntu3 [54.4 kB] 108s Get:39 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rspec-support all 3.12.0c0e1m1s0-1 [28.8 kB] 108s Get:40 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rspec-core all 3.12.0c0e1m1s0-1 [163 kB] 108s Get:41 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rspec-expectations all 3.12.0c0e1m1s0-1 [89.2 kB] 108s Get:42 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rspec-mocks all 3.12.0c0e1m1s0-1 [79.4 kB] 108s Get:43 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rspec all 3.12.0c0e1m1s0-1 [3506 B] 108s Preconfiguring packages ... 108s Fetched 37.9 MB in 2s (20.8 MB/s) 108s Selecting previously unselected package mysql-common. 108s (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 ... 74760 files and directories currently installed.) 108s Preparing to unpack .../0-mysql-common_5.8+1.1.0_all.deb ... 108s Unpacking mysql-common (5.8+1.1.0) ... 108s Selecting previously unselected package mysql-client-core-8.0. 108s Preparing to unpack .../1-mysql-client-core-8.0_8.0.36-1_arm64.deb ... 108s Unpacking mysql-client-core-8.0 (8.0.36-1) ... 109s Selecting previously unselected package mysql-client-8.0. 109s Preparing to unpack .../2-mysql-client-8.0_8.0.36-1_arm64.deb ... 109s Unpacking mysql-client-8.0 (8.0.36-1) ... 109s Selecting previously unselected package libevent-pthreads-2.1-7:arm64. 109s Preparing to unpack .../3-libevent-pthreads-2.1-7_2.1.12-stable-9_arm64.deb ... 109s Unpacking libevent-pthreads-2.1-7:arm64 (2.1.12-stable-9) ... 109s Selecting previously unselected package libmecab2:arm64. 109s Preparing to unpack .../4-libmecab2_0.996-14ubuntu1_arm64.deb ... 109s Unpacking libmecab2:arm64 (0.996-14ubuntu1) ... 109s Selecting previously unselected package libprotobuf-lite32:arm64. 109s Preparing to unpack .../5-libprotobuf-lite32_3.21.12-8ubuntu5_arm64.deb ... 109s Unpacking libprotobuf-lite32:arm64 (3.21.12-8ubuntu5) ... 109s Selecting previously unselected package mysql-server-core-8.0. 109s Preparing to unpack .../6-mysql-server-core-8.0_8.0.36-1_arm64.deb ... 109s Unpacking mysql-server-core-8.0 (8.0.36-1) ... 109s Setting up mysql-common (5.8+1.1.0) ... 109s update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode 109s Selecting previously unselected package mysql-server-8.0. 109s (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 ... 74977 files and directories currently installed.) 109s Preparing to unpack .../00-mysql-server-8.0_8.0.36-1_arm64.deb ... 110s Unpacking mysql-server-8.0 (8.0.36-1) ... 110s Selecting previously unselected package libmysqlclient21:arm64. 110s Preparing to unpack .../01-libmysqlclient21_8.0.36-1_arm64.deb ... 110s Unpacking libmysqlclient21:arm64 (8.0.36-1) ... 110s Selecting previously unselected package libssl-dev:arm64. 110s Preparing to unpack .../02-libssl-dev_3.0.13-0ubuntu2_arm64.deb ... 110s Unpacking libssl-dev:arm64 (3.0.13-0ubuntu2) ... 110s Selecting previously unselected package libzstd-dev:arm64. 110s Preparing to unpack .../03-libzstd-dev_1.5.5+dfsg2-2_arm64.deb ... 110s Unpacking libzstd-dev:arm64 (1.5.5+dfsg2-2) ... 110s Selecting previously unselected package libc-dev-bin. 110s Preparing to unpack .../04-libc-dev-bin_2.39-0ubuntu2_arm64.deb ... 110s Unpacking libc-dev-bin (2.39-0ubuntu2) ... 110s Selecting previously unselected package linux-libc-dev:arm64. 110s Preparing to unpack .../05-linux-libc-dev_6.8.0-11.11_arm64.deb ... 110s Unpacking linux-libc-dev:arm64 (6.8.0-11.11) ... 111s Selecting previously unselected package libcrypt-dev:arm64. 111s Preparing to unpack .../06-libcrypt-dev_1%3a4.4.36-4_arm64.deb ... 111s Unpacking libcrypt-dev:arm64 (1:4.4.36-4) ... 111s Selecting previously unselected package libtirpc-dev:arm64. 111s Preparing to unpack .../07-libtirpc-dev_1.3.4+ds-1build1_arm64.deb ... 111s Unpacking libtirpc-dev:arm64 (1.3.4+ds-1build1) ... 111s Selecting previously unselected package libnsl-dev:arm64. 111s Preparing to unpack .../08-libnsl-dev_1.3.0-3_arm64.deb ... 111s Unpacking libnsl-dev:arm64 (1.3.0-3) ... 111s Selecting previously unselected package rpcsvc-proto. 111s Preparing to unpack .../09-rpcsvc-proto_1.4.2-0ubuntu6_arm64.deb ... 111s Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ... 111s Selecting previously unselected package libc6-dev:arm64. 111s Preparing to unpack .../10-libc6-dev_2.39-0ubuntu2_arm64.deb ... 111s Unpacking libc6-dev:arm64 (2.39-0ubuntu2) ... 111s Selecting previously unselected package zlib1g-dev:arm64. 111s Preparing to unpack .../11-zlib1g-dev_1%3a1.3.dfsg-3ubuntu1_arm64.deb ... 111s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg-3ubuntu1) ... 111s Selecting previously unselected package libmysqlclient-dev. 111s Preparing to unpack .../12-libmysqlclient-dev_8.0.36-1_arm64.deb ... 111s Unpacking libmysqlclient-dev (8.0.36-1) ... 111s Selecting previously unselected package default-libmysqlclient-dev:arm64. 111s Preparing to unpack .../13-default-libmysqlclient-dev_1.1.0_arm64.deb ... 111s Unpacking default-libmysqlclient-dev:arm64 (1.1.0) ... 111s Selecting previously unselected package default-mysql-server. 111s Preparing to unpack .../14-default-mysql-server_1.1.0_all.deb ... 111s Unpacking default-mysql-server (1.1.0) ... 111s Selecting previously unselected package rubygems-integration. 111s Preparing to unpack .../15-rubygems-integration_1.18_all.deb ... 111s Unpacking rubygems-integration (1.18) ... 111s Selecting previously unselected package ruby-net-telnet. 111s Preparing to unpack .../16-ruby-net-telnet_0.2.0-1_all.deb ... 111s Unpacking ruby-net-telnet (0.2.0-1) ... 111s Selecting previously unselected package ruby-webrick. 111s Preparing to unpack .../17-ruby-webrick_1.8.1-1_all.deb ... 111s Unpacking ruby-webrick (1.8.1-1) ... 111s Selecting previously unselected package ruby-xmlrpc. 111s Preparing to unpack .../18-ruby-xmlrpc_0.3.2-2_all.deb ... 111s Unpacking ruby-xmlrpc (0.3.2-2) ... 111s Selecting previously unselected package libruby:arm64. 111s Preparing to unpack .../19-libruby_1%3a3.1+1_arm64.deb ... 111s Unpacking libruby:arm64 (1:3.1+1) ... 111s Selecting previously unselected package ruby-sdbm:arm64. 111s Preparing to unpack .../20-ruby-sdbm_1.0.0-5build3_arm64.deb ... 111s Unpacking ruby-sdbm:arm64 (1.0.0-5build3) ... 111s Selecting previously unselected package libruby3.1:arm64. 111s Preparing to unpack .../21-libruby3.1_3.1.2-7ubuntu4_arm64.deb ... 111s Unpacking libruby3.1:arm64 (3.1.2-7ubuntu4) ... 112s Selecting previously unselected package ruby3.1. 112s Preparing to unpack .../22-ruby3.1_3.1.2-7ubuntu4_arm64.deb ... 112s Unpacking ruby3.1 (3.1.2-7ubuntu4) ... 112s Selecting previously unselected package ruby-rubygems. 112s Preparing to unpack .../23-ruby-rubygems_3.4.20-1_all.deb ... 112s Unpacking ruby-rubygems (3.4.20-1) ... 112s Selecting previously unselected package ruby. 112s Preparing to unpack .../24-ruby_1%3a3.1+1_arm64.deb ... 112s Unpacking ruby (1:3.1+1) ... 112s Selecting previously unselected package rake. 112s Preparing to unpack .../25-rake_13.0.6-3_all.deb ... 112s Unpacking rake (13.0.6-3) ... 112s Selecting previously unselected package gem2deb-test-runner. 112s Preparing to unpack .../26-gem2deb-test-runner_2.2.2_arm64.deb ... 112s Unpacking gem2deb-test-runner (2.2.2) ... 112s Selecting previously unselected package ruby-diff-lcs. 112s Preparing to unpack .../27-ruby-diff-lcs_1.5.0-1_all.deb ... 112s Unpacking ruby-diff-lcs (1.5.0-1) ... 112s Selecting previously unselected package ruby-eventmachine:arm64. 112s Preparing to unpack .../28-ruby-eventmachine_1.3~pre20220315-df4ab006-3build3_arm64.deb ... 112s Unpacking ruby-eventmachine:arm64 (1.3~pre20220315-df4ab006-3build3) ... 112s Selecting previously unselected package ruby-mysql2. 112s Preparing to unpack .../29-ruby-mysql2_0.5.3-4ubuntu3_arm64.deb ... 112s Unpacking ruby-mysql2 (0.5.3-4ubuntu3) ... 112s Selecting previously unselected package ruby-rspec-support. 112s Preparing to unpack .../30-ruby-rspec-support_3.12.0c0e1m1s0-1_all.deb ... 112s Unpacking ruby-rspec-support (3.12.0c0e1m1s0-1) ... 112s Selecting previously unselected package ruby-rspec-core. 112s Preparing to unpack .../31-ruby-rspec-core_3.12.0c0e1m1s0-1_all.deb ... 112s Unpacking ruby-rspec-core (3.12.0c0e1m1s0-1) ... 112s Selecting previously unselected package ruby-rspec-expectations. 112s Preparing to unpack .../32-ruby-rspec-expectations_3.12.0c0e1m1s0-1_all.deb ... 112s Unpacking ruby-rspec-expectations (3.12.0c0e1m1s0-1) ... 112s Selecting previously unselected package ruby-rspec-mocks. 112s Preparing to unpack .../33-ruby-rspec-mocks_3.12.0c0e1m1s0-1_all.deb ... 112s Unpacking ruby-rspec-mocks (3.12.0c0e1m1s0-1) ... 112s Selecting previously unselected package ruby-rspec. 112s Preparing to unpack .../34-ruby-rspec_3.12.0c0e1m1s0-1_all.deb ... 112s Unpacking ruby-rspec (3.12.0c0e1m1s0-1) ... 112s Selecting previously unselected package autopkgtest-satdep. 112s Preparing to unpack .../35-1-autopkgtest-satdep.deb ... 112s Unpacking autopkgtest-satdep (0) ... 112s Setting up libmecab2:arm64 (0.996-14ubuntu1) ... 112s Setting up mysql-client-core-8.0 (8.0.36-1) ... 112s Setting up libmysqlclient21:arm64 (8.0.36-1) ... 112s Setting up libzstd-dev:arm64 (1.5.5+dfsg2-2) ... 112s Setting up linux-libc-dev:arm64 (6.8.0-11.11) ... 112s Setting up rubygems-integration (1.18) ... 112s Setting up libtirpc-dev:arm64 (1.3.4+ds-1build1) ... 112s Setting up rpcsvc-proto (1.4.2-0ubuntu6) ... 112s Setting up ruby-net-telnet (0.2.0-1) ... 112s Setting up libssl-dev:arm64 (3.0.13-0ubuntu2) ... 112s Setting up ruby-rspec-support (3.12.0c0e1m1s0-1) ... 112s Setting up ruby-webrick (1.8.1-1) ... 112s Setting up libnsl-dev:arm64 (1.3.0-3) ... 112s Setting up libcrypt-dev:arm64 (1:4.4.36-4) ... 112s Setting up mysql-client-8.0 (8.0.36-1) ... 112s Setting up libprotobuf-lite32:arm64 (3.21.12-8ubuntu5) ... 112s Setting up libc-dev-bin (2.39-0ubuntu2) ... 112s Setting up ruby-xmlrpc (0.3.2-2) ... 112s Setting up libevent-pthreads-2.1-7:arm64 (2.1.12-stable-9) ... 112s Setting up mysql-server-core-8.0 (8.0.36-1) ... 112s Setting up libc6-dev:arm64 (2.39-0ubuntu2) ... 112s Setting up mysql-server-8.0 (8.0.36-1) ... 113s update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode 113s Renaming removed key_buffer and myisam-recover options (if present) 118s mysqld will log errors to /var/log/mysql/error.log 119s mysqld is running as pid 2616 123s Created symlink /etc/systemd/system/multi-user.target.wants/mysql.service → /usr/lib/systemd/system/mysql.service. 124s Setting up default-mysql-server (1.1.0) ... 124s Setting up zlib1g-dev:arm64 (1:1.3.dfsg-3ubuntu1) ... 124s Setting up libmysqlclient-dev (8.0.36-1) ... 124s Setting up default-libmysqlclient-dev:arm64 (1.1.0) ... 124s Setting up ruby-rubygems (3.4.20-1) ... 124s Setting up ruby3.1 (3.1.2-7ubuntu4) ... 124s Setting up libruby:arm64 (1:3.1+1) ... 124s Setting up ruby (1:3.1+1) ... 124s Setting up rake (13.0.6-3) ... 124s Setting up ruby-rspec-core (3.12.0c0e1m1s0-1) ... 124s Setting up ruby-sdbm:arm64 (1.0.0-5build3) ... 124s Setting up ruby-diff-lcs (1.5.0-1) ... 124s Setting up libruby3.1:arm64 (3.1.2-7ubuntu4) ... 124s Setting up ruby-eventmachine:arm64 (1.3~pre20220315-df4ab006-3build3) ... 124s Setting up gem2deb-test-runner (2.2.2) ... 124s Setting up ruby-rspec-expectations (3.12.0c0e1m1s0-1) ... 124s Setting up ruby-rspec-mocks (3.12.0c0e1m1s0-1) ... 124s Setting up ruby-rspec (3.12.0c0e1m1s0-1) ... 124s Setting up ruby-mysql2 (0.5.3-4ubuntu3) ... 124s Setting up autopkgtest-satdep (0) ... 124s Processing triggers for libc-bin (2.39-0ubuntu2) ... 125s Processing triggers for man-db (2.12.0-3) ... 130s (Reading database ... 80474 files and directories currently installed.) 130s Removing autopkgtest-satdep (0) ... 131s autopkgtest [15:55:27]: test gem2deb-test-runner: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1 131s autopkgtest [15:55:27]: test gem2deb-test-runner: [----------------------- 131s 131s ┌──────────────────────────────────────────────────────────────────────────────┐ 131s │ Checking Rubygems dependency resolution on ruby3.1 │ 131s └──────────────────────────────────────────────────────────────────────────────┘ 131s 131s RUBYLIB=. GEM_PATH= ruby3.1 -e gem\ \"mysql2\" 131s mv lib ./.gem2deb.lib 131s mv ext ./.gem2deb.ext 131s mv ./.gem2deb.lib lib 131s mv ./.gem2deb.ext ext 131s 131s ┌──────────────────────────────────────────────────────────────────────────────┐ 131s │ Run tests for ruby3.1 from debian/ruby-tests.rake │ 131s └──────────────────────────────────────────────────────────────────────────────┘ 131s 131s RUBYLIB=. GEM_PATH= ruby3.1 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake 131s mv lib ./.gem2deb.lib 131s mv ext ./.gem2deb.ext 132s ./debian/start_mysqld_and_run.sh ruby3.1 -S rspec 132s + mktemp -d 132s + MYTEMP_DIR=/tmp/tmp.U79Ixe3Lku 132s + export MYSQL_UNIX_PORT=/tmp/tmp.U79Ixe3Lku/mysql.sock 132s + DO_MYSQL_USER=ubuntu 132s + DO_MYSQL_DBNAME=test 132s + DO_MYSQL_DATABASE=/test 132s + /usr/sbin/mysqld --no-defaults --initialize-insecure --user=ubuntu --datadir=/tmp/tmp.U79Ixe3Lku 132s 2024-03-18T15:55:28.018783Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.0.36-1) initializing of server in progress as process 2994 132s 2024-03-18T15:55:28.026880Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started. 132s 2024-03-18T15:55:28.349948Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended. 135s 2024-03-18T15:55:31.378183Z 5 [Warning] [MY-010453] [Server] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option. 137s + + /usr/sbin/mysqld --no-defaults --user=ubuntu --socket=/tmp/tmp.U79Ixe3Lku/mysql.sock --datadir=/tmp/tmp.U79Ixe3Lku --skip-networking 137s MYSQL_PID=3034 137s + mysqladmin=/usr/bin/mysqladmin --user=root --socket=/tmp/tmp.U79Ixe3Lku/mysql.sock 137s + echo -n pinging mysqld. 137s pinging mysqld.+ attempts=0 137s + /usr/bin/mysqladmin --user=root --socket=/tmp/tmp.U79Ixe3Lku/mysql.sock ping 137s mysqladmin: connect to server at 'localhost' failed 137s error: 'Can't connect to local MySQL server through socket '/tmp/tmp.U79Ixe3Lku/mysql.sock' (2)' 137s Check that mysqld is running and that the socket: '/tmp/tmp.U79Ixe3Lku/mysql.sock' exists! 137s + sleep 3 137s 2024-03-18T15:55:33.723090Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.36-1) starting as process 3034 137s 2024-03-18T15:55:33.731610Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started. 137s 2024-03-18T15:55:33.869172Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended. 137s 2024-03-18T15:55:33.967141Z 0 [ERROR] [MY-011292] [Server] Plugin mysqlx reported: 'Preparation of I/O interfaces failed, X Protocol won't be accessible' 137s 2024-03-18T15:55:33.967343Z 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' 138s 2024-03-18T15:55:34.094646Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed. 138s 2024-03-18T15:55:34.094701Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel. 138s 2024-03-18T15:55:34.100824Z 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. 138s 2024-03-18T15:55:34.123152Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.36-1' socket: '/tmp/tmp.U79Ixe3Lku/mysql.sock' port: 0 (Ubuntu). 140s + attempts=1 140s + [ 1 -gt 10 ] 140s + /usr/bin/mysqladmin --user=root --socket=/tmp/tmp.U79Ixe3Lku/mysql.sock ping 140s mysqld is alive 140s + trap cleanup INT EXIT TERM 140s + mysql --user=root --socket=/tmp/tmp.U79Ixe3Lku/mysql.sock --execute CREATE USER 'ubuntu'@'localhost'; GRANT ALL PRIVILEGES ON *.* TO 'ubuntu'@'localhost'; CREATE DATABASE test; 140s + ruby3.1 -S rspec 140s 140s Randomized with seed 15442 140s 140s Mysql2::EM::Client 140s should not raise error when closing client with no query running 141s should support queries in callbacks 141s should not swallow exceptions raised in callbacks 141s should support async queries 141s when an exception is raised by the client 141s should swallow exceptions raised in by the client 141s should fail the deferrable 141s 141s Mysql2::Result 141s should respond to #free 141s should respond to #count, which is aliased as #size 141s should be able to return the number of rows in the result set 141s should respond to #each 141s should have included Enumerable 141s should raise a Mysql2::Error exception upon a bad query 141s should raise a TypeError exception when it doesn't wrap a result set 141s #each 141s should not cache previously yielded results if cache_rows is disabled 141s should be able to iterate a second time even if cache_rows is disabled 141s should yield the same value for #first if streaming is disabled 141s should be able to return results as an array 141s should yield rows as hash's with symbol keys if :symbolize_keys was set to true 141s should cache previously yielded results by default 141s should yield different value for #first if streaming 141s should yield rows as hash's 141s should throw an exception if we try to iterate twice when streaming is enabled 141s row data type mapping 141s should return String for a BINARY value 141s should return a String for TEXT 141s should return Time for a DATETIME value when within the supported range 141s should return String for a BIT(64) value 141s should return String for a BIT(1) value 141s should return Fixnum for a MEDIUMINT value 141s should return a String for TINYBLOB 141s should return String for a SET value 141s should return a String for MEDIUMTEXT 141s should return BigDecimal for a DECIMAL value 141s should return Time when timestamp is > 2038-01-19T03:14:07 141s should return Fixnum for a SMALLINT value 141s should return a String for BLOB 141s should raise an error given an invalid DATETIME (PENDING: Temporarily skipped with xit) 141s should return a String for LONGTEXT 141s should return a String for VARCHAR 141s should return Float for a FLOAT value 141s should return Fixnum for a TINYINT value 141s should return nil for a NULL value 141s should return Fixnum for a BIGINT value 141s should return String for an ENUM value 141s should return Time for a TIMESTAMP value when within the supported range 141s should return Float for a DOUBLE value 141s should return a String for MEDIUMBLOB 141s should return a String for TINYTEXT 141s should return Fixnum for an INT value 141s should return nil values for NULL and strings for everything else when :cast is false 141s should return Fixnum for a YEAR value 141s should return a String for LONGBLOB 141s should return Time for a TIME value 141s should return Date for a DATE value 141s should return a String for CHAR 141s should return a String for VARBINARY 141s should return Time when timestamp is < 1901-12-13 20:45:52 141s string encoding for MEDIUMBLOB values 141s should default to binary if Encoding.default_internal is nil 141s should not use Encoding.default_internal 141s string encoding for TINYTEXT values 141s should use Encoding.default_internal 141s should default to utf-8 if Encoding.default_internal is nil 141s string encoding for SET values 141s should use Encoding.default_internal 141s should default to the connection's encoding if Encoding.default_internal is nil 141s string encoding for VARCHAR values 141s should use Encoding.default_internal 141s should default to utf-8 if Encoding.default_internal is nil 141s string encoding for LONGTEXT values 141s should use Encoding.default_internal 141s should default to utf-8 if Encoding.default_internal is nil 141s string encoding for LONGBLOB values 141s should default to binary if Encoding.default_internal is nil 141s should not use Encoding.default_internal 141s cast booleans for TINYINT if :cast_booleans is enabled 141s should return TrueClass or FalseClass for a TINYINT value if :cast_booleans is enabled 141s string encoding for BINARY values 141s should not use Encoding.default_internal 141s should default to binary if Encoding.default_internal is nil 141s string encoding for ENUM values 141s should default to the connection's encoding if Encoding.default_internal is nil 141s should use Encoding.default_internal 141s string encoding for BLOB values 141s should default to binary if Encoding.default_internal is nil 141s should not use Encoding.default_internal 141s cast booleans for BIT(1) if :cast_booleans is enabled 141s should return TrueClass or FalseClass for a BIT(1) value if :cast_booleans is enabled 141s string encoding for CHAR values 141s should use Encoding.default_internal 141s should default to utf-8 if Encoding.default_internal is nil 141s string encoding for TEXT values 141s should use Encoding.default_internal 141s should default to utf-8 if Encoding.default_internal is nil 141s string encoding for VARBINARY values 141s should default to binary if Encoding.default_internal is nil 141s should not use Encoding.default_internal 141s string encoding for TINYBLOB values 141s should default to binary if Encoding.default_internal is nil 141s should not use Encoding.default_internal 141s string encoding for MEDIUMTEXT values 141s should use Encoding.default_internal 141s should default to utf-8 if Encoding.default_internal is nil 141s server flags 141s should set a definitive value for no_index_used 141s should set a definitive value for no_good_index_used 141s should set a definitive value for query_was_slow 141s #fields 141s method should exist 141s should return an array of field names in proper order 141s metadata queries 141s should show tables 141s streaming 141s should raise an exception if streaming ended due to a timeout (PENDING: Temporarily skipped with xit) 141s #count should be zero for rows after streaming when there were no results 141s should not yield nil at the end of streaming 141s should maintain a count while streaming 141s should retain the count when mixing first and each 141s 141s Mysql2::Error 141s responds to error_number and sql_state, with aliases 141s 141s Mysql2::Statement 141s should create a statement (PENDING: Temporarily skipped with xit) 141s should raise an exception when server disconnects 141s should select dates 141s should handle as a decimal binding a BigDecimal 141s should tell us the field count 142s should be reusable 10000 times 142s should prepare DateTime values with microseconds 142s should warn but still work if cache_rows is set to false 142s should let us iterate over results 142s should tell us the result count 142s should raise an exception without a block 142s should update a DECIMAL value passing a BigDecimal 142s should keep its result after other query 142s should let us execute our statement 142s should prepare Time values with microseconds 142s should prepare Date values 142s should handle comparisons and likes 142s should be reusable 1000 times 142s should handle booleans 142s should handle bignum but in int64_t 142s should tell us about the fields 142s should accept keyword arguments on statement execute 142s should handle bignum but beyond int64_t 142s should accept bind arguments and keyword arguments on statement execute 142s should tell us the param count 142s row data type mapping 142s should return String for a BIT(64) value 142s should return Fixnum for a SMALLINT value 142s should return Time when timestamp is < 1901-12-13 20:45:52 142s should return a String for MEDIUMTEXT 142s should return a String for BLOB 142s should return Fixnum for a MEDIUMINT value 142s should return a String for TINYTEXT 142s should return String for a BIT(1) value 142s should raise an error given an invalid DATETIME (PENDING: Temporarily skipped with xit) 142s should return Fixnum for a YEAR value 142s should return Fixnum for an INT value 142s should return Time when timestamp is > 2038-01-19T03:14:07 142s should return Time for a DATETIME value when within the supported range 142s should return Fixnum for a BIGINT value 142s should return a String for LONGTEXT 142s should return BigDecimal for a DECIMAL value 142s should return a String for CHAR 142s should return Float for a DOUBLE value 142s should return nil for a NULL value 142s should return String for an ENUM value 142s should return Date for a DATE value 142s should return a String for TEXT 142s should return Time for a TIMESTAMP value when within the supported range 142s should return a String for VARCHAR 142s should return a String for LONGBLOB 142s should return a String for TINYBLOB 142s should return a String for MEDIUMBLOB 142s should return Float for a FLOAT value 142s should return String for a BINARY value 142s should return String for a SET value 142s should return a String for VARBINARY 142s should return Time for a TIME value 142s should return Fixnum for a TINYINT value 142s string encoding for CHAR values 142s should default to utf-8 if Encoding.default_internal is nil 142s should use Encoding.default_internal 142s string encoding for MEDIUMTEXT values 142s should use Encoding.default_internal 142s should default to utf-8 if Encoding.default_internal is nil 142s string encoding for VARCHAR values 142s should use Encoding.default_internal 142s should default to utf-8 if Encoding.default_internal is nil 142s string encoding for BLOB values 142s should not use Encoding.default_internal 142s should default to binary if Encoding.default_internal is nil 142s cast booleans for TINYINT if :cast_booleans is enabled 142s should return TrueClass or FalseClass for a TINYINT value if :cast_booleans is enabled 142s string encoding for SET values 142s should use Encoding.default_internal 142s should default to the connection's encoding if Encoding.default_internal is nil 142s string encoding for VARBINARY values 142s should not use Encoding.default_internal 142s should default to binary if Encoding.default_internal is nil 142s string encoding for ENUM values 142s should use Encoding.default_internal 142s should default to the connection's encoding if Encoding.default_internal is nil 142s string encoding for LONGTEXT values 142s should use Encoding.default_internal 142s should default to utf-8 if Encoding.default_internal is nil 142s cast booleans for BIT(1) if :cast_booleans is enabled 142s should return TrueClass or FalseClass for a BIT(1) value if :cast_booleans is enabled 142s string encoding for TEXT values 142s should default to utf-8 if Encoding.default_internal is nil 142s should use Encoding.default_internal 142s string encoding for MEDIUMBLOB values 142s should not use Encoding.default_internal 142s should default to binary if Encoding.default_internal is nil 142s string encoding for BINARY values 142s should not use Encoding.default_internal 142s should default to binary if Encoding.default_internal is nil 142s string encoding for TINYTEXT values 142s should default to utf-8 if Encoding.default_internal is nil 142s should use Encoding.default_internal 142s string encoding for LONGBLOB values 142s should not use Encoding.default_internal 142s should default to binary if Encoding.default_internal is nil 142s string encoding for TINYBLOB values 142s should not use Encoding.default_internal 142s should default to binary if Encoding.default_internal is nil 142s utf8_db 142s should be able to retrieve utf8 param query correctly 142s should be able to retrieve query with param in different encoding correctly 142s should be able to retrieve utf8 field names correctly 142s streaming result 142s should be able to stream query result 142s #each 142s /tmp/autopkgtest.IsGy0F/build.YgQ/src/spec/mysql2/statement_spec.rb:304: warning: :cache_rows is ignored if :stream is true 142s /tmp/autopkgtest.IsGy0F/build.YgQ/src/spec/mysql2/statement_spec.rb:304: warning: :cache_rows is ignored if :stream is true 142s should yield different value for #first if streaming 142s should cache previously yielded results by default 142s should be able to return results as an array 142s should yield rows as hash's with symbol keys if :symbolize_keys was set to true 142s should yield rows as hash's 142s should yield the same value for #first if streaming is disabled 142s should throw an exception if we try to iterate twice when streaming is enabled 142s #fields 142s method should exist 142s should return an array of field names in proper order 142s should return nil for statement with no result fields 142s affected_rows 142s should return number of rows affected by a delete 142s should return number of rows affected by an insert 142s should return number of rows affected by an update 142s last_id 142s should handle bigint ids 142s should return last insert id 142s close 142s should free server resources (PENDING: Temporarily skipped with xit) 142s should raise an error on subsequent execution 142s 142s Mysql2::Client 142s should not raise an exception on create for a valid encoding 142s #thread_id should return a boolean 142s should respond to #info 142s should parse flags array 142s WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. 142s should not try to query closed mysql connection 142s should respond to #close 142s should respond to escape 142s #server_info should require an open connection 142s should respond to #query 143s should not leave dangling connections after garbage collection 143s should respond to #encoding 143s should expect read_timeout to be a positive integer 143s #server_info should return a hash containing the client version ID and String 143s should allow nil read_timeout 143s should raise a Mysql::Error::ConnectionError upon connection failure 144s should be able to connect via SSL options (PENDING: DON'T WORRY, THIS TEST PASSES - but /etc/mysql/client-key.pem does not exist.) 144s should default flags to (REMEMBER_OPTIONS, LONG_PASSWORD, LONG_FLAG, TRANSACTIONS, PROTOCOL_41, SECURE_CONNECTION) 144s should respond to #ping 144s should terminate connections when calling close 144s should respond to #query_info 144s should respond to #thread_id 144s should raise an exception on create for invalid encodings 144s should execute init command 144s should set default program_name in connect_attrs (PENDING: Temporarily skipped with xit) 144s should have a global default_query_options hash 144s should be able to close properly 144s should respond to #warning_count 144s should accept connect flags and pass them to #connect 144s should expect connect_timeout to be a positive integer 144s #info should return a hash containing the client version ID and String 144s should be able to connect using plaintext password 144s 2024-03-18T15:55:40.045812Z 393 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead' 144s should raise a Mysql2::Error::ConnectionError exception upon connection failure due to invalid credentials 144s should respond to #escape 144s should raise an exception on non-string encodings 144s should parse flags string 144s should set custom connect_attrs (PENDING: Temporarily skipped with xit) 144s should be able to connect to database with numeric-only name 144s should respond to #server_info 144s #thread_id should be a Fixnum 144s should expect write_timeout to be a positive integer 144s should respond to #socket 144s WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. 144s should send init_command after reconnect 144s :local_infile 144s 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.) 144s 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.) 144s should LOAD DATA LOCAL INFILE (PENDING: DON'T WORRY, THIS TEST PASSES - but LOCAL INFILE is not enabled in your MySQL daemon.) 144s strings returned by .info 144s should be tagged as ascii 144s #query_info 144s when no info present 144s should 0 144s when has some info 144s should retrieve it 144s #set_server_option 144s returns false when multi_statements is neither OPTION_MULTI_STATEMENTS_OFF or OPTION_MULTI_STATEMENTS_ON 144s enables multiple-statement 144s returns true when multi_statements is enable 144s returns true when multi_statements is disable 144s disables multiple-statement 144s escape 144s should carry over the original string's encoding 144s should not overflow the process stack 144s should not overflow the thread stack 144s should return the passed string if nothing was escaped 144s should return a new SQL-escape version of the passed string 144s strings returned by #info 144s should be tagged as ascii 144s select_db 144s should respond to #select_db 144s should switch databases 144s should raise a Mysql2::Error when the database doesn't exist 144s should return the database switched to 144s #closed? 144s should return true after close 144s should return false when connected 144s using defaults file 144s should not raise an exception for valid defaults group 144s should not raise an exception without default group 144s write operations api 144s #last_id should handle BIGINT auto-increment ids above 32 bits 144s #last_id should return a Fixnum, the from the last INSERT/UPDATE 144s should respond to #last_id 144s #last_id should return a Fixnum, the from the last INSERT/UPDATE 144s should respond to #last_id 144s #query 144s should return results as a hash by default 144s should detect closed connection on query read error 144s threaded queries should be supported (PENDING: Temporarily skipped with xit) 144s should be able to return results as an array 144s should not retain query options set on a query for subsequent queries, but should retain it in the result 144s should not let you query again if iterating is not finished when streaming 144s should let you query again if iterating is finished when streaming 144s should not allow another query to be sent without fetching a result first 144s should describe the thread holding the active query 144s should require an open connection 144s evented async queries should be supported 144s should only accept strings as the query parameter 144s should timeout if we wait longer than :read_timeout 144s should allow changing query options for subsequent queries 144s #socket should require an open connection 145s should run signal handlers while waiting for a response 145s should be able to return results with symbolized keys 145s #socket should return a Fixnum (file descriptor from C) 145s Multiple results sets 145s should raise an exception when one of multiple statements fails 145s returns multiple result sets 145s #abandon_results! should work 145s #more_results? should work 145s #more_results? should work with stored procedures 145s will raise on query if there are outstanding results to read 145s does not interfere with other statements 145s when a non-standard exception class is raised 145s WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. 145s should handle Timeouts without leaving the connection hanging if reconnect is true 146s WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. 146s should handle Timeouts without leaving the connection hanging if reconnect is set to true after construction 146s should close the connection when an exception is raised 146s strings returned by #server_info 146s should use Encoding.default_internal 146s should default to the connection's encoding if Encoding.default_internal is nil 146s #automatic_close 147s should not close connections when running in a child process 147s is enabled by default 147s can be configured 147s can be assigned 147s #escape 147s should not overflow the process stack 147s should not overflow the thread stack 147s should return the passed string if nothing was escaped 147s should return a new SQL-escape version of the passed string 147s should require an open connection 147s when mysql encoding is not utf8 147s should return a internal encoding string if Encoding.default_internal is set 147s #warning_count 147s when has a warnings 147s should > 0 147s when no warnings 147s should 0 147s 147s Pending: (Failures listed here are expected and do not affect your suite's status) 147s 147s 1) Mysql2::Result row data type mapping should raise an error given an invalid DATETIME 147s # Temporarily skipped with xit 147s # ./spec/mysql2/result_spec.rb:325 147s 147s 2) Mysql2::Result streaming should raise an exception if streaming ended due to a timeout 147s # Temporarily skipped with xit 147s # ./spec/mysql2/result_spec.rb:157 147s 147s 3) Mysql2::Statement should create a statement 147s # Temporarily skipped with xit 147s # ./spec/mysql2/statement_spec.rb:16 147s 147s 4) Mysql2::Statement row data type mapping should raise an error given an invalid DATETIME 147s # Temporarily skipped with xit 147s # ./spec/mysql2/statement_spec.rb:477 147s 147s 5) Mysql2::Statement close should free server resources 147s # Temporarily skipped with xit 147s # ./spec/mysql2/statement_spec.rb:699 147s 147s 6) Mysql2::Client should be able to connect via SSL options 147s # DON'T WORRY, THIS TEST PASSES - but /etc/mysql/client-key.pem does not exist. 147s Failure/Error: 147s expect do 147s ssl_client = new_client(option_overrides) 147s end.not_to raise_error 147s 147s expected no Exception, got # with backtrace: 147s # ./spec/spec_helper.rb:25:in `new' 147s # ./spec/spec_helper.rb:25:in `new_client' 147s # ./spec/mysql2/client_spec.rb:154:in `block (3 levels) in ' 147s # ./spec/mysql2/client_spec.rb:153:in `block (2 levels) in ' 147s # ./spec/mysql2/client_spec.rb:153:in `block (2 levels) in ' 147s 147s 7) Mysql2::Client should set default program_name in connect_attrs 147s # Temporarily skipped with xit 147s # ./spec/mysql2/client_spec.rb:482 147s 147s 8) Mysql2::Client should set custom connect_attrs 147s # Temporarily skipped with xit 147s # ./spec/mysql2/client_spec.rb:491 147s 147s 9) Mysql2::Client :local_infile should raise an error when local_infile is disabled 147s # DON'T WORRY, THIS TEST PASSES - but LOCAL INFILE is not enabled in your MySQL daemon. 147s # ./spec/mysql2/client_spec.rb:433 147s 147s 10) Mysql2::Client :local_infile should raise an error when a non-existent file is loaded 147s # DON'T WORRY, THIS TEST PASSES - but LOCAL INFILE is not enabled in your MySQL daemon. 147s # ./spec/mysql2/client_spec.rb:440 147s 147s 11) Mysql2::Client :local_infile should LOAD DATA LOCAL INFILE 147s # DON'T WORRY, THIS TEST PASSES - but LOCAL INFILE is not enabled in your MySQL daemon. 147s # ./spec/mysql2/client_spec.rb:447 147s 147s 12) Mysql2::Client#query threaded queries should be supported 147s # Temporarily skipped with xit 147s # ./spec/mysql2/client_spec.rb:695 147s 147s Finished in 6.52 seconds (files took 0.19311 seconds to load) 147s 321 examples, 0 failures, 12 pending 147s 147s Randomized with seed 15442 147s 147s + cleanup 147s + /usr/bin/mysqladmin --user=root --socket=/tmp/tmp.U79Ixe3Lku/mysql.sock shutdown 147s 2024-03-18T15:55:43.506754Z 505 [System] [MY-013172] [Server] Received SHUTDOWN from user root. Shutting down mysqld (Version: 8.0.36-1). 148s 2024-03-18T15:55:44.568999Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.36-1) (Ubuntu). 149s + rm -rf /tmp/tmp.U79Ixe3Lku 149s mv ./.gem2deb.lib lib 149s mv ./.gem2deb.ext ext 149s autopkgtest [15:55:45]: test gem2deb-test-runner: -----------------------] 150s gem2deb-test-runner PASS 150s autopkgtest [15:55:46]: test gem2deb-test-runner: - - - - - - - - - - results - - - - - - - - - - 150s autopkgtest [15:55:46]: @@@@@@@@@@@@@@@@@@@@ summary 150s gem2deb-test-runner PASS 162s Creating nova instance adt-noble-arm64-ruby-mysql2-20240318-155315-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-arm64-server-20240318.img (UUID 6b9ea2ac-1792-4f95-a56d-e128e96ab6e9)...