Diff of the two buildlogs: -- --- b1/build.log 2025-08-29 13:07:22.182233225 +0000 +++ b2/build.log 2025-08-29 13:08:31.882326248 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Oct 1 07:28:39 -12 2026 -I: pbuilder-time-stamp: 1790882919 +I: Current time: Sat Aug 30 03:07:24 +14 2025 +I: pbuilder-time-stamp: 1756472844 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/forky-reproducible-base.tgz] I: copying local configuration @@ -31,53 +31,85 @@ dpkg-source: info: applying 0008-Ignore-compaction-bug-on-ruby3.1.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/907096/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/570405/tmp/hooks/D01_modify_environment starting +debug: Running on codethink04-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 +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Aug 29 13:07 /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/570405/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/570405/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='arm64' - 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]="37" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + 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=12 ' - DISTRIBUTION='forky' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=forky + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='0e48e861da014eca92766f118765040e' - 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='907096' - PS1='# ' - PS2='> ' + INVOCATION_ID=a964c115c9b84b53bc5c6e713255d6f9 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=570405 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.u3sJtejO/pbuilderrc_4lRz --distribution forky --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.u3sJtejO/b1 --logfile b1/build.log ruby-mysql2_0.5.5-3.dsc' - SUDO_GID='109' - SUDO_HOME='/var/lib/jenkins' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + 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.u3sJtejO/pbuilderrc_j5hC --distribution forky --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.u3sJtejO/b2 --logfile b2/build.log ruby-mysql2_0.5.5-3.dsc' + SUDO_GID=109 + SUDO_HOME=/var/lib/jenkins + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink03-arm64 6.12.41+deb13-cloud-arm64 #1 SMP Debian 6.12.41-1 (2025-08-12) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.12.41+deb13-cloud-arm64 #1 SMP Debian 6.12.41-1 (2025-08-12) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/907096/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/570405/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -294,7 +326,7 @@ Get: 168 http://deb.debian.org/debian forky/main arm64 ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [90.2 kB] Get: 169 http://deb.debian.org/debian forky/main arm64 ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.3 kB] Get: 170 http://deb.debian.org/debian forky/main arm64 ruby-rspec all 3.13.0c0e0m0s1-2 [5184 B] -Fetched 62.4 MB in 1s (70.8 MB/s) +Fetched 62.4 MB in 0s (220 MB/s) Preconfiguring packages ... 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 ... 19969 files and directories currently installed.) @@ -870,8 +902,8 @@ Setting up tzdata (2025b-5) ... Current default time zone: 'Etc/UTC' -Local time is now: Thu Oct 1 19:29:19 UTC 2026. -Universal Time is now: Thu Oct 1 19:29:19 UTC 2026. +Local time is now: Fri Aug 29 13:07:48 UTC 2025. +Universal Time is now: Fri Aug 29 13:07:48 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libcap2-bin (1:2.75-10+b1) ... @@ -1026,7 +1058,11 @@ fakeroot is already the newest version (1.37.1.2-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.5/ && 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.5-3_source.changes +I: user script /srv/workspace/pbuilder/570405/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for forky +I: user script /srv/workspace/pbuilder/570405/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ruby-mysql2-0.5.5/ && 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.5-3_source.changes dpkg-buildpackage: info: source package ruby-mysql2 dpkg-buildpackage: info: source version 0.5.5-3 dpkg-buildpackage: info: source distribution unstable @@ -1103,13 +1139,13 @@ checking for my_bool in mysql.h... yes creating Makefile current directory: /build/reproducible-path/ruby-mysql2-0.5.5/ext/mysql2 -["make", "V=1", "CC=gcc -fdebug-prefix-map=/build/reproducible-path/ruby-mysql2-0.5.5=.", "CXX=g++ -fdebug-prefix-map=/build/reproducible-path/ruby-mysql2-0.5.5=.", "DESTDIR=", "sitearchdir=./.gem.20261001-937944-mvl240", "sitelibdir=./.gem.20261001-937944-mvl240", "clean"] +["make", "V=1", "CC=gcc -fdebug-prefix-map=/build/reproducible-path/ruby-mysql2-0.5.5=.", "CXX=g++ -fdebug-prefix-map=/build/reproducible-path/ruby-mysql2-0.5.5=.", "DESTDIR=", "sitearchdir=./.gem.20250830-581746-uw902h", "sitelibdir=./.gem.20250830-581746-uw902h", "clean"] make[1]: Entering directory '/build/reproducible-path/ruby-mysql2-0.5.5/ext/mysql2' rm -f rm -fr mysql2.so false client.o infile.o mysql2_ext.o result.o statement.o *.bak mkmf.log .*.time make[1]: Leaving directory '/build/reproducible-path/ruby-mysql2-0.5.5/ext/mysql2' current directory: /build/reproducible-path/ruby-mysql2-0.5.5/ext/mysql2 -["make", "V=1", "CC=gcc -fdebug-prefix-map=/build/reproducible-path/ruby-mysql2-0.5.5=.", "CXX=g++ -fdebug-prefix-map=/build/reproducible-path/ruby-mysql2-0.5.5=.", "DESTDIR=", "sitearchdir=./.gem.20261001-937944-mvl240", "sitelibdir=./.gem.20261001-937944-mvl240"] +["make", "V=1", "CC=gcc -fdebug-prefix-map=/build/reproducible-path/ruby-mysql2-0.5.5=.", "CXX=g++ -fdebug-prefix-map=/build/reproducible-path/ruby-mysql2-0.5.5=.", "DESTDIR=", "sitearchdir=./.gem.20250830-581746-uw902h", "sitelibdir=./.gem.20250830-581746-uw902h"] make[1]: Entering directory '/build/reproducible-path/ruby-mysql2-0.5.5/ext/mysql2' gcc -fdebug-prefix-map=/build/reproducible-path/ruby-mysql2-0.5.5=. -I. -I/usr/include/aarch64-linux-gnu/ruby-3.3.0 -I/usr/include/ruby-3.3.0/ruby/backward -I/usr/include/ruby-3.3.0 -I. -I/usr/include/mariadb -I/usr/include/mariadb/mysql -DHAVE_RB_ABSINT_SIZE -DHAVE_RB_ABSINT_SINGLEBIT_P -DHAVE_RB_GC_MARK_MOVABLE -DHAVE_RB_WAIT_FOR_SINGLE_FD -DHAVE_RB_ENC_INTERNED_STR -DHAVE_MYSQL_H -DHAVE_ERRMSG_H -DHAVE_CONST_MYSQL_OPT_SSL_VERIFY_SERVER_CERT -DHAVE_CONST_MYSQL_OPT_SSL_ENFORCE -DHAVE_MYSQL_NET_PVIO -DHAVE_ST_NET_PVIO -DHAVE_CONST_MYSQL_DEFAULT_AUTH -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 -mbranch-protection=standard -fPIC -Wno-compound-token-split-by-macro -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 gcc -fdebug-prefix-map=/build/reproducible-path/ruby-mysql2-0.5.5=. -I. -I/usr/include/aarch64-linux-gnu/ruby-3.3.0 -I/usr/include/ruby-3.3.0/ruby/backward -I/usr/include/ruby-3.3.0 -I. -I/usr/include/mariadb -I/usr/include/mariadb/mysql -DHAVE_RB_ABSINT_SIZE -DHAVE_RB_ABSINT_SINGLEBIT_P -DHAVE_RB_GC_MARK_MOVABLE -DHAVE_RB_WAIT_FOR_SINGLE_FD -DHAVE_RB_ENC_INTERNED_STR -DHAVE_MYSQL_H -DHAVE_ERRMSG_H -DHAVE_CONST_MYSQL_OPT_SSL_VERIFY_SERVER_CERT -DHAVE_CONST_MYSQL_OPT_SSL_ENFORCE -DHAVE_MYSQL_NET_PVIO -DHAVE_ST_NET_PVIO -DHAVE_CONST_MYSQL_DEFAULT_AUTH -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 -mbranch-protection=standard -fPIC -Wno-compound-token-split-by-macro -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 infile.o -c infile.c @@ -1120,14 +1156,14 @@ gcc -fdebug-prefix-map=/build/reproducible-path/ruby-mysql2-0.5.5=. -shared -o mysql2.so client.o infile.o mysql2_ext.o result.o statement.o -L. -L/usr/lib/aarch64-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.3 -L/usr/lib/aarch64-linux-gnu/ -lmariadb -lm -lpthread -lc make[1]: Leaving directory '/build/reproducible-path/ruby-mysql2-0.5.5/ext/mysql2' current directory: /build/reproducible-path/ruby-mysql2-0.5.5/ext/mysql2 -["make", "V=1", "CC=gcc -fdebug-prefix-map=/build/reproducible-path/ruby-mysql2-0.5.5=.", "CXX=g++ -fdebug-prefix-map=/build/reproducible-path/ruby-mysql2-0.5.5=.", "DESTDIR=", "sitearchdir=./.gem.20261001-937944-mvl240", "sitelibdir=./.gem.20261001-937944-mvl240", "install"] +["make", "V=1", "CC=gcc -fdebug-prefix-map=/build/reproducible-path/ruby-mysql2-0.5.5=.", "CXX=g++ -fdebug-prefix-map=/build/reproducible-path/ruby-mysql2-0.5.5=.", "DESTDIR=", "sitearchdir=./.gem.20250830-581746-uw902h", "sitelibdir=./.gem.20250830-581746-uw902h", "install"] make[1]: Entering directory '/build/reproducible-path/ruby-mysql2-0.5.5/ext/mysql2' -/bin/mkdir -p . ./.gem.20261001-937944-mvl240/mysql2 +/bin/mkdir -p . ./.gem.20250830-581746-uw902h/mysql2 exit > .sitearchdir.-.mysql2.time -/usr/bin/install -c -m 0755 mysql2.so ./.gem.20261001-937944-mvl240/mysql2 +/usr/bin/install -c -m 0755 mysql2.so ./.gem.20250830-581746-uw902h/mysql2 make[1]: Leaving directory '/build/reproducible-path/ruby-mysql2-0.5.5/ext/mysql2' current directory: /build/reproducible-path/ruby-mysql2-0.5.5/ext/mysql2 -["make", "V=1", "CC=gcc -fdebug-prefix-map=/build/reproducible-path/ruby-mysql2-0.5.5=.", "CXX=g++ -fdebug-prefix-map=/build/reproducible-path/ruby-mysql2-0.5.5=.", "DESTDIR=", "sitearchdir=./.gem.20261001-937944-mvl240", "sitelibdir=./.gem.20261001-937944-mvl240", "clean"] +["make", "V=1", "CC=gcc -fdebug-prefix-map=/build/reproducible-path/ruby-mysql2-0.5.5=.", "CXX=g++ -fdebug-prefix-map=/build/reproducible-path/ruby-mysql2-0.5.5=.", "DESTDIR=", "sitearchdir=./.gem.20250830-581746-uw902h", "sitelibdir=./.gem.20250830-581746-uw902h", "clean"] make[1]: Entering directory '/build/reproducible-path/ruby-mysql2-0.5.5/ext/mysql2' rm -f rm -fr mysql2.so false client.o infile.o mysql2_ext.o result.o statement.o *.bak mkmf.log .*.time @@ -1135,13 +1171,13 @@ current directory: /build/reproducible-path/ruby-mysql2-0.5.5/ext/mysql2 /usr/bin/ruby3.3 -I/usr/lib/ruby/vendor_ruby extconf.rb current directory: /build/reproducible-path/ruby-mysql2-0.5.5/ext/mysql2 -make V\=1 CC\=gcc\ -fdebug-prefix-map\=/build/reproducible-path/ruby-mysql2-0.5.5\=. CXX\=g++\ -fdebug-prefix-map\=/build/reproducible-path/ruby-mysql2-0.5.5\=. DESTDIR\= sitearchdir\=./.gem.20261001-937944-mvl240 sitelibdir\=./.gem.20261001-937944-mvl240 clean +make V\=1 CC\=gcc\ -fdebug-prefix-map\=/build/reproducible-path/ruby-mysql2-0.5.5\=. CXX\=g++\ -fdebug-prefix-map\=/build/reproducible-path/ruby-mysql2-0.5.5\=. DESTDIR\= sitearchdir\=./.gem.20250830-581746-uw902h sitelibdir\=./.gem.20250830-581746-uw902h clean current directory: /build/reproducible-path/ruby-mysql2-0.5.5/ext/mysql2 -make V\=1 CC\=gcc\ -fdebug-prefix-map\=/build/reproducible-path/ruby-mysql2-0.5.5\=. CXX\=g++\ -fdebug-prefix-map\=/build/reproducible-path/ruby-mysql2-0.5.5\=. DESTDIR\= sitearchdir\=./.gem.20261001-937944-mvl240 sitelibdir\=./.gem.20261001-937944-mvl240 +make V\=1 CC\=gcc\ -fdebug-prefix-map\=/build/reproducible-path/ruby-mysql2-0.5.5\=. CXX\=g++\ -fdebug-prefix-map\=/build/reproducible-path/ruby-mysql2-0.5.5\=. DESTDIR\= sitearchdir\=./.gem.20250830-581746-uw902h sitelibdir\=./.gem.20250830-581746-uw902h current directory: /build/reproducible-path/ruby-mysql2-0.5.5/ext/mysql2 -make V\=1 CC\=gcc\ -fdebug-prefix-map\=/build/reproducible-path/ruby-mysql2-0.5.5\=. CXX\=g++\ -fdebug-prefix-map\=/build/reproducible-path/ruby-mysql2-0.5.5\=. DESTDIR\= sitearchdir\=./.gem.20261001-937944-mvl240 sitelibdir\=./.gem.20261001-937944-mvl240 install +make V\=1 CC\=gcc\ -fdebug-prefix-map\=/build/reproducible-path/ruby-mysql2-0.5.5\=. CXX\=g++\ -fdebug-prefix-map\=/build/reproducible-path/ruby-mysql2-0.5.5\=. DESTDIR\= sitearchdir\=./.gem.20250830-581746-uw902h sitelibdir\=./.gem.20250830-581746-uw902h install current directory: /build/reproducible-path/ruby-mysql2-0.5.5/ext/mysql2 -make V\=1 CC\=gcc\ -fdebug-prefix-map\=/build/reproducible-path/ruby-mysql2-0.5.5\=. CXX\=g++\ -fdebug-prefix-map\=/build/reproducible-path/ruby-mysql2-0.5.5\=. DESTDIR\= sitearchdir\=./.gem.20261001-937944-mvl240 sitelibdir\=./.gem.20261001-937944-mvl240 clean +make V\=1 CC\=gcc\ -fdebug-prefix-map\=/build/reproducible-path/ruby-mysql2-0.5.5\=. CXX\=g++\ -fdebug-prefix-map\=/build/reproducible-path/ruby-mysql2-0.5.5\=. DESTDIR\= sitearchdir\=./.gem.20250830-581746-uw902h sitelibdir\=./.gem.20250830-581746-uw902h clean rm -f /build/reproducible-path/ruby-mysql2-0.5.5/debian/ruby-mysql2/usr/lib/aarch64-linux-gnu/ruby/vendor_ruby/3.3.0/mkmf.log ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1164,15 +1200,16 @@ RUBYLIB=/build/reproducible-path/ruby-mysql2-0.5.5/debian/ruby-mysql2/usr/lib/aarch64-linux-gnu/ruby/vendor_ruby/3.3.0:/build/reproducible-path/ruby-mysql2-0.5.5/debian/ruby-mysql2/usr/lib/ruby/vendor_ruby:. GEM_PATH=/build/reproducible-path/ruby-mysql2-0.5.5/debian/ruby-mysql2/usr/share/rubygems-integration/3.3.0:/build/reproducible-path/ruby-mysql2-0.5.5/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.3.0:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/aarch64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/aarch64-linux-gnu/rubygems-integration/3.3.0 ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake ./debian/start_mysqld_and_run.sh ruby3.3 -S rspec -+ mktemp -d -+ MYTEMP_DIR=/tmp/tmp.3v6yQNfDmN -+ export MYSQL_UNIX_PORT=/tmp/tmp.3v6yQNfDmN/mysql.sock -+ DO_MYSQL_USER=pbuilder1 +++ mktemp -d ++ MYTEMP_DIR=/tmp/tmp.xBKn0EMcwT ++ export MYSQL_UNIX_PORT=/tmp/tmp.xBKn0EMcwT/mysql.sock ++ MYSQL_UNIX_PORT=/tmp/tmp.xBKn0EMcwT/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.3v6yQNfDmN/mysql.sock -+ mysql_install_db --no-defaults --datadir=/tmp/tmp.3v6yQNfDmN --force --skip-name-resolve --user=pbuilder1 ++ mysqladmin='/usr/bin/mysqladmin --user=pbuilder2 --socket=/tmp/tmp.xBKn0EMcwT/mysql.sock' ++ mysql_install_db --no-defaults --datadir=/tmp/tmp.xBKn0EMcwT --force --skip-name-resolve --user=pbuilder2 /usr/bin/mysql_install_db: Deprecated program name. It will be removed in a future release, use 'mariadb-install-db' instead 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'. @@ -1180,13 +1217,13 @@ chown: changing ownership of '/usr/lib/mysql/plugin/auth_pam_tool_dir': Operation not permitted Cannot change ownership of the '/usr/lib/mysql/plugin/auth_pam_tool_dir' directory -to the 'pbuilder1' user. Check that you have the necessary permissions and try again. +to the 'pbuilder2' user. Check that you have the necessary permissions and try again. -Installing MariaDB/MySQL system tables in '/tmp/tmp.3v6yQNfDmN' ... -2026-10-01 7:29:59 0 [Warning] failed to retrieve the MAC address -2026-10-01 7:29:59 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. -2026-10-01 7:29:59 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. -2026-10-01 7:29:59 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.xBKn0EMcwT' ... +2025-08-30 3:08:15 0 [Warning] failed to retrieve the MAC address +2025-08-30 3:08:15 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. +2025-08-30 3:08:15 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. +2025-08-30 3:08:15 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 @@ -1196,15 +1233,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 mariadb -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.3v6yQNfDmN' +cd '/usr' ; /usr/bin/mariadbd-safe --datadir='/tmp/tmp.xBKn0EMcwT' You can test the MariaDB daemon with mariadb-test-run.pl cd '/usr/share/mariadb/mariadb-test' ; perl mariadb-test-run.pl @@ -1217,497 +1254,489 @@ https://mariadb.org/get-involved/ + cat -+ + /usr/sbin/mysqld --no-defaults --user=pbuilder1 --socket=/tmp/tmp.3v6yQNfDmN/mysql.sock --datadir=/tmp/tmp.3v6yQNfDmN --skip-networking --init-file=/tmp/tmp.3v6yQNfDmN/init.sql -MYSQL_PID=943786 ++ MYSQL_PID=588283 + echo -n pinging mysqld. pinging mysqld.+ attempts=0 -+ /usr/bin/mysqladmin --user=pbuilder1 --socket=/tmp/tmp.3v6yQNfDmN/mysql.sock ping ++ /usr/bin/mysqladmin --user=pbuilder2 --socket=/tmp/tmp.xBKn0EMcwT/mysql.sock ping ++ /usr/sbin/mysqld --no-defaults --user=pbuilder2 --socket=/tmp/tmp.xBKn0EMcwT/mysql.sock --datadir=/tmp/tmp.xBKn0EMcwT --skip-networking --init-file=/tmp/tmp.xBKn0EMcwT/init.sql /usr/bin/mysqladmin: connect to server at 'localhost' failed -error: 'Can't connect to local server through socket '/tmp/tmp.3v6yQNfDmN/mysql.sock' (2)' -Check that mariadbd is running and that the socket: '/tmp/tmp.3v6yQNfDmN/mysql.sock' exists! +error: 'Can't connect to local server through socket '/tmp/tmp.xBKn0EMcwT/mysql.sock' (2)' +Check that mariadbd is running and that the socket: '/tmp/tmp.xBKn0EMcwT/mysql.sock' exists! + sleep 3 -2026-10-01 7:30:00 0 [Warning] failed to retrieve the MAC address -2026-10-01 7:30:00 0 [Note] Starting MariaDB 11.8.3-MariaDB-1+b1 from Debian source revision b565b3e7e041c480fd8013e3beec6b99544d6bf8 server_uid unknown as process 943786 -2026-10-01 7:30:00 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. -2026-10-01 7:30:00 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. -2026-10-01 7:30:00 0 [Warning] WSREP: Guessing address for incoming client connections failed. Try setting wsrep_node_incoming_address explicitly. -2026-10-01 7:30:00 0 [Note] WSREP: Node addr: -2026-10-01 7:30:00 0 [Note] InnoDB: Compressed tables use zlib 1.3.1 -2026-10-01 7:30:00 0 [Note] InnoDB: Number of transaction pools: 1 -2026-10-01 7:30:00 0 [Note] InnoDB: Using ARMv8 crc32 + pmull instructions -2026-10-01 7:30:00 0 [Note] InnoDB: Using io_uring -2026-10-01 7:30:00 0 [Note] InnoDB: innodb_buffer_pool_size_max=128m, innodb_buffer_pool_size=128m -2026-10-01 7:30:00 0 [Note] InnoDB: Completed initialization of buffer pool -2026-10-01 7:30:00 0 [Note] InnoDB: Buffered log writes (block size=512 bytes) -2026-10-01 7:30:00 0 [Note] InnoDB: End of log at LSN=46300 -2026-10-01 7:30:00 0 [Note] InnoDB: Opened 3 undo tablespaces -2026-10-01 7:30:00 0 [Note] InnoDB: 128 rollback segments in 3 undo tablespaces are active. -2026-10-01 7:30:00 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... -2026-10-01 7:30:00 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. -2026-10-01 7:30:00 0 [Note] InnoDB: log sequence number 46300; transaction id 14 -2026-10-01 7:30:00 0 [Note] Plugin 'FEEDBACK' is disabled. -2026-10-01 7:30:00 0 [Note] Plugin 'wsrep-provider' is disabled. -2026-10-01 7:30:00 0 [Note] InnoDB: Loading buffer pool(s) from /tmp/tmp.3v6yQNfDmN/ib_buffer_pool -2026-10-01 7:30:00 0 [Note] InnoDB: Buffer pool(s) load completed at 261001 7:30:00 -+ attempts=1 -+ [ 1 -gt 10 ] -+ /usr/bin/mysqladmin --user=pbuilder1 --socket=/tmp/tmp.3v6yQNfDmN/mysql.sock ping -/usr/bin/mysqladmin: connect to server at 'localhost' failed -error: 'Can't connect to local server through socket '/tmp/tmp.3v6yQNfDmN/mysql.sock' (2)' -Check that mariadbd is running and that the socket: '/tmp/tmp.3v6yQNfDmN/mysql.sock' exists! -+ sleep 3 -2026-10-01 7:30:05 0 [Note] mysqld: Event Scheduler: Loaded 0 events +2025-08-30 3:08:16 0 [Warning] failed to retrieve the MAC address +2025-08-30 3:08:16 0 [Note] Starting MariaDB 11.8.3-MariaDB-1+b1 from Debian source revision b565b3e7e041c480fd8013e3beec6b99544d6bf8 server_uid unknown as process 588283 +2025-08-30 3:08:16 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. +2025-08-30 3:08:16 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. +2025-08-30 3:08:16 0 [Warning] WSREP: Guessing address for incoming client connections failed. Try setting wsrep_node_incoming_address explicitly. +2025-08-30 3:08:16 0 [Note] WSREP: Node addr: +2025-08-30 3:08:16 0 [Note] InnoDB: Compressed tables use zlib 1.3.1 +2025-08-30 3:08:16 0 [Note] InnoDB: Number of transaction pools: 1 +2025-08-30 3:08:16 0 [Note] InnoDB: Using ARMv8 crc32 + pmull instructions +2025-08-30 3:08:16 0 [Note] InnoDB: Using io_uring +2025-08-30 3:08:16 0 [Note] InnoDB: innodb_buffer_pool_size_max=128m, innodb_buffer_pool_size=128m +2025-08-30 3:08:16 0 [Note] InnoDB: Completed initialization of buffer pool +2025-08-30 3:08:16 0 [Note] InnoDB: Buffered log writes (block size=512 bytes) +2025-08-30 3:08:16 0 [Note] InnoDB: End of log at LSN=46300 +2025-08-30 3:08:16 0 [Note] InnoDB: Opened 3 undo tablespaces +2025-08-30 3:08:16 0 [Note] InnoDB: 128 rollback segments in 3 undo tablespaces are active. +2025-08-30 3:08:16 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ... +2025-08-30 3:08:16 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB. +2025-08-30 3:08:16 0 [Note] InnoDB: log sequence number 46300; transaction id 14 +2025-08-30 3:08:16 0 [Note] Plugin 'FEEDBACK' is disabled. +2025-08-30 3:08:16 0 [Note] Plugin 'wsrep-provider' is disabled. +2025-08-30 3:08:16 0 [Note] InnoDB: Loading buffer pool(s) from /tmp/tmp.xBKn0EMcwT/ib_buffer_pool +2025-08-30 3:08:16 0 [Note] InnoDB: Buffer pool(s) load completed at 250830 3:08:16 +2025-08-30 3:08:18 0 [Note] mysqld: Event Scheduler: Loaded 0 events 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 -2026-10-01 7:30:05 0 [Note] /usr/sbin/mysqld: ready for connections. -Version: '11.8.3-MariaDB-1+b1 from Debian' socket: '/tmp/tmp.3v6yQNfDmN/mysql.sock' port: 0 -- Please help get to 10k stars at https://github.com/MariaDB/Server -+ attempts=2 -+ [ 2 -gt 10 ] -+ /usr/bin/mysqladmin --user=pbuilder1 --socket=/tmp/tmp.3v6yQNfDmN/mysql.sock ping +2025-08-30 3:08:18 0 [Note] /usr/sbin/mysqld: ready for connections. +Version: '11.8.3-MariaDB-1+b1 from Debian' socket: '/tmp/tmp.xBKn0EMcwT/mysql.sock' port: 0 -- Please help get to 10k stars at https://github.com/MariaDB/Server ++ attempts=1 ++ '[' 1 -gt 10 ']' ++ /usr/bin/mysqladmin --user=pbuilder2 --socket=/tmp/tmp.xBKn0EMcwT/mysql.sock ping mysqld is alive + trap cleanup INT EXIT TERM + ruby3.3 -S rspec :286: warning: double_heap is deprecated, please use expand_heap instead EventMachine not installed, skipping the specs that use it -Randomized with seed 58401 +Randomized with seed 51354 -Mysql2::Error - responds to error_number and sql_state, with aliases +Mysql2::Client + should respond to #close + should expect connect_timeout to be a positive integer + #thread_id should be a Fixnum + should respond to #socket + should respond to #warning_count + should execute init command + #server_info should return a hash containing the client version ID and String + #thread_id should return a boolean + should not try to query closed mysql connection + should respond to #escape + should expect read_timeout to be a positive integer + should respond to #server_info + should raise an exception on non-string encodings +2025-08-30 3:08:19 23 [Warning] Access denied for user 'asdfasdf8d2h'@'localhost' (using password: YES) + should raise a Mysql2::Error::ConnectionError exception upon connection failure due to invalid credentials + should respond to #query + should respond to #ping + #server_info should require an open connection + should raise an exception on create for invalid encodings + should not leave dangling connections after garbage collection + should not raise an exception on create for a valid encoding + should parse flags string + should respond to #info + should be able to connect using plaintext password + should allow nil read_timeout + should raise a Mysql::Error::ConnectionError upon connection failure + should set default program_name in connect_attrs (PENDING: Temporarily skipped with xit) + should terminate connections when calling close + should expect write_timeout to be a positive integer + should have a global default_query_options hash + should respond to #encoding + should default flags to (REMEMBER_OPTIONS, LONG_PASSWORD, LONG_FLAG, TRANSACTIONS, PROTOCOL_41, SECURE_CONNECTION) + should send init_command after reconnect + #info should return a hash containing the client version ID and String + should set custom connect_attrs (PENDING: Temporarily skipped with xit) + should be able to close properly + should respond to escape + should parse flags array + should respond to #query_info + should accept connect flags and pass them to #connect + should respond to #thread_id + should be able to connect to database with numeric-only name + #automatic_close + is enabled by default + can be configured + can be assigned + should not close connections when running in a child process + #warning_count + when no warnings + should 0 + when has a warnings + should > 0 + 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 + :local_infile + should raise an error when a non-existent file is loaded + should raise an error when local_infile is disabled + should LOAD DATA LOCAL INFILE + #query_info + when no info present + should 0 + when has some info + should retrieve it + #set_server_option + returns true when multi_statements is disable + returns false when multi_statements is neither OPTION_MULTI_STATEMENTS_OFF or OPTION_MULTI_STATEMENTS_ON + returns true when multi_statements is enable + disables multiple-statement + enables multiple-statement + #escape + should return the passed string if nothing was escaped + should not overflow the thread stack + should not overflow the process stack + should require an open connection + 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 + escape + should not overflow the thread stack + should not overflow the process stack + should carry over the original string's encoding + should return the passed string if nothing was escaped + should return a new SQL-escape version of the passed string + strings returned by #server_info + should use Encoding.default_internal + should default to the connection's encoding if Encoding.default_internal is nil + select_db + should raise a Mysql2::Error when the database doesn't exist + should return the database switched to + should respond to #select_db + should switch databases + SSL + should set ssl_mode option disabled (PENDING: DON'T WORRY, THIS TEST PASSES - but /etc/mysql/client-key.pem does not exist.) + should set ssl_mode option required (PENDING: DON'T WORRY, THIS TEST PASSES - but /etc/mysql/client-key.pem does not exist.) + should set ssl_mode option verify_identity (PENDING: DON'T WORRY, THIS TEST PASSES - but /etc/mysql/client-key.pem does not exist.) + should be able to connect via SSL options (PENDING: DON'T WORRY, THIS TEST PASSES - but /etc/mysql/client-key.pem does not exist.) + session_track + returns changes system variables for SESSION_TRACK_SYSTEM_VARIABLES + returns empty array if session track type not found + returns database name for SESSION_TRACK_SCHEMA + returns valid transaction state inside a transaction + returns multiple session track type values when available + #query + should require an open connection + should timeout if we wait longer than :read_timeout + should describe the thread holding the active query +2025-08-30 3:08:21 133 [Warning] Aborted connection 133 to db: 'test' user: 'pbuilder2' host: 'localhost' (Got an error writing communication packets) + should detect closed connection on query read error + threaded queries should be supported + should be able to return results with symbolized keys + should return results as a hash by default + #socket should require an open connection + should be able to return results as an array + should only accept strings as the query parameter + should not allow another query to be sent without fetching a result first +2025-08-30 3:08:22 149 [Warning] Aborted connection 149 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 let you query again if iterating is finished when streaming + should run signal handlers while waiting for a response + should allow changing query options for subsequent queries + #socket should return a Fixnum (file descriptor from C) + evented async queries should be supported + should not retain query options set on a query for subsequent queries, but should retain it in the result + when a non-standard exception class is raised + should handle Timeouts without leaving the connection hanging if reconnect is true + 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 + Multiple results sets + should raise an exception when one of multiple statements fails +2025-08-30 3:08:23 167 [Warning] Aborted connection 167 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 + #abandon_results! should work + #more_results? should work with stored procedures + does not interfere with other statements + returns multiple result sets + #closed? + should return false when connected + should return true after close + 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 + strings returned by #info + should be tagged as ascii Mysql2::Result should respond to #count, which is aliased as #size should raise a Mysql2::Error exception upon a bad query + should have included Enumerable 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 should respond to #free + should raise a TypeError exception when it doesn't wrap a result set + metadata queries + should show tables 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 #each - should yield rows as hash's + should not cache previously yielded results if cache_rows is disabled + should yield different value for #first if streaming should yield the same value for #first if streaming is disabled + should yield rows as hash's should throw an exception if we try to iterate twice when streaming is enabled - should be able to return results as an array - should not cache previously yielded results if cache_rows is disabled should cache previously yielded results by default - should yield different value for #first if streaming - should be able to iterate a second time even if cache_rows is disabled should yield rows as hash's with symbol keys if :symbolize_keys was set to true + should be able to iterate a second time even if cache_rows is disabled + should be able to return results as an array + 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 + should maintain a count while streaming + should not yield nil at the end of streaming row data type mapping - should return String for a BIT(64) value - should return String for an ENUM value - should return Date for a DATE value - should return a String for MEDIUMBLOB should return a String for VARBINARY + should return Fixnum for a YEAR value + should return Fixnum for a SMALLINT value + should return Time when timestamp is < 1901-12-13 20:45:52 should return a String for TEXT - should return Float for a FLOAT value - should return a String for VARCHAR - should return Fixnum for a MEDIUMINT value + should return String for a BIT(64) value + should return Time when timestamp is > 2038-01-19T03:14:07 + should return BigDecimal for a DECIMAL value should return a String for MEDIUMTEXT - should return nil for a NULL value - should return Float for a DOUBLE 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 BINARY value should return a String for LONGTEXT - should return a String for TINYBLOB - should return a String for TINYTEXT - should return Time when timestamp is > 2038-01-19T03:14:07 should return String for a SET value - 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 CHAR - should return Fixnum for a YEAR value - should return Fixnum for a BIGINT value - should return Time when timestamp is < 1901-12-13 20:45:52 - should return Time for a TIME value - should return BigDecimal for a DECIMAL value + should return a String for BLOB should raise an error given an invalid DATETIME - should return String for a BINARY value - should return String for a BIT(1) value + should return Float for a FLOAT value should return a String for LONGBLOB + should return a String for VARCHAR + should return Float for a DOUBLE value + should return String for an ENUM value + should return Time for a DATETIME value when within the supported range + should return String for a BIT(1) value + should return Fixnum for an INT value + should return a String for TINYTEXT + should return nil for a NULL value + should return a String for MEDIUMBLOB should return nil values for NULL and strings for everything else when :cast is false - should return a String for BLOB + should return a String for TINYBLOB + should return Fixnum for a MEDIUMINT value + should return Fixnum for a BIGINT value + should return a String for CHAR + should return Fixnum for a TINYINT value + should return Time for a TIMESTAMP value when within the supported range + should return Date for a DATE value string encoding for BLOB values should default to binary if Encoding.default_internal is nil should not use Encoding.default_internal - string encoding for TEXT values - should use Encoding.default_internal - should default to utf-8 if Encoding.default_internal is nil - string encoding for BINARY values - should default to binary if Encoding.default_internal is nil + string encoding for VARBINARY values should not use Encoding.default_internal - string encoding for CHAR values - should use Encoding.default_internal - should default to utf-8 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 SET 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 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 + string encoding for TINYBLOB values + should default to binary if Encoding.default_internal is nil + should not 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 VARCHAR 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 TINYTEXT values + string encoding for LONGTEXT values should use Encoding.default_internal should default to utf-8 if Encoding.default_internal is nil - string encoding for TINYBLOB values - should not use Encoding.default_internal + string encoding for TEXT values + should use Encoding.default_internal + should default to utf-8 if Encoding.default_internal is nil + string encoding for MEDIUMTEXT values + should default to utf-8 if Encoding.default_internal is nil + should 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 + 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 TINYTEXT values + should use Encoding.default_internal + should default to utf-8 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 ENUM values - should use Encoding.default_internal - should default to the connection's encoding if Encoding.default_internal is nil - string encoding for LONGTEXT 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 - should default to utf-8 if Encoding.default_internal is nil #field_types - should return correct types + should return an array of field types in proper order method should exist should return json type on mysql 8.0 - should return an array of field types in proper order + should return correct types #fields - should return an array of field names in proper order method should exist should return an array of frozen strings - metadata queries - should show tables - streaming - should maintain a count while streaming - should retain the count when mixing first and each - #count should be zero for rows after streaming when there were no results - 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) - -Mysql2::Client - should expect connect_timeout to be a positive integer - #server_info should require an open connection - should default flags to (REMEMBER_OPTIONS, LONG_PASSWORD, LONG_FLAG, TRANSACTIONS, PROTOCOL_41, SECURE_CONNECTION) - #thread_id should return a boolean - should respond to #encoding - should set default program_name in connect_attrs (PENDING: Temporarily skipped with xit) - should expect write_timeout to be a positive integer - should terminate connections when calling close - should accept connect flags and pass them to #connect - should respond to #query_info - #server_info should return a hash containing the client version ID and String - should respond to #info - #thread_id should be a Fixnum - should not raise an exception on create for a valid encoding - should allow nil read_timeout - should have a global default_query_options hash - should respond to #ping - should parse flags string - should respond to #socket - should respond to #warning_count - should not leave dangling connections after garbage collection - should be able to connect to database with numeric-only name - should be able to connect using plaintext password - should raise a Mysql::Error::ConnectionError upon connection failure - should execute init command - should respond to escape - should raise an exception on create for invalid encodings - should respond to #server_info - should parse flags array - should send init_command after reconnect - should raise an exception on non-string encodings - should expect read_timeout to be a positive integer -2026-10-01 7:30:09 164 [Warning] Access denied for user 'asdfasdf8d2h'@'localhost' (using password: YES) - should raise a Mysql2::Error::ConnectionError exception upon connection failure due to invalid credentials - should respond to #close - should respond to #query - should not try to query closed mysql connection - #info should return a hash containing the client version ID and String - should be able to close properly - should respond to #escape - should respond to #thread_id - should set custom connect_attrs (PENDING: Temporarily skipped with xit) - #query - should require an open connection - should detect closed connection on query read error - threaded queries should be supported - should allow changing query options for subsequent queries - should not allow another query to be sent without fetching a result first -2026-10-01 7:30:10 184 [Warning] Aborted connection 184 to db: 'test' user: 'pbuilder1' host: 'localhost' (Got an error writing communication packets) - #socket should return a Fixnum (file descriptor from C) - should run signal handlers while waiting for a response - should only accept strings as the query parameter - evented async queries should be supported -2026-10-01 7:30:11 189 [Warning] Aborted connection 189 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 be able to return results as an array - should be able to return results with symbolized keys - should return results as a hash by default - #socket 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 - should describe the thread holding the active query - should timeout if we wait longer than :read_timeout - when a non-standard exception class is raised -2026-10-01 7:30:11 198 [Warning] Aborted connection 198 to db: 'test' user: 'pbuilder1' host: 'localhost' (Got an error writing communication packets) - 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 - should handle Timeouts without leaving the connection hanging if reconnect is true - Multiple results sets - #more_results? should work - returns multiple result sets - does not interfere with other statements - #abandon_results! should work - #more_results? should work with stored procedures - will raise on query if there are outstanding results to read -2026-10-01 7:30:11 218 [Warning] Aborted connection 218 to db: 'test' user: 'pbuilder1' host: 'localhost' (Got an error reading communication packets) - should raise an exception when one of multiple statements fails - strings returned by .info - should be tagged as ascii - #closed? - should return true after close - should return false when connected - #escape - should not overflow the process stack - should return a new SQL-escape version of the passed string - should return the passed string if nothing was escaped - should not overflow the thread stack - should require an open connection - when mysql encoding is not utf8 - should return a internal encoding string if Encoding.default_internal is set - using defaults file - should not raise an exception for valid defaults group - should not raise an exception without default group - strings returned by #info - should be tagged as ascii - 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 - should respond to #last_id - should respond to #last_id - #last_id should return a Fixnum, the from the last INSERT/UPDATE - session_track - returns valid transaction state inside a transaction - returns multiple session track type values when available - returns database name for SESSION_TRACK_SCHEMA - returns empty array if session track type not found - returns changes system variables for SESSION_TRACK_SYSTEM_VARIABLES - SSL - should set ssl_mode option disabled (PENDING: DON'T WORRY, THIS TEST PASSES - but /etc/mysql/client-key.pem does not exist.) - should set ssl_mode option required (PENDING: DON'T WORRY, THIS TEST PASSES - but /etc/mysql/client-key.pem does not exist.) - 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 set ssl_mode option verify_identity (PENDING: DON'T WORRY, THIS TEST PASSES - but /etc/mysql/client-key.pem does not exist.) - #warning_count - when has a warnings - should > 0 - when no warnings - should 0 - select_db - should return the database switched to - should switch databases - should raise a Mysql2::Error when the database doesn't exist - should respond to #select_db - escape - should not overflow the thread stack - should not overflow the process stack - should return the passed string if nothing was escaped - should carry over the original string's encoding - should return a new SQL-escape version of the passed string - #query_info - when no info present - should 0 - when has some info - should retrieve it - :local_infile - should raise an error when a non-existent file is loaded - should raise an error when local_infile is disabled - should LOAD DATA LOCAL INFILE - #automatic_close - can be configured -2026-10-01 7:30:12 199 [Warning] Aborted connection 199 to db: 'test' user: 'pbuilder1' host: 'localhost' (Got an error writing communication packets) -2026-10-01 7:30:12 201 [Warning] Aborted connection 201 to db: 'test' user: 'pbuilder1' host: 'localhost' (Got an error writing communication packets) -2026-10-01 7:30:12 202 [Warning] Aborted connection 202 to db: 'test' user: 'pbuilder1' host: 'localhost' (Got an error writing communication packets) -2026-10-01 7:30:12 205 [Warning] Aborted connection 205 to db: 'test' user: 'pbuilder1' host: 'localhost' (Got an error writing communication packets) - should not close connections when running in a child process - is enabled by default - can be assigned - #set_server_option - returns true when multi_statements is enable - returns true when multi_statements is disable - enables multiple-statement - returns false when multi_statements is neither OPTION_MULTI_STATEMENTS_OFF or OPTION_MULTI_STATEMENTS_ON - disables multiple-statement - strings returned by #server_info - should default to the connection's encoding if Encoding.default_internal is nil - should use Encoding.default_internal + should return an array of field names in proper order Mysql2::Statement - should be reusable 10000 times - should accept bind arguments and keyword arguments on statement execute - should accept keyword arguments on statement execute - should handle bignum but beyond int64_t - should prepare Date values - should create a statement (PENDING: Temporarily skipped with xit) - should handle comparisons and likes + should update a DECIMAL value passing a BigDecimal should be reusable 1000 times - should raise an exception without a block - should handle booleans + should select dates + should tell us the result count should warn but still work if cache_rows is set to false - should prepare Time values with microseconds should let us execute our statement should keep its result after other query - should handle bignum but in int64_t - should update a DECIMAL value passing a BigDecimal - should handle as a decimal binding a BigDecimal - should prepare DateTime values with microseconds + should raise an exception when server disconnects + should handle comparisons and likes + should accept bind arguments and keyword arguments on statement execute + should raise an exception without a block should tell us the param count + should prepare Time values with microseconds should let us iterate over results - should tell us the result count - should select dates + should prepare DateTime values with microseconds + should accept keyword arguments on statement execute + should handle bignum but beyond int64_t + should create a statement (PENDING: Temporarily skipped with xit) + should handle booleans +2025-08-30 3:08:24 157 [Warning] Aborted connection 157 to db: 'test' user: 'pbuilder2' host: 'localhost' (Got an error writing communication packets) +2025-08-30 3:08:24 160 [Warning] Aborted connection 160 to db: 'test' user: 'pbuilder2' host: 'localhost' (Got an error writing communication packets) + should be reusable 10000 times should tell us about the fields + should handle bignum but in int64_t + should handle as a decimal binding a BigDecimal should tell us the field count - should raise an exception when server disconnects - #each - should yield rows as hash's - should cache previously yielded results by default - should yield the same value for #first if streaming is disabled -/build/reproducible-path/ruby-mysql2-0.5.5/spec/mysql2/statement_spec.rb:311: warning: :cache_rows is ignored if :stream is true -/build/reproducible-path/ruby-mysql2-0.5.5/spec/mysql2/statement_spec.rb:311: 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 throw an exception if we try to iterate twice when streaming is enabled - should be able to return results as an array - last_id - should handle bigint ids - should return last insert id - affected_rows - should return number of rows affected by an update - should return number of rows affected by a delete - should return number of rows affected by an insert + should prepare Date values + utf8_db + should be able to retrieve utf8 field names correctly + should be able to retrieve utf8 param query correctly + should be able to retrieve query with param in different encoding correctly row data type mapping - should return a String for LONGBLOB +2025-08-30 3:08:24 161 [Warning] Aborted connection 161 to db: 'test' user: 'pbuilder2' host: 'localhost' (Got an error writing communication packets) + should return Time when timestamp is < 1901-12-13 20:45:52 should return Fixnum for a YEAR value - should return String for an ENUM value - should return a String for TEXT - should return Time when timestamp is > 2038-01-19T03:14:07 - should return String for a BIT(1) value - should return a String for MEDIUMTEXT - should return Fixnum for an INT value should return Fixnum for a BIGINT value - should return String for a SET value - should return a String for BLOB - should return Date for a DATE value should return String for a BIT(64) value - should return Float for a DOUBLE value - should return Time for a TIMESTAMP value when within the supported range - should return BigDecimal for a DECIMAL value - should return a String for CHAR - should return Fixnum for a TINYINT value - should return a String for MEDIUMBLOB - should return Time when timestamp is < 1901-12-13 20:45:52 - should return Fixnum for a MEDIUMINT value - should return String for a BINARY value should return Time for a DATETIME value when within the supported range + should return a String for BLOB + should return Float for a DOUBLE value + should return a String for MEDIUMTEXT should return nil for a NULL value - should return Float for a FLOAT value - should return a String for LONGTEXT + should return Fixnum for a MEDIUMINT value + should return Fixnum for an INT value + should return a String for LONGBLOB should return a String for TINYTEXT should return Time for a TIME value + should return a String for MEDIUMBLOB + should return String for a BINARY value + should return String for a SET value + should return Time for a TIMESTAMP value when within the supported range should raise an error given an invalid DATETIME - should return a String for TINYBLOB + should return a String for LONGTEXT should return a String for VARCHAR - should return a String for VARBINARY + should return a String for CHAR should return Fixnum for a SMALLINT value + should return String for a BIT(1) value + should return a String for VARBINARY + should return Float for a FLOAT value + should return Date for a DATE value + should return a String for TEXT + should return Fixnum for a TINYINT value + should return Time when timestamp is > 2038-01-19T03:14:07 + should return a String for TINYBLOB + should return BigDecimal for a DECIMAL value + should return String for an ENUM value + string encoding for TINYBLOB 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 VARCHAR values + should use Encoding.default_internal + should default to utf-8 if Encoding.default_internal is nil + string encoding for VARBINARY 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 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 + 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 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 - string encoding for VARBINARY values - 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 TEXT values + should default to utf-8 if Encoding.default_internal is nil + should use Encoding.default_internal + string encoding for CHAR 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 LONGBLOB values should default to binary if Encoding.default_internal is nil should not use Encoding.default_internal string encoding for MEDIUMBLOB values - should default to binary if Encoding.default_internal is nil should not use Encoding.default_internal - string encoding for TINYBLOB 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 SET values - should use Encoding.default_internal - should default to the connection's encoding if Encoding.default_internal is nil string encoding for ENUM values should use Encoding.default_internal +2025-08-30 3:08:24 163 [Warning] Aborted connection 163 to db: 'test' user: 'pbuilder2' host: 'localhost' (Got an error writing communication packets) 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 TEXT values - should use Encoding.default_internal - should default to utf-8 if Encoding.default_internal is nil - string encoding for LONGTEXT 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 - should default to utf-8 if Encoding.default_internal is nil - should use Encoding.default_internal - streaming result - should be able to stream query result + last_id + should return last insert id + should handle bigint ids + close + should free server resources (PENDING: Temporarily skipped with xit) + should raise an error on subsequent execution + affected_rows + should return number of rows affected by an update + should return number of rows affected by a delete + should return number of rows affected by an insert + #each +/build/reproducible-path/ruby-mysql2-0.5.5/spec/mysql2/statement_spec.rb:311: warning: :cache_rows is ignored if :stream is true +/build/reproducible-path/ruby-mysql2-0.5.5/spec/mysql2/statement_spec.rb:311: warning: :cache_rows is ignored if :stream is true + should yield different value for #first if streaming + should throw an exception if we try to iterate twice when streaming is enabled + should cache previously yielded results by default + 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 yield the same value for #first if streaming is disabled + should yield rows as hash's #fields - method should exist should return an array of field names in proper order + method should exist should return nil for statement with no result fields - 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 - close - should raise an error on subsequent execution - should free server resources (PENDING: Temporarily skipped with xit) + streaming result + should be able to stream query result -Pending: (Failures listed here are expected and do not affect your suite's status) +Mysql2::Error + responds to error_number and sql_state, with aliases - 1) Mysql2::Result streaming should raise an exception if streaming ended due to a timeout - # Temporarily skipped with xit - # ./spec/mysql2/result_spec.rb:240 +Pending: (Failures listed here are expected and do not affect your suite's status) - 2) Mysql2::Client should set default program_name in connect_attrs + 1) Mysql2::Client should set default program_name in connect_attrs # Temporarily skipped with xit # ./spec/mysql2/client_spec.rb:522 - 3) Mysql2::Client should set custom connect_attrs + 2) Mysql2::Client should set custom connect_attrs # Temporarily skipped with xit # ./spec/mysql2/client_spec.rb:532 - 4) Mysql2::Client SSL should set ssl_mode option disabled + 3) Mysql2::Client SSL should set ssl_mode option disabled + # DON'T WORRY, THIS TEST PASSES - but /etc/mysql/client-key.pem does not exist. + # ./spec/mysql2/client_spec.rb:180 + + 4) Mysql2::Client SSL should set ssl_mode option required # DON'T WORRY, THIS TEST PASSES - but /etc/mysql/client-key.pem does not exist. # ./spec/mysql2/client_spec.rb:180 - 5) Mysql2::Client SSL should set ssl_mode option required + 5) Mysql2::Client SSL should set ssl_mode option verify_identity # DON'T WORRY, THIS TEST PASSES - but /etc/mysql/client-key.pem does not exist. # ./spec/mysql2/client_spec.rb:180 @@ -1715,9 +1744,9 @@ # DON'T WORRY, THIS TEST PASSES - but /etc/mysql/client-key.pem does not exist. # ./spec/mysql2/client_spec.rb:193 - 7) Mysql2::Client SSL should set ssl_mode option verify_identity - # DON'T WORRY, THIS TEST PASSES - but /etc/mysql/client-key.pem does not exist. - # ./spec/mysql2/client_spec.rb:180 + 7) Mysql2::Result streaming should raise an exception if streaming ended due to a timeout + # Temporarily skipped with xit + # ./spec/mysql2/result_spec.rb:240 8) Mysql2::Statement should create a statement # Temporarily skipped with xit @@ -1727,22 +1756,22 @@ # Temporarily skipped with xit # ./spec/mysql2/statement_spec.rb:711 -Finished in 7.03 seconds (files took 0.39184 seconds to load) +Finished in 5.45 seconds (files took 0.18635 seconds to load) 328 examples, 0 failures, 9 pending -Randomized with seed 58401 +Randomized with seed 51354 + cleanup -+ /usr/bin/mysqladmin --user=pbuilder1 --socket=/tmp/tmp.3v6yQNfDmN/mysql.sock shutdown -2026-10-01 7:30:14 0 [Note] /usr/sbin/mysqld (initiated by: pbuilder1[pbuilder1] @ localhost []): Normal shutdown -2026-10-01 7:30:14 0 [Note] InnoDB: FTS optimize thread exiting. -2026-10-01 7:30:14 0 [Note] InnoDB: Starting shutdown... -2026-10-01 7:30:14 0 [Note] InnoDB: Dumping buffer pool(s) to /tmp/tmp.3v6yQNfDmN/ib_buffer_pool -2026-10-01 7:30:14 0 [Note] InnoDB: Buffer pool(s) dump completed at 261001 7:30:14 -2026-10-01 7:30:15 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" -2026-10-01 7:30:15 0 [Note] InnoDB: Shutdown completed; log sequence number 148053; transaction id 276 -2026-10-01 7:30:15 0 [Note] /usr/sbin/mysqld: Shutdown complete -+ rm -rf /tmp/tmp.3v6yQNfDmN ++ /usr/bin/mysqladmin --user=pbuilder2 --socket=/tmp/tmp.xBKn0EMcwT/mysql.sock shutdown +2025-08-30 3:08:25 0 [Note] /usr/sbin/mysqld (initiated by: pbuilder2[pbuilder2] @ localhost []): Normal shutdown +2025-08-30 3:08:25 0 [Note] InnoDB: FTS optimize thread exiting. +2025-08-30 3:08:25 0 [Note] InnoDB: Starting shutdown... +2025-08-30 3:08:25 0 [Note] InnoDB: Dumping buffer pool(s) to /tmp/tmp.xBKn0EMcwT/ib_buffer_pool +2025-08-30 3:08:25 0 [Note] InnoDB: Buffer pool(s) dump completed at 250830 3:08:25 +2025-08-30 3:08:25 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1" +2025-08-30 3:08:25 0 [Note] InnoDB: Shutdown completed; log sequence number 149645; transaction id 280 +2025-08-30 3:08:25 0 [Note] /usr/sbin/mysqld: Shutdown complete ++ rm -rf /tmp/tmp.xBKn0EMcwT ┌──────────────────────────────────────────────────────────────────────────────┐ │ dh_ruby --install finished │ @@ -1784,12 +1813,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/570405/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/570405/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/907096 and its subdirectories -I: Current time: Thu Oct 1 07:30:21 -12 2026 -I: pbuilder-time-stamp: 1790883021 +I: removing directory /srv/workspace/pbuilder/570405 and its subdirectories +I: Current time: Sat Aug 30 03:08:31 +14 2025 +I: pbuilder-time-stamp: 1756472911