Diff of the two buildlogs: -- --- b1/build.log 2024-05-05 10:45:56.571914945 +0000 +++ b2/build.log 2024-05-05 10:52:31.819094978 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Jun 7 05:02:40 -12 2025 -I: pbuilder-time-stamp: 1749315760 +I: Current time: Mon May 6 00:45:59 +14 2024 +I: pbuilder-time-stamp: 1714905959 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -36,51 +36,83 @@ 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/2546503/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/177875/tmp/hooks/D01_modify_environment starting +debug: Running on infom01-amd64. +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 +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 5 10:46 /bin/sh -> /bin/bash +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/177875/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/177875/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='ddd7e00d2bc845f5a192229415a641b0' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='2546503' - PS1='# ' - PS2='> ' + INVOCATION_ID=7f0759627dda4903a7a6994382f3fb0d + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + 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 + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=177875 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.O3v9DDDA/pbuilderrc_7tE1 --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.O3v9DDDA/b1 --logfile b1/build.log ruby-mysql2_0.5.3-4.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + 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.O3v9DDDA/pbuilderrc_3OUZ --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.O3v9DDDA/b2 --logfile b2/build.log ruby-mysql2_0.5.3-4.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' I: uname -a - Linux infom02-amd64 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jun 5 14:11 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2546503/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 3 07:48 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/177875/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -303,7 +335,7 @@ Get: 174 http://deb.debian.org/debian trixie/main amd64 ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [90.2 kB] Get: 175 http://deb.debian.org/debian trixie/main amd64 ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.3 kB] Get: 176 http://deb.debian.org/debian trixie/main amd64 ruby-rspec all 3.13.0c0e0m0s1-2 [5184 B] -Fetched 73.1 MB in 2s (29.7 MB/s) +Fetched 73.1 MB in 1s (69.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package galera-4. (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 ... 19695 files and directories currently installed.) @@ -901,8 +933,8 @@ Setting up tzdata (2024a-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Sat Jun 7 17:05:00 UTC 2025. -Universal Time is now: Sat Jun 7 17:05:00 UTC 2025. +Local time is now: Sun May 5 10:48:46 UTC 2024. +Universal Time is now: Sun May 5 10:48:46 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libcap2-bin (1:2.66-5) ... @@ -1065,7 +1097,11 @@ fakeroot is already the newest version (1.33-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/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/177875/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/177875/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/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 @@ -1140,13 +1176,13 @@ checking for my_bool in mysql.h... yes creating Makefile current directory: /build/reproducible-path/ruby-mysql2-0.5.3/ext/mysql2 -["make", "V=1", "CC=gcc -fdebug-prefix-map=/build/reproducible-path/ruby-mysql2-0.5.3=.", "CXX=g++ -fdebug-prefix-map=/build/reproducible-path/ruby-mysql2-0.5.3=.", "DESTDIR=", "sitearchdir=./.gem.20250607-2563133-3yfif5", "sitelibdir=./.gem.20250607-2563133-3yfif5", "clean"] +["make", "V=1", "CC=gcc -fdebug-prefix-map=/build/reproducible-path/ruby-mysql2-0.5.3=.", "CXX=g++ -fdebug-prefix-map=/build/reproducible-path/ruby-mysql2-0.5.3=.", "DESTDIR=", "sitearchdir=./.gem.20240506-236667-c1jro0", "sitelibdir=./.gem.20240506-236667-c1jro0", "clean"] make[1]: Entering directory '/build/reproducible-path/ruby-mysql2-0.5.3/ext/mysql2' rm -f rm -fr mysql2.so false *.o *.bak mkmf.log .*.time make[1]: Leaving directory '/build/reproducible-path/ruby-mysql2-0.5.3/ext/mysql2' current directory: /build/reproducible-path/ruby-mysql2-0.5.3/ext/mysql2 -["make", "V=1", "CC=gcc -fdebug-prefix-map=/build/reproducible-path/ruby-mysql2-0.5.3=.", "CXX=g++ -fdebug-prefix-map=/build/reproducible-path/ruby-mysql2-0.5.3=.", "DESTDIR=", "sitearchdir=./.gem.20250607-2563133-3yfif5", "sitelibdir=./.gem.20250607-2563133-3yfif5"] +["make", "V=1", "CC=gcc -fdebug-prefix-map=/build/reproducible-path/ruby-mysql2-0.5.3=.", "CXX=g++ -fdebug-prefix-map=/build/reproducible-path/ruby-mysql2-0.5.3=.", "DESTDIR=", "sitearchdir=./.gem.20240506-236667-c1jro0", "sitelibdir=./.gem.20240506-236667-c1jro0"] make[1]: Entering directory '/build/reproducible-path/ruby-mysql2-0.5.3/ext/mysql2' gcc -fdebug-prefix-map=/build/reproducible-path/ruby-mysql2-0.5.3=. -I. -I/usr/include/x86_64-linux-gnu/ruby-3.1.0 -I/usr/include/ruby-3.1.0/ruby/backward -I/usr/include/ruby-3.1.0 -I. -I/usr/include/mariadb -I/usr/include/mariadb/mysql -DHAVE_RB_ABSINT_SIZE -DHAVE_RB_ABSINT_SINGLEBIT_P -DHAVE_RB_WAIT_FOR_SINGLE_FD -DHAVE_MYSQL_H -DHAVE_ERRMSG_H -DHAVE_CONST_MYSQL_OPT_SSL_ENFORCE -DHAVE_MYSQL_NET_PVIO -DHAVE_ST_NET_PVIO -DHAVE_CONST_MYSQL_ENABLE_CLEARTEXT_PLUGIN -DHAVE_CONST_SERVER_QUERY_NO_GOOD_INDEX_USED -DHAVE_CONST_SERVER_QUERY_NO_INDEX_USED -DHAVE_CONST_SERVER_QUERY_WAS_SLOW -DHAVE_CONST_MYSQL_OPTION_MULTI_STATEMENTS_ON -DHAVE_CONST_MYSQL_OPTION_MULTI_STATEMENTS_OFF -DHAVE_TYPE_MY_BOOL -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=BUILDDIR=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -Wno-bad-function-cast -Wno-conditional-uninitialized -Wno-covered-switch-default -Wno-declaration-after-statement -Wno-disabled-macro-expansion -Wno-documentation-unknown-command -Wno-missing-field-initializers -Wno-missing-variable-declarations -Wno-padded -Wno-reserved-id-macro -Wno-sign-conversion -Wno-static-in-inline -Wno-switch-enum -Wno-undef -Wno-unreachable-code -Wno-used-but-marked-unused -o client.o -c client.c client.c: In function 'rb_raise_mysql2_error': @@ -1217,14 +1253,14 @@ gcc -fdebug-prefix-map=/build/reproducible-path/ruby-mysql2-0.5.3=. -shared -o mysql2.so client.o infile.o mysql2_ext.o result.o statement.o -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -Wl,-z,relro -Wl,-z,now -lruby-3.1 -L/usr/lib/x86_64-linux-gnu/ -lmariadb -lm -lc make[1]: Leaving directory '/build/reproducible-path/ruby-mysql2-0.5.3/ext/mysql2' current directory: /build/reproducible-path/ruby-mysql2-0.5.3/ext/mysql2 -["make", "V=1", "CC=gcc -fdebug-prefix-map=/build/reproducible-path/ruby-mysql2-0.5.3=.", "CXX=g++ -fdebug-prefix-map=/build/reproducible-path/ruby-mysql2-0.5.3=.", "DESTDIR=", "sitearchdir=./.gem.20250607-2563133-3yfif5", "sitelibdir=./.gem.20250607-2563133-3yfif5", "install"] +["make", "V=1", "CC=gcc -fdebug-prefix-map=/build/reproducible-path/ruby-mysql2-0.5.3=.", "CXX=g++ -fdebug-prefix-map=/build/reproducible-path/ruby-mysql2-0.5.3=.", "DESTDIR=", "sitearchdir=./.gem.20240506-236667-c1jro0", "sitelibdir=./.gem.20240506-236667-c1jro0", "install"] make[1]: Entering directory '/build/reproducible-path/ruby-mysql2-0.5.3/ext/mysql2' -/bin/mkdir -p . ./.gem.20250607-2563133-3yfif5/mysql2 +/bin/mkdir -p . ./.gem.20240506-236667-c1jro0/mysql2 exit > .sitearchdir.-.mysql2.time -/usr/bin/install -c -m 0755 mysql2.so ./.gem.20250607-2563133-3yfif5/mysql2 +/usr/bin/install -c -m 0755 mysql2.so ./.gem.20240506-236667-c1jro0/mysql2 make[1]: Leaving directory '/build/reproducible-path/ruby-mysql2-0.5.3/ext/mysql2' current directory: /build/reproducible-path/ruby-mysql2-0.5.3/ext/mysql2 -["make", "V=1", "CC=gcc -fdebug-prefix-map=/build/reproducible-path/ruby-mysql2-0.5.3=.", "CXX=g++ -fdebug-prefix-map=/build/reproducible-path/ruby-mysql2-0.5.3=.", "DESTDIR=", "sitearchdir=./.gem.20250607-2563133-3yfif5", "sitelibdir=./.gem.20250607-2563133-3yfif5", "clean"] +["make", "V=1", "CC=gcc -fdebug-prefix-map=/build/reproducible-path/ruby-mysql2-0.5.3=.", "CXX=g++ -fdebug-prefix-map=/build/reproducible-path/ruby-mysql2-0.5.3=.", "DESTDIR=", "sitearchdir=./.gem.20240506-236667-c1jro0", "sitelibdir=./.gem.20240506-236667-c1jro0", "clean"] make[1]: Entering directory '/build/reproducible-path/ruby-mysql2-0.5.3/ext/mysql2' rm -f rm -fr mysql2.so false *.o *.bak mkmf.log .*.time @@ -1232,13 +1268,13 @@ current directory: /build/reproducible-path/ruby-mysql2-0.5.3/ext/mysql2 /usr/bin/ruby3.1 -I/usr/lib/ruby/vendor_ruby extconf.rb current directory: /build/reproducible-path/ruby-mysql2-0.5.3/ext/mysql2 -make V\=1 CC\=gcc\ -fdebug-prefix-map\=/build/reproducible-path/ruby-mysql2-0.5.3\=. CXX\=g++\ -fdebug-prefix-map\=/build/reproducible-path/ruby-mysql2-0.5.3\=. DESTDIR\= sitearchdir\=./.gem.20250607-2563133-3yfif5 sitelibdir\=./.gem.20250607-2563133-3yfif5 clean +make V\=1 CC\=gcc\ -fdebug-prefix-map\=/build/reproducible-path/ruby-mysql2-0.5.3\=. CXX\=g++\ -fdebug-prefix-map\=/build/reproducible-path/ruby-mysql2-0.5.3\=. DESTDIR\= sitearchdir\=./.gem.20240506-236667-c1jro0 sitelibdir\=./.gem.20240506-236667-c1jro0 clean current directory: /build/reproducible-path/ruby-mysql2-0.5.3/ext/mysql2 -make V\=1 CC\=gcc\ -fdebug-prefix-map\=/build/reproducible-path/ruby-mysql2-0.5.3\=. CXX\=g++\ -fdebug-prefix-map\=/build/reproducible-path/ruby-mysql2-0.5.3\=. DESTDIR\= sitearchdir\=./.gem.20250607-2563133-3yfif5 sitelibdir\=./.gem.20250607-2563133-3yfif5 +make V\=1 CC\=gcc\ -fdebug-prefix-map\=/build/reproducible-path/ruby-mysql2-0.5.3\=. CXX\=g++\ -fdebug-prefix-map\=/build/reproducible-path/ruby-mysql2-0.5.3\=. DESTDIR\= sitearchdir\=./.gem.20240506-236667-c1jro0 sitelibdir\=./.gem.20240506-236667-c1jro0 current directory: /build/reproducible-path/ruby-mysql2-0.5.3/ext/mysql2 -make V\=1 CC\=gcc\ -fdebug-prefix-map\=/build/reproducible-path/ruby-mysql2-0.5.3\=. CXX\=g++\ -fdebug-prefix-map\=/build/reproducible-path/ruby-mysql2-0.5.3\=. DESTDIR\= sitearchdir\=./.gem.20250607-2563133-3yfif5 sitelibdir\=./.gem.20250607-2563133-3yfif5 install +make V\=1 CC\=gcc\ -fdebug-prefix-map\=/build/reproducible-path/ruby-mysql2-0.5.3\=. CXX\=g++\ -fdebug-prefix-map\=/build/reproducible-path/ruby-mysql2-0.5.3\=. DESTDIR\= sitearchdir\=./.gem.20240506-236667-c1jro0 sitelibdir\=./.gem.20240506-236667-c1jro0 install current directory: /build/reproducible-path/ruby-mysql2-0.5.3/ext/mysql2 -make V\=1 CC\=gcc\ -fdebug-prefix-map\=/build/reproducible-path/ruby-mysql2-0.5.3\=. CXX\=g++\ -fdebug-prefix-map\=/build/reproducible-path/ruby-mysql2-0.5.3\=. DESTDIR\= sitearchdir\=./.gem.20250607-2563133-3yfif5 sitelibdir\=./.gem.20250607-2563133-3yfif5 clean +make V\=1 CC\=gcc\ -fdebug-prefix-map\=/build/reproducible-path/ruby-mysql2-0.5.3\=. CXX\=g++\ -fdebug-prefix-map\=/build/reproducible-path/ruby-mysql2-0.5.3\=. DESTDIR\= sitearchdir\=./.gem.20240506-236667-c1jro0 sitelibdir\=./.gem.20240506-236667-c1jro0 clean rm -f /build/reproducible-path/ruby-mysql2-0.5.3/debian/ruby-mysql2/usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/3.1.0/mkmf.log ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1261,23 +1297,24 @@ RUBYLIB=/build/reproducible-path/ruby-mysql2-0.5.3/debian/ruby-mysql2/usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/3.1.0:/build/reproducible-path/ruby-mysql2-0.5.3/debian/ruby-mysql2/usr/lib/ruby/vendor_ruby:. GEM_PATH=/build/reproducible-path/ruby-mysql2-0.5.3/debian/ruby-mysql2/usr/share/rubygems-integration/3.1.0:/build/reproducible-path/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/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake ./debian/start_mysqld_and_run.sh ruby3.1 -S rspec -+ mktemp -d -+ MYTEMP_DIR=/tmp/tmp.0DFQC6SP0z -+ export MYSQL_UNIX_PORT=/tmp/tmp.0DFQC6SP0z/mysql.sock -+ DO_MYSQL_USER=pbuilder1 +++ mktemp -d ++ MYTEMP_DIR=/tmp/tmp.SJ6xGX8iLm ++ export MYSQL_UNIX_PORT=/tmp/tmp.SJ6xGX8iLm/mysql.sock ++ MYSQL_UNIX_PORT=/tmp/tmp.SJ6xGX8iLm/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.0DFQC6SP0z/mysql.sock -+ mysql_install_db --no-defaults --datadir=/tmp/tmp.0DFQC6SP0z --force --skip-name-resolve --user=pbuilder1 ++ mysqladmin='/usr/bin/mysqladmin --user=pbuilder2 --socket=/tmp/tmp.SJ6xGX8iLm/mysql.sock' ++ mysql_install_db --no-defaults --datadir=/tmp/tmp.SJ6xGX8iLm --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.0DFQC6SP0z' ... -2025-06-07 5:06:06 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. -2025-06-07 5:06:06 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. -2025-06-07 5:06:06 0 [Warning] WSREP: Guessing address for incoming client connections failed. Try setting wsrep_node_incoming_address explicitly. +Installing MariaDB/MySQL system tables in '/tmp/tmp.SJ6xGX8iLm' ... +2024-05-06 0:49:55 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. +2024-05-06 0:49:55 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. +2024-05-06 0:49:55 0 [Warning] WSREP: Guessing address for incoming client connections failed. Try setting wsrep_node_incoming_address explicitly. OK To start mariadbd at boot time you have to copy @@ -1287,15 +1324,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/mariadbd-safe --datadir='/tmp/tmp.0DFQC6SP0z' +cd '/usr' ; /usr/bin/mariadbd-safe --datadir='/tmp/tmp.SJ6xGX8iLm' You can test the MariaDB daemon with mysql-test-run.pl cd '/usr/share/mysql/mysql-test' ; perl mariadb-test-run.pl @@ -1308,478 +1345,466 @@ https://mariadb.org/get-involved/ + cat -+ MYSQL_PID=2564371 ++ MYSQL_PID=241045 + echo -n pinging mysqld. pinging mysqld.+ attempts=0 -+ /usr/bin/mysqladmin --user=pbuilder1 --socket=/tmp/tmp.0DFQC6SP0z/mysql.sock ping -+ /usr/sbin/mysqld --no-defaults --user=pbuilder1 --socket=/tmp/tmp.0DFQC6SP0z/mysql.sock --datadir=/tmp/tmp.0DFQC6SP0z --skip-networking --init-file=/tmp/tmp.0DFQC6SP0z/init.sql ++ /usr/bin/mysqladmin --user=pbuilder2 --socket=/tmp/tmp.SJ6xGX8iLm/mysql.sock ping ++ /usr/sbin/mysqld --no-defaults --user=pbuilder2 --socket=/tmp/tmp.SJ6xGX8iLm/mysql.sock --datadir=/tmp/tmp.SJ6xGX8iLm --skip-networking --init-file=/tmp/tmp.SJ6xGX8iLm/init.sql /usr/bin/mysqladmin: connect to server at 'localhost' failed -error: 'Can't connect to local server through socket '/tmp/tmp.0DFQC6SP0z/mysql.sock' (2)' -Check that mariadbd is running and that the socket: '/tmp/tmp.0DFQC6SP0z/mysql.sock' exists! +error: 'Can't connect to local server through socket '/tmp/tmp.SJ6xGX8iLm/mysql.sock' (2)' +Check that mariadbd is running and that the socket: '/tmp/tmp.SJ6xGX8iLm/mysql.sock' exists! + sleep 3 -2025-06-07 5:06:25 0 [Note] Starting MariaDB 10.11.7-MariaDB-4 source revision as process 2564371 -2025-06-07 5:06:25 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. -2025-06-07 5:06:25 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. -2025-06-07 5:06:25 0 [Warning] WSREP: Guessing address for incoming client connections failed. Try setting wsrep_node_incoming_address explicitly. -2025-06-07 5:06:25 0 [Note] WSREP: Node addr: -2025-06-07 5:06:25 0 [Note] InnoDB: Compressed tables use zlib 1.3 -2025-06-07 5:06:25 0 [Note] InnoDB: Number of transaction pools: 1 -2025-06-07 5:06:25 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions -2025-06-07 5:06:25 0 [Note] InnoDB: Using liburing -2025-06-07 5:06:25 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB -2025-06-07 5:06:25 0 [Note] InnoDB: Completed initialization of buffer pool -2025-06-07 5:06:25 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) -2025-06-07 5:06:25 0 [Note] InnoDB: End of log at LSN=46846 -2025-06-07 5:06:25 0 [Note] InnoDB: 128 rollback segments are active. -2025-06-07 5:06:25 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... -2025-06-07 5:06:25 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. -2025-06-07 5:06:25 0 [Note] InnoDB: log sequence number 46846; transaction id 14 -2025-06-07 5:06:25 0 [Note] InnoDB: Loading buffer pool(s) from /tmp/tmp.0DFQC6SP0z/ib_buffer_pool -2025-06-07 5:06:25 0 [Note] Plugin 'FEEDBACK' is disabled. -2025-06-07 5:06:25 0 [Note] InnoDB: Buffer pool(s) load completed at 250607 5:06:25 +2024-05-06 0:50:00 0 [Note] Starting MariaDB 10.11.7-MariaDB-4 source revision as process 241045 +2024-05-06 0:50:00 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. +2024-05-06 0:50:00 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. +2024-05-06 0:50:00 0 [Warning] WSREP: Guessing address for incoming client connections failed. Try setting wsrep_node_incoming_address explicitly. +2024-05-06 0:50:00 0 [Note] WSREP: Node addr: +2024-05-06 0:50:00 0 [Note] InnoDB: Compressed tables use zlib 1.3 +2024-05-06 0:50:00 0 [Note] InnoDB: Number of transaction pools: 1 +2024-05-06 0:50:00 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions +2024-05-06 0:50:00 0 [Note] InnoDB: Using liburing +2024-05-06 0:50:00 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB +2024-05-06 0:50:00 0 [Note] InnoDB: Completed initialization of buffer pool +2024-05-06 0:50:00 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes) +2024-05-06 0:50:00 0 [Note] InnoDB: End of log at LSN=46950 +2024-05-06 0:50:01 0 [Note] InnoDB: 128 rollback segments are active. +2024-05-06 0:50:01 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... +2024-05-06 0:50:01 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. +2024-05-06 0:50:01 0 [Note] InnoDB: log sequence number 46950; transaction id 14 +2024-05-06 0:50:01 0 [Note] Plugin 'FEEDBACK' is disabled. +2024-05-06 0:50:01 0 [Note] InnoDB: Loading buffer pool(s) from /tmp/tmp.SJ6xGX8iLm/ib_buffer_pool +2024-05-06 0:50:01 0 [Note] InnoDB: Buffer pool(s) load completed at 240506 0:50:01 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 -2025-06-07 5:06:25 0 [Note] /usr/sbin/mysqld: ready for connections. -Version: '10.11.7-MariaDB-4' socket: '/tmp/tmp.0DFQC6SP0z/mysql.sock' port: 0 Debian n/a +2024-05-06 0:50:01 0 [Note] /usr/sbin/mysqld: ready for connections. +Version: '10.11.7-MariaDB-4' socket: '/tmp/tmp.SJ6xGX8iLm/mysql.sock' port: 0 Debian n/a + attempts=1 -+ [ 1 -gt 10 ] -+ /usr/bin/mysqladmin --user=pbuilder1 --socket=/tmp/tmp.0DFQC6SP0z/mysql.sock ping ++ '[' 1 -gt 10 ']' ++ /usr/bin/mysqladmin --user=pbuilder2 --socket=/tmp/tmp.SJ6xGX8iLm/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 32393 - -Mysql2::Result - should respond to #free -/build/reproducible-path/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 - should have included Enumerable - 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 respond to #count, which is aliased as #size - should respond to #each - #each - should not cache previously yielded results if cache_rows 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 - should yield rows as hash's - should yield different value for #first if streaming - should throw an exception if we try to iterate twice when streaming is enabled - should be able to return results as an array - 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 - server flags - should set a definitive value for no_index_used - should set a definitive value for query_was_slow - should set a definitive value for no_good_index_used - streaming - should maintain a count while streaming - should not yield nil at the end of streaming - should raise an exception if streaming ended due to a timeout (PENDING: Temporarily skipped with xit) - #count should be zero for rows after streaming when there were no results - should retain the count when mixing first and each - row data type mapping - should return a String for LONGTEXT - should return a String for LONGBLOB - should return Time when timestamp is > 2038-01-19T03:14:07 - should return BigDecimal for a DECIMAL value - should return a String for CHAR - should return Float for a FLOAT value - should raise an error given an invalid DATETIME - should return Time for a DATETIME value when within the supported range - should return String for a BINARY value - should return Fixnum for a MEDIUMINT value - should return Fixnum for a SMALLINT value - should return a String for TEXT - should return String for a BIT(64) value - should return a String for TINYTEXT - should return Fixnum for a TINYINT value - should return a String for MEDIUMBLOB - should return String for a BIT(1) value - should return Time for a TIMESTAMP value when within the supported range - should return Time for a TIME value - should return String for a SET value - should return a String for TINYBLOB - should return Fixnum for a YEAR value - should return nil values for NULL and strings for everything else when :cast is false - should return a String for BLOB - should return Date for a DATE value - should return Float for a DOUBLE value - should return Fixnum for a BIGINT value - should return nil for a NULL value - should return Fixnum for an INT value - should return a String for VARBINARY - should return a String for VARCHAR - should return Time when timestamp is < 1901-12-13 20:45:52 - should return String for an ENUM value - should return a String for MEDIUMTEXT - string encoding for MEDIUMBLOB values - should default to binary if Encoding.default_internal is nil - should not use Encoding.default_internal - 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 CHAR values - should default to utf-8 if Encoding.default_internal is nil - should use Encoding.default_internal - string encoding for LONGTEXT values - should use Encoding.default_internal - should default to utf-8 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 LONGBLOB values - should default to binary if Encoding.default_internal is nil - should not use Encoding.default_internal - 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 VARCHAR values - should default to utf-8 if Encoding.default_internal is nil - should use Encoding.default_internal - 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 - 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 TINYBLOB values - should default to binary if Encoding.default_internal is nil - should not use Encoding.default_internal - string encoding for TINYTEXT 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 BLOB values - should default to binary if Encoding.default_internal is nil - should not use Encoding.default_internal - #fields - method should exist - should return an array of field names in proper order - metadata queries - should show tables +Randomized with seed 64944 Mysql2::Client - should not leave dangling connections after garbage collection + #thread_id should return a boolean + should respond to escape + #info should return a hash containing the client version ID and String /build/reproducible-path/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 - #server_info should return a hash containing the client version ID and String - should expect read_timeout to be a positive integer - should have a global default_query_options hash - should respond to #info - should expect connect_timeout to be a positive integer - should parse flags string + should parse flags array + should be able to close properly + should respond to #thread_id + #server_info should require an open connection + #thread_id should be a Fixnum should default flags to (REMEMBER_OPTIONS, LONG_PASSWORD, LONG_FLAG, TRANSACTIONS, PROTOCOL_41, SECURE_CONNECTION) - should respond to #warning_count +/build/reproducible-path/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 #query_info + should expect read_timeout to be a positive integer + should respond to #ping + should accept connect flags and pass them to #connect + should not leave dangling connections after garbage collection + #server_info should return a hash containing the client version ID and String + should allow nil read_timeout should not raise an exception on create for a valid encoding - should respond to escape - should raise an exception on non-string encodings - should be able to connect using plaintext password + should have a global default_query_options hash /build/reproducible-path/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 - #thread_id should be a Fixnum should respond to #encoding -2025-06-07 5:06:29 138 [Warning] Access denied for user 'asdfasdf8d2h'@'localhost' (using password: YES) -/build/reproducible-path/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 respond to #thread_id - should respond to #query - #thread_id should return a boolean - should be able to close properly - should respond to #close - should execute init command + should not try to query closed mysql connection should respond to #escape - should respond to #ping - should raise an exception on create for invalid encodings - should set custom connect_attrs (PENDING: Temporarily skipped with xit) + should be able to connect to database with numeric-only name + should raise an exception on non-string encodings + should respond to #info + should terminate connections when calling close should set default program_name in connect_attrs (PENDING: Temporarily skipped with xit) + should execute init command + should respond to #warning_count + should parse flags string + should set custom connect_attrs (PENDING: Temporarily skipped with xit) should respond to #server_info - should be able to connect to database with numeric-only name - #info should return a hash containing the client version ID and String - should respond to #query_info - #server_info should require an open connection should respond to #socket - should not try to query closed mysql connection -/build/reproducible-path/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 accept connect flags and pass them to #connect - should allow nil read_timeout - should parse flags array - should terminate connections when calling close + should raise an exception on create for invalid encodings should expect write_timeout to be a positive integer + should respond to #query + should respond to #close +2024-05-06 0:52:19 63 [Warning] Access denied for user 'asdfasdf8d2h'@'localhost' (using password: YES) +/build/reproducible-path/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 connect_timeout to be a positive integer + should be able to connect using plaintext password + using defaults file + should not raise an exception without default group + should not raise an exception for valid defaults group + escape + should return the passed string if nothing was escaped + should return a new SQL-escape version of the passed string + should not overflow the thread stack + should not overflow the process stack + should carry over the original string's encoding + #closed? + should return true after close + should return false when connected + #warning_count + when has a warnings + should > 0 + when no warnings + should 0 + #query_info + when no info present + should 0 + when has some info + should retrieve it + #escape + should not overflow the process stack + should return a new SQL-escape version of the passed string + should not overflow the thread stack + should require an open connection + should return the passed string if nothing was escaped + when mysql encoding is not utf8 + should return a internal encoding string if Encoding.default_internal is set #query - #socket should require an open connection - should allow changing query options for subsequent queries -/build/reproducible-path/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 let you query again if iterating is finished when streaming - should not retain query options set on a query for subsequent queries, but should retain it in the result threaded queries should be supported - #socket should return a Fixnum (file descriptor from C) should be able to return results as an array - should not allow another query to be sent without fetching a result first + #socket should return a Fixnum (file descriptor from C) should be able to return results with symbolized keys - should run signal handlers while waiting for a response - should return results as a hash by default + should not allow another query to be sent without fetching a result first should timeout if we wait longer than :read_timeout - should describe the thread holding the active query +/build/reproducible-path/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 +2024-05-06 0:52:20 102 [Warning] Aborted connection 102 to db: 'test' user: 'pbuilder2' host: 'localhost' (Got an error reading communication packets) + should not let you query again if iterating is not finished when streaming should only accept strings as the query parameter -2025-06-07 5:08:46 186 [Warning] Aborted connection 186 to db: 'test' user: 'pbuilder1' host: 'localhost' (Got an error writing communication packets) +2024-05-06 0:52:20 101 [Warning] Aborted connection 101 to db: 'test' user: 'pbuilder2' host: 'localhost' (Got an error writing communication packets) + should run signal handlers while waiting for a response + should describe the thread holding the active query evented async queries should be supported 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 return results as a hash by default + should let you query again if iterating is finished when streaming + should allow changing query options for subsequent queries /build/reproducible-path/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 -2025-06-07 5:08:46 191 [Warning] Aborted connection 191 to db: 'test' user: 'pbuilder1' host: 'localhost' (Got an error reading communication packets) - should not let you query again if iterating is not finished when streaming + should detect closed connection on query read error + #socket should require an open connection + 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 handle Timeouts without leaving the connection hanging if reconnect is true + should close the connection when an exception is raised Multiple results sets #abandon_results! should work /build/reproducible-path/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 -/build/reproducible-path/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 -2025-06-07 5:08:46 197 [Warning] Aborted connection 197 to db: 'test' user: 'pbuilder1' host: 'localhost' (Got an error reading communication packets) - will raise on query if there are outstanding results to read returns multiple result sets #more_results? should work - #more_results? should work with stored procedures does not interfere with other statements - when a non-standard exception class is raised - should handle Timeouts without leaving the connection hanging if reconnect is true - should close the connection when an exception is raised - should handle Timeouts without leaving the connection hanging if reconnect is set to true after construction - #warning_count - when no warnings - should 0 - when has a warnings - should > 0 - strings returned by #server_info - should default to the connection's encoding if Encoding.default_internal is nil - should use Encoding.default_internal +/build/reproducible-path/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 +2024-05-06 0:52:22 134 [Warning] Aborted connection 134 to db: 'test' user: 'pbuilder2' host: 'localhost' (Got an error reading communication packets) + will raise on query if there are outstanding results to read + #more_results? should work with stored procedures #set_server_option - returns false when multi_statements is neither OPTION_MULTI_STATEMENTS_OFF or OPTION_MULTI_STATEMENTS_ON - enables multiple-statement - returns true when multi_statements is disable returns true when multi_statements is enable + returns false when multi_statements is neither OPTION_MULTI_STATEMENTS_OFF or OPTION_MULTI_STATEMENTS_ON /build/reproducible-path/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 - :local_infile - should LOAD DATA LOCAL INFILE -/build/reproducible-path/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 -/build/reproducible-path/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 - escape - should carry over the original string's encoding - should return the passed string if nothing was escaped - should not overflow the process stack - should not overflow the thread stack - should return a new SQL-escape version of the passed string - using defaults file - should not raise an exception without default group - should not raise an exception for valid defaults group - strings returned by .info - should be tagged as ascii - #escape - should return the passed string if nothing was escaped - should require an open connection - should not overflow the process stack - should not overflow the thread stack - should return a new SQL-escape version of the passed string - when mysql encoding is not utf8 - should return a internal encoding string if Encoding.default_internal is set - #query_info - when no info present - should 0 - when has some info - should retrieve it - write operations api - #last_id should handle BIGINT auto-increment ids above 32 bits - #last_id should return a Fixnum, the from the last INSERT/UPDATE - #last_id should return a Fixnum, the from the last INSERT/UPDATE - should respond to #last_id - should respond to #last_id + returns true when multi_statements is disable + enables multiple-statement + #automatic_close + is enabled by default + can be assigned +2024-05-06 0:52:22 116 [Warning] Aborted connection 116 to db: 'test' user: 'pbuilder2' host: 'localhost' (Got an error writing communication packets) +2024-05-06 0:52:22 117 [Warning] Aborted connection 117 to db: 'test' user: 'pbuilder2' host: 'localhost' (Got an error writing communication packets) +2024-05-06 0:52:22 120 [Warning] Aborted connection 120 to db: 'test' user: 'pbuilder2' host: 'localhost' (Got an error writing communication packets) +2024-05-06 0:52:23 122 [Warning] Aborted connection 122 to db: 'test' user: 'pbuilder2' host: 'localhost' (Got an error writing communication packets) + should not close connections when running in a child process + can be configured select_db should return the database switched to should respond to #select_db -2025-06-07 5:08:47 207 [Warning] Aborted connection 207 to db: 'test' user: 'pbuilder1' host: 'localhost' (Got an error writing communication packets) should switch databases /build/reproducible-path/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 - #automatic_close - is enabled by default -2025-06-07 5:08:47 209 [Warning] Aborted connection 209 to db: 'test' user: 'pbuilder1' host: 'localhost' (Got an error writing communication packets) - can be assigned -2025-06-07 5:08:47 211 [Warning] Aborted connection 211 to db: 'test' user: 'pbuilder1' host: 'localhost' (Got an error writing communication packets) -2025-06-07 5:08:47 212 [Warning] Aborted connection 212 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 configured - #closed? - should return true after close - should return false when connected + strings returned by #server_info + should default to the connection's encoding if Encoding.default_internal is nil + should use Encoding.default_internal + strings returned by .info + should be tagged as ascii + write operations api + should respond to #last_id + #last_id should handle BIGINT auto-increment ids above 32 bits + #last_id should return a Fixnum, the from the last INSERT/UPDATE + should respond to #last_id + #last_id should return a Fixnum, the from the last INSERT/UPDATE strings returned by #info should be tagged as ascii + :local_infile +/build/reproducible-path/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 + should LOAD DATA LOCAL INFILE +/build/reproducible-path/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 -Mysql2::Error +Mysql2::Result + should respond to #each + should raise a TypeError exception when it doesn't wrap a result set + should respond to #count, which is aliased as #size + should have included Enumerable /build/reproducible-path/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 + should raise a Mysql2::Error exception upon a bad query + should be able to return the number of rows in the result set + should respond to #free + streaming + should raise an exception if streaming ended due to a timeout (PENDING: Temporarily skipped with xit) + #count should be zero for rows after streaming when there were no results + should maintain a count while streaming + should not yield nil at the end of streaming + should retain the count when mixing first and each + #fields + method should exist + should return an array of field names in proper order + row data type mapping + should return a String for LONGBLOB + should return a String for VARBINARY + should return Fixnum for a MEDIUMINT value + should return Time when timestamp is < 1901-12-13 20:45:52 + should return Float for a DOUBLE value + should return a String for VARCHAR + should return a String for LONGTEXT + should return Time for a TIMESTAMP value when within the supported range + should return a String for TINYTEXT + should return a String for TINYBLOB + should return a String for MEDIUMBLOB + should return Time when timestamp is > 2038-01-19T03:14:07 + should return Time for a TIME value + should return Float for a FLOAT value + should return BigDecimal for a DECIMAL value + should return nil values for NULL and strings for everything else when :cast is false + should return a String for BLOB + should return Date for a DATE value + should return Fixnum for a BIGINT value + should return String for a BIT(1) value + should return String for a SET value + should return a String for CHAR + should return a String for MEDIUMTEXT + should raise an error given an invalid DATETIME + should return Fixnum for a SMALLINT value + should return String for a BIT(64) value + should return Fixnum for a TINYINT value + should return String for a BINARY value + should return String for an ENUM value + should return Fixnum for a YEAR value + should return Fixnum for an INT value + should return Time for a DATETIME value when within the supported range + should return nil for a NULL value + should return a String for TEXT + string encoding for LONGTEXT values + should default to utf-8 if Encoding.default_internal is nil + should use Encoding.default_internal + 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 BLOB values + should default to binary if Encoding.default_internal is nil + should not use Encoding.default_internal + string encoding for LONGBLOB values + should default to binary if Encoding.default_internal is nil + should not use Encoding.default_internal + string encoding for MEDIUMBLOB values + should not use Encoding.default_internal + should default to binary if Encoding.default_internal is nil + string encoding for TEXT values + should default to utf-8 if Encoding.default_internal is nil + should use Encoding.default_internal + string encoding for TINYTEXT values + should use Encoding.default_internal + should default to utf-8 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 ENUM values + should use Encoding.default_internal + should default to the connection's encoding if Encoding.default_internal is nil + string encoding for CHAR 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 + string encoding for TINYBLOB values + should not use Encoding.default_internal + should default to binary if Encoding.default_internal is nil + string encoding for VARCHAR 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 + string encoding for BINARY 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 + #each + should yield rows as hash's + should not cache previously yielded results if cache_rows is disabled + should be able to return results as an array + 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 be able to iterate a second time even if cache_rows is disabled + should cache previously yielded results by default + should yield different value for #first if streaming + should yield rows as hash's with symbol keys if :symbolize_keys was set to true + server flags + should set a definitive value for query_was_slow + should set a definitive value for no_good_index_used + should set a definitive value for no_index_used + metadata queries + should show tables Mysql2::Statement - should warn but still work if cache_rows is set to false + should tell us the result count + should handle bignum but in int64_t + should handle bignum but beyond int64_t + should be reusable 10000 times + should tell us about the fields should tell us the param count - should prepare Date values - should update a DECIMAL value passing a BigDecimal - should prepare DateTime values with microseconds should accept bind arguments and keyword arguments on statement execute - should select dates - should handle booleans - should raise an exception when server disconnects + should let us iterate over results + should tell us the field count + should be reusable 1000 times + should prepare DateTime values with microseconds should create a statement (PENDING: Temporarily skipped with xit) + should handle as a decimal binding a BigDecimal + should keep its result after other query should handle comparisons and likes + should warn but still work if cache_rows is set to false should let us execute our statement - should tell us the result count - should tell us the field count + should update a DECIMAL value passing a BigDecimal + should raise an exception when server disconnects should raise an exception without a block - should prepare Time values with microseconds should accept keyword arguments on statement execute - should handle bignum but beyond int64_t - should tell us about the fields - should handle as a decimal binding a BigDecimal - should let us iterate over results - should be reusable 10000 times - should be reusable 1000 times - should keep its result after other query - should handle bignum but in int64_t + should prepare Time values with microseconds + should handle booleans + should prepare Date values + should select dates + 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 #each - should throw an exception if we try to iterate twice when streaming is enabled - should cache previously yielded results by default + 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 - should yield rows as hash's + 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 /build/reproducible-path/ruby-mysql2-0.5.3/spec/mysql2/statement_spec.rb:304: warning: :cache_rows is ignored if :stream is true /build/reproducible-path/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 - streaming result - should be able to stream query result - #fields - method should exist - should return an array of field names in proper order - should return nil for statement with no result fields - affected_rows - should return number of rows affected by an insert - should return number of rows affected by an update - should return number of rows affected by a delete - last_id - should return last insert id - should handle bigint ids - close - should raise an error on subsequent execution - should free server resources (PENDING: Temporarily skipped with xit) + should cache previously yielded results by default + should yield rows as hash's row data type mapping + should return a String for LONGTEXT + should return Float for a FLOAT value + should return Time for a DATETIME value when within the supported range should return Fixnum for a BIGINT value - should return String for a BIT(1) value - should return BigDecimal for a DECIMAL value - should return a String for MEDIUMBLOB should raise an error given an invalid DATETIME - should return Fixnum for a TINYINT value - should return a String for MEDIUMTEXT - should return a String for TEXT - should return nil for a NULL value - should return Fixnum for a MEDIUMINT value - should return a String for TINYBLOB - should return String for a SET value - should return a String for BLOB + should return Fixnum for a YEAR value + should return Date for a DATE value + should return a String for LONGBLOB + should return a String for MEDIUMBLOB + should return String for a BIT(1) value should return a String for VARBINARY - should return Fixnum for an INT value + should return a String for CHAR + should return a String for BLOB should return a String for TINYTEXT - should return a String for VARCHAR - should return a String for LONGBLOB - should return String for an ENUM value - should return Fixnum for a YEAR value should return String for a BIT(64) value - should return Time when timestamp is > 2038-01-19T03:14:07 - should return Float for a DOUBLE value - should return a String for CHAR - should return Float for a FLOAT value - should return Time for a DATETIME value when within the supported range - should return Time for a TIMESTAMP value when within the supported range - should return a String for LONGTEXT - should return Date for a DATE value - should return Time for a TIME value - should return Fixnum for a SMALLINT value + should return BigDecimal for a DECIMAL value should return String for a BINARY value + should return Fixnum for an INT value + should return Fixnum for a SMALLINT value + should return Time for a TIME value + should return Time for a TIMESTAMP value when within the supported range + should return nil for a NULL value + should return String for an ENUM value + should return a String for VARCHAR + should return String for a SET value + should return Fixnum for a TINYINT value + should return Time when timestamp is > 2038-01-19T03:14:07 should return Time when timestamp is < 1901-12-13 20:45:52 - string encoding for BINARY values + should return a String for TINYBLOB + should return a String for MEDIUMTEXT + should return Float for a DOUBLE value + should return a String for TEXT + should return Fixnum for a MEDIUMINT value + string encoding for LONGBLOB values should not use Encoding.default_internal should default to binary 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 VARBINARY values + 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 MEDIUMBLOB values should default to binary if Encoding.default_internal is nil should not use Encoding.default_internal - string encoding for LONGTEXT values - 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 - should use Encoding.default_internal 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 + 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 TINYBLOB values should not use Encoding.default_internal should default to binary if Encoding.default_internal is nil - string encoding for MEDIUMTEXT values + string encoding for VARCHAR values should use Encoding.default_internal should default to utf-8 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 CHAR values + string encoding for TINYTEXT values + should default to utf-8 if Encoding.default_internal is nil should use Encoding.default_internal + string encoding for MEDIUMTEXT values should default to utf-8 if Encoding.default_internal is nil - string encoding for VARCHAR values 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 LONGTEXT values should default to utf-8 if Encoding.default_internal is nil - string encoding for TINYTEXT values should use Encoding.default_internal + string encoding for CHAR values should default to utf-8 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 - 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 LONGBLOB values - should default to binary if Encoding.default_internal is nil - should not use Encoding.default_internal - 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 + string encoding for VARBINARY values should default to binary if Encoding.default_internal is nil should not use Encoding.default_internal + last_id + should handle bigint ids + should return last insert id + streaming result + should be able to stream query result utf8_db - should be able to retrieve query with param in different encoding correctly 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 + #fields + should return nil for statement with no result fields + should return an array of field names in proper order + method should exist + close + should raise an error on subsequent execution + should free server resources (PENDING: Temporarily skipped with xit) -Pending: (Failures listed here are expected and do not affect your suite's status) - - 1) Mysql2::Result streaming should raise an exception if streaming ended due to a timeout - # Temporarily skipped with xit - # ./spec/mysql2/result_spec.rb:157 - - 2) Mysql2::Client should set custom connect_attrs - # Temporarily skipped with xit - # ./spec/mysql2/client_spec.rb:490 +Mysql2::Error +/build/reproducible-path/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 - 3) Mysql2::Client should set default program_name in connect_attrs - # Temporarily skipped with xit - # ./spec/mysql2/client_spec.rb:481 +Pending: (Failures listed here are expected and do not affect your suite's status) - 4) Mysql2::Client should be able to connect via SSL options + 1) 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 @@ -1795,6 +1820,18 @@ # ./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 default program_name in connect_attrs + # Temporarily skipped with xit + # ./spec/mysql2/client_spec.rb:481 + + 3) Mysql2::Client should set custom connect_attrs + # Temporarily skipped with xit + # ./spec/mysql2/client_spec.rb:490 + + 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 # Temporarily skipped with xit # ./spec/mysql2/statement_spec.rb:16 @@ -1803,23 +1840,23 @@ # Temporarily skipped with xit # ./spec/mysql2/statement_spec.rb:699 -Finished in 2 minutes 21 seconds (files took 0.28803 seconds to load) +Finished in 2 minutes 21.3 seconds (files took 0.24042 seconds to load) 315 examples, 0 failures, 6 pending -Randomized with seed 32393 +Randomized with seed 64944 + cleanup -+ /usr/bin/mysqladmin --user=pbuilder1 --socket=/tmp/tmp.0DFQC6SP0z/mysql.sock shutdown -2025-06-07 5:08:49 0 [Note] /usr/sbin/mysqld (initiated by: pbuilder1[pbuilder1] @ localhost []): Normal shutdown -2025-06-07 5:08:49 0 [Note] InnoDB: FTS optimize thread exiting. -2025-06-07 5:08:49 0 [Note] InnoDB: Starting shutdown... -2025-06-07 5:08:49 0 [Note] InnoDB: Dumping buffer pool(s) to /tmp/tmp.0DFQC6SP0z/ib_buffer_pool -2025-06-07 5:08:49 0 [Note] InnoDB: Buffer pool(s) dump completed at 250607 5:08:49 -2025-06-07 5:08:50 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" -2025-06-07 5:08:50 0 [Note] InnoDB: Shutdown completed; log sequence number 159804; transaction id 284 -2025-06-07 5:08:50 0 [Note] /usr/sbin/mysqld: Shutdown complete ++ /usr/bin/mysqladmin --user=pbuilder2 --socket=/tmp/tmp.SJ6xGX8iLm/mysql.sock shutdown +2024-05-06 0:52:25 0 [Note] /usr/sbin/mysqld (initiated by: pbuilder2[pbuilder2] @ localhost []): Normal shutdown +2024-05-06 0:52:25 0 [Note] InnoDB: FTS optimize thread exiting. +2024-05-06 0:52:25 0 [Note] InnoDB: Starting shutdown... +2024-05-06 0:52:25 0 [Note] InnoDB: Dumping buffer pool(s) to /tmp/tmp.SJ6xGX8iLm/ib_buffer_pool +2024-05-06 0:52:25 0 [Note] InnoDB: Buffer pool(s) dump completed at 240506 0:52:25 +2024-05-06 0:52:26 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" +2024-05-06 0:52:26 0 [Note] InnoDB: Shutdown completed; log sequence number 152653; transaction id 280 +2024-05-06 0:52:26 0 [Note] /usr/sbin/mysqld: Shutdown complete -+ rm -rf /tmp/tmp.0DFQC6SP0z ++ rm -rf /tmp/tmp.SJ6xGX8iLm ┌──────────────────────────────────────────────────────────────────────────────┐ │ dh_ruby --install finished │ @@ -1857,12 +1894,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/177875/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/177875/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/2546503 and its subdirectories -I: Current time: Sat Jun 7 05:08:55 -12 2025 -I: pbuilder-time-stamp: 1749316135 +I: removing directory /srv/workspace/pbuilder/177875 and its subdirectories +I: Current time: Mon May 6 00:52:31 +14 2024 +I: pbuilder-time-stamp: 1714906351