Diff of the two buildlogs: -- --- b1/build.log 2021-07-31 18:50:12.739176683 +0000 +++ b2/build.log 2021-07-31 18:53:22.948023443 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Jul 31 06:40:42 -12 2021 -I: pbuilder-time-stamp: 1627756842 +I: Current time: Sat Sep 3 15:13:14 +14 2022 +I: pbuilder-time-stamp: 1662167594 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,8 +17,8 @@ I: copying [./ruby-mysql2_0.5.3-3.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.GghR9Lb3/trustedkeys.kbx': General error -gpgv: Signature made Tue Apr 27 00:57:48 2021 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.V7jtNl5U/trustedkeys.kbx': General error +gpgv: Signature made Wed Apr 28 02:57:48 2021 +14 gpgv: using RSA key 72972A83E526453DF2885F8155E9F9F7AC1C443F gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./ruby-mysql2_0.5.3-3.dsc @@ -35,137 +35,171 @@ dpkg-source: info: applying skip-test-that-depends-on-server.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/32424/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/50743/tmp/hooks/D01_modify_environment starting +debug: Running on ionos6-i386. +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 +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by 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/50743/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/50743/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=8' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=15' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='8f7380f4d12547ecb4c5bbceaee1d4e3' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='32424' - PS1='# ' - PS2='> ' + INVOCATION_ID=9b6a850401ac4b7aa53acf727234a825 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-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=50743 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/tmp.FpxA45Wx8P/pbuilderrc_4HMV --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.FpxA45Wx8P/b1 --logfile b1/build.log ruby-mysql2_0.5.3-3.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97: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/tmp.FpxA45Wx8P/pbuilderrc_x1xJ --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.FpxA45Wx8P/b2 --logfile b2/build.log --extrapackages usrmerge ruby-mysql2_0.5.3-3.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos12-i386 4.19.0-17-686-pae #1 SMP Debian 4.19.194-3 (2021-07-18) i686 GNU/Linux + Linux i-capture-the-hostname 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 GNU/Linux I: ls -l /bin - total 5780 - -rwxr-xr-x 1 root root 1367848 Jun 21 14:25 bash - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 17768 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 38824 Sep 22 2020 cat - -rwxr-xr-x 1 root root 71624 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 67528 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 75752 Sep 22 2020 chown - -rwxr-xr-x 1 root root 157960 Sep 22 2020 cp - -rwxr-xr-x 1 root root 128724 Dec 10 2020 dash - -rwxr-xr-x 1 root root 124904 Sep 22 2020 date - -rwxr-xr-x 1 root root 92172 Sep 22 2020 dd - -rwxr-xr-x 1 root root 100752 Sep 22 2020 df - -rwxr-xr-x 1 root root 153964 Sep 22 2020 dir - -rwxr-xr-x 1 root root 83644 Jul 28 07:09 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 34664 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 34664 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 71928 Jul 28 07:09 findmnt - -rwsr-xr-x 1 root root 30112 Feb 26 04:12 fusermount - -rwxr-xr-x 1 root root 210488 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 11:30 gzexe - -rwxr-xr-x 1 root root 100952 Mar 2 11:30 gzip - -rwxr-xr-x 1 root root 21916 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 83980 Sep 22 2020 ln - -rwxr-xr-x 1 root root 55572 Feb 7 2020 login - -rwxr-xr-x 1 root root 153964 Sep 22 2020 ls - -rwxr-xr-x 1 root root 153124 Jul 28 07:09 lsblk - -rwxr-xr-x 1 root root 96328 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 79912 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 47048 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 58920 Jul 28 07:09 more - -rwsr-xr-x 1 root root 50720 Jul 28 07:09 mount - -rwxr-xr-x 1 root root 13856 Jul 28 07:09 mountpoint - -rwxr-xr-x 1 root root 157996 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 03:38 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38824 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Jun 21 14:25 rbash -> bash - -rwxr-xr-x 1 root root 46984 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 75720 Sep 22 2020 rm - -rwxr-xr-x 1 root root 46984 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 22292 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 125036 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jul 27 21:25 sh -> dash - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 83880 Sep 22 2020 stty - -rwsr-xr-x 1 root root 79396 Jul 28 07:09 su - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sync - -rwxr-xr-x 1 root root 602584 Feb 16 21:55 tar - -rwxr-xr-x 1 root root 13860 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 108520 Sep 22 2020 touch - -rwxr-xr-x 1 root root 34664 Sep 22 2020 true - -rwxr-xr-x 1 root root 17768 Feb 26 04:12 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Jul 28 07:09 umount - -rwxr-xr-x 1 root root 34664 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 uncompress - -rwxr-xr-x 1 root root 153964 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 63024 Jul 28 07:09 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 11:30 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 11:30 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 11:30 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 11:30 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 11:30 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 11:30 zless - -rwxr-xr-x 1 root root 1842 Mar 2 11:30 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 11:30 znew -I: user script /srv/workspace/pbuilder/32424/tmp/hooks/D02_print_environment finished + total 5776 + -rwxr-xr-x 1 root root 1367848 Jun 22 2021 bash + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 17768 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 38824 Sep 23 2020 cat + -rwxr-xr-x 1 root root 71624 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 67528 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 75752 Sep 23 2020 chown + -rwxr-xr-x 1 root root 157960 Sep 23 2020 cp + -rwxr-xr-x 1 root root 128724 Dec 11 2020 dash + -rwxr-xr-x 1 root root 124904 Sep 23 2020 date + -rwxr-xr-x 1 root root 92172 Sep 23 2020 dd + -rwxr-xr-x 1 root root 100752 Sep 23 2020 df + -rwxr-xr-x 1 root root 153964 Sep 23 2020 dir + -rwxr-xr-x 1 root root 83644 Jul 29 2021 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 34664 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 34664 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 71928 Jul 29 2021 findmnt + -rwsr-xr-x 1 root root 30112 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 210488 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 100952 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 21916 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 83980 Sep 23 2020 ln + -rwxr-xr-x 1 root root 55572 Feb 8 2020 login + -rwxr-xr-x 1 root root 153964 Sep 23 2020 ls + -rwxr-xr-x 1 root root 153124 Jul 29 2021 lsblk + -rwxr-xr-x 1 root root 96328 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 79912 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 47048 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 58920 Jul 29 2021 more + -rwsr-xr-x 1 root root 50720 Jul 29 2021 mount + -rwxr-xr-x 1 root root 13856 Jul 29 2021 mountpoint + -rwxr-xr-x 1 root root 157996 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38824 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Jun 22 2021 rbash -> bash + -rwxr-xr-x 1 root root 46984 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 75720 Sep 23 2020 rm + -rwxr-xr-x 1 root root 46984 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 22292 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 125036 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Sep 3 15:13 sh -> bash + lrwxrwxrwx 1 root root 4 Aug 30 05:46 sh.distrib -> dash + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 83880 Sep 23 2020 stty + -rwsr-xr-x 1 root root 79396 Jul 29 2021 su + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sync + -rwxr-xr-x 1 root root 602584 Feb 17 2021 tar + -rwxr-xr-x 1 root root 13860 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 108520 Sep 23 2020 touch + -rwxr-xr-x 1 root root 34664 Sep 23 2020 true + -rwxr-xr-x 1 root root 17768 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Jul 29 2021 umount + -rwxr-xr-x 1 root root 34664 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 153964 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 63024 Jul 29 2021 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/50743/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -377,7 +411,7 @@ Get: 163 http://deb.debian.org/debian bullseye/main i386 ruby-rspec-expectations all 3.9.0c2e2m1s3-2 [89.9 kB] Get: 164 http://deb.debian.org/debian bullseye/main i386 ruby-rspec-mocks all 3.9.0c2e2m1s3-2 [81.4 kB] Get: 165 http://deb.debian.org/debian bullseye/main i386 ruby-rspec all 3.9.0c2e2m1s3-2 [8348 B] -Fetched 65.8 MB in 19s (3485 kB/s) +Fetched 65.8 MB in 1s (68.0 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 19675 files and directories currently installed.) @@ -1076,9 +1110,41 @@ Building dependency tree... Reading state information... fakeroot is already the newest version (1.25.3-1.1). -0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. +The following additional packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl +The following NEW packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge +0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. +Need to get 59.5 kB of archives. +After this operation, 157 kB of additional disk space will be used. +Get:1 http://deb.debian.org/debian bullseye/main i386 libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main i386 libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main i386 libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main i386 usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 0s (3550 kB/s) +Selecting previously unselected package libnumber-compare-perl. +(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 ... 28359 files and directories currently installed.) +Preparing to unpack .../libnumber-compare-perl_0.03-1.1_all.deb ... +Unpacking libnumber-compare-perl (0.03-1.1) ... +Selecting previously unselected package libtext-glob-perl. +Preparing to unpack .../libtext-glob-perl_0.11-1_all.deb ... +Unpacking libtext-glob-perl (0.11-1) ... +Selecting previously unselected package libfile-find-rule-perl. +Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... +Unpacking libfile-find-rule-perl (0.34-1) ... +Selecting previously unselected package usrmerge. +Preparing to unpack .../archives/usrmerge_25_all.deb ... +Unpacking usrmerge (25) ... +Setting up libtext-glob-perl (0.11-1) ... +Setting up libnumber-compare-perl (0.03-1.1) ... +Setting up libfile-find-rule-perl (0.34-1) ... +Setting up usrmerge (25) ... +The system has been successfully converted. +Processing triggers for man-db (2.9.4-2) ... +Not building database; man-db/auto-update is not 'true'. I: Building the package -I: Running cd /build/ruby-mysql2-0.5.3/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/ruby-mysql2-0.5.3/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package ruby-mysql2 dpkg-buildpackage: info: source version 0.5.3-3 dpkg-buildpackage: info: source distribution unstable @@ -1118,14 +1184,14 @@ install -d /build/ruby-mysql2-0.5.3/debian/ruby-mysql2/usr/lib/ruby/vendor_ruby install -D -m644 /build/ruby-mysql2-0.5.3/lib/mysql2.rb /build/ruby-mysql2-0.5.3/debian/ruby-mysql2/usr/lib/ruby/vendor_ruby/mysql2.rb -install -D -m644 /build/ruby-mysql2-0.5.3/lib/mysql2/client.rb /build/ruby-mysql2-0.5.3/debian/ruby-mysql2/usr/lib/ruby/vendor_ruby/mysql2/client.rb -install -D -m644 /build/ruby-mysql2-0.5.3/lib/mysql2/version.rb /build/ruby-mysql2-0.5.3/debian/ruby-mysql2/usr/lib/ruby/vendor_ruby/mysql2/version.rb -install -D -m644 /build/ruby-mysql2-0.5.3/lib/mysql2/error.rb /build/ruby-mysql2-0.5.3/debian/ruby-mysql2/usr/lib/ruby/vendor_ruby/mysql2/error.rb +install -D -m644 /build/ruby-mysql2-0.5.3/lib/mysql2/em.rb /build/ruby-mysql2-0.5.3/debian/ruby-mysql2/usr/lib/ruby/vendor_ruby/mysql2/em.rb install -D -m644 /build/ruby-mysql2-0.5.3/lib/mysql2/statement.rb /build/ruby-mysql2-0.5.3/debian/ruby-mysql2/usr/lib/ruby/vendor_ruby/mysql2/statement.rb +install -D -m644 /build/ruby-mysql2-0.5.3/lib/mysql2/version.rb /build/ruby-mysql2-0.5.3/debian/ruby-mysql2/usr/lib/ruby/vendor_ruby/mysql2/version.rb +install -D -m644 /build/ruby-mysql2-0.5.3/lib/mysql2/console.rb /build/ruby-mysql2-0.5.3/debian/ruby-mysql2/usr/lib/ruby/vendor_ruby/mysql2/console.rb install -D -m644 /build/ruby-mysql2-0.5.3/lib/mysql2/result.rb /build/ruby-mysql2-0.5.3/debian/ruby-mysql2/usr/lib/ruby/vendor_ruby/mysql2/result.rb +install -D -m644 /build/ruby-mysql2-0.5.3/lib/mysql2/client.rb /build/ruby-mysql2-0.5.3/debian/ruby-mysql2/usr/lib/ruby/vendor_ruby/mysql2/client.rb +install -D -m644 /build/ruby-mysql2-0.5.3/lib/mysql2/error.rb /build/ruby-mysql2-0.5.3/debian/ruby-mysql2/usr/lib/ruby/vendor_ruby/mysql2/error.rb install -D -m644 /build/ruby-mysql2-0.5.3/lib/mysql2/field.rb /build/ruby-mysql2-0.5.3/debian/ruby-mysql2/usr/lib/ruby/vendor_ruby/mysql2/field.rb -install -D -m644 /build/ruby-mysql2-0.5.3/lib/mysql2/em.rb /build/ruby-mysql2-0.5.3/debian/ruby-mysql2/usr/lib/ruby/vendor_ruby/mysql2/em.rb -install -D -m644 /build/ruby-mysql2-0.5.3/lib/mysql2/console.rb /build/ruby-mysql2-0.5.3/debian/ruby-mysql2/usr/lib/ruby/vendor_ruby/mysql2/console.rb ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build native extensions for ruby2.7 │ @@ -1133,7 +1199,7 @@ /usr/bin/ruby2.7 /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb /build/ruby-mysql2-0.5.3 debian/ruby-mysql2 current directory: /build/ruby-mysql2-0.5.3/ext/mysql2 -["/usr/bin/ruby2.7", "-I", "/usr/lib/ruby/vendor_ruby", "-r", "./siteconf20210731-25961-cmox1c.rb", "extconf.rb"] +["/usr/bin/ruby2.7", "-I", "/usr/lib/ruby/vendor_ruby", "-r", "./siteconf20220903-56026-tp1oqb.rb", "extconf.rb"] checking for rb_absint_size()... yes checking for rb_absint_singlebit_p()... yes checking for rb_wait_for_single_fd()... yes @@ -1206,12 +1272,12 @@ current directory: /build/ruby-mysql2-0.5.3/ext/mysql2 ["make", "V=1", "CC=gcc -fdebug-prefix-map=/build/ruby-mysql2-0.5.3=.", "CXX=g++ -fdebug-prefix-map=/build/ruby-mysql2-0.5.3=.", "DESTDIR=", "install"] make[1]: Entering directory '/build/ruby-mysql2-0.5.3/ext/mysql2' -/bin/mkdir -p . ./.gem.20210731-25961-19g0v4h/mysql2 +/bin/mkdir -p . ./.gem.20220903-56026-15jcw1k/mysql2 exit > .sitearchdir.-.mysql2.time -/usr/bin/install -c -m 0755 mysql2.so ./.gem.20210731-25961-19g0v4h/mysql2 +/usr/bin/install -c -m 0755 mysql2.so ./.gem.20220903-56026-15jcw1k/mysql2 make[1]: Leaving directory '/build/ruby-mysql2-0.5.3/ext/mysql2' current directory: /build/ruby-mysql2-0.5.3/ext/mysql2 -/usr/bin/ruby2.7 -I /usr/lib/ruby/vendor_ruby -r ./siteconf20210731-25961-cmox1c.rb extconf.rb +/usr/bin/ruby2.7 -I /usr/lib/ruby/vendor_ruby -r ./siteconf20220903-56026-tp1oqb.rb extconf.rb current directory: /build/ruby-mysql2-0.5.3/ext/mysql2 make V\=1 CC\=gcc\ -fdebug-prefix-map\=/build/ruby-mysql2-0.5.3\=. CXX\=g++\ -fdebug-prefix-map\=/build/ruby-mysql2-0.5.3\=. DESTDIR\= clean current directory: /build/ruby-mysql2-0.5.3/ext/mysql2 @@ -1240,23 +1306,24 @@ RUBYLIB=/build/ruby-mysql2-0.5.3/debian/ruby-mysql2/usr/lib/i386-linux-gnu/ruby/vendor_ruby/2.7.0:/build/ruby-mysql2-0.5.3/debian/ruby-mysql2/usr/lib/ruby/vendor_ruby:. GEM_PATH=/build/ruby-mysql2-0.5.3/debian/ruby-mysql2/usr/share/rubygems-integration/2.7.0:/build/ruby-mysql2-0.5.3/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/2.7.0:/var/lib/gems/2.7.0:/usr/local/lib/ruby/gems/2.7.0:/usr/lib/ruby/gems/2.7.0:/usr/lib/i386-linux-gnu/ruby/gems/2.7.0:/usr/share/rubygems-integration/2.7.0:/usr/share/rubygems-integration/all:/usr/lib/i386-linux-gnu/rubygems-integration/2.7.0 ruby2.7 -S rake -f debian/ruby-tests.rake ./debian/start_mysqld_and_run.sh ruby2.7 -S rspec -+ mktemp -d -+ MYTEMP_DIR=/tmp/tmp.SHRC1iQnRQ -+ export MYSQL_UNIX_PORT=/tmp/tmp.SHRC1iQnRQ/mysql.sock -+ DO_MYSQL_USER=pbuilder1 +++ mktemp -d ++ MYTEMP_DIR=/tmp/tmp.Fw1oMr6KtT ++ export MYSQL_UNIX_PORT=/tmp/tmp.Fw1oMr6KtT/mysql.sock ++ MYSQL_UNIX_PORT=/tmp/tmp.Fw1oMr6KtT/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.SHRC1iQnRQ/mysql.sock -+ mysql_install_db --no-defaults --datadir=/tmp/tmp.SHRC1iQnRQ --force --skip-name-resolve --user=pbuilder1 ++ mysqladmin='/usr/bin/mysqladmin --user=pbuilder2 --socket=/tmp/tmp.Fw1oMr6KtT/mysql.sock' ++ mysql_install_db --no-defaults --datadir=/tmp/tmp.Fw1oMr6KtT --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.SHRC1iQnRQ' ... -2021-07-31 6:47:28 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. -2021-07-31 6:47:28 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. -2021-07-31 6:47:28 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.Fw1oMr6KtT' ... +2022-09-03 15:13:50 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. +2022-09-03 15:13:50 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. +2022-09-03 15:13:50 0 [Warning] WSREP: Guessing address for incoming client connections failed. Try setting wsrep_node_incoming_address explicitly. OK To start mysqld at boot time you have to copy @@ -1266,8 +1333,8 @@ 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 @@ -1275,7 +1342,7 @@ MySQL manual for more instructions. You can start the MariaDB daemon with: -cd '/usr' ; /usr/bin/mysqld_safe --datadir='/tmp/tmp.SHRC1iQnRQ' +cd '/usr' ; /usr/bin/mysqld_safe --datadir='/tmp/tmp.Fw1oMr6KtT' You can test the MariaDB daemon with mysql-test-run.pl cd '/usr/mysql-test' ; perl mysql-test-run.pl @@ -1289,327 +1356,176 @@ https://mariadb.org/get-involved/ + cat -+ MYSQL_PID=27140 ++ MYSQL_PID=56271 + echo -n pinging mysqld. -pinging mysqld.+ attempts=0 -+ /usr/bin/mysqladmin --user=pbuilder1 --socket=/tmp/tmp.SHRC1iQnRQ/mysql.sock ping -+ /usr/sbin/mysqld --no-defaults --user=pbuilder1 --socket=/tmp/tmp.SHRC1iQnRQ/mysql.sock --datadir=/tmp/tmp.SHRC1iQnRQ --skip-networking --init-file=/tmp/tmp.SHRC1iQnRQ/init.sql +pinging mysqld.+ /usr/sbin/mysqld --no-defaults --user=pbuilder2 --socket=/tmp/tmp.Fw1oMr6KtT/mysql.sock --datadir=/tmp/tmp.Fw1oMr6KtT --skip-networking --init-file=/tmp/tmp.Fw1oMr6KtT/init.sql ++ attempts=0 ++ /usr/bin/mysqladmin --user=pbuilder2 --socket=/tmp/tmp.Fw1oMr6KtT/mysql.sock ping /usr/bin/mysqladmin: connect to server at 'localhost' failed -error: 'Can't connect to local MySQL server through socket '/tmp/tmp.SHRC1iQnRQ/mysql.sock' (2)' -Check that mysqld is running and that the socket: '/tmp/tmp.SHRC1iQnRQ/mysql.sock' exists! +error: 'Can't connect to local MySQL server through socket '/tmp/tmp.Fw1oMr6KtT/mysql.sock' (2)' +Check that mysqld is running and that the socket: '/tmp/tmp.Fw1oMr6KtT/mysql.sock' exists! + sleep 3 -2021-07-31 6:47:32 0 [Note] /usr/sbin/mysqld (mysqld 10.5.11-MariaDB-1) starting as process 27140 ... -2021-07-31 6:47:32 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. -2021-07-31 6:47:32 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. -2021-07-31 6:47:32 0 [Warning] WSREP: Guessing address for incoming client connections failed. Try setting wsrep_node_incoming_address explicitly. -2021-07-31 6:47:32 0 [Note] WSREP: Node addr: -2021-07-31 6:47:32 0 [Note] InnoDB: Uses event mutexes -2021-07-31 6:47:32 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 -2021-07-31 6:47:32 0 [Note] InnoDB: Number of pools: 1 -2021-07-31 6:47:32 0 [Note] InnoDB: Using SSE4.2 crc32 instructions -2021-07-31 6:47:32 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts) -2021-07-31 6:47:32 0 [Note] InnoDB: Using Linux native AIO -2021-07-31 6:47:32 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728 -2021-07-31 6:47:32 0 [Note] InnoDB: Completed initialization of buffer pool -2021-07-31 6:47:32 0 [Note] InnoDB: 128 rollback segments are active. -2021-07-31 6:47:32 0 [Note] InnoDB: Creating shared tablespace for temporary tables -2021-07-31 6:47:32 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... -2021-07-31 6:47:32 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. -2021-07-31 6:47:32 0 [Note] InnoDB: 10.5.11 started; log sequence number 45106; transaction id 20 -2021-07-31 6:47:32 0 [Note] Plugin 'FEEDBACK' is disabled. -2021-07-31 6:47:32 0 [Note] InnoDB: Loading buffer pool(s) from /tmp/tmp.SHRC1iQnRQ/ib_buffer_pool -2021-07-31 6:47:32 0 [Note] InnoDB: Buffer pool(s) load completed at 210731 6:47:32 -2021-07-31 6:47:32 0 [Note] Reading of all Master_info entries succeeded -2021-07-31 6:47:32 0 [Note] Added new Master_info '' to hash table +2022-09-03 15:13:54 0 [Note] /usr/sbin/mysqld (mysqld 10.5.11-MariaDB-1) starting as process 56271 ... +2022-09-03 15:13:54 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. +2022-09-03 15:13:54 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. +2022-09-03 15:13:54 0 [Warning] WSREP: Guessing address for incoming client connections failed. Try setting wsrep_node_incoming_address explicitly. +2022-09-03 15:13:54 0 [Note] WSREP: Node addr: +2022-09-03 15:13:54 0 [Note] InnoDB: Uses event mutexes +2022-09-03 15:13:54 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 +2022-09-03 15:13:54 0 [Note] InnoDB: Number of pools: 1 +2022-09-03 15:13:54 0 [Note] InnoDB: Using SSE4.2 crc32 instructions +2022-09-03 15:13:54 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts) +2022-09-03 15:13:54 0 [Note] InnoDB: Using Linux native AIO +2022-09-03 15:13:54 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728 +2022-09-03 15:13:54 0 [Note] InnoDB: Completed initialization of buffer pool +2022-09-03 15:13:54 0 [Note] InnoDB: 128 rollback segments are active. +2022-09-03 15:13:54 0 [Note] InnoDB: Creating shared tablespace for temporary tables +2022-09-03 15:13:54 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... +2022-09-03 15:13:54 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. +2022-09-03 15:13:54 0 [Note] InnoDB: 10.5.11 started; log sequence number 45130; transaction id 20 +2022-09-03 15:13:54 0 [Note] Plugin 'FEEDBACK' is disabled. +2022-09-03 15:13:54 0 [Note] InnoDB: Loading buffer pool(s) from /tmp/tmp.Fw1oMr6KtT/ib_buffer_pool +2022-09-03 15:13:54 0 [Note] InnoDB: Buffer pool(s) load completed at 220903 15:13:54 +2022-09-03 15:13:54 0 [Note] Reading of all Master_info entries succeeded +2022-09-03 15:13:54 0 [Note] Added new Master_info '' to hash table 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 -2021-07-31 6:47:32 0 [Note] /usr/sbin/mysqld: ready for connections. -Version: '10.5.11-MariaDB-1' socket: '/tmp/tmp.SHRC1iQnRQ/mysql.sock' port: 0 Debian 11 +2022-09-03 15:13:54 0 [Note] /usr/sbin/mysqld: ready for connections. +Version: '10.5.11-MariaDB-1' socket: '/tmp/tmp.Fw1oMr6KtT/mysql.sock' port: 0 Debian 11 + attempts=1 -+ [ 1 -gt 10 ] -+ /usr/bin/mysqladmin --user=pbuilder1 --socket=/tmp/tmp.SHRC1iQnRQ/mysql.sock ping ++ '[' 1 -gt 10 ']' ++ /usr/bin/mysqladmin --user=pbuilder2 --socket=/tmp/tmp.Fw1oMr6KtT/mysql.sock ping mysqld is alive + trap cleanup INT EXIT TERM + ruby2.7 -S rspec EventMachine not installed, skipping the specs that use it -Randomized with seed 49366 +Randomized with seed 44438 -Mysql2::Client - should respond to escape - #thread_id should be a Fixnum - should respond to #socket - should parse flags string -/build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:90: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2. - should raise a Mysql::Error::ConnectionError upon connection failure - should not raise an exception on create for a valid encoding - should respond to #info -/build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:131: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2. - should send init_command after reconnect - should expect write_timeout to be a positive integer - should set default program_name in connect_attrs (PENDING: Temporarily skipped with xit) -2021-07-31 6:47:36 20 [Warning] Access denied for user 'asdfasdf8d2h'@'localhost' (using password: YES) -/build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:90: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2. - should raise a Mysql2::Error::ConnectionError exception upon connection failure due to invalid credentials - should respond to #query_info - should set custom connect_attrs (PENDING: Temporarily skipped with xit) - should accept connect flags and pass them to #connect - should execute init command - should respond to #close - should terminate connections when calling close - should allow nil read_timeout - should respond to #query - should be able to connect to database with numeric-only name - should expect read_timeout to be a positive integer - should expect connect_timeout to be a positive integer - should respond to #warning_count - #info should return a hash containing the client version ID and String - should be able to connect using plaintext password - should raise an exception on non-string encodings - should not try to query closed mysql connection - #server_info should return a hash containing the client version ID and String - should not leave dangling connections after garbage collection - should parse flags array - should respond to #escape - should be able to close properly - #server_info should require an open connection - should default flags to (REMEMBER_OPTIONS, LONG_PASSWORD, LONG_FLAG, TRANSACTIONS, PROTOCOL_41, SECURE_CONNECTION) - should respond to #ping - should respond to #server_info -/build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:90: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2. - should be able to connect via SSL options (PENDING: DON'T WORRY, THIS TEST PASSES - but /etc/mysql/client-key.pem does not exist.) - should have a global default_query_options hash - should respond to #thread_id - #thread_id should return a boolean - should raise an exception on create for invalid encodings - should respond to #encoding - escape - should return a new SQL-escape version of the passed string - should not overflow the thread stack - should return the passed string if nothing was escaped - should not overflow the process stack - should carry over the original string's encoding - #query - should describe the thread holding the active query - should run signal handlers while waiting for a response -/build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:131: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2. -2021-07-31 6:49:52 75 [Warning] Aborted connection 75 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 require an open connection - should return results as a hash by default - should not retain query options set on a query for subsequent queries, but should retain it in the result - threaded queries should be supported - should be able to return results as an array - #socket should require an open connection - should timeout if we wait longer than :read_timeout - should only accept strings as the query parameter -2021-07-31 6:49:53 88 [Warning] Aborted connection 88 to db: 'test' user: 'pbuilder1' host: 'localhost' (Got an error writing communication packets) - evented async queries should be supported - #socket should return a Fixnum (file descriptor from C) - should be able to return results with symbolized keys - should let you query again if iterating is finished when streaming - should not allow another query to be sent without fetching a result first -2021-07-31 6:49:53 94 [Warning] Aborted connection 94 to db: 'test' user: 'pbuilder1' host: 'localhost' (Got an error writing communication packets) -/build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:131: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2. - should detect closed connection on query read error - should allow changing query options for subsequent queries - 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 - #more_results? should work with stored procedures - returns multiple result sets - #more_results? should work -/build/ruby-mysql2-0.5.3/spec/mysql2/client_spec.rb:741: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2. - should raise an exception when one of multiple statements fails -/build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:131: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2. -2021-07-31 6:49:54 115 [Warning] Aborted connection 115 to db: 'test' user: 'pbuilder1' host: 'localhost' (Got an error reading communication packets) - will raise on query if there are outstanding results to read - #abandon_results! should work - does not interfere with other statements - select_db - should respond to #select_db - should return the database switched to -/build/ruby-mysql2-0.5.3/spec/mysql2/client_spec.rb:1059: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2. - should raise a Mysql2::Error when the database doesn't exist -2021-07-31 6:49:54 99 [Warning] Aborted connection 99 to db: 'test' user: 'pbuilder1' host: 'localhost' (Got an error writing communication packets) - should switch databases - :local_infile -2021-07-31 6:49:54 100 [Warning] Aborted connection 100 to db: 'test' user: 'pbuilder1' host: 'localhost' (Got an error writing communication packets) -/build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:131: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2. - should raise an error when local_infile is disabled -/build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:131: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2. - should raise an error when a non-existent file is loaded - should LOAD DATA LOCAL INFILE - #automatic_close -2021-07-31 6:49:54 103 [Warning] Aborted connection 103 to db: 'test' user: 'pbuilder1' host: 'localhost' (Got an error writing communication packets) -2021-07-31 6:49:54 105 [Warning] Aborted connection 105 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 - can be assigned - is enabled by default - #query_info - when no info present - should 0 - when has some info - should retrieve it - strings returned by .info - should be tagged as ascii - strings returned by #info - should be tagged as ascii - strings returned by #server_info - should default to the connection's encoding if Encoding.default_internal is nil - should use Encoding.default_internal - #escape - should return the passed string if nothing was escaped - should not overflow the thread stack - should return a new SQL-escape version of the passed string - should not overflow the process stack - should require an open connection - when mysql encoding is not utf8 - should return a internal encoding string if Encoding.default_internal is set - write operations api - should respond to #last_id - should respond to #last_id - #last_id should return a Fixnum, the from the last INSERT/UPDATE - #last_id should return a Fixnum, the from the last INSERT/UPDATE - #last_id should handle BIGINT auto-increment ids above 32 bits - #set_server_option - enables multiple-statement +Mysql2::Error /build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:131: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2. - disables multiple-statement - returns false when multi_statements is neither OPTION_MULTI_STATEMENTS_OFF or OPTION_MULTI_STATEMENTS_ON - returns true when multi_statements is enable - returns true when multi_statements is disable - using defaults file - should not raise an exception for valid defaults group - should not raise an exception without default group - #warning_count - when has a warnings - should > 0 - when no warnings - should 0 - #closed? - should return true after close - should return false when connected + responds to error_number and sql_state, with aliases Mysql2::Statement - should select dates - should prepare Date values - should prepare Time values with microseconds - should keep its result after other query - should tell us the field count - should handle bignum but beyond int64_t - should let us iterate over results - should let us execute our statement - should tell us the param count - should raise an exception without a block - should be reusable 10000 times - should accept bind arguments and keyword arguments on statement execute - should tell us about the fields - should accept keyword arguments on statement execute + should raise an exception when server disconnects should handle bignum but in int64_t should update a DECIMAL value passing a BigDecimal + should keep its result after other query should warn but still work if cache_rows is set to false - should create a statement (PENDING: Temporarily skipped with xit) - should raise an exception when server disconnects + should accept keyword arguments on statement execute should tell us the result count - should handle comparisons and likes + should handle bignum but beyond int64_t should handle booleans + should accept bind arguments and keyword arguments on statement execute + should tell us the field count should prepare DateTime values with microseconds + should raise an exception without a block + should handle comparisons and likes + should tell us the param count + should create a statement (PENDING: Temporarily skipped with xit) + should let us iterate over results + should prepare Time values with microseconds + should prepare Date values + should select dates + should let us execute our statement should handle as a decimal binding a BigDecimal + should be reusable 10000 times should be reusable 1000 times + should tell us about the fields streaming result should be able to stream query result + affected_rows + should return number of rows affected by an insert + should return number of rows affected by a delete + should return number of rows affected by an update close should free server resources (PENDING: Temporarily skipped with xit) should raise an error on subsequent execution + utf8_db + should be able to retrieve utf8 field names correctly + should be able to retrieve query with param in different encoding correctly + should be able to retrieve utf8 param query correctly row data type mapping - should return Time for a TIME value should return Float for a FLOAT value + should return nil for a NULL value + should return Fixnum for an INT value + should return Time for a TIME value + should return BigDecimal for a DECIMAL value + should return Time for a TIMESTAMP value when within the supported range + should return a String for TEXT + should return Time when timestamp is < 1901-12-13 20:45:52 + should return String for a BIT(64) value + should return a String for LONGBLOB + should return Time when timestamp is > 2038-01-19T03:14:07 + should return String for an ENUM value + should return Fixnum for a TINYINT value should return a String for LONGTEXT + should return String for a SET value + should return String for a BIT(1) value + should return a String for TINYBLOB + should return a String for MEDIUMTEXT should return a String for CHAR - should return String for an ENUM value - should return Time for a DATETIME value when within the supported range - should return Time when timestamp is > 2038-01-19T03:14:07 - should raise an error given an invalid DATETIME - should return a String for VARCHAR - should return Fixnum for a MEDIUMINT value - should return Time for a TIMESTAMP value when within the supported range should return a String for VARBINARY - should return a String for MEDIUMTEXT should return a String for MEDIUMBLOB - should return a String for TEXT - should return String for a SET value - should return String for a BINARY value should return a String for BLOB + should return String for a BINARY value + should return Time for a DATETIME value when within the supported range should return Float for a DOUBLE value - should return a String for TINYTEXT - should return a String for LONGBLOB - should return a String for TINYBLOB - should return nil for a NULL value - should return String for a BIT(64) value - should return String for a BIT(1) value + should return Date for a DATE value + should return a String for VARCHAR + should return Fixnum for a MEDIUMINT value should return Fixnum for a BIGINT value - should return Time when timestamp is < 1901-12-13 20:45:52 should return Fixnum for a YEAR value + should raise an error given an invalid DATETIME should return Fixnum for a SMALLINT value - should return Fixnum for an INT value - should return BigDecimal for a DECIMAL value - should return Date for a DATE value - should return Fixnum for a TINYINT value - string encoding for VARBINARY values + should return a String for TINYTEXT + string encoding for LONGTEXT values + should default to utf-8 if Encoding.default_internal is nil + should use Encoding.default_internal + string encoding for BLOB values + should default to binary if Encoding.default_internal is nil + should not use Encoding.default_internal + string encoding for BINARY 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 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 + string encoding for CHAR values should default to utf-8 if Encoding.default_internal is nil should use Encoding.default_internal - cast booleans for BIT(1) if :cast_booleans is enabled - should return TrueClass or FalseClass for a BIT(1) value if :cast_booleans is enabled - string encoding for TINYBLOB values + string encoding for MEDIUMBLOB values should not use Encoding.default_internal should default to binary 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 TINYTEXT values - should use Encoding.default_internal + string encoding for TEXT values should default to utf-8 if Encoding.default_internal is nil - 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 CHAR values - 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 ENUM values should use Encoding.default_internal - string encoding for BLOB values + should default to the connection's encoding if Encoding.default_internal is nil + string encoding for VARBINARY values + should not use Encoding.default_internal should default to binary if Encoding.default_internal is nil + string encoding for TINYBLOB values should not use Encoding.default_internal - string encoding for LONGTEXT values + 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 TINYTEXT 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 - 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 VARCHAR values - should default to utf-8 if Encoding.default_internal is nil - should 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 - #fields - method should exist - should return an array of field names in proper order - should return nil for statement with no result fields + should default to utf-8 if Encoding.default_internal is nil #each - should be able to return results as an array + should yield the same value for #first if streaming is disabled should throw an exception if we try to iterate twice when streaming is enabled should yield rows as hash's with symbol keys if :symbolize_keys was set to true should yield rows as hash's @@ -1617,150 +1533,300 @@ /build/ruby-mysql2-0.5.3/spec/mysql2/statement_spec.rb:304: warning: :cache_rows is ignored if :stream is true /build/ruby-mysql2-0.5.3/spec/mysql2/statement_spec.rb:304: warning: :cache_rows is ignored if :stream is true should yield different value for #first if streaming - should yield the same value for #first if streaming is disabled - utf8_db - should be able to retrieve query with param in different encoding correctly - should be able to retrieve utf8 field names correctly - should be able to retrieve utf8 param query correctly - 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 be able to return results as an array + #fields + method should exist + should return an array of field names in proper order + should return nil for statement with no result fields last_id should handle bigint ids should return last insert id -Mysql2::Error -/build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:131: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2. - responds to error_number and sql_state, with aliases - Mysql2::Result - should be able to return the number of rows in the result set - should respond to #free /build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:131: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2. should raise a Mysql2::Error exception upon a bad query - should have included Enumerable - should respond to #each - should raise a TypeError exception when it doesn't wrap a result set + should be able to return the number of rows in the result set should respond to #count, which is aliased as #size + should raise a TypeError exception when it doesn't wrap a result set + should respond to #free + should respond to #each + should have included Enumerable + server flags + should set a definitive value for query_was_slow + should set a definitive value for no_index_used + should set a definitive value for no_good_index_used + #fields + should return an array of field names in proper order + method should exist streaming - should maintain a count while streaming - should not yield nil at the end of streaming #count should be zero for rows after streaming when there were no results - should raise an exception if streaming ended due to a timeout (PENDING: Temporarily skipped with xit) should retain the count when mixing first and each - #fields - method should exist - should return an array of field names in proper order + should raise an exception if streaming ended due to a timeout (PENDING: Temporarily skipped with xit) + should maintain a count while streaming + should not yield nil at the end of streaming + #each + should throw an exception if we try to iterate twice when streaming is enabled + should cache previously yielded results by default + 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 yield different value for #first if streaming + should yield rows as hash's with symbol keys if :symbolize_keys was set to true + should be able to return results as an array + should yield rows as hash's + should not cache previously yielded results if cache_rows is disabled row data type mapping - should return a String for VARBINARY - should return Fixnum for an INT value - should return a String for LONGTEXT - should return Time for a DATETIME value when within the supported range - should return Time for a TIME value - should return String for a BIT(1) value + should return a String for VARCHAR + should return Time when timestamp is < 1901-12-13 20:45:52 should return String for a BINARY value + should return Fixnum for a YEAR value + should return a String for TINYTEXT + should return Float for a DOUBLE value + should return String for a SET value + should return String for an ENUM value + should return String for a BIT(64) value should return a String for CHAR + should return Float for a FLOAT value + should return a String for LONGBLOB + should return nil for a NULL value + should return a String for LONGTEXT + should return a String for MEDIUMBLOB should return BigDecimal for a DECIMAL value - should return Fixnum for a TINYINT value - should return a String for TEXT - should return a String for MEDIUMTEXT + should return Time for a TIME value + should return Date for a DATE value + should return nil values for NULL and strings for everything else when :cast is false + should return Fixnum for a SMALLINT value + should return Time for a DATETIME value when within the supported range + should return a String for VARBINARY + should return String for a BIT(1) value should return a String for BLOB - should return Time when timestamp is < 1901-12-13 20:45:52 - should return Float for a FLOAT value + should return a String for TEXT should return Time when timestamp is > 2038-01-19T03:14:07 - should return a String for MEDIUMBLOB - should return a String for VARCHAR - should return String for an ENUM value should raise an error given an invalid DATETIME - should return String for a SET value + should return a String for MEDIUMTEXT should return Fixnum for a MEDIUMINT value - should return String for a BIT(64) value - should return Fixnum for a SMALLINT value - should return nil for a NULL value - should return Fixnum for a BIGINT value - should return Fixnum for a YEAR value - should return a String for TINYBLOB should return Time for a TIMESTAMP value when within the supported range - should return nil values for NULL and strings for everything else when :cast is false - should return a String for TINYTEXT - should return a String for LONGBLOB - should return Date for a DATE value - should return Float for a DOUBLE value - 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 - string encoding for SET values - should default to the connection's encoding if Encoding.default_internal is nil - should use Encoding.default_internal + should return a String for TINYBLOB + should return Fixnum for a BIGINT value + should return Fixnum for an INT value + should return Fixnum for a TINYINT value string encoding for BINARY values should not use Encoding.default_internal should default to binary if Encoding.default_internal is nil - string encoding for CHAR values - should use Encoding.default_internal - should default to utf-8 if Encoding.default_internal is nil - 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 MEDIUMBLOB 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 TINYTEXT values - should default to utf-8 if Encoding.default_internal is nil + should default to the connection's encoding if Encoding.default_internal is nil + 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 MEDIUMTEXT 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 TEXT values + string encoding for MEDIUMTEXT values should default to utf-8 if Encoding.default_internal is nil should use Encoding.default_internal - string encoding for LONGTEXT values + string encoding for TEXT values should default to utf-8 if Encoding.default_internal is nil should use Encoding.default_internal - string encoding for TINYBLOB values + string encoding for VARBINARY values should default to binary if Encoding.default_internal is nil should not use Encoding.default_internal + cast booleans for BIT(1) if :cast_booleans is enabled + should return TrueClass or FalseClass for a BIT(1) value if :cast_booleans is enabled string encoding for VARCHAR 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 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 TINYBLOB values should default to binary if Encoding.default_internal is nil + should not use Encoding.default_internal string encoding for BLOB values + should not use Encoding.default_internal + should default to binary 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 - #each - should yield the same value for #first if streaming is disabled - should not cache previously yielded results if cache_rows is disabled - should yield rows as hash's - should cache previously yielded results by default - 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 yield different value for #first if streaming - should be able to return results as an array - should be able to iterate a second time even if cache_rows is disabled - server flags - should set a definitive value for no_index_used - should set a definitive value for no_good_index_used - should set a definitive value for query_was_slow + 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 default to utf-8 if Encoding.default_internal is nil + should use Encoding.default_internal + string encoding for CHAR values + should default to utf-8 if Encoding.default_internal is nil + should use Encoding.default_internal metadata queries should show tables +Mysql2::Client + #info should return a hash containing the client version ID and String + should respond to #encoding + should respond to escape + #thread_id should return a boolean + should respond to #close + #thread_id should be a Fixnum + should parse flags string +/build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:90: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2. + should be able to connect via SSL options (PENDING: DON'T WORRY, THIS TEST PASSES - but /etc/mysql/client-key.pem does not exist.) + should allow nil read_timeout + should be able to connect using plaintext password + should raise an exception on create for invalid encodings + #server_info should require an open connection + should expect write_timeout to be a positive integer + should respond to #query + should respond to #info + should execute init command + should parse flags array + should respond to #socket + should expect connect_timeout to be a positive integer + should raise an exception on non-string encodings + should respond to #escape + should default flags to (REMEMBER_OPTIONS, LONG_PASSWORD, LONG_FLAG, TRANSACTIONS, PROTOCOL_41, SECURE_CONNECTION) + should not try to query closed mysql connection +/build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:90: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2. + should raise a Mysql::Error::ConnectionError upon connection failure + should have a global default_query_options hash + should set custom connect_attrs (PENDING: Temporarily skipped with xit) +/build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:131: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2. + should send init_command after reconnect + #server_info should return a hash containing the client version ID and String + should set default program_name in connect_attrs (PENDING: Temporarily skipped with xit) + should accept connect flags and pass them to #connect + should not leave dangling connections after garbage collection +2022-09-03 15:16:14 376 [Warning] Access denied for user 'asdfasdf8d2h'@'localhost' (using password: YES) +/build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:90: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2. + should raise a Mysql2::Error::ConnectionError exception upon connection failure due to invalid credentials + should respond to #thread_id + should not raise an exception on create for a valid encoding + should respond to #ping + should terminate connections when calling close + should respond to #warning_count + should be able to close properly + should respond to #query_info + should be able to connect to database with numeric-only name + should expect read_timeout to be a positive integer + should respond to #server_info + write operations api + #last_id should return a Fixnum, the from the last INSERT/UPDATE + should respond to #last_id + #last_id should handle BIGINT auto-increment ids above 32 bits + should respond to #last_id + #last_id should return a Fixnum, the from the last INSERT/UPDATE + #automatic_close + is enabled by default + can be assigned + should not close connections when running in a child process + can be configured + #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 process stack + should require an open connection + should not overflow the thread stack + when mysql encoding is not utf8 + should return a internal encoding string if Encoding.default_internal is set + :local_infile + should LOAD DATA LOCAL INFILE +/build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:131: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2. + should raise an error when a non-existent file is loaded +/build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:131: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2. + should raise an error when local_infile is disabled + strings returned by .info + should be tagged as ascii + #warning_count + when no warnings + should 0 + when has a warnings + should > 0 + select_db + should switch databases + should return the database switched to + should respond to #select_db +/build/ruby-mysql2-0.5.3/spec/mysql2/client_spec.rb:1059: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2. + should raise a Mysql2::Error when the database doesn't exist + escape + should carry over the original string's encoding + should not overflow the thread stack + should return a new SQL-escape version of the passed string + should not overflow the process stack + should return the passed string if nothing was escaped + #closed? + should return true after close + should return false when connected + using defaults file + should not raise an exception without default group + should not raise an exception for valid defaults group + #query_info + when no info present + should 0 + when has some info + should retrieve it + strings returned by #server_info + should default to the connection's encoding if Encoding.default_internal is nil + should use Encoding.default_internal + #query + should not allow another query to be sent without fetching a result first + should describe the thread holding the active query + should require an open connection + should return results as a hash by default + should be able to return results with symbolized keys + should timeout if we wait longer than :read_timeout +2022-09-03 15:16:15 449 [Warning] Aborted connection 449 to db: 'test' user: 'pbuilder2' host: 'localhost' (Got an error writing communication packets) +/build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:131: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2. + should detect closed connection on query read error + #socket should require an open connection + should only accept strings as the query parameter + should be able to return results as an array +/build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:131: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2. +2022-09-03 15:16:15 455 [Warning] Aborted connection 455 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 run signal handlers while waiting for a response + should let you query again if iterating is finished when streaming + evented async queries should be supported + should allow changing query options for subsequent queries + #socket should return a Fixnum (file descriptor from C) + threaded 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 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 + does not interfere with other statements + returns multiple result sets + #more_results? should work with stored procedures +/build/ruby-mysql2-0.5.3/spec/mysql2/client_spec.rb:741: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2. + should raise an exception when one of multiple statements fails + #more_results? should work +/build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:131: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2. +2022-09-03 15:16:17 489 [Warning] Aborted connection 489 to db: 'test' user: 'pbuilder2' host: 'localhost' (Got an error reading communication packets) + will raise on query if there are outstanding results to read + #set_server_option + enables multiple-statement + returns false when multi_statements is neither OPTION_MULTI_STATEMENTS_OFF or OPTION_MULTI_STATEMENTS_ON + returns true when multi_statements is enable + returns true when multi_statements is disable +/build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:131: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2. + disables multiple-statement + strings returned by #info + should be tagged as ascii + Pending: (Failures listed here are expected and do not affect your suite's status) - 1) Mysql2::Client should set default program_name in connect_attrs + 1) Mysql2::Statement should create a statement # Temporarily skipped with xit - # ./spec/mysql2/client_spec.rb:481 + # ./spec/mysql2/statement_spec.rb:16 - 2) Mysql2::Client should set custom connect_attrs + 2) Mysql2::Statement close should free server resources # Temporarily skipped with xit - # ./spec/mysql2/client_spec.rb:490 + # ./spec/mysql2/statement_spec.rb:699 - 3) Mysql2::Client should be able to connect via SSL options + 3) Mysql2::Result streaming should raise an exception if streaming ended due to a timeout + # Temporarily skipped with xit + # ./spec/mysql2/result_spec.rb:152 + + 4) 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 @@ -1776,36 +1842,32 @@ # ./spec/mysql2/client_spec.rb:152:in `block (2 levels) in ' # ./spec/mysql2/client_spec.rb:152:in `block (2 levels) in ' - 4) Mysql2::Statement should create a statement - # Temporarily skipped with xit - # ./spec/mysql2/statement_spec.rb:16 - - 5) Mysql2::Statement close should free server resources + 5) Mysql2::Client should set custom connect_attrs # Temporarily skipped with xit - # ./spec/mysql2/statement_spec.rb:699 + # ./spec/mysql2/client_spec.rb:490 - 6) Mysql2::Result streaming should raise an exception if streaming ended due to a timeout + 6) Mysql2::Client should set default program_name in connect_attrs # Temporarily skipped with xit - # ./spec/mysql2/result_spec.rb:152 + # ./spec/mysql2/client_spec.rb:481 -Finished in 2 minutes 22.8 seconds (files took 0.34131 seconds to load) +Finished in 2 minutes 20.2 seconds (files took 0.19021 seconds to load) 315 examples, 0 failures, 6 pending -Randomized with seed 49366 +Randomized with seed 44438 + cleanup -+ /usr/bin/mysqladmin --user=pbuilder1 --socket=/tmp/tmp.SHRC1iQnRQ/mysql.sock shutdown -2021-07-31 6:49:59 0 [Note] /usr/sbin/mysqld (initiated by: pbuilder1[pbuilder1] @ localhost []): Normal shutdown -2021-07-31 6:49:59 0 [Note] Event Scheduler: Purging the queue. 0 events -2021-07-31 6:49:59 0 [Note] InnoDB: FTS optimize thread exiting. -2021-07-31 6:49:59 0 [Note] InnoDB: Starting shutdown... -2021-07-31 6:49:59 0 [Note] InnoDB: Dumping buffer pool(s) to /tmp/tmp.SHRC1iQnRQ/ib_buffer_pool -2021-07-31 6:49:59 0 [Note] InnoDB: Buffer pool(s) dump completed at 210731 6:49:59 -2021-07-31 6:50:02 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" -2021-07-31 6:50:02 0 [Note] InnoDB: Shutdown completed; log sequence number 169930; transaction id 483 -2021-07-31 6:50:02 0 [Note] /usr/sbin/mysqld: Shutdown complete ++ /usr/bin/mysqladmin --user=pbuilder2 --socket=/tmp/tmp.Fw1oMr6KtT/mysql.sock shutdown +2022-09-03 15:16:17 0 [Note] /usr/sbin/mysqld (initiated by: pbuilder2[pbuilder2] @ localhost []): Normal shutdown +2022-09-03 15:16:17 0 [Note] Event Scheduler: Purging the queue. 0 events +2022-09-03 15:16:17 0 [Note] InnoDB: FTS optimize thread exiting. +2022-09-03 15:16:17 0 [Note] InnoDB: Starting shutdown... +2022-09-03 15:16:17 0 [Note] InnoDB: Dumping buffer pool(s) to /tmp/tmp.Fw1oMr6KtT/ib_buffer_pool +2022-09-03 15:16:17 0 [Note] InnoDB: Buffer pool(s) dump completed at 220903 15:16:17 +2022-09-03 15:16:18 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" +2022-09-03 15:16:18 0 [Note] InnoDB: Shutdown completed; log sequence number 177762; transaction id 507 +2022-09-03 15:16:18 0 [Note] /usr/sbin/mysqld: Shutdown complete -+ rm -rf /tmp/tmp.SHRC1iQnRQ ++ rm -rf /tmp/tmp.Fw1oMr6KtT ┌──────────────────────────────────────────────────────────────────────────────┐ │ dh_ruby --install finished │ @@ -1839,12 +1901,14 @@ dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/50743/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/50743/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/32424 and its subdirectories -I: Current time: Sat Jul 31 06:50:12 -12 2021 -I: pbuilder-time-stamp: 1627757412 +I: removing directory /srv/workspace/pbuilder/50743 and its subdirectories +I: Current time: Sat Sep 3 15:16:22 +14 2022 +I: pbuilder-time-stamp: 1662167782