0s autopkgtest [11:33:23]: starting date: 2024-03-11 0s autopkgtest [11:33:23]: git checkout: d9c0295 adt_testbed.py: supress warnings from apt using a shell pipeline 0s autopkgtest [11:33:23]: host juju-7f2275-prod-proposed-migration-environment-3; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.qpfm1_y9/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --setup-commands /home/ubuntu/autopkgtest/setup-commands/setup-testbed --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-3@bos03-arm64-17.secgroup --name adt-noble-arm64-ruby-mysql2-20240311-113323-juju-7f2275-prod-proposed-migration-environment-3 --image adt/ubuntu-noble-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-3 --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/ 94s autopkgtest [11:34:57]: @@@@@@@@@@@@@@@@@@@@ test bed setup 94s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 95s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [3976 B] 95s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [438 kB] 95s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [37.3 kB] 95s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [2616 kB] 95s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 Packages [585 kB] 95s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 c-n-f Metadata [3144 B] 95s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 Packages [20.3 kB] 95s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 c-n-f Metadata [116 B] 95s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 Packages [2965 kB] 96s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 c-n-f Metadata [8528 B] 96s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 Packages [39.6 kB] 96s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 c-n-f Metadata [116 B] 97s Fetched 6834 kB in 2s (3840 kB/s) 97s Reading package lists... 101s Reading package lists... 101s Building dependency tree... 101s Reading state information... 102s Calculating upgrade... 102s The following packages will be upgraded: 102s zlib1g 103s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 103s Need to get 61.7 kB of archives. 103s After this operation, 0 B of additional disk space will be used. 103s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 zlib1g arm64 1:1.3.dfsg-3.1ubuntu1 [61.7 kB] 103s Fetched 61.7 kB in 0s (210 kB/s) 104s (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 ... 74748 files and directories currently installed.) 104s Preparing to unpack .../zlib1g_1%3a1.3.dfsg-3.1ubuntu1_arm64.deb ... 104s Unpacking zlib1g:arm64 (1:1.3.dfsg-3.1ubuntu1) over (1:1.3.dfsg-3ubuntu1) ... 104s Setting up zlib1g:arm64 (1:1.3.dfsg-3.1ubuntu1) ... 104s Processing triggers for libc-bin (2.39-0ubuntu2) ... 104s Reading package lists... 104s Building dependency tree... 104s Reading state information... 105s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 106s sh: Attempting to set up Debian/Ubuntu apt sources automatically 106s sh: Distribution appears to be Ubuntu 107s Reading package lists... 107s Building dependency tree... 107s Reading state information... 108s eatmydata is already the newest version (131-1). 108s dbus is already the newest version (1.14.10-4ubuntu1). 108s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 108s Reading package lists... 108s Building dependency tree... 108s Reading state information... 109s rng-tools-debian is already the newest version (2.4). 109s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 109s Reading package lists... 109s Building dependency tree... 109s Reading state information... 110s haveged is already the newest version (1.9.14-1ubuntu1). 110s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 110s Reading package lists... 110s Building dependency tree... 110s Reading state information... 111s The following packages will be REMOVED: 111s cloud-init* python3-configobj* python3-debconf* 112s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 112s After this operation, 3248 kB disk space will be freed. 112s (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 ... 74748 files and directories currently installed.) 112s Removing cloud-init (24.1-0ubuntu1) ... 113s Removing python3-configobj (5.0.8-3) ... 113s Removing python3-debconf (1.5.86) ... 113s Processing triggers for man-db (2.12.0-3) ... 113s (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 ... 74359 files and directories currently installed.) 113s Purging configuration files for cloud-init (24.1-0ubuntu1) ... 114s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 114s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 115s Reading package lists... 115s Building dependency tree... 115s Reading state information... 116s linux-generic is already the newest version (6.8.0-11.11+1). 116s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 117s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 117s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 117s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 117s Hit:4 http://ftpmaster.internal/ubuntu noble-proposed InRelease 119s Reading package lists... 119s Reading package lists... 119s Building dependency tree... 119s Reading state information... 120s Calculating upgrade... 120s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 121s Reading package lists... 121s Building dependency tree... 121s Reading state information... 121s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 122s autopkgtest [11:35:25]: rebooting testbed after setup commands that affected boot 148s autopkgtest [11:35:51]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 14 02:53:31 UTC 2024 149s autopkgtest [11:35:52]: testbed dpkg architecture: arm64 153s autopkgtest [11:35:56]: @@@@@@@@@@@@@@@@@@@@ apt-source ruby-mysql2 155s Get:1 http://ftpmaster.internal/ubuntu noble/universe ruby-mysql2 0.5.3-4ubuntu3 (dsc) [2318 B] 155s Get:2 http://ftpmaster.internal/ubuntu noble/universe ruby-mysql2 0.5.3-4ubuntu3 (tar) [108 kB] 155s Get:3 http://ftpmaster.internal/ubuntu noble/universe ruby-mysql2 0.5.3-4ubuntu3 (diff) [11.9 kB] 155s gpgv: Signature made Wed Feb 7 02:15:10 2024 UTC 155s gpgv: using RSA key 8ED6C3F8BAC9DB7FC130A870F823A2729883C97C 155s gpgv: issuer "kanashiro@ubuntu.com" 155s gpgv: Can't check signature: No public key 155s dpkg-source: warning: cannot verify inline signature for ./ruby-mysql2_0.5.3-4ubuntu3.dsc: no acceptable signature found 156s autopkgtest [11:35:59]: testing package ruby-mysql2 version 0.5.3-4ubuntu3 156s autopkgtest [11:35:59]: build not needed 156s autopkgtest [11:35:59]: test gem2deb-test-runner: preparing testbed 158s Reading package lists... 159s Building dependency tree... 159s Reading state information... 159s Correcting dependencies...Starting pkgProblemResolver with broken count: 0 159s Starting 2 pkgProblemResolver with broken count: 0 159s Done 159s Done 160s Starting pkgProblemResolver with broken count: 0 160s Starting 2 pkgProblemResolver with broken count: 0 160s Done 160s The following additional packages will be installed: 160s default-libmysqlclient-dev default-mysql-server gem2deb-test-runner 160s libc-dev-bin libc6-dev libcrypt-dev libevent-pthreads-2.1-7 libmecab2 160s libmysqlclient-dev libmysqlclient21 libnsl-dev libprotobuf-lite32 libruby 160s libruby3.1 libssl-dev libtirpc-dev libzstd-dev linux-libc-dev 160s mysql-client-8.0 mysql-client-core-8.0 mysql-common mysql-server-8.0 160s mysql-server-core-8.0 rake rpcsvc-proto ruby ruby-diff-lcs ruby-eventmachine 160s ruby-mysql2 ruby-net-telnet ruby-rspec ruby-rspec-core 160s ruby-rspec-expectations ruby-rspec-mocks ruby-rspec-support ruby-rubygems 160s ruby-sdbm ruby-webrick ruby-xmlrpc ruby3.1 rubygems-integration zlib1g-dev 160s Suggested packages: 160s glibc-doc manpages-dev libssl-doc mailx tinyca ri ruby-dev bundler 160s Recommended packages: 160s manpages manpages-dev libc-devtools libhtml-template-perl mecab-ipadic-utf8 160s zip fonts-lato libjs-jquery 160s The following NEW packages will be installed: 160s default-libmysqlclient-dev default-mysql-server gem2deb-test-runner 160s libc-dev-bin libc6-dev libcrypt-dev libevent-pthreads-2.1-7 libmecab2 160s libmysqlclient-dev libmysqlclient21 libnsl-dev libprotobuf-lite32 libruby 160s libruby3.1 libssl-dev libtirpc-dev libzstd-dev linux-libc-dev 160s mysql-client-8.0 mysql-client-core-8.0 mysql-common mysql-server-8.0 160s mysql-server-core-8.0 rake rpcsvc-proto ruby ruby-diff-lcs ruby-eventmachine 160s ruby-mysql2 ruby-net-telnet ruby-rspec ruby-rspec-core 160s ruby-rspec-expectations ruby-rspec-mocks ruby-rspec-support ruby-rubygems 160s ruby-sdbm ruby-webrick ruby-xmlrpc ruby3.1 rubygems-integration zlib1g-dev 161s 0 upgraded, 42 newly installed, 0 to remove and 0 not upgraded. 161s 1 not fully installed or removed. 161s Need to get 37.9 MB of archives. 161s After this operation, 272 MB of additional disk space will be used. 161s Get:1 http://ftpmaster.internal/ubuntu noble/main arm64 rubygems-integration all 1.18 [5336 B] 161s Get:2 http://ftpmaster.internal/ubuntu noble/main arm64 ruby3.1 arm64 3.1.2-7ubuntu4 [49.0 kB] 161s Get:3 http://ftpmaster.internal/ubuntu noble/main arm64 libruby arm64 1:3.1+1 [4640 B] 161s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 ruby-rubygems all 3.4.20-1 [238 kB] 161s Get:5 http://ftpmaster.internal/ubuntu noble/main arm64 ruby arm64 1:3.1+1 [3464 B] 161s Get:6 http://ftpmaster.internal/ubuntu noble/main arm64 rake all 13.0.6-3 [61.6 kB] 161s Get:7 http://ftpmaster.internal/ubuntu noble/main arm64 ruby-net-telnet all 0.2.0-1 [13.3 kB] 161s Get:8 http://ftpmaster.internal/ubuntu noble/main arm64 ruby-webrick all 1.8.1-1 [52.3 kB] 161s Get:9 http://ftpmaster.internal/ubuntu noble/main arm64 ruby-xmlrpc all 0.3.2-2 [24.8 kB] 161s Get:10 http://ftpmaster.internal/ubuntu noble/main arm64 ruby-sdbm arm64 1.0.0-5build3 [17.9 kB] 161s Get:11 http://ftpmaster.internal/ubuntu noble/main arm64 libruby3.1 arm64 3.1.2-7ubuntu4 [5115 kB] 161s Get:12 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-eventmachine arm64 1.3~pre20220315-df4ab006-3build3 [165 kB] 161s Get:13 http://ftpmaster.internal/ubuntu noble/main arm64 mysql-common all 5.8+1.1.0 [6626 B] 161s Get:14 http://ftpmaster.internal/ubuntu noble/main arm64 libmysqlclient21 arm64 8.0.36-1 [1271 kB] 161s Get:15 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-mysql2 arm64 0.5.3-4ubuntu3 [54.4 kB] 161s Get:16 http://ftpmaster.internal/ubuntu noble/main arm64 libssl-dev arm64 3.0.10-1ubuntu4 [2330 kB] 161s Get:17 http://ftpmaster.internal/ubuntu noble/main arm64 libzstd-dev arm64 1.5.5+dfsg2-2 [343 kB] 161s Get:18 http://ftpmaster.internal/ubuntu noble/main arm64 libc-dev-bin arm64 2.39-0ubuntu2 [19.7 kB] 161s Get:19 http://ftpmaster.internal/ubuntu noble/main arm64 linux-libc-dev arm64 6.8.0-11.11 [1569 kB] 161s Get:20 http://ftpmaster.internal/ubuntu noble/main arm64 libcrypt-dev arm64 1:4.4.36-4 [136 kB] 161s Get:21 http://ftpmaster.internal/ubuntu noble/main arm64 libtirpc-dev arm64 1.3.4+ds-1build1 [232 kB] 161s Get:22 http://ftpmaster.internal/ubuntu noble/main arm64 libnsl-dev arm64 1.3.0-3 [71.9 kB] 161s Get:23 http://ftpmaster.internal/ubuntu noble/main arm64 rpcsvc-proto arm64 1.4.2-0ubuntu6 [65.4 kB] 161s Get:24 http://ftpmaster.internal/ubuntu noble/main arm64 libc6-dev arm64 2.39-0ubuntu2 [1596 kB] 161s Get:25 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 zlib1g-dev arm64 1:1.3.dfsg-3.1ubuntu1 [894 kB] 161s Get:26 http://ftpmaster.internal/ubuntu noble/main arm64 libmysqlclient-dev arm64 8.0.36-1 [1632 kB] 161s Get:27 http://ftpmaster.internal/ubuntu noble/main arm64 default-libmysqlclient-dev arm64 1.1.0 [3016 B] 161s Get:28 http://ftpmaster.internal/ubuntu noble/main arm64 mysql-client-core-8.0 arm64 8.0.36-1 [2708 kB] 162s Get:29 http://ftpmaster.internal/ubuntu noble/main arm64 mysql-client-8.0 arm64 8.0.36-1 [22.4 kB] 162s Get:30 http://ftpmaster.internal/ubuntu noble/main arm64 libevent-pthreads-2.1-7 arm64 2.1.12-stable-9 [7738 B] 162s Get:31 http://ftpmaster.internal/ubuntu noble/main arm64 libmecab2 arm64 0.996-14ubuntu1 [188 kB] 162s Get:32 http://ftpmaster.internal/ubuntu noble/main arm64 libprotobuf-lite32 arm64 3.21.12-8ubuntu5 [221 kB] 162s Get:33 http://ftpmaster.internal/ubuntu noble/main arm64 mysql-server-core-8.0 arm64 8.0.36-1 [17.1 MB] 162s Get:34 http://ftpmaster.internal/ubuntu noble/main arm64 mysql-server-8.0 arm64 8.0.36-1 [1231 kB] 162s Get:35 http://ftpmaster.internal/ubuntu noble/universe arm64 default-mysql-server all 1.1.0 [2810 B] 162s Get:36 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rspec-support all 3.12.0c0e1m1s0-1 [28.8 kB] 162s Get:37 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rspec-core all 3.12.0c0e1m1s0-1 [163 kB] 162s Get:38 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-diff-lcs all 1.5.0-1 [23.9 kB] 162s Get:39 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rspec-expectations all 3.12.0c0e1m1s0-1 [89.2 kB] 162s Get:40 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rspec-mocks all 3.12.0c0e1m1s0-1 [79.4 kB] 162s Get:41 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rspec all 3.12.0c0e1m1s0-1 [3506 B] 162s Get:42 http://ftpmaster.internal/ubuntu noble/universe arm64 gem2deb-test-runner arm64 2.2.2 [18.2 kB] 163s Preconfiguring packages ... 163s Fetched 37.9 MB in 2s (24.3 MB/s) 163s Selecting previously unselected package rubygems-integration. 163s (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 ... 74304 files and directories currently installed.) 163s Preparing to unpack .../00-rubygems-integration_1.18_all.deb ... 163s Unpacking rubygems-integration (1.18) ... 163s Selecting previously unselected package ruby3.1. 163s Preparing to unpack .../01-ruby3.1_3.1.2-7ubuntu4_arm64.deb ... 163s Unpacking ruby3.1 (3.1.2-7ubuntu4) ... 163s Selecting previously unselected package libruby:arm64. 163s Preparing to unpack .../02-libruby_1%3a3.1+1_arm64.deb ... 163s Unpacking libruby:arm64 (1:3.1+1) ... 163s Selecting previously unselected package ruby-rubygems. 163s Preparing to unpack .../03-ruby-rubygems_3.4.20-1_all.deb ... 163s Unpacking ruby-rubygems (3.4.20-1) ... 163s Selecting previously unselected package ruby. 163s Preparing to unpack .../04-ruby_1%3a3.1+1_arm64.deb ... 163s Unpacking ruby (1:3.1+1) ... 163s Selecting previously unselected package rake. 163s Preparing to unpack .../05-rake_13.0.6-3_all.deb ... 163s Unpacking rake (13.0.6-3) ... 163s Selecting previously unselected package ruby-net-telnet. 163s Preparing to unpack .../06-ruby-net-telnet_0.2.0-1_all.deb ... 163s Unpacking ruby-net-telnet (0.2.0-1) ... 163s Selecting previously unselected package ruby-webrick. 163s Preparing to unpack .../07-ruby-webrick_1.8.1-1_all.deb ... 163s Unpacking ruby-webrick (1.8.1-1) ... 163s Selecting previously unselected package ruby-xmlrpc. 163s Preparing to unpack .../08-ruby-xmlrpc_0.3.2-2_all.deb ... 163s Unpacking ruby-xmlrpc (0.3.2-2) ... 163s Selecting previously unselected package ruby-sdbm:arm64. 163s Preparing to unpack .../09-ruby-sdbm_1.0.0-5build3_arm64.deb ... 163s Unpacking ruby-sdbm:arm64 (1.0.0-5build3) ... 163s Selecting previously unselected package libruby3.1:arm64. 163s Preparing to unpack .../10-libruby3.1_3.1.2-7ubuntu4_arm64.deb ... 163s Unpacking libruby3.1:arm64 (3.1.2-7ubuntu4) ... 164s Selecting previously unselected package ruby-eventmachine:arm64. 164s Preparing to unpack .../11-ruby-eventmachine_1.3~pre20220315-df4ab006-3build3_arm64.deb ... 164s Unpacking ruby-eventmachine:arm64 (1.3~pre20220315-df4ab006-3build3) ... 164s Selecting previously unselected package mysql-common. 164s Preparing to unpack .../12-mysql-common_5.8+1.1.0_all.deb ... 164s Unpacking mysql-common (5.8+1.1.0) ... 164s Selecting previously unselected package libmysqlclient21:arm64. 164s Preparing to unpack .../13-libmysqlclient21_8.0.36-1_arm64.deb ... 164s Unpacking libmysqlclient21:arm64 (8.0.36-1) ... 164s Selecting previously unselected package ruby-mysql2. 164s Preparing to unpack .../14-ruby-mysql2_0.5.3-4ubuntu3_arm64.deb ... 164s Unpacking ruby-mysql2 (0.5.3-4ubuntu3) ... 164s Selecting previously unselected package libssl-dev:arm64. 164s Preparing to unpack .../15-libssl-dev_3.0.10-1ubuntu4_arm64.deb ... 164s Unpacking libssl-dev:arm64 (3.0.10-1ubuntu4) ... 164s Selecting previously unselected package libzstd-dev:arm64. 164s Preparing to unpack .../16-libzstd-dev_1.5.5+dfsg2-2_arm64.deb ... 164s Unpacking libzstd-dev:arm64 (1.5.5+dfsg2-2) ... 164s Selecting previously unselected package libc-dev-bin. 164s Preparing to unpack .../17-libc-dev-bin_2.39-0ubuntu2_arm64.deb ... 164s Unpacking libc-dev-bin (2.39-0ubuntu2) ... 164s Selecting previously unselected package linux-libc-dev:arm64. 164s Preparing to unpack .../18-linux-libc-dev_6.8.0-11.11_arm64.deb ... 164s Unpacking linux-libc-dev:arm64 (6.8.0-11.11) ... 164s Selecting previously unselected package libcrypt-dev:arm64. 164s Preparing to unpack .../19-libcrypt-dev_1%3a4.4.36-4_arm64.deb ... 164s Unpacking libcrypt-dev:arm64 (1:4.4.36-4) ... 164s Selecting previously unselected package libtirpc-dev:arm64. 164s Preparing to unpack .../20-libtirpc-dev_1.3.4+ds-1build1_arm64.deb ... 164s Unpacking libtirpc-dev:arm64 (1.3.4+ds-1build1) ... 164s Selecting previously unselected package libnsl-dev:arm64. 164s Preparing to unpack .../21-libnsl-dev_1.3.0-3_arm64.deb ... 164s Unpacking libnsl-dev:arm64 (1.3.0-3) ... 164s Selecting previously unselected package rpcsvc-proto. 164s Preparing to unpack .../22-rpcsvc-proto_1.4.2-0ubuntu6_arm64.deb ... 164s Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ... 164s Selecting previously unselected package libc6-dev:arm64. 164s Preparing to unpack .../23-libc6-dev_2.39-0ubuntu2_arm64.deb ... 164s Unpacking libc6-dev:arm64 (2.39-0ubuntu2) ... 165s Selecting previously unselected package zlib1g-dev:arm64. 165s Preparing to unpack .../24-zlib1g-dev_1%3a1.3.dfsg-3.1ubuntu1_arm64.deb ... 165s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg-3.1ubuntu1) ... 165s Selecting previously unselected package libmysqlclient-dev. 165s Preparing to unpack .../25-libmysqlclient-dev_8.0.36-1_arm64.deb ... 165s Unpacking libmysqlclient-dev (8.0.36-1) ... 165s Selecting previously unselected package default-libmysqlclient-dev:arm64. 165s Preparing to unpack .../26-default-libmysqlclient-dev_1.1.0_arm64.deb ... 165s Unpacking default-libmysqlclient-dev:arm64 (1.1.0) ... 165s Selecting previously unselected package mysql-client-core-8.0. 165s Preparing to unpack .../27-mysql-client-core-8.0_8.0.36-1_arm64.deb ... 165s Unpacking mysql-client-core-8.0 (8.0.36-1) ... 165s Selecting previously unselected package mysql-client-8.0. 165s Preparing to unpack .../28-mysql-client-8.0_8.0.36-1_arm64.deb ... 165s Unpacking mysql-client-8.0 (8.0.36-1) ... 165s Selecting previously unselected package libevent-pthreads-2.1-7:arm64. 165s Preparing to unpack .../29-libevent-pthreads-2.1-7_2.1.12-stable-9_arm64.deb ... 165s Unpacking libevent-pthreads-2.1-7:arm64 (2.1.12-stable-9) ... 165s Selecting previously unselected package libmecab2:arm64. 165s Preparing to unpack .../30-libmecab2_0.996-14ubuntu1_arm64.deb ... 165s Unpacking libmecab2:arm64 (0.996-14ubuntu1) ... 165s Selecting previously unselected package libprotobuf-lite32:arm64. 165s Preparing to unpack .../31-libprotobuf-lite32_3.21.12-8ubuntu5_arm64.deb ... 165s Unpacking libprotobuf-lite32:arm64 (3.21.12-8ubuntu5) ... 165s Selecting previously unselected package mysql-server-core-8.0. 165s Preparing to unpack .../32-mysql-server-core-8.0_8.0.36-1_arm64.deb ... 165s Unpacking mysql-server-core-8.0 (8.0.36-1) ... 166s Setting up mysql-common (5.8+1.1.0) ... 166s update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode 166s Selecting previously unselected package mysql-server-8.0. 166s (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 ... 79462 files and directories currently installed.) 166s Preparing to unpack .../0-mysql-server-8.0_8.0.36-1_arm64.deb ... 167s Unpacking mysql-server-8.0 (8.0.36-1) ... 167s Selecting previously unselected package default-mysql-server. 167s Preparing to unpack .../1-default-mysql-server_1.1.0_all.deb ... 167s Unpacking default-mysql-server (1.1.0) ... 167s Selecting previously unselected package ruby-rspec-support. 167s Preparing to unpack .../2-ruby-rspec-support_3.12.0c0e1m1s0-1_all.deb ... 167s Unpacking ruby-rspec-support (3.12.0c0e1m1s0-1) ... 167s Selecting previously unselected package ruby-rspec-core. 167s Preparing to unpack .../3-ruby-rspec-core_3.12.0c0e1m1s0-1_all.deb ... 167s Unpacking ruby-rspec-core (3.12.0c0e1m1s0-1) ... 167s Selecting previously unselected package ruby-diff-lcs. 167s Preparing to unpack .../4-ruby-diff-lcs_1.5.0-1_all.deb ... 167s Unpacking ruby-diff-lcs (1.5.0-1) ... 167s Selecting previously unselected package ruby-rspec-expectations. 167s Preparing to unpack .../5-ruby-rspec-expectations_3.12.0c0e1m1s0-1_all.deb ... 167s Unpacking ruby-rspec-expectations (3.12.0c0e1m1s0-1) ... 167s Selecting previously unselected package ruby-rspec-mocks. 167s Preparing to unpack .../6-ruby-rspec-mocks_3.12.0c0e1m1s0-1_all.deb ... 167s Unpacking ruby-rspec-mocks (3.12.0c0e1m1s0-1) ... 167s Selecting previously unselected package ruby-rspec. 167s Preparing to unpack .../7-ruby-rspec_3.12.0c0e1m1s0-1_all.deb ... 167s Unpacking ruby-rspec (3.12.0c0e1m1s0-1) ... 167s Selecting previously unselected package gem2deb-test-runner. 167s Preparing to unpack .../8-gem2deb-test-runner_2.2.2_arm64.deb ... 167s Unpacking gem2deb-test-runner (2.2.2) ... 167s Setting up libmecab2:arm64 (0.996-14ubuntu1) ... 167s Setting up mysql-client-core-8.0 (8.0.36-1) ... 167s Setting up libmysqlclient21:arm64 (8.0.36-1) ... 167s Setting up libzstd-dev:arm64 (1.5.5+dfsg2-2) ... 167s Setting up linux-libc-dev:arm64 (6.8.0-11.11) ... 167s Setting up rubygems-integration (1.18) ... 167s Setting up libtirpc-dev:arm64 (1.3.4+ds-1build1) ... 167s Setting up rpcsvc-proto (1.4.2-0ubuntu6) ... 167s Setting up ruby-net-telnet (0.2.0-1) ... 167s Setting up libssl-dev:arm64 (3.0.10-1ubuntu4) ... 167s Setting up ruby-rspec-support (3.12.0c0e1m1s0-1) ... 167s Setting up ruby-webrick (1.8.1-1) ... 167s Setting up libnsl-dev:arm64 (1.3.0-3) ... 167s Setting up libcrypt-dev:arm64 (1:4.4.36-4) ... 167s Setting up mysql-client-8.0 (8.0.36-1) ... 167s Setting up libprotobuf-lite32:arm64 (3.21.12-8ubuntu5) ... 167s Setting up libc-dev-bin (2.39-0ubuntu2) ... 167s Setting up ruby-xmlrpc (0.3.2-2) ... 167s Setting up libevent-pthreads-2.1-7:arm64 (2.1.12-stable-9) ... 167s Setting up mysql-server-core-8.0 (8.0.36-1) ... 167s Setting up libc6-dev:arm64 (2.39-0ubuntu2) ... 167s Setting up mysql-server-8.0 (8.0.36-1) ... 168s update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode 168s Renaming removed key_buffer and myisam-recover options (if present) 175s mysqld will log errors to /var/log/mysql/error.log 175s mysqld is running as pid 1576 180s Created symlink /etc/systemd/system/multi-user.target.wants/mysql.service → /usr/lib/systemd/system/mysql.service. 181s Setting up default-mysql-server (1.1.0) ... 181s Setting up zlib1g-dev:arm64 (1:1.3.dfsg-3.1ubuntu1) ... 181s Setting up libmysqlclient-dev (8.0.36-1) ... 181s Setting up default-libmysqlclient-dev:arm64 (1.1.0) ... 181s Setting up ruby-rubygems (3.4.20-1) ... 181s Setting up ruby3.1 (3.1.2-7ubuntu4) ... 181s Setting up libruby:arm64 (1:3.1+1) ... 181s Setting up ruby (1:3.1+1) ... 181s Setting up rake (13.0.6-3) ... 181s Setting up ruby-rspec-core (3.12.0c0e1m1s0-1) ... 181s Setting up ruby-sdbm:arm64 (1.0.0-5build3) ... 181s Setting up ruby-diff-lcs (1.5.0-1) ... 181s Setting up libruby3.1:arm64 (3.1.2-7ubuntu4) ... 181s Setting up ruby-eventmachine:arm64 (1.3~pre20220315-df4ab006-3build3) ... 181s Setting up gem2deb-test-runner (2.2.2) ... 181s Setting up ruby-rspec-expectations (3.12.0c0e1m1s0-1) ... 181s Setting up ruby-rspec-mocks (3.12.0c0e1m1s0-1) ... 181s Setting up ruby-rspec (3.12.0c0e1m1s0-1) ... 181s Setting up ruby-mysql2 (0.5.3-4ubuntu3) ... 181s Setting up autopkgtest-satdep (0) ... 181s Processing triggers for libc-bin (2.39-0ubuntu2) ... 181s Processing triggers for man-db (2.12.0-3) ... 189s (Reading database ... 80018 files and directories currently installed.) 189s Removing autopkgtest-satdep (0) ... 190s autopkgtest [11:36:33]: test gem2deb-test-runner: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1 190s autopkgtest [11:36:33]: test gem2deb-test-runner: [----------------------- 192s 192s ┌──────────────────────────────────────────────────────────────────────────────┐ 192s │ Checking Rubygems dependency resolution on ruby3.1 │ 192s └──────────────────────────────────────────────────────────────────────────────┘ 192s 192s RUBYLIB=. GEM_PATH= ruby3.1 -e gem\ \"mysql2\" 192s mv lib ./.gem2deb.lib 192s mv ext ./.gem2deb.ext 192s mv ./.gem2deb.lib lib 192s mv ./.gem2deb.ext ext 192s 192s ┌──────────────────────────────────────────────────────────────────────────────┐ 192s │ Run tests for ruby3.1 from debian/ruby-tests.rake │ 192s └──────────────────────────────────────────────────────────────────────────────┘ 192s 192s RUBYLIB=. GEM_PATH= ruby3.1 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake 192s mv lib ./.gem2deb.lib 192s mv ext ./.gem2deb.ext 192s ./debian/start_mysqld_and_run.sh ruby3.1 -S rspec 192s + mktemp -d 192s + MYTEMP_DIR=/tmp/tmp.r3snr2bLxI 192s + export MYSQL_UNIX_PORT=/tmp/tmp.r3snr2bLxI/mysql.sock 192s + DO_MYSQL_USER=ubuntu 192s + DO_MYSQL_DBNAME=test 192s + DO_MYSQL_DATABASE=/test 192s + /usr/sbin/mysqld --no-defaults --initialize-insecure --user=ubuntu --datadir=/tmp/tmp.r3snr2bLxI 192s 2024-03-11T11:36:34.563672Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.0.36-1) initializing of server in progress as process 1960 192s 2024-03-11T11:36:34.592188Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started. 192s 2024-03-11T11:36:35.113155Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended. 196s 2024-03-11T11:36:39.509903Z 5 [Warning] [MY-010453] [Server] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option. 200s + MYSQL_PID=2000 200s + mysqladmin=/usr/bin/mysqladmin --user=root --socket=/tmp/tmp.r3snr2bLxI/mysql.sock 200s + echo -n pinging mysqld. 200s pinging mysqld.+ attempts=0 200s + /usr/bin/mysqladmin --user=root --socket=/tmp/tmp.r3snr2bLxI/mysql.sock ping 200s + /usr/sbin/mysqld --no-defaults --user=ubuntu --socket=/tmp/tmp.r3snr2bLxI/mysql.sock --datadir=/tmp/tmp.r3snr2bLxI --skip-networking 200s mysqladmin: connect to server at 'localhost' failed 200s error: 'Can't connect to local MySQL server through socket '/tmp/tmp.r3snr2bLxI/mysql.sock' (2)' 200s Check that mysqld is running and that the socket: '/tmp/tmp.r3snr2bLxI/mysql.sock' exists! 200s + sleep 3 200s 2024-03-11T11:36:43.254853Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.36-1) starting as process 2000 200s 2024-03-11T11:36:43.278413Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started. 200s 2024-03-11T11:36:43.439008Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended. 200s 2024-03-11T11:36:43.569652Z 0 [ERROR] [MY-011292] [Server] Plugin mysqlx reported: 'Preparation of I/O interfaces failed, X Protocol won't be accessible' 200s 2024-03-11T11:36:43.569808Z 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' 200s 2024-03-11T11:36:43.718651Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed. 200s 2024-03-11T11:36:43.718805Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel. 200s 2024-03-11T11:36:43.725004Z 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. 200s 2024-03-11T11:36:43.745113Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.36-1' socket: '/tmp/tmp.r3snr2bLxI/mysql.sock' port: 0 (Ubuntu). 203s + attempts=1 203s + [ 1 -gt 10 ] 203s + /usr/bin/mysqladmin --user=root --socket=/tmp/tmp.r3snr2bLxI/mysql.sock ping 203s mysqld is alive 203s + trap cleanup INT EXIT TERM 203s + mysql --user=root --socket=/tmp/tmp.r3snr2bLxI/mysql.sock --execute CREATE USER 'ubuntu'@'localhost'; GRANT ALL PRIVILEGES ON *.* TO 'ubuntu'@'localhost'; CREATE DATABASE test; 203s + ruby3.1 -S rspec 203s 203s Randomized with seed 64328 203s 203s Mysql2::EM::Client 203s should support queries in callbacks 203s should not raise error when closing client with no query running 203s should not swallow exceptions raised in callbacks 204s should support async queries 204s when an exception is raised by the client 204s should swallow exceptions raised in by the client 204s should fail the deferrable 204s 204s Mysql2::Statement 204s should handle comparisons and likes 204s should select dates 204s should handle booleans 204s should update a DECIMAL value passing a BigDecimal 204s should warn but still work if cache_rows is set to false 204s should be reusable 1000 times 204s should handle bignum but beyond int64_t 204s should raise an exception when server disconnects 205s should be reusable 10000 times 205s should tell us about the fields 205s should create a statement (PENDING: Temporarily skipped with xit) 205s should tell us the field count 205s should let us execute our statement 205s should prepare Time values with microseconds 205s should accept bind arguments and keyword arguments on statement execute 205s should handle as a decimal binding a BigDecimal 205s should keep its result after other query 205s should prepare DateTime values with microseconds 205s should raise an exception without a block 205s should handle bignum but in int64_t 205s should prepare Date values 205s should let us iterate over results 205s should accept keyword arguments on statement execute 205s should tell us the param count 205s should tell us the result count 205s #fields 205s should return an array of field names in proper order 205s should return nil for statement with no result fields 205s method should exist 205s row data type mapping 205s should return a String for LONGTEXT 205s should return Fixnum for a MEDIUMINT value 205s should return Date for a DATE value 205s should return a String for MEDIUMBLOB 205s should return Time for a TIME value 205s should return Time when timestamp is > 2038-01-19T03:14:07 205s should return Time when timestamp is < 1901-12-13 20:45:52 205s should return String for a BINARY value 205s should return Float for a DOUBLE value 205s should return BigDecimal for a DECIMAL value 205s should return Fixnum for a TINYINT value 205s should return nil for a NULL value 205s should return a String for CHAR 205s should return Time for a DATETIME value when within the supported range 205s should return Fixnum for a BIGINT value 205s should return String for a BIT(64) value 205s should return Fixnum for a YEAR value 205s should return a String for BLOB 205s should return a String for MEDIUMTEXT 205s should return String for an ENUM value 205s should return Time for a TIMESTAMP value when within the supported range 205s should return a String for VARBINARY 205s should return a String for VARCHAR 205s should return Float for a FLOAT value 205s should return a String for TINYBLOB 205s should return a String for TINYTEXT 205s should return a String for LONGBLOB 205s should return String for a BIT(1) value 205s should raise an error given an invalid DATETIME (PENDING: Temporarily skipped with xit) 205s should return Fixnum for an INT value 205s should return Fixnum for a SMALLINT value 205s should return String for a SET value 205s should return a String for TEXT 205s string encoding for TINYBLOB values 205s should default to binary if Encoding.default_internal is nil 205s should not use Encoding.default_internal 205s cast booleans for TINYINT if :cast_booleans is enabled 205s should return TrueClass or FalseClass for a TINYINT value if :cast_booleans is enabled 205s string encoding for LONGTEXT values 205s should default to utf-8 if Encoding.default_internal is nil 205s should use Encoding.default_internal 205s string encoding for BLOB values 205s should default to binary if Encoding.default_internal is nil 205s should not use Encoding.default_internal 205s string encoding for VARBINARY values 205s should default to binary if Encoding.default_internal is nil 205s should not use Encoding.default_internal 205s string encoding for SET values 205s should use Encoding.default_internal 205s should default to the connection's encoding if Encoding.default_internal is nil 205s string encoding for MEDIUMTEXT values 205s should use Encoding.default_internal 205s should default to utf-8 if Encoding.default_internal is nil 205s string encoding for ENUM values 205s should use Encoding.default_internal 205s should default to the connection's encoding if Encoding.default_internal is nil 205s string encoding for CHAR values 205s should default to utf-8 if Encoding.default_internal is nil 205s should use Encoding.default_internal 205s cast booleans for BIT(1) if :cast_booleans is enabled 205s should return TrueClass or FalseClass for a BIT(1) value if :cast_booleans is enabled 205s string encoding for MEDIUMBLOB values 205s should default to binary if Encoding.default_internal is nil 205s should not use Encoding.default_internal 205s string encoding for VARCHAR values 205s should use Encoding.default_internal 205s should default to utf-8 if Encoding.default_internal is nil 205s string encoding for LONGBLOB values 205s should default to binary if Encoding.default_internal is nil 205s should not use Encoding.default_internal 205s string encoding for TEXT values 205s should use Encoding.default_internal 205s should default to utf-8 if Encoding.default_internal is nil 205s string encoding for BINARY values 205s should default to binary if Encoding.default_internal is nil 205s should not use Encoding.default_internal 205s string encoding for TINYTEXT values 205s should use Encoding.default_internal 205s should default to utf-8 if Encoding.default_internal is nil 205s affected_rows 205s should return number of rows affected by an insert 205s should return number of rows affected by an update 205s should return number of rows affected by a delete 205s #each 205s should yield rows as hash's 205s should cache previously yielded results by default 205s should be able to return results as an array 205s /tmp/autopkgtest.VhVBsC/build.OAj/src/spec/mysql2/statement_spec.rb:304: warning: :cache_rows is ignored if :stream is true 205s /tmp/autopkgtest.VhVBsC/build.OAj/src/spec/mysql2/statement_spec.rb:304: warning: :cache_rows is ignored if :stream is true 205s should yield different value for #first if streaming 205s should yield rows as hash's with symbol keys if :symbolize_keys was set to true 205s should throw an exception if we try to iterate twice when streaming is enabled 205s should yield the same value for #first if streaming is disabled 205s streaming result 205s should be able to stream query result 205s close 205s should free server resources (PENDING: Temporarily skipped with xit) 205s should raise an error on subsequent execution 205s utf8_db 205s should be able to retrieve query with param in different encoding correctly 205s should be able to retrieve utf8 field names correctly 205s should be able to retrieve utf8 param query correctly 205s last_id 205s should return last insert id 205s should handle bigint ids 205s 205s Mysql2::Error 205s responds to error_number and sql_state, with aliases 205s 205s Mysql2::Result 205s should respond to #each 205s should be able to return the number of rows in the result set 205s should raise a TypeError exception when it doesn't wrap a result set 205s should raise a Mysql2::Error exception upon a bad query 205s should have included Enumerable 205s should respond to #free 205s should respond to #count, which is aliased as #size 205s #fields 205s should return an array of field names in proper order 205s method should exist 205s server flags 205s should set a definitive value for no_good_index_used 205s should set a definitive value for no_index_used 205s should set a definitive value for query_was_slow 205s metadata queries 205s should show tables 205s #each 205s should not cache previously yielded results if cache_rows is disabled 205s should be able to iterate a second time even if cache_rows is disabled 205s should yield rows as hash's with symbol keys if :symbolize_keys was set to true 205s should cache previously yielded results by default 205s should be able to return results as an array 205s should yield the same value for #first if streaming is disabled 205s should yield different value for #first if streaming 205s should yield rows as hash's 205s should throw an exception if we try to iterate twice when streaming is enabled 205s row data type mapping 205s should return Fixnum for a TINYINT value 205s should return a String for TINYTEXT 205s should return a String for VARBINARY 205s should raise an error given an invalid DATETIME (PENDING: Temporarily skipped with xit) 205s should return a String for MEDIUMBLOB 205s should return String for a BIT(64) value 205s should return Fixnum for a BIGINT value 205s should return a String for CHAR 205s should return nil for a NULL value 205s should return nil values for NULL and strings for everything else when :cast is false 205s should return Time when timestamp is > 2038-01-19T03:14:07 205s should return String for a SET value 205s should return Fixnum for an INT value 205s should return Date for a DATE value 205s should return Float for a FLOAT value 205s should return String for a BINARY value 205s should return a String for MEDIUMTEXT 205s should return Fixnum for a MEDIUMINT value 205s should return Time for a DATETIME value when within the supported range 205s should return String for a BIT(1) value 205s should return Fixnum for a SMALLINT value 205s should return BigDecimal for a DECIMAL value 205s should return a String for TEXT 205s should return Fixnum for a YEAR value 205s should return Float for a DOUBLE value 205s should return a String for TINYBLOB 205s should return a String for BLOB 205s should return String for an ENUM value 205s should return a String for VARCHAR 205s should return a String for LONGTEXT 205s should return Time for a TIME value 205s should return Time when timestamp is < 1901-12-13 20:45:52 205s should return a String for LONGBLOB 205s should return Time for a TIMESTAMP value when within the supported range 205s string encoding for LONGTEXT values 205s should default to utf-8 if Encoding.default_internal is nil 205s should use Encoding.default_internal 205s string encoding for BINARY values 205s should default to binary if Encoding.default_internal is nil 205s should not use Encoding.default_internal 205s string encoding for TEXT values 205s should use Encoding.default_internal 205s should default to utf-8 if Encoding.default_internal is nil 205s cast booleans for TINYINT if :cast_booleans is enabled 205s should return TrueClass or FalseClass for a TINYINT value if :cast_booleans is enabled 205s string encoding for TINYBLOB values 205s should not use Encoding.default_internal 205s should default to binary if Encoding.default_internal is nil 205s string encoding for BLOB values 205s should default to binary if Encoding.default_internal is nil 205s should not use Encoding.default_internal 205s string encoding for VARBINARY values 205s should not use Encoding.default_internal 205s should default to binary if Encoding.default_internal is nil 205s string encoding for LONGBLOB values 205s should default to binary if Encoding.default_internal is nil 205s should not use Encoding.default_internal 205s string encoding for SET values 205s should use Encoding.default_internal 205s should default to the connection's encoding if Encoding.default_internal is nil 205s string encoding for MEDIUMBLOB values 205s should not use Encoding.default_internal 205s should default to binary if Encoding.default_internal is nil 205s string encoding for MEDIUMTEXT values 205s should default to utf-8 if Encoding.default_internal is nil 205s should use Encoding.default_internal 205s cast booleans for BIT(1) if :cast_booleans is enabled 205s should return TrueClass or FalseClass for a BIT(1) value if :cast_booleans is enabled 205s string encoding for CHAR values 205s should default to utf-8 if Encoding.default_internal is nil 205s should use Encoding.default_internal 205s string encoding for VARCHAR values 205s should default to utf-8 if Encoding.default_internal is nil 205s should use Encoding.default_internal 205s string encoding for TINYTEXT values 205s should use Encoding.default_internal 205s should default to utf-8 if Encoding.default_internal is nil 205s string encoding for ENUM values 205s should default to the connection's encoding if Encoding.default_internal is nil 205s should use Encoding.default_internal 205s streaming 205s should retain the count when mixing first and each 205s should maintain a count while streaming 205s should not yield nil at the end of streaming 205s #count should be zero for rows after streaming when there were no results 205s should raise an exception if streaming ended due to a timeout (PENDING: Temporarily skipped with xit) 205s 205s Mysql2::Client 206s should be able to connect via SSL options (PENDING: DON'T WORRY, THIS TEST PASSES - but /etc/mysql/client-key.pem does not exist.) 206s should accept connect flags and pass them to #connect 206s #server_info should return a hash containing the client version ID and String 206s should default flags to (REMEMBER_OPTIONS, LONG_PASSWORD, LONG_FLAG, TRANSACTIONS, PROTOCOL_41, SECURE_CONNECTION) 206s should raise an exception on non-string encodings 207s should not leave dangling connections after garbage collection 207s should respond to #ping 207s should respond to #close 207s #thread_id should be a Fixnum 207s should respond to #thread_id 207s should respond to #escape 207s should raise an exception on create for invalid encodings 207s should raise a Mysql2::Error::ConnectionError exception upon connection failure due to invalid credentials 207s should be able to connect to database with numeric-only name 207s WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. 207s should not try to query closed mysql connection 207s should allow nil read_timeout 207s should set default program_name in connect_attrs (PENDING: Temporarily skipped with xit) 207s should respond to #query 207s #thread_id should return a boolean 207s WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. 207s should send init_command after reconnect 207s #server_info should require an open connection 207s should parse flags string 207s #info should return a hash containing the client version ID and String 207s should terminate connections when calling close 207s should set custom connect_attrs (PENDING: Temporarily skipped with xit) 207s should parse flags array 207s should respond to #encoding 207s should respond to escape 207s should respond to #socket 207s should raise a Mysql::Error::ConnectionError upon connection failure 207s should have a global default_query_options hash 207s should be able to close properly 207s should not raise an exception on create for a valid encoding 207s should execute init command 207s should respond to #info 207s should respond to #query_info 207s should be able to connect using plaintext password 207s should expect connect_timeout to be a positive integer 207s should respond to #warning_count 207s should expect write_timeout to be a positive integer 207s should expect read_timeout to be a positive integer 207s should respond to #server_info 207s #warning_count 207s when no warnings 207s should 0 207s when has a warnings 207s should > 0 207s using defaults file 207s should not raise an exception without default group 207s should not raise an exception for valid defaults group 207s #automatic_close 207s can be assigned 207s is enabled by default 207s can be configured 208s should not close connections when running in a child process 208s write operations api 208s #last_id should handle BIGINT auto-increment ids above 32 bits 208s should respond to #last_id 208s should respond to #last_id 208s #last_id should return a Fixnum, the from the last INSERT/UPDATE 208s #last_id should return a Fixnum, the from the last INSERT/UPDATE 208s select_db 208s should return the database switched to 208s should switch databases 208s should raise a Mysql2::Error when the database doesn't exist 208s should respond to #select_db 208s #escape 208s should return the passed string if nothing was escaped 209s should not overflow the process stack 209s should not overflow the thread stack 209s should require an open connection 209s should return a new SQL-escape version of the passed string 209s when mysql encoding is not utf8 209s should return a internal encoding string if Encoding.default_internal is set 209s :local_infile 209s 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.) 209s 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.) 209s should LOAD DATA LOCAL INFILE (PENDING: DON'T WORRY, THIS TEST PASSES - but LOCAL INFILE is not enabled in your MySQL daemon.) 209s #set_server_option 209s disables multiple-statement 209s returns false when multi_statements is neither OPTION_MULTI_STATEMENTS_OFF or OPTION_MULTI_STATEMENTS_ON 209s enables multiple-statement 209s returns true when multi_statements is enable 209s returns true when multi_statements is disable 209s escape 209s should not overflow the process stack 209s should carry over the original string's encoding 209s should return a new SQL-escape version of the passed string 209s should return the passed string if nothing was escaped 209s should not overflow the thread stack 209s #closed? 209s should return false when connected 209s should return true after close 209s strings returned by #info 209s should be tagged as ascii 209s strings returned by #server_info 209s should default to the connection's encoding if Encoding.default_internal is nil 209s should use Encoding.default_internal 209s #query_info 209s when has some info 209s should retrieve it 209s when no info present 209s should 0 209s #query 209s should be able to return results with symbolized keys 209s #socket should require an open connection 209s should not allow another query to be sent without fetching a result first 209s should describe the thread holding the active query 209s should detect closed connection on query read error 209s should not retain query options set on a query for subsequent queries, but should retain it in the result 209s evented async queries should be supported 209s should return results as a hash by default 209s should not let you query again if iterating is not finished when streaming 209s should be able to return results as an array 209s should timeout if we wait longer than :read_timeout 210s should run signal handlers while waiting for a response 210s should allow changing query options for subsequent queries 210s #socket should return a Fixnum (file descriptor from C) 210s threaded queries should be supported (PENDING: Temporarily skipped with xit) 210s should require an open connection 210s should only accept strings as the query parameter 210s should let you query again if iterating is finished when streaming 210s when a non-standard exception class is raised 210s should close the connection when an exception is raised 210s WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. 210s should handle Timeouts without leaving the connection hanging if reconnect is true 210s WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. 210s should handle Timeouts without leaving the connection hanging if reconnect is set to true after construction 210s Multiple results sets 210s will raise on query if there are outstanding results to read 210s returns multiple result sets 210s #abandon_results! should work 210s should raise an exception when one of multiple statements fails 210s does not interfere with other statements 210s #more_results? should work with stored procedures 210s #more_results? should work 210s strings returned by .info 210s should be tagged as ascii 211s 211s Pending: (Failures listed here are expected and do not affect your suite's status) 211s 211s 1) Mysql2::Statement should create a statement 211s # Temporarily skipped with xit 211s # ./spec/mysql2/statement_spec.rb:16 211s 211s 2) Mysql2::Statement row data type mapping should raise an error given an invalid DATETIME 211s # Temporarily skipped with xit 211s # ./spec/mysql2/statement_spec.rb:477 211s 211s 3) Mysql2::Statement close should free server resources 211s # Temporarily skipped with xit 211s # ./spec/mysql2/statement_spec.rb:699 211s 211s 4) Mysql2::Result row data type mapping should raise an error given an invalid DATETIME 211s # Temporarily skipped with xit 211s # ./spec/mysql2/result_spec.rb:325 211s 211s 5) Mysql2::Result streaming should raise an exception if streaming ended due to a timeout 211s # Temporarily skipped with xit 211s # ./spec/mysql2/result_spec.rb:157 211s 211s 6) Mysql2::Client should be able to connect via SSL options 211s # DON'T WORRY, THIS TEST PASSES - but /etc/mysql/client-key.pem does not exist. 211s Failure/Error: 211s expect do 211s ssl_client = new_client(option_overrides) 211s end.not_to raise_error 211s 211s expected no Exception, got # with backtrace: 211s # ./spec/spec_helper.rb:25:in `new' 211s # ./spec/spec_helper.rb:25:in `new_client' 211s # ./spec/mysql2/client_spec.rb:154:in `block (3 levels) in ' 211s # ./spec/mysql2/client_spec.rb:153:in `block (2 levels) in ' 211s # ./spec/mysql2/client_spec.rb:153:in `block (2 levels) in ' 211s 211s 7) Mysql2::Client should set default program_name in connect_attrs 211s # Temporarily skipped with xit 211s # ./spec/mysql2/client_spec.rb:482 211s 211s 8) Mysql2::Client should set custom connect_attrs 211s # Temporarily skipped with xit 211s # ./spec/mysql2/client_spec.rb:491 211s 211s 9) Mysql2::Client :local_infile should raise an error when local_infile is disabled 211s # DON'T WORRY, THIS TEST PASSES - but LOCAL INFILE is not enabled in your MySQL daemon. 211s # ./spec/mysql2/client_spec.rb:433 211s 211s 10) Mysql2::Client :local_infile should raise an error when a non-existent file is loaded 211s # DON'T WORRY, THIS TEST PASSES - but LOCAL INFILE is not enabled in your MySQL daemon. 211s # ./spec/mysql2/client_spec.rb:440 211s 211s 11) Mysql2::Client :local_infile should LOAD DATA LOCAL INFILE 211s # DON'T WORRY, THIS TEST PASSES - but LOCAL INFILE is not enabled in your MySQL daemon. 211s # ./spec/mysql2/client_spec.rb:447 211s 211s 12) Mysql2::Client#query threaded queries should be supported 211s # Temporarily skipped with xit 211s # ./spec/mysql2/client_spec.rb:695 211s 211s Finished in 7.19 seconds (files took 0.23319 seconds to load) 211s 321 examples, 0 failures, 12 pending 211s 211s Randomized with seed 64328 211s 211s + cleanup 211s + /usr/bin/mysqladmin --user=root --socket=/tmp/tmp.r3snr2bLxI/mysql.sock shutdown 211s 2024-03-11T11:36:53.989550Z 505 [System] [MY-013172] [Server] Received SHUTDOWN from user root. Shutting down mysqld (Version: 8.0.36-1). 212s 2024-03-11T11:36:55.231167Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.36-1) (Ubuntu). 213s + rm -rf /tmp/tmp.r3snr2bLxI 213s mv ./.gem2deb.lib lib 213s mv ./.gem2deb.ext ext 213s autopkgtest [11:36:56]: test gem2deb-test-runner: -----------------------] 214s gem2deb-test-runner PASS 214s autopkgtest [11:36:57]: test gem2deb-test-runner: - - - - - - - - - - results - - - - - - - - - - 214s autopkgtest [11:36:57]: @@@@@@@@@@@@@@@@@@@@ summary 214s gem2deb-test-runner PASS 225s Creating nova instance adt-noble-arm64-ruby-mysql2-20240311-113323-juju-7f2275-prod-proposed-migration-environment-3 from image adt/ubuntu-noble-arm64-server-20240311.img (UUID 900cfff9-7f1a-42c7-81a7-22635cd2a5f9)...