Diff of the two buildlogs: -- --- b1/build.log 2023-04-09 13:26:03.384751034 +0000 +++ b2/build.log 2023-04-09 13:30:57.522891263 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat May 11 07:44:55 -12 2024 -I: pbuilder-time-stamp: 1715456695 +I: Current time: Mon Apr 10 03:26:07 +14 2023 +I: pbuilder-time-stamp: 1681046767 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./ruby-mysql2_0.5.3.orig.tar.gz] I: copying [./ruby-mysql2_0.5.3-4.debian.tar.xz] I: Extracting source -gpgv: Signature made Mon Oct 24 00:19:43 2022 -12 +gpgv: Signature made Tue Oct 25 02:19:43 2022 +14 gpgv: using RSA key 8ED6C3F8BAC9DB7FC130A870F823A2729883C97C gpgv: issuer "kanashiro@debian.org" gpgv: Can't check signature: No public key @@ -36,11 +36,20 @@ dpkg-source: info: applying ruby-3.1-compat.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/11564/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/28121/tmp/hooks/D01_modify_environment starting +debug: Running on codethink16-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +lrwxrwxrwx 1 root root 4 Jan 6 03:20 /bin/sh -> dash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/28121/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/28121/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME='pbuilder2' BUILD_ARCH='arm64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' @@ -50,38 +59,38 @@ IFS=' ' LANG='C' - LANGUAGE='en_US:en' + LANGUAGE='nl_BE:nl' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' + PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' - PPID='11564' + PPID='28121' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.lrpApVvW/pbuilderrc_GvDB --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.lrpApVvW/b1 --logfile b1/build.log ruby-mysql2_0.5.3-4.dsc' + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.lrpApVvW/pbuilderrc_s9My --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.lrpApVvW/b2 --logfile b2/build.log --extrapackages usrmerge ruby-mysql2_0.5.3-4.dsc' SUDO_GID='117' SUDO_UID='110' SUDO_USER='jenkins' TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' + TZ='/usr/share/zoneinfo/Etc/GMT-14' USER='root' USERNAME='root' _='/usr/bin/systemd-run' http_proxy='http://192.168.101.16:3128' I: uname -a - Linux codethink11-arm64 4.15.0-208-generic #220-Ubuntu SMP Mon Mar 20 14:28:12 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-208-generic #220-Ubuntu SMP Mon Mar 20 14:28:12 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 9 04:48 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/11564/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 9 00:25 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/28121/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -296,7 +305,7 @@ Get: 166 http://deb.debian.org/debian bookworm/main arm64 ruby-rspec-expectations all 3.12.0c0e1m1s0-1 [89.5 kB] Get: 167 http://deb.debian.org/debian bookworm/main arm64 ruby-rspec-mocks all 3.12.0c0e1m1s0-1 [79.5 kB] Get: 168 http://deb.debian.org/debian bookworm/main arm64 ruby-rspec all 3.12.0c0e1m1s0-1 [5084 B] -Fetched 68.8 MB in 4s (16.2 MB/s) +Fetched 68.8 MB in 2s (43.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package readline-common. (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 ... 19616 files and directories currently installed.) @@ -1005,10 +1014,15 @@ Reading package lists... Building dependency tree... Reading state information... +usrmerge is already the newest version (35). fakeroot is already the newest version (1.31-1.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/ruby-mysql2-0.5.3/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../ruby-mysql2_0.5.3-4_source.changes +I: user script /srv/workspace/pbuilder/28121/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/28121/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/ruby-mysql2-0.5.3/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../ruby-mysql2_0.5.3-4_source.changes dpkg-buildpackage: info: source package ruby-mysql2 dpkg-buildpackage: info: source version 0.5.3-4 dpkg-buildpackage: info: source distribution unstable @@ -1061,7 +1075,7 @@ /usr/bin/ruby3.1 /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb /build/ruby-mysql2-0.5.3 debian/ruby-mysql2 current directory: /build/ruby-mysql2-0.5.3/ext/mysql2 -["/usr/bin/ruby3.1", "-I", "/usr/lib/ruby/vendor_ruby", "-r", "./siteconf20240511-20578-aw1dub.rb", "extconf.rb"] +["/usr/bin/ruby3.1", "-I", "/usr/lib/ruby/vendor_ruby", "-r", "./siteconf20230410-6538-hpil7x.rb", "extconf.rb"] checking for rb_absint_size()... yes checking for rb_absint_singlebit_p()... yes checking for rb_wait_for_single_fd()... yes @@ -1162,12 +1176,12 @@ current directory: /build/ruby-mysql2-0.5.3/ext/mysql2 ["make", "V=1", "CC=gcc -fdebug-prefix-map=/build/ruby-mysql2-0.5.3=.", "CXX=g++ -fdebug-prefix-map=/build/ruby-mysql2-0.5.3=.", "DESTDIR=", "install"] make[1]: Entering directory '/build/ruby-mysql2-0.5.3/ext/mysql2' -/bin/mkdir -p . ./.gem.20240511-20578-d4fp9d/mysql2 +/bin/mkdir -p . ./.gem.20230410-6538-ptp19a/mysql2 exit > .sitearchdir.-.mysql2.time -/usr/bin/install -c -m 0755 mysql2.so ./.gem.20240511-20578-d4fp9d/mysql2 +/usr/bin/install -c -m 0755 mysql2.so ./.gem.20230410-6538-ptp19a/mysql2 make[1]: Leaving directory '/build/ruby-mysql2-0.5.3/ext/mysql2' current directory: /build/ruby-mysql2-0.5.3/ext/mysql2 -/usr/bin/ruby3.1 -I /usr/lib/ruby/vendor_ruby -r ./siteconf20240511-20578-aw1dub.rb extconf.rb +/usr/bin/ruby3.1 -I /usr/lib/ruby/vendor_ruby -r ./siteconf20230410-6538-hpil7x.rb extconf.rb current directory: /build/ruby-mysql2-0.5.3/ext/mysql2 make V\=1 CC\=gcc\ -fdebug-prefix-map\=/build/ruby-mysql2-0.5.3\=. CXX\=g++\ -fdebug-prefix-map\=/build/ruby-mysql2-0.5.3\=. DESTDIR\= clean current directory: /build/ruby-mysql2-0.5.3/ext/mysql2 @@ -1197,24 +1211,24 @@ RUBYLIB=/build/ruby-mysql2-0.5.3/debian/ruby-mysql2/usr/lib/aarch64-linux-gnu/ruby/vendor_ruby/3.1.0:/build/ruby-mysql2-0.5.3/debian/ruby-mysql2/usr/lib/ruby/vendor_ruby:. GEM_PATH=/build/ruby-mysql2-0.5.3/debian/ruby-mysql2/usr/share/rubygems-integration/3.1.0:/build/ruby-mysql2-0.5.3/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/aarch64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/aarch64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -S rake -f debian/ruby-tests.rake ./debian/start_mysqld_and_run.sh ruby3.1 -S rspec + mktemp -d -+ MYTEMP_DIR=/tmp/tmp.BWvLmM5UGV -+ export MYSQL_UNIX_PORT=/tmp/tmp.BWvLmM5UGV/mysql.sock -+ DO_MYSQL_USER=pbuilder1 ++ MYTEMP_DIR=/tmp/tmp.LO6rgRKWA4 ++ export MYSQL_UNIX_PORT=/tmp/tmp.LO6rgRKWA4/mysql.sock ++ DO_MYSQL_USER=pbuilder2 + DO_MYSQL_PASS= + DO_MYSQL_DBNAME=test + DO_MYSQL_DATABASE=/test -+ mysqladmin=/usr/bin/mysqladmin --user=pbuilder1 --socket=/tmp/tmp.BWvLmM5UGV/mysql.sock -+ mysql_install_db --no-defaults --datadir=/tmp/tmp.BWvLmM5UGV --force --skip-name-resolve --user=pbuilder1 ++ mysqladmin=/usr/bin/mysqladmin --user=pbuilder2 --socket=/tmp/tmp.LO6rgRKWA4/mysql.sock ++ mysql_install_db --no-defaults --datadir=/tmp/tmp.LO6rgRKWA4 --force --skip-name-resolve --user=pbuilder2 chown: cannot access '/usr/lib/mysql/plugin/auth_pam_tool_dir/auth_pam_tool': Permission denied Couldn't set an owner to '/usr/lib/mysql/plugin/auth_pam_tool_dir/auth_pam_tool'. It must be root, the PAM authentication plugin doesn't work otherwise.. -Installing MariaDB/MySQL system tables in '/tmp/tmp.BWvLmM5UGV' ... -2024-05-11 7:46:25 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. -2024-05-11 7:46:25 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. -2024-05-11 7:46:25 0 [Warning] WSREP: Guessing address for incoming client connections failed. Try setting wsrep_node_incoming_address explicitly. -2024-05-11 7:46:25 0 [Warning] mariadbd: io_uring_queue_init() failed with errno 2 -2024-05-11 7:46:25 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF +Installing MariaDB/MySQL system tables in '/tmp/tmp.LO6rgRKWA4' ... +2023-04-10 3:28:10 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. +2023-04-10 3:28:10 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. +2023-04-10 3:28:10 0 [Warning] WSREP: Guessing address for incoming client connections failed. Try setting wsrep_node_incoming_address explicitly. +2023-04-10 3:28:10 0 [Warning] mariadbd: io_uring_queue_init() failed with errno 2 +2023-04-10 3:28:10 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF OK To start mariadbd at boot time you have to copy @@ -1224,15 +1238,15 @@ Two all-privilege accounts were created. One is root@localhost, it has no password, but you need to be system 'root' user to connect. Use, for example, sudo mysql -The second is pbuilder1@localhost, it has no password either, but -you need to be the system 'pbuilder1' user to connect. +The second is pbuilder2@localhost, it has no password either, but +you need to be the system 'pbuilder2' user to connect. After connecting you can set the password, if you would need to be able to connect as any of these users with a password and without sudo See the MariaDB Knowledgebase at https://mariadb.com/kb You can start the MariaDB daemon with: -cd '/usr' ; /usr/bin/mariadb-safe --datadir='/tmp/tmp.BWvLmM5UGV' +cd '/usr' ; /usr/bin/mariadb-safe --datadir='/tmp/tmp.LO6rgRKWA4' You can test the MariaDB daemon with mysql-test-run.pl cd '/usr/share/mysql/mysql-test' ; perl mariadb-test-run.pl @@ -1245,467 +1259,476 @@ https://mariadb.org/get-involved/ + cat -+ MYSQL_PID=26742 ++ MYSQL_PID=17182 + echo -n pinging mysqld. pinging mysqld.+ attempts=0 -+ + /usr/bin/mysqladmin --user=pbuilder1 --socket=/tmp/tmp.BWvLmM5UGV/mysql.sock/usr/sbin/mysqld ping - --no-defaults --user=pbuilder1 --socket=/tmp/tmp.BWvLmM5UGV/mysql.sock --datadir=/tmp/tmp.BWvLmM5UGV --skip-networking --init-file=/tmp/tmp.BWvLmM5UGV/init.sql ++ + /usr/bin/mysqladmin --user=pbuilder2 --socket=/tmp/tmp.LO6rgRKWA4/mysql.sock ping +/usr/sbin/mysqld --no-defaults --user=pbuilder2 --socket=/tmp/tmp.LO6rgRKWA4/mysql.sock --datadir=/tmp/tmp.LO6rgRKWA4 --skip-networking --init-file=/tmp/tmp.LO6rgRKWA4/init.sql /usr/bin/mysqladmin: connect to server at 'localhost' failed -error: 'Can't connect to local server through socket '/tmp/tmp.BWvLmM5UGV/mysql.sock' (2)' -Check that mariadbd is running and that the socket: '/tmp/tmp.BWvLmM5UGV/mysql.sock' exists! +error: 'Can't connect to local server through socket '/tmp/tmp.LO6rgRKWA4/mysql.sock' (2)' +Check that mariadbd is running and that the socket: '/tmp/tmp.LO6rgRKWA4/mysql.sock' exists! + sleep 3 -2024-05-11 7:46:25 0 [Note] Starting MariaDB 10.11.2-MariaDB-1 source revision as process 26742 -2024-05-11 7:46:25 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. -2024-05-11 7:46:25 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. -2024-05-11 7:46:25 0 [Warning] WSREP: Guessing address for incoming client connections failed. Try setting wsrep_node_incoming_address explicitly. -2024-05-11 7:46:25 0 [Note] WSREP: Node addr: -2024-05-11 7:46:25 0 [Note] InnoDB: Compressed tables use zlib 1.2.13 -2024-05-11 7:46:25 0 [Note] InnoDB: Number of transaction pools: 1 -2024-05-11 7:46:25 0 [Note] InnoDB: Using generic crc32 instructions -2024-05-11 7:46:25 0 [Warning] mysqld: io_uring_queue_init() failed with errno 0 -2024-05-11 7:46:25 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF -2024-05-11 7:46:25 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB -2024-05-11 7:46:25 0 [Note] InnoDB: Completed initialization of buffer pool -2024-05-11 7:46:25 0 [Note] InnoDB: Setting O_DIRECT on file ./ibdata1 failed -2024-05-11 7:46:25 0 [Note] InnoDB: Buffered log writes (block size=512 bytes) -2024-05-11 7:46:25 0 [Note] InnoDB: 128 rollback segments are active. -2024-05-11 7:46:25 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... -2024-05-11 7:46:25 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. -2024-05-11 7:46:25 0 [Note] InnoDB: log sequence number 45452; transaction id 14 -2024-05-11 7:46:25 0 [Note] InnoDB: Loading buffer pool(s) from /tmp/tmp.BWvLmM5UGV/ib_buffer_pool -2024-05-11 7:46:25 0 [Note] Plugin 'FEEDBACK' is disabled. -2024-05-11 7:46:25 0 [Note] InnoDB: Buffer pool(s) load completed at 240511 7:46:25 +2023-04-10 3:28:11 0 [Note] Starting MariaDB 10.11.2-MariaDB-1 source revision as process 17182 +2023-04-10 3:28:11 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. +2023-04-10 3:28:11 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. +2023-04-10 3:28:11 0 [Warning] WSREP: Guessing address for incoming client connections failed. Try setting wsrep_node_incoming_address explicitly. +2023-04-10 3:28:11 0 [Note] WSREP: Node addr: +2023-04-10 3:28:11 0 [Note] InnoDB: Compressed tables use zlib 1.2.13 +2023-04-10 3:28:11 0 [Note] InnoDB: Number of transaction pools: 1 +2023-04-10 3:28:11 0 [Note] InnoDB: Using generic crc32 instructions +2023-04-10 3:28:11 0 [Warning] mysqld: io_uring_queue_init() failed with errno 0 +2023-04-10 3:28:11 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF +2023-04-10 3:28:11 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB +2023-04-10 3:28:11 0 [Note] InnoDB: Completed initialization of buffer pool +2023-04-10 3:28:11 0 [Note] InnoDB: Setting O_DIRECT on file ./ibdata1 failed +2023-04-10 3:28:11 0 [Note] InnoDB: Buffered log writes (block size=512 bytes) +2023-04-10 3:28:11 0 [Note] InnoDB: 128 rollback segments are active. +2023-04-10 3:28:11 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... +2023-04-10 3:28:11 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. +2023-04-10 3:28:11 0 [Note] InnoDB: log sequence number 45516; transaction id 14 +2023-04-10 3:28:11 0 [Note] Plugin 'FEEDBACK' is disabled. +2023-04-10 3:28:11 0 [Note] InnoDB: Loading buffer pool(s) from /tmp/tmp.LO6rgRKWA4/ib_buffer_pool +2023-04-10 3:28:11 0 [Note] InnoDB: Buffer pool(s) load completed at 230410 3:28:11 ERROR: 1356 View 'mysql.user' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them -2024-05-11 7:46:25 0 [Note] /usr/sbin/mysqld: ready for connections. -Version: '10.11.2-MariaDB-1' socket: '/tmp/tmp.BWvLmM5UGV/mysql.sock' port: 0 Debian n/a +2023-04-10 3:28:11 0 [Note] /usr/sbin/mysqld: ready for connections. +Version: '10.11.2-MariaDB-1' socket: '/tmp/tmp.LO6rgRKWA4/mysql.sock' port: 0 Debian n/a + attempts=1 + [ 1 -gt 10 ] -+ /usr/bin/mysqladmin --user=pbuilder1 --socket=/tmp/tmp.BWvLmM5UGV/mysql.sock ping ++ /usr/bin/mysqladmin --user=pbuilder2 --socket=/tmp/tmp.LO6rgRKWA4/mysql.sock ping mysqld is alive + trap cleanup INT EXIT TERM + ruby3.1 -S rspec EventMachine not installed, skipping the specs that use it -Randomized with seed 56972 +Randomized with seed 19965 Mysql2::Error /build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:131: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2 responds to error_number and sql_state, with aliases +Mysql2::Statement + should tell us about the fields + should select dates + should be reusable 10000 times + should prepare DateTime values with microseconds + should let us iterate over results + should accept bind arguments and keyword arguments on statement execute + should prepare Date values + should tell us the result count + should tell us the field count + should update a DECIMAL value passing a BigDecimal + should handle bignum but in int64_t + should warn but still work if cache_rows is set to false + should handle as a decimal binding a BigDecimal + should prepare Time values with microseconds + should tell us the param count + should handle booleans + should handle bignum but beyond int64_t + should raise an exception when server disconnects + should accept keyword arguments on statement execute + should keep its result after other query + should create a statement (PENDING: Temporarily skipped with xit) + should handle comparisons and likes + should be reusable 1000 times + should raise an exception without a block + should let us execute our statement + close + should free server resources (PENDING: Temporarily skipped with xit) + should raise an error on subsequent execution + #fields + method should exist + should return nil for statement with no result fields + should return an array of field names in proper order + row data type mapping + should return Fixnum for a YEAR value + should return Time when timestamp is < 1901-12-13 20:45:52 + should return Fixnum for a SMALLINT value + should return Time for a DATETIME value when within the supported range + should return Fixnum for a TINYINT value + should return Fixnum for an INT value + should return a String for TINYBLOB + should raise an error given an invalid DATETIME + should return String for a BIT(64) value + should return a String for BLOB + should return String for an ENUM value + should return a String for VARBINARY + should return nil for a NULL value + should return a String for MEDIUMTEXT + should return Time for a TIME value + should return Fixnum for a MEDIUMINT value + should return String for a BIT(1) value + should return a String for CHAR + should return String for a BINARY value + should return a String for VARCHAR + should return a String for LONGBLOB + should return a String for LONGTEXT + should return BigDecimal for a DECIMAL value + should return Fixnum for a BIGINT value + should return Float for a DOUBLE value + should return a String for MEDIUMBLOB + should return Float for a FLOAT value + should return Time when timestamp is > 2038-01-19T03:14:07 + should return Date for a DATE value + should return a String for TEXT + should return a String for TINYTEXT + should return String for a SET value + should return Time for a TIMESTAMP value when within the supported range + string encoding for MEDIUMBLOB values + should not use Encoding.default_internal + should default to binary if Encoding.default_internal is nil + string encoding for LONGBLOB values + should not use Encoding.default_internal + should default to binary if Encoding.default_internal is nil + string encoding for BLOB values + should not use Encoding.default_internal + should default to binary if Encoding.default_internal is nil + string encoding for BINARY values + should not use Encoding.default_internal + should default to binary if Encoding.default_internal is nil + string encoding for SET values + should use Encoding.default_internal + should default to the connection's encoding if Encoding.default_internal is nil + string encoding for VARBINARY values + should not use Encoding.default_internal + should default to binary if Encoding.default_internal is nil + string encoding for LONGTEXT values + should default to utf-8 if Encoding.default_internal is nil + should use Encoding.default_internal + string encoding for TINYBLOB values + should not use Encoding.default_internal + should default to binary if Encoding.default_internal is nil + cast booleans for TINYINT if :cast_booleans is enabled + should return TrueClass or FalseClass for a TINYINT value if :cast_booleans is enabled + string encoding for ENUM values + should default to the connection's encoding if Encoding.default_internal is nil + should use Encoding.default_internal + string encoding for VARCHAR values + should default to utf-8 if Encoding.default_internal is nil + should use Encoding.default_internal + cast booleans for BIT(1) if :cast_booleans is enabled + should return TrueClass or FalseClass for a BIT(1) value if :cast_booleans is enabled + string encoding for CHAR values + should default to utf-8 if Encoding.default_internal is nil + should use Encoding.default_internal + string encoding for TEXT values + should default to utf-8 if Encoding.default_internal is nil + should use Encoding.default_internal + string encoding for MEDIUMTEXT values + should use Encoding.default_internal + should default to utf-8 if Encoding.default_internal is nil + string encoding for TINYTEXT values + should use Encoding.default_internal + should default to utf-8 if Encoding.default_internal is nil + #each + should yield rows as hash's + should yield the same value for #first if streaming is disabled + should cache previously yielded results by default + should throw an exception if we try to iterate twice when streaming is enabled +/build/ruby-mysql2-0.5.3/spec/mysql2/statement_spec.rb:304: warning: :cache_rows is ignored if :stream is true +/build/ruby-mysql2-0.5.3/spec/mysql2/statement_spec.rb:304: warning: :cache_rows is ignored if :stream is true + should yield different value for #first if streaming + should yield rows as hash's with symbol keys if :symbolize_keys was set to true + should be able to return results as an array + utf8_db + should be able to retrieve utf8 param query correctly + should be able to retrieve query with param in different encoding correctly + should be able to retrieve utf8 field names correctly + streaming result + should be able to stream query result + affected_rows + should return number of rows affected by an insert + should return number of rows affected by a delete + should return number of rows affected by an update + last_id + should return last insert id + should handle bigint ids + Mysql2::Client - should have a global default_query_options hash -/build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:90: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2 - should raise a Mysql::Error::ConnectionError upon connection failure - should parse flags array - should execute init command - #info should return a hash containing the client version ID and String - should expect read_timeout to be a positive integer should default flags to (REMEMBER_OPTIONS, LONG_PASSWORD, LONG_FLAG, TRANSACTIONS, PROTOCOL_41, SECURE_CONNECTION) - should not leave dangling connections after garbage collection - should respond to #encoding - should respond to #warning_count - should expect write_timeout to be a positive integer - should respond to #info should be able to connect to database with numeric-only name + should not try to query closed mysql connection should be able to close properly - should respond to #escape -2024-05-11 7:46:30 36 [Warning] Access denied for user 'asdfasdf8d2h'@'localhost' (using password: YES) + should allow nil read_timeout /build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:90: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2 - should raise a Mysql2::Error::ConnectionError exception upon connection failure due to invalid credentials + should be able to connect via SSL options (PENDING: DON'T WORRY, THIS TEST PASSES - but /etc/mysql/client-key.pem does not exist.) + should execute init command + should parse flags string + should respond to #encoding /build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:131: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2 should send init_command after reconnect - should parse flags string -/build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:90: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2 - should be able to connect via SSL options (PENDING: DON'T WORRY, THIS TEST PASSES - but /etc/mysql/client-key.pem does not exist.) - should respond to #thread_id - should not raise an exception on create for a valid encoding - should respond to escape - #server_info should return a hash containing the client version ID and String - #thread_id should return a boolean - #server_info should require an open connection - should respond to #socket - should be able to connect using plaintext password - should not try to query closed mysql connection - should allow nil read_timeout - should accept connect flags and pass them to #connect + should raise an exception on create for invalid encodings should terminate connections when calling close - should raise an exception on non-string encodings + should expect connect_timeout to be a positive integer should respond to #query - should set custom connect_attrs (PENDING: Temporarily skipped with xit) + #server_info should require an open connection + should set default program_name in connect_attrs (PENDING: Temporarily skipped with xit) #thread_id should be a Fixnum - should respond to #server_info +2023-04-10 3:30:33 255 [Warning] Access denied for user 'asdfasdf8d2h'@'localhost' (using password: YES) +/build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:90: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2 + should raise a Mysql2::Error::ConnectionError exception upon connection failure due to invalid credentials + should expect read_timeout to be a positive integer + should respond to #escape + should respond to #info + should accept connect flags and pass them to #connect + should not leave dangling connections after garbage collection + should respond to #socket + should respond to #thread_id +/build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:90: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2 + should raise a Mysql::Error::ConnectionError upon connection failure + #server_info should return a hash containing the client version ID and String should respond to #close - should set default program_name in connect_attrs (PENDING: Temporarily skipped with xit) - should expect connect_timeout to be a positive integer - should raise an exception on create for invalid encodings - should respond to #query_info + should expect write_timeout to be a positive integer + should not raise an exception on create for a valid encoding + should parse flags array + should respond to #warning_count + should respond to #server_info + should be able to connect using plaintext password should respond to #ping - strings returned by .info - should be tagged as ascii - strings returned by #info - should be tagged as ascii - #query - threaded queries should be supported - should allow changing query options for subsequent queries - should require an open connection -/build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:131: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2 - should not let you query again if iterating is not finished when streaming -2024-05-11 7:48:45 80 [Warning] Aborted connection 80 to db: 'test' user: 'pbuilder1' host: 'localhost' (Got an error reading communication packets) - should be able to return results as an array - should let you query again if iterating is finished when streaming - should return results as a hash by default - #socket should return a Fixnum (file descriptor from C) - should run signal handlers while waiting for a response - #socket should require an open connection - should be able to return results with symbolized keys - should describe the thread holding the active query - should not allow another query to be sent without fetching a result first - evented async queries should be supported -/build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:131: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2 - should detect closed connection on query read error - should only accept strings as the query parameter - should timeout if we wait longer than :read_timeout - should not retain query options set on a query for subsequent queries, but should retain it in the result - Multiple results sets - #more_results? should work - #more_results? should work with stored procedures - returns multiple result sets + should respond to #query_info + should set custom connect_attrs (PENDING: Temporarily skipped with xit) + should have a global default_query_options hash + should respond to escape + should raise an exception on non-string encodings + #info should return a hash containing the client version ID and String + #thread_id should return a boolean + #set_server_option + returns false when multi_statements is neither OPTION_MULTI_STATEMENTS_OFF or OPTION_MULTI_STATEMENTS_ON /build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:131: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2 - will raise on query if there are outstanding results to read -2024-05-11 7:48:47 104 [Warning] Aborted connection 104 to db: 'test' user: 'pbuilder1' host: 'localhost' (Got an error reading communication packets) -/build/ruby-mysql2-0.5.3/spec/mysql2/client_spec.rb:741: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2 - should raise an exception when one of multiple statements fails - does not interfere with other statements - #abandon_results! should work - when a non-standard exception class is raised -2024-05-11 7:48:47 95 [Warning] Aborted connection 95 to db: 'test' user: 'pbuilder1' host: 'localhost' (Got an error writing communication packets) - should handle Timeouts without leaving the connection hanging if reconnect is set to true after construction - should handle Timeouts without leaving the connection hanging if reconnect is true - should close the connection when an exception is raised - #query_info - when has some info - should retrieve it - when no info present - should 0 + disables multiple-statement + returns true when multi_statements is enable + returns true when multi_statements is disable + enables multiple-statement :local_infile -/build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:131: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2 - should raise an error when local_infile is disabled should LOAD DATA LOCAL INFILE /build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:131: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2 should raise an error when a non-existent file is loaded +/build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:131: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2 + should raise an error when local_infile is disabled select_db should respond to #select_db - should switch databases /build/ruby-mysql2-0.5.3/spec/mysql2/client_spec.rb:1059: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2 should raise a Mysql2::Error when the database doesn't exist + should switch databases should return the database switched to - strings returned by #server_info - should default to the connection's encoding if Encoding.default_internal is nil - should use Encoding.default_internal - escape - should return the passed string if nothing was escaped - should carry over the original string's encoding - should not overflow the process stack - should return a new SQL-escape version of the passed string - should not overflow the thread stack + #query_info + when no info present + should 0 + when has some info + should retrieve it + strings returned by #info + should be tagged as ascii #escape should not overflow the thread stack + should require an open connection should return the passed string if nothing was escaped should return a new SQL-escape version of the passed string - should require an open connection should not overflow the process stack when mysql encoding is not utf8 should return a internal encoding string if Encoding.default_internal is set + #automatic_close + can be assigned + is enabled by default + should not close connections when running in a child process + can be configured + #query + should be able to return results as an array + should not allow another query to be sent without fetching a result first +2023-04-10 3:30:35 334 [Warning] Aborted connection 334 to db: 'test' user: 'pbuilder2' host: 'localhost' (Got an error writing communication packets) + should describe the thread holding the active query + should be able to return results with symbolized keys + should timeout if we wait longer than :read_timeout + #socket should require an open connection + #socket should return a Fixnum (file descriptor from C) + should require an open connection + should not retain query options set on a query for subsequent queries, but should retain it in the result + should let you query again if iterating is finished when streaming +2023-04-10 3:30:36 338 [Warning] Aborted connection 338 to db: 'test' user: 'pbuilder2' host: 'localhost' (Got an error writing communication packets) + evented async queries should be supported + threaded queries should be supported + should run signal handlers while waiting for a response +/build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:131: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2 + should detect closed connection on query read error + should return results as a hash by default +/build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:131: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2 + should not let you query again if iterating is not finished when streaming +2023-04-10 3:30:37 355 [Warning] Aborted connection 355 to db: 'test' user: 'pbuilder2' host: 'localhost' (Got an error reading communication packets) + should allow changing query options for subsequent queries + should only accept strings as the query parameter + when a non-standard exception class is raised + should handle Timeouts without leaving the connection hanging if reconnect is set to true after construction + should close the connection when an exception is raised + should handle Timeouts without leaving the connection hanging if reconnect is true + Multiple results sets + does not interfere with other statements + #more_results? should work with stored procedures + returns multiple result sets +/build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:131: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2 +2023-04-10 3:30:38 373 [Warning] Aborted connection 373 to db: 'test' user: 'pbuilder2' host: 'localhost' (Got an error reading communication packets) + will raise on query if there are outstanding results to read +/build/ruby-mysql2-0.5.3/spec/mysql2/client_spec.rb:741: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2 + should raise an exception when one of multiple statements fails + #abandon_results! should work + #more_results? should work + using defaults file + should not raise an exception for valid defaults group + should not raise an exception without default group write operations api + #last_id should return a Fixnum, the from the last INSERT/UPDATE should respond to #last_id should respond to #last_id #last_id should return a Fixnum, the from the last INSERT/UPDATE - #last_id should return a Fixnum, the from the last INSERT/UPDATE #last_id should handle BIGINT auto-increment ids above 32 bits #warning_count - when has a warnings - should > 0 when no warnings should 0 - #set_server_option - returns true when multi_statements is enable - returns false when multi_statements is neither OPTION_MULTI_STATEMENTS_OFF or OPTION_MULTI_STATEMENTS_ON - returns true when multi_statements is disable -/build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:131: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2 - disables multiple-statement - enables multiple-statement - using defaults file - should not raise an exception for valid defaults group - should not raise an exception without default group + when has a warnings + should > 0 + escape + should return a new SQL-escape version of the passed string + should not overflow the process stack + should not overflow the thread stack + should carry over the original string's encoding + should return the passed string if nothing was escaped + strings returned by #server_info + should use Encoding.default_internal + should default to the connection's encoding if Encoding.default_internal is nil #closed? - should return true after close should return false when connected - #automatic_close - can be configured - is enabled by default -2024-05-11 7:48:48 112 [Warning] Aborted connection 112 to db: 'test' user: 'pbuilder1' host: 'localhost' (Got an error writing communication packets) -2024-05-11 7:48:48 113 [Warning] Aborted connection 113 to db: 'test' user: 'pbuilder1' host: 'localhost' (Got an error writing communication packets) -2024-05-11 7:48:48 116 [Warning] Aborted connection 116 to db: 'test' user: 'pbuilder1' host: 'localhost' (Got an error writing communication packets) -2024-05-11 7:48:48 118 [Warning] Aborted connection 118 to db: 'test' user: 'pbuilder1' host: 'localhost' (Got an error writing communication packets) - should not close connections when running in a child process - can be assigned + should return true after close + strings returned by .info + should be tagged as ascii Mysql2::Result - should raise a TypeError exception when it doesn't wrap a result set - should have included Enumerable + should be able to return the number of rows in the result set should respond to #count, which is aliased as #size should respond to #free should respond to #each - should be able to return the number of rows in the result set + should raise a TypeError exception when it doesn't wrap a result set + should have included Enumerable /build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:131: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2 should raise a Mysql2::Error exception upon a bad query - metadata queries - should show tables - #each - should be able to iterate a second time even if cache_rows is disabled - should yield the same value for #first if streaming is disabled - should yield different value for #first if streaming - should throw an exception if we try to iterate twice when streaming is enabled - should not cache previously yielded results if cache_rows is disabled - should yield rows as hash's - should be able to return results as an array - should yield rows as hash's with symbol keys if :symbolize_keys was set to true - should cache previously yielded results by default - streaming - #count should be zero for rows after streaming when there were no results - should maintain a count while streaming - should retain the count when mixing first and each - should raise an exception if streaming ended due to a timeout (PENDING: Temporarily skipped with xit) - should not yield nil at the end of streaming row data type mapping - should return String for a BINARY value - should return Time for a DATETIME value when within the supported range - should return Fixnum for a MEDIUMINT value + should return nil values for NULL and strings for everything else when :cast is false + should return Time when timestamp is > 2038-01-19T03:14:07 + should return Fixnum for a TINYINT value should return String for a BIT(1) value - should return a String for BLOB - should return String for a BIT(64) value + should raise an error given an invalid DATETIME + should return Fixnum for a MEDIUMINT value + should return a String for TEXT + should return a String for LONGBLOB + should return a String for VARBINARY should return Fixnum for a BIGINT value + should return a String for MEDIUMTEXT + should return String for a BINARY value + should return a String for VARCHAR + should return Fixnum for an INT value should return Date for a DATE value + should return nil for a NULL value + should return String for an ENUM value + should return BigDecimal for a DECIMAL value + should return a String for LONGTEXT + should return String for a BIT(64) value should return Fixnum for a YEAR value - should return Time when timestamp is > 2038-01-19T03:14:07 - should return a String for MEDIUMTEXT - should return a String for VARBINARY - should return Time when timestamp is < 1901-12-13 20:45:52 should return a String for TINYTEXT - should return Fixnum for an INT value - should return a String for MEDIUMBLOB - should return a String for VARCHAR + should return String for a SET value + should return Time for a TIME value should return Float for a FLOAT value - should return BigDecimal for a DECIMAL value - should return a String for CHAR + should return a String for TINYBLOB should return Time for a TIMESTAMP value when within the supported range - should return Fixnum for a TINYINT value - should return a String for LONGBLOB - should return String for an ENUM value - should return a String for TEXT - should return nil for a NULL value - should return String for a SET value - should return nil values for NULL and strings for everything else when :cast is false - should raise an error given an invalid DATETIME - should return a String for LONGTEXT should return Float for a DOUBLE value + should return a String for CHAR should return Fixnum for a SMALLINT value - should return a String for TINYBLOB - should return Time for a TIME value - string encoding for ENUM values + should return a String for MEDIUMBLOB + should return Time when timestamp is < 1901-12-13 20:45:52 + should return a String for BLOB + should return Time for a DATETIME value when within the supported range + string encoding for TINYTEXT values + should use Encoding.default_internal + should default to utf-8 if Encoding.default_internal is nil + string encoding for SET values should use Encoding.default_internal should default to the connection's encoding if Encoding.default_internal is nil string encoding for MEDIUMBLOB values should default to binary if Encoding.default_internal is nil should not use Encoding.default_internal - string encoding for BINARY values - should not use Encoding.default_internal - should default to binary if Encoding.default_internal is nil string encoding for LONGBLOB values should default to binary if Encoding.default_internal is nil should not use Encoding.default_internal - string encoding for BLOB values - should default to binary if Encoding.default_internal is nil - should not use Encoding.default_internal - string encoding for VARCHAR values - should default to utf-8 if Encoding.default_internal is nil - should use Encoding.default_internal string encoding for CHAR values - should default to utf-8 if Encoding.default_internal is nil - should use Encoding.default_internal - string encoding for SET values - should default to the connection's encoding if Encoding.default_internal is nil should use Encoding.default_internal + should default to utf-8 if Encoding.default_internal is nil cast booleans for TINYINT if :cast_booleans is enabled should return TrueClass or FalseClass for a TINYINT value if :cast_booleans is enabled - string encoding for TEXT values + string encoding for LONGTEXT values should default to utf-8 if Encoding.default_internal is nil should use Encoding.default_internal + string encoding for BLOB values + should default to binary if Encoding.default_internal is nil + should not use Encoding.default_internal string encoding for MEDIUMTEXT values - should use Encoding.default_internal - should default to utf-8 if Encoding.default_internal is nil - string encoding for LONGTEXT values should default to utf-8 if Encoding.default_internal is nil should use Encoding.default_internal - string encoding for VARBINARY values - should not use Encoding.default_internal - should default to binary if Encoding.default_internal is nil cast booleans for BIT(1) if :cast_booleans is enabled should return TrueClass or FalseClass for a BIT(1) value if :cast_booleans is enabled + string encoding for BINARY values +2023-04-10 3:30:38 359 [Warning] Aborted connection 359 to db: 'test' user: 'pbuilder2' host: 'localhost' (Got an error writing communication packets) + should default to binary if Encoding.default_internal is nil + should not use Encoding.default_internal string encoding for TINYBLOB values should not use Encoding.default_internal should default to binary if Encoding.default_internal is nil - string encoding for TINYTEXT values - should default to utf-8 if Encoding.default_internal is nil - should use Encoding.default_internal - #fields - should return an array of field names in proper order - method should exist - server flags - should set a definitive value for query_was_slow - should set a definitive value for no_index_used - should set a definitive value for no_good_index_used - -Mysql2::Statement - should accept keyword arguments on statement execute - should let us iterate over results - should raise an exception when server disconnects - should accept bind arguments and keyword arguments on statement execute - should prepare DateTime values with microseconds - should update a DECIMAL value passing a BigDecimal - should tell us the param count - should let us execute our statement - should handle bignum but beyond int64_t - should handle comparisons and likes - should be reusable 10000 times - should handle bignum but in int64_t - should prepare Date values - should create a statement (PENDING: Temporarily skipped with xit) - should select dates - should tell us the result count - should tell us the field count - should raise an exception without a block - should be reusable 1000 times - should handle as a decimal binding a BigDecimal - should keep its result after other query - should prepare Time values with microseconds - should tell us about the fields - should handle booleans - should warn but still work if cache_rows is set to false - #fields - should return an array of field names in proper order - should return nil for statement with no result fields - method should exist - #each - should throw an exception if we try to iterate twice when streaming is enabled - should yield the same value for #first if streaming is disabled - should yield rows as hash's - should be able to return results as an array - should yield rows as hash's with symbol keys if :symbolize_keys was set to true - should cache previously yielded results by default -/build/ruby-mysql2-0.5.3/spec/mysql2/statement_spec.rb:304: warning: :cache_rows is ignored if :stream is true -/build/ruby-mysql2-0.5.3/spec/mysql2/statement_spec.rb:304: warning: :cache_rows is ignored if :stream is true - should yield different value for #first if streaming - last_id - should handle bigint ids - should return last insert id - streaming result - should be able to stream query result - affected_rows - should return number of rows affected by a delete - should return number of rows affected by an update - should return number of rows affected by an insert - close - should raise an error on subsequent execution - should free server resources (PENDING: Temporarily skipped with xit) - row data type mapping - should return a String for CHAR - should return Time for a DATETIME value when within the supported range - should return a String for VARCHAR - should return a String for VARBINARY - should return String for a BIT(64) value - should return a String for TINYTEXT - should return String for a BIT(1) value - should return nil for a NULL value - should return a String for LONGBLOB - should return Fixnum for a SMALLINT value - should return a String for TINYBLOB - should return String for a SET value - should return Time when timestamp is < 1901-12-13 20:45:52 - should raise an error given an invalid DATETIME - should return Fixnum for an INT value - should return Date for a DATE value - should return a String for TEXT - should return String for an ENUM value - should return Time for a TIME value - should return Time for a TIMESTAMP value when within the supported range - should return Fixnum for a YEAR value - should return a String for MEDIUMTEXT - should return Float for a DOUBLE value - should return Float for a FLOAT value - should return Fixnum for a TINYINT value - should return Time when timestamp is > 2038-01-19T03:14:07 - should return String for a BINARY value - should return BigDecimal for a DECIMAL value - should return a String for MEDIUMBLOB - should return a String for LONGTEXT - should return Fixnum for a BIGINT value - should return Fixnum for a MEDIUMINT value - should return a String for BLOB - string encoding for MEDIUMBLOB values + string encoding for VARBINARY values should default to binary if Encoding.default_internal is nil should not use Encoding.default_internal - cast booleans for BIT(1) if :cast_booleans is enabled - should return TrueClass or FalseClass for a BIT(1) value if :cast_booleans is enabled - cast booleans for TINYINT if :cast_booleans is enabled - should return TrueClass or FalseClass for a TINYINT value if :cast_booleans is enabled - string encoding for LONGTEXT values - should use Encoding.default_internal - should default to utf-8 if Encoding.default_internal is nil - string encoding for VARCHAR values - should use Encoding.default_internal - should default to utf-8 if Encoding.default_internal is nil - string encoding for SET values - should use Encoding.default_internal - should default to the connection's encoding if Encoding.default_internal is nil string encoding for TEXT values - should default to utf-8 if Encoding.default_internal is nil +2023-04-10 3:30:38 360 [Warning] Aborted connection 360 to db: 'test' user: 'pbuilder2' host: 'localhost' (Got an error writing communication packets) should use Encoding.default_internal - string encoding for TINYTEXT values should default to utf-8 if Encoding.default_internal is nil + string encoding for ENUM values + should default to the connection's encoding if Encoding.default_internal is nil should use Encoding.default_internal - string encoding for BINARY values - should not use Encoding.default_internal - should default to binary if Encoding.default_internal is nil - string encoding for CHAR values - should use Encoding.default_internal - should default to utf-8 if Encoding.default_internal is nil - string encoding for MEDIUMTEXT values - should use Encoding.default_internal + string encoding for VARCHAR values should default to utf-8 if Encoding.default_internal is nil - string encoding for ENUM values should use Encoding.default_internal - should default to the connection's encoding if Encoding.default_internal is nil - string encoding for VARBINARY values - should not use Encoding.default_internal - should default to binary if Encoding.default_internal is nil - string encoding for TINYBLOB values - should not use Encoding.default_internal - should default to binary if Encoding.default_internal is nil - string encoding for LONGBLOB values - should default to binary if Encoding.default_internal is nil - should not use Encoding.default_internal - string encoding for BLOB values - should default to binary if Encoding.default_internal is nil - should not use Encoding.default_internal - utf8_db - should be able to retrieve utf8 param query correctly - should be able to retrieve utf8 field names correctly - should be able to retrieve query with param in different encoding correctly + server flags +2023-04-10 3:30:39 362 [Warning] Aborted connection 362 to db: 'test' user: 'pbuilder2' host: 'localhost' (Got an error writing communication packets) + should set a definitive value for no_good_index_used + should set a definitive value for no_index_used + should set a definitive value for query_was_slow + metadata queries + should show tables + streaming + should raise an exception if streaming ended due to a timeout (PENDING: Temporarily skipped with xit) + should maintain a count while streaming + #count should be zero for rows after streaming when there were no results + should retain the count when mixing first and each + should not yield nil at the end of streaming + #each + should be able to iterate a second time even if cache_rows is disabled + should be able to return results as an array + should not cache previously yielded results if cache_rows is disabled + should yield rows as hash's + should throw an exception if we try to iterate twice when streaming is enabled + should yield different value for #first if streaming +2023-04-10 3:30:39 364 [Warning] Aborted connection 364 to db: 'test' user: 'pbuilder2' host: 'localhost' (Got an error writing communication packets) + should yield the same value for #first if streaming is disabled + should cache previously yielded results by default + should yield rows as hash's with symbol keys if :symbolize_keys was set to true + #fields + should return an array of field names in proper order + method should exist Pending: (Failures listed here are expected and do not affect your suite's status) - 1) Mysql2::Client should be able to connect via SSL options + 1) Mysql2::Statement should create a statement + # Temporarily skipped with xit + # ./spec/mysql2/statement_spec.rb:16 + + 2) Mysql2::Statement close should free server resources + # Temporarily skipped with xit + # ./spec/mysql2/statement_spec.rb:699 + + 3) Mysql2::Client should be able to connect via SSL options # DON'T WORRY, THIS TEST PASSES - but /etc/mysql/client-key.pem does not exist. Failure/Error: expect do @@ -1721,43 +1744,35 @@ # ./spec/mysql2/client_spec.rb:152:in `block (2 levels) in ' # ./spec/mysql2/client_spec.rb:152:in `block (2 levels) in ' - 2) Mysql2::Client should set custom connect_attrs - # Temporarily skipped with xit - # ./spec/mysql2/client_spec.rb:490 - - 3) Mysql2::Client should set default program_name in connect_attrs + 4) Mysql2::Client should set default program_name in connect_attrs # Temporarily skipped with xit # ./spec/mysql2/client_spec.rb:481 - 4) Mysql2::Result streaming should raise an exception if streaming ended due to a timeout - # Temporarily skipped with xit - # ./spec/mysql2/result_spec.rb:157 - - 5) Mysql2::Statement should create a statement + 5) Mysql2::Client should set custom connect_attrs # Temporarily skipped with xit - # ./spec/mysql2/statement_spec.rb:16 + # ./spec/mysql2/client_spec.rb:490 - 6) Mysql2::Statement close should free server resources + 6) Mysql2::Result streaming should raise an exception if streaming ended due to a timeout # Temporarily skipped with xit - # ./spec/mysql2/statement_spec.rb:699 + # ./spec/mysql2/result_spec.rb:157 -Finished in 2 minutes 21.3 seconds (files took 0.61961 seconds to load) +Finished in 2 minutes 23.4 seconds (files took 0.72294 seconds to load) 315 examples, 0 failures, 6 pending -Randomized with seed 56972 +Randomized with seed 19965 + cleanup -+ /usr/bin/mysqladmin --user=pbuilder1 --socket=/tmp/tmp.BWvLmM5UGV/mysql.sock shutdown -2024-05-11 7:48:51 0 [Note] /usr/sbin/mysqld (initiated by: pbuilder1[pbuilder1] @ localhost []): Normal shutdown -2024-05-11 7:48:51 0 [Note] InnoDB: FTS optimize thread exiting. -2024-05-11 7:48:51 0 [Note] InnoDB: Starting shutdown... -2024-05-11 7:48:51 0 [Note] InnoDB: Dumping buffer pool(s) to /tmp/tmp.BWvLmM5UGV/ib_buffer_pool -2024-05-11 7:48:51 0 [Note] InnoDB: Buffer pool(s) dump completed at 240511 7:48:51 -2024-05-11 7:48:51 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" -2024-05-11 7:48:51 0 [Note] InnoDB: Shutdown completed; log sequence number 147715; transaction id 282 -2024-05-11 7:48:51 0 [Note] /usr/sbin/mysqld: Shutdown complete ++ /usr/bin/mysqladmin --user=pbuilder2 --socket=/tmp/tmp.LO6rgRKWA4/mysql.sock shutdown +2023-04-10 3:30:39 0 [Note] /usr/sbin/mysqld (initiated by: pbuilder2[pbuilder2] @ localhost []): Normal shutdown +2023-04-10 3:30:39 0 [Note] InnoDB: FTS optimize thread exiting. +2023-04-10 3:30:39 0 [Note] InnoDB: Starting shutdown... +2023-04-10 3:30:39 0 [Note] InnoDB: Dumping buffer pool(s) to /tmp/tmp.LO6rgRKWA4/ib_buffer_pool +2023-04-10 3:30:39 0 [Note] InnoDB: Buffer pool(s) dump completed at 230410 3:30:39 +2023-04-10 3:30:40 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" +2023-04-10 3:30:40 0 [Note] InnoDB: Shutdown completed; log sequence number 150562; transaction id 284 +2023-04-10 3:30:40 0 [Note] /usr/sbin/mysqld: Shutdown complete -+ rm -rf /tmp/tmp.BWvLmM5UGV ++ rm -rf /tmp/tmp.LO6rgRKWA4 ┌──────────────────────────────────────────────────────────────────────────────┐ │ dh_ruby --install finished │ @@ -1795,12 +1810,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/28121/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/28121/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/11564 and its subdirectories -I: Current time: Sat May 11 07:49:02 -12 2024 -I: pbuilder-time-stamp: 1715456942 +I: removing directory /srv/workspace/pbuilder/28121 and its subdirectories +I: Current time: Mon Apr 10 03:30:56 +14 2023 +I: pbuilder-time-stamp: 1681047056