Diff of the two buildlogs: -- --- b1/build.log 2021-07-15 04:47:02.346833628 +0000 +++ b2/build.log 2021-07-15 04:52:47.197910936 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Jul 14 16:42:20 -12 2021 -I: pbuilder-time-stamp: 1626324140 +I: Current time: Thu Jul 15 18:47:11 +14 2021 +I: pbuilder-time-stamp: 1626324431 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -16,8 +16,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.g8r5ITzc/trustedkeys.kbx': General error -gpgv: Signature made Tue Apr 27 00:57:48 2021 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.b5b17JAh/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 @@ -34,135 +34,169 @@ 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/16136/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/17483/tmp/hooks/D01_modify_environment starting +debug: Running on ff4a. +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/17483/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/17483/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=3' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='armhf' + 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]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=4' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='84924c1777974d4baa1c580a98afdae3' - 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='16136' - PS1='# ' - PS2='> ' + INVOCATION_ID=cc7899a06eb54eedb3147729dbe9d38c + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=17483 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.t1AyN1eKCJ/pbuilderrc_BTPY --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.t1AyN1eKCJ/b1 --logfile b1/build.log ruby-mysql2_0.5.3-3.dsc' - SUDO_GID='114' - SUDO_UID='108' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:8000/' + 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.t1AyN1eKCJ/pbuilderrc_xUgk --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.t1AyN1eKCJ/b2 --logfile b2/build.log --extrapackages usrmerge ruby-mysql2_0.5.3-3.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:8000/ I: uname -a - Linux virt64a 5.10.0-7-arm64 #1 SMP Debian 5.10.40-1 (2021-05-28) aarch64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-7-armmp-lpae #1 SMP Debian 5.10.40-1 (2021-05-28) armv7l GNU/Linux I: ls -l /bin total 3580 - -rwxr-xr-x 1 root root 816764 Jun 21 14:26 bash - -rwxr-xr-x 3 root root 26052 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 26052 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 26052 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 9636 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 26668 Sep 22 2020 cat - -rwxr-xr-x 1 root root 43104 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 38984 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 43112 Sep 22 2020 chown - -rwxr-xr-x 1 root root 92616 Sep 22 2020 cp - -rwxr-xr-x 1 root root 75524 Dec 10 2020 dash - -rwxr-xr-x 1 root root 75880 Sep 22 2020 date - -rwxr-xr-x 1 root root 55436 Sep 22 2020 dd - -rwxr-xr-x 1 root root 59912 Sep 22 2020 df - -rwxr-xr-x 1 root root 96764 Sep 22 2020 dir - -rwxr-xr-x 1 root root 55012 Feb 7 02:38 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 22508 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 22496 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 47492 Feb 7 02:38 findmnt - -rwsr-xr-x 1 root root 26076 Feb 26 04:12 fusermount - -rwxr-xr-x 1 root root 124508 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 64212 Mar 2 11:30 gzip - -rwxr-xr-x 1 root root 13784 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 43180 Sep 22 2020 ln - -rwxr-xr-x 1 root root 35068 Feb 7 2020 login - -rwxr-xr-x 1 root root 96764 Sep 22 2020 ls - -rwxr-xr-x 1 root root 99940 Feb 7 02:38 lsblk - -rwxr-xr-x 1 root root 51408 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 43184 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 30780 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 34408 Feb 7 02:38 more - -rwsr-xr-x 1 root root 34400 Feb 7 02:38 mount - -rwxr-xr-x 1 root root 9824 Feb 7 02:38 mountpoint - -rwxr-xr-x 1 root root 88524 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 26652 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Jun 21 14:26 rbash -> bash - -rwxr-xr-x 1 root root 30740 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 43104 Sep 22 2020 rm - -rwxr-xr-x 1 root root 30732 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 14144 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 76012 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jul 12 21:25 sh -> dash - -rwxr-xr-x 1 root root 22532 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 55360 Sep 22 2020 stty - -rwsr-xr-x 1 root root 46704 Feb 7 02:38 su - -rwxr-xr-x 1 root root 22532 Sep 22 2020 sync - -rwxr-xr-x 1 root root 340872 Feb 16 21:55 tar - -rwxr-xr-x 1 root root 9808 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 67696 Sep 22 2020 touch - -rwxr-xr-x 1 root root 22496 Sep 22 2020 true - -rwxr-xr-x 1 root root 9636 Feb 26 04:12 ulockmgr_server - -rwsr-xr-x 1 root root 22108 Feb 7 02:38 umount - -rwxr-xr-x 1 root root 22520 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 uncompress - -rwxr-xr-x 1 root root 96764 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 38512 Feb 7 02:38 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/16136/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 816764 Jun 22 16:26 bash + -rwxr-xr-x 3 root root 26052 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 26052 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 26052 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 9636 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 26668 Sep 23 2020 cat + -rwxr-xr-x 1 root root 43104 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 38984 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 43112 Sep 23 2020 chown + -rwxr-xr-x 1 root root 92616 Sep 23 2020 cp + -rwxr-xr-x 1 root root 75524 Dec 11 2020 dash + -rwxr-xr-x 1 root root 75880 Sep 23 2020 date + -rwxr-xr-x 1 root root 55436 Sep 23 2020 dd + -rwxr-xr-x 1 root root 59912 Sep 23 2020 df + -rwxr-xr-x 1 root root 96764 Sep 23 2020 dir + -rwxr-xr-x 1 root root 55012 Feb 8 04:38 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 22508 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 22496 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 47492 Feb 8 04:38 findmnt + -rwsr-xr-x 1 root root 26076 Feb 27 06:12 fusermount + -rwxr-xr-x 1 root root 124508 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 13:30 gzexe + -rwxr-xr-x 1 root root 64212 Mar 3 13:30 gzip + -rwxr-xr-x 1 root root 13784 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 43180 Sep 23 2020 ln + -rwxr-xr-x 1 root root 35068 Feb 8 2020 login + -rwxr-xr-x 1 root root 96764 Sep 23 2020 ls + -rwxr-xr-x 1 root root 99940 Feb 8 04:38 lsblk + -rwxr-xr-x 1 root root 51408 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 43184 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 30780 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 34408 Feb 8 04:38 more + -rwsr-xr-x 1 root root 34400 Feb 8 04:38 mount + -rwxr-xr-x 1 root root 9824 Feb 8 04:38 mountpoint + -rwxr-xr-x 1 root root 88524 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 05:38 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 26652 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Jun 22 16:26 rbash -> bash + -rwxr-xr-x 1 root root 30740 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 43104 Sep 23 2020 rm + -rwxr-xr-x 1 root root 30732 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 14144 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 76012 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Jul 15 18:47 sh -> bash + lrwxrwxrwx 1 root root 4 Jul 13 23:27 sh.distrib -> dash + -rwxr-xr-x 1 root root 22532 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 55360 Sep 23 2020 stty + -rwsr-xr-x 1 root root 46704 Feb 8 04:38 su + -rwxr-xr-x 1 root root 22532 Sep 23 2020 sync + -rwxr-xr-x 1 root root 340872 Feb 17 23:55 tar + -rwxr-xr-x 1 root root 9808 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 67696 Sep 23 2020 touch + -rwxr-xr-x 1 root root 22496 Sep 23 2020 true + -rwxr-xr-x 1 root root 9636 Feb 27 06:12 ulockmgr_server + -rwsr-xr-x 1 root root 22108 Feb 8 04:38 umount + -rwxr-xr-x 1 root root 22520 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 uncompress + -rwxr-xr-x 1 root root 96764 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 38512 Feb 8 04:38 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 13:30 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 13:30 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 13:30 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 13:30 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 13:30 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 13:30 zless + -rwxr-xr-x 1 root root 1842 Mar 3 13:30 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 13:30 znew +I: user script /srv/workspace/pbuilder/17483/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -374,7 +408,7 @@ Get: 163 http://deb.debian.org/debian bullseye/main armhf ruby-rspec-expectations all 3.9.0c2e2m1s3-2 [89.9 kB] Get: 164 http://deb.debian.org/debian bullseye/main armhf ruby-rspec-mocks all 3.9.0c2e2m1s3-2 [81.4 kB] Get: 165 http://deb.debian.org/debian bullseye/main armhf ruby-rspec all 3.9.0c2e2m1s3-2 [8348 B] -Fetched 61.0 MB in 12s (5193 kB/s) +Fetched 61.0 MB in 6s (11.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 ... 19398 files and directories currently installed.) @@ -1072,9 +1106,42 @@ 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 armhf libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main armhf libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main armhf libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main armhf usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 0s (733 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 ... 28081 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 && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../ruby-mysql2_0.5.3-3_source.changes +hostname: Name or service not known +I: Running cd /build/ruby-mysql2-0.5.3/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../ruby-mysql2_0.5.3-3_source.changes dpkg-buildpackage: info: source package ruby-mysql2 dpkg-buildpackage: info: source version 0.5.3-3 dpkg-buildpackage: info: source distribution unstable @@ -1113,15 +1180,15 @@ └──────────────────────────────────────────────────────────────────────────────┘ 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/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.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/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/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/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/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/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.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/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 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Build native extensions for ruby2.7 │ @@ -1129,7 +1196,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", "./siteconf20210714-29869-1sw97q1.rb", "extconf.rb"] +["/usr/bin/ruby2.7", "-I", "/usr/lib/ruby/vendor_ruby", "-r", "./siteconf20210715-22541-th8axz.rb", "extconf.rb"] checking for rb_absint_size()... yes checking for rb_absint_singlebit_p()... yes checking for rb_wait_for_single_fd()... yes @@ -1202,12 +1269,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.20210714-29869-ypofbp/mysql2 +/bin/mkdir -p . ./.gem.20210715-22541-9q1ye0/mysql2 exit > .sitearchdir.-.mysql2.time -/usr/bin/install -c -m 0755 mysql2.so ./.gem.20210714-29869-ypofbp/mysql2 +/usr/bin/install -c -m 0755 mysql2.so ./.gem.20210715-22541-9q1ye0/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 ./siteconf20210714-29869-1sw97q1.rb extconf.rb +/usr/bin/ruby2.7 -I /usr/lib/ruby/vendor_ruby -r ./siteconf20210715-22541-th8axz.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 @@ -1236,23 +1303,24 @@ RUBYLIB=/build/ruby-mysql2-0.5.3/debian/ruby-mysql2/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf/ruby/gems/2.7.0:/usr/share/rubygems-integration/2.7.0:/usr/share/rubygems-integration/all:/usr/lib/arm-linux-gnueabihf/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.oQgrHyYiRG -+ export MYSQL_UNIX_PORT=/tmp/tmp.oQgrHyYiRG/mysql.sock -+ DO_MYSQL_USER=pbuilder1 +++ mktemp -d ++ MYTEMP_DIR=/tmp/tmp.Ux6j2aNKOm ++ export MYSQL_UNIX_PORT=/tmp/tmp.Ux6j2aNKOm/mysql.sock ++ MYSQL_UNIX_PORT=/tmp/tmp.Ux6j2aNKOm/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.oQgrHyYiRG/mysql.sock -+ mysql_install_db --no-defaults --datadir=/tmp/tmp.oQgrHyYiRG --force --skip-name-resolve --user=pbuilder1 ++ mysqladmin='/usr/bin/mysqladmin --user=pbuilder2 --socket=/tmp/tmp.Ux6j2aNKOm/mysql.sock' ++ mysql_install_db --no-defaults --datadir=/tmp/tmp.Ux6j2aNKOm --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.oQgrHyYiRG' ... -2021-07-14 16:44:17 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. -2021-07-14 16:44:17 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. -2021-07-14 16:44:17 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.Ux6j2aNKOm' ... +2021-07-15 18:49:53 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. +2021-07-15 18:49:53 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. +2021-07-15 18:49:53 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 @@ -1262,8 +1330,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 @@ -1271,7 +1339,7 @@ MySQL manual for more instructions. You can start the MariaDB daemon with: -cd '/usr' ; /usr/bin/mysqld_safe --datadir='/tmp/tmp.oQgrHyYiRG' +cd '/usr' ; /usr/bin/mysqld_safe --datadir='/tmp/tmp.Ux6j2aNKOm' You can test the MariaDB daemon with mysql-test-run.pl cd '/usr/mysql-test' ; perl mysql-test-run.pl @@ -1285,482 +1353,473 @@ https://mariadb.org/get-involved/ + cat -+ MYSQL_PID=30958 ++ MYSQL_PID=22778 + echo -n pinging mysqld. pinging mysqld.+ attempts=0 -+ + /usr/bin/mysqladmin --user=pbuilder1 --socket=/tmp/tmp.oQgrHyYiRG/mysql.sock ping -/usr/sbin/mysqld --no-defaults --user=pbuilder1 --socket=/tmp/tmp.oQgrHyYiRG/mysql.sock --datadir=/tmp/tmp.oQgrHyYiRG --skip-networking --init-file=/tmp/tmp.oQgrHyYiRG/init.sql ++ /usr/sbin/mysqld --no-defaults --user=pbuilder2 --socket=/tmp/tmp.Ux6j2aNKOm/mysql.sock --datadir=/tmp/tmp.Ux6j2aNKOm --skip-networking --init-file=/tmp/tmp.Ux6j2aNKOm/init.sql ++ /usr/bin/mysqladmin --user=pbuilder2 --socket=/tmp/tmp.Ux6j2aNKOm/mysql.sock ping /usr/bin/mysqladmin: connect to server at 'localhost' failed -error: 'Can't connect to local MySQL server through socket '/tmp/tmp.oQgrHyYiRG/mysql.sock' (2)' -Check that mysqld is running and that the socket: '/tmp/tmp.oQgrHyYiRG/mysql.sock' exists! +error: 'Can't connect to local MySQL server through socket '/tmp/tmp.Ux6j2aNKOm/mysql.sock' (2)' +Check that mysqld is running and that the socket: '/tmp/tmp.Ux6j2aNKOm/mysql.sock' exists! + sleep 3 -2021-07-14 16:44:19 0 [Note] /usr/sbin/mysqld (mysqld 10.5.10-MariaDB-2) starting as process 30958 ... -2021-07-14 16:44:19 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. -2021-07-14 16:44:19 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. -2021-07-14 16:44:19 0 [Warning] WSREP: Guessing address for incoming client connections failed. Try setting wsrep_node_incoming_address explicitly. -2021-07-14 16:44:19 0 [Note] WSREP: Node addr: -2021-07-14 16:44:19 0 [Note] InnoDB: Uses event mutexes -2021-07-14 16:44:19 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 -2021-07-14 16:44:19 0 [Note] InnoDB: Number of pools: 1 -2021-07-14 16:44:19 0 [Note] InnoDB: Using generic crc32 instructions -2021-07-14 16:44:19 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts) -2021-07-14 16:44:19 0 [Note] InnoDB: Using Linux native AIO -2021-07-14 16:44:19 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728 -2021-07-14 16:44:19 0 [Note] InnoDB: Completed initialization of buffer pool -2021-07-14 16:44:19 0 [Note] InnoDB: 128 rollback segments are active. -2021-07-14 16:44:19 0 [Note] InnoDB: Creating shared tablespace for temporary tables -2021-07-14 16:44:19 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... -2021-07-14 16:44:19 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. -2021-07-14 16:44:19 0 [Note] InnoDB: 10.5.10 started; log sequence number 45118; transaction id 20 -2021-07-14 16:44:19 0 [Note] Plugin 'FEEDBACK' is disabled. -2021-07-14 16:44:19 0 [Note] InnoDB: Loading buffer pool(s) from /tmp/tmp.oQgrHyYiRG/ib_buffer_pool -2021-07-14 16:44:19 0 [Note] InnoDB: Buffer pool(s) load completed at 210714 16:44:19 -2021-07-14 16:44:19 0 [Note] Reading of all Master_info entries succeeded -2021-07-14 16:44:19 0 [Note] Added new Master_info '' to hash table +2021-07-15 18:49:55 0 [Note] /usr/sbin/mysqld (mysqld 10.5.10-MariaDB-2) starting as process 22778 ... +2021-07-15 18:49:55 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. +2021-07-15 18:49:55 0 [Warning] WSREP: Failed to guess base node address. Set it explicitly via wsrep_node_address. +2021-07-15 18:49:55 0 [Warning] WSREP: Guessing address for incoming client connections failed. Try setting wsrep_node_incoming_address explicitly. +2021-07-15 18:49:55 0 [Note] WSREP: Node addr: +2021-07-15 18:49:55 0 [Note] InnoDB: Uses event mutexes +2021-07-15 18:49:55 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 +2021-07-15 18:49:55 0 [Note] InnoDB: Number of pools: 1 +2021-07-15 18:49:55 0 [Note] InnoDB: Using generic crc32 instructions +2021-07-15 18:49:55 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts) +2021-07-15 18:49:55 0 [Note] InnoDB: Using Linux native AIO +2021-07-15 18:49:55 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728 +2021-07-15 18:49:55 0 [Note] InnoDB: Completed initialization of buffer pool +2021-07-15 18:49:55 0 [Note] InnoDB: 128 rollback segments are active. +2021-07-15 18:49:55 0 [Note] InnoDB: Creating shared tablespace for temporary tables +2021-07-15 18:49:55 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... +2021-07-15 18:49:55 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB. +2021-07-15 18:49:55 0 [Note] InnoDB: 10.5.10 started; log sequence number 45118; transaction id 20 +2021-07-15 18:49:55 0 [Note] Plugin 'FEEDBACK' is disabled. +2021-07-15 18:49:55 0 [Note] InnoDB: Loading buffer pool(s) from /tmp/tmp.Ux6j2aNKOm/ib_buffer_pool +2021-07-15 18:49:55 0 [Note] InnoDB: Buffer pool(s) load completed at 210715 18:49:55 +2021-07-15 18:49:55 0 [Note] Reading of all Master_info entries succeeded +2021-07-15 18:49:55 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-14 16:44:19 0 [Note] /usr/sbin/mysqld: ready for connections. -Version: '10.5.10-MariaDB-2' socket: '/tmp/tmp.oQgrHyYiRG/mysql.sock' port: 0 Debian 11 +2021-07-15 18:49:55 0 [Note] /usr/sbin/mysqld: ready for connections. +Version: '10.5.10-MariaDB-2' socket: '/tmp/tmp.Ux6j2aNKOm/mysql.sock' port: 0 Debian 11 + attempts=1 -+ [ 1 -gt 10 ] -+ /usr/bin/mysqladmin --user=pbuilder1 --socket=/tmp/tmp.oQgrHyYiRG/mysql.sock ping ++ '[' 1 -gt 10 ']' ++ /usr/bin/mysqladmin --user=pbuilder2 --socket=/tmp/tmp.Ux6j2aNKOm/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 12132 +Randomized with seed 28963 + +Mysql2::Client + should not try to query closed mysql connection + should be able to connect to database with numeric-only name + should respond to escape + should set custom connect_attrs (PENDING: Temporarily skipped with xit) + should respond to #thread_id + should expect write_timeout to be a positive integer + should respond to #escape + #server_info should return a hash containing the client version ID and String + should parse flags array + should respond to #query_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 respond to #warning_count +2021-07-15 18:49:59 22 [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 not raise an exception on create for a valid encoding + should not leave dangling connections after garbage collection + should be able to connect using plaintext password + should terminate connections when calling close + should respond to #server_info + #thread_id should be a Fixnum + should expect connect_timeout to be a positive integer + should respond to #query + #thread_id should return a boolean +/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 expect read_timeout to be a positive integer + should have a global default_query_options hash + should accept connect flags and pass them to #connect + should raise an exception on non-string encodings + should respond to #ping + #info should return a hash containing the client version ID and String + should be able to close properly + #server_info should require an open connection + should execute init command + should default flags to (REMEMBER_OPTIONS, LONG_PASSWORD, LONG_FLAG, TRANSACTIONS, PROTOCOL_41, SECURE_CONNECTION) + should respond to #info + should allow nil read_timeout + should raise an exception on create for invalid encodings + should respond to #socket +/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 respond to #encoding + should respond to #close + should parse flags string + should set default program_name in connect_attrs (PENDING: Temporarily skipped with xit) + select_db + should return the database switched to + should switch databases +/build/ruby-mysql2-0.5.3/spec/mysql2/client_spec.rb:1059: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2. + should raise a Mysql2::Error when the database doesn't exist + should respond to #select_db + #closed? + should return false when connected + should return true after close + strings returned by #server_info + should use Encoding.default_internal + should default to the connection's encoding if Encoding.default_internal is nil + strings returned by #info + should be tagged as ascii + :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 + should LOAD DATA LOCAL INFILE + #automatic_close + can be configured + can be assigned + should not close connections when running in a child process + is enabled by default + 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 + #last_id should return a Fixnum, the from the last INSERT/UPDATE + should respond to #last_id + #set_server_option +/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 true when multi_statements is disable + returns true when multi_statements is enable + enables multiple-statement + returns false when multi_statements is neither OPTION_MULTI_STATEMENTS_OFF or OPTION_MULTI_STATEMENTS_ON + strings returned by .info + should be tagged as ascii + 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 + #warning_count + when no warnings + should 0 + when has a warnings + should > 0 + escape + should not overflow the process stack + should carry over the original string's encoding + 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 + #query + should be able to return results as an array + should allow changing query options for subsequent queries + should return results as a hash by default + should describe the thread holding the active query + should timeout if we wait longer than :read_timeout + should be able to return results with symbolized keys + #socket should return a Fixnum (file descriptor from C) + should require an open connection +2021-07-15 18:52:17 128 [Warning] Aborted connection 128 to db: 'test' user: 'pbuilder2' host: 'localhost' (Got an error writing communication packets) + threaded queries should be supported + should let you query again if iterating is finished when streaming + #socket should require an open connection +/build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:131: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2. +2021-07-15 18:52:17 140 [Warning] Aborted connection 140 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 not allow another query to be sent without fetching a result first + should not retain query options set on a query for subsequent queries, but should retain it in the result +/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 + evented async queries should be supported + should only accept strings as the query parameter + should run signal handlers while waiting for a response + Multiple results sets + returns multiple result sets + #more_results? should work + #abandon_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. +2021-07-15 18:52:19 155 [Warning] Aborted connection 155 to db: 'test' user: 'pbuilder2' host: 'localhost' (Got an error reading communication packets) + will raise on query if there are outstanding results to read + does not interfere with other statements + #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 + 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 + #escape + should require an open connection + should not overflow the process stack + 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 + when mysql encoding is not utf8 + should return a internal encoding string if Encoding.default_internal is set Mysql2::Statement - should tell us the result count - should tell us the param count - should let us execute our statement - should prepare DateTime values with microseconds should tell us the field count - should handle booleans - should keep its result after other query - should create a statement (PENDING: Temporarily skipped with xit) - should select dates - should prepare Time values with microseconds - should tell us about the fields - should handle bignum but in int64_t - should be reusable 1000 times - should raise an exception when server disconnects - should handle bignum but beyond int64_t - should let us iterate over results - should accept keyword arguments on statement execute + should warn but still work if cache_rows is set to false + should handle comparisons and likes +2021-07-15 18:52:20 163 [Warning] Aborted connection 163 to db: 'test' user: 'pbuilder2' host: 'localhost' (Got an error writing communication packets) +2021-07-15 18:52:20 164 [Warning] Aborted connection 164 to db: 'test' user: 'pbuilder2' host: 'localhost' (Got an error writing communication packets) +2021-07-15 18:52:20 167 [Warning] Aborted connection 167 to db: 'test' user: 'pbuilder2' host: 'localhost' (Got an error writing communication packets) +2021-07-15 18:52:20 169 [Warning] Aborted connection 169 to db: 'test' user: 'pbuilder2' host: 'localhost' (Got an error writing communication packets) should be reusable 10000 times should update a DECIMAL value passing a BigDecimal - should warn but still work if cache_rows is set to false + should accept keyword arguments on statement execute + should handle bignum but beyond int64_t should prepare Date values - should handle comparisons and likes + should let us execute our statement + should be reusable 1000 times + should tell us about the fields + should handle as a decimal binding a BigDecimal + should raise an exception when server disconnects + should prepare DateTime values with microseconds + should tell us the result count + should create a statement (PENDING: Temporarily skipped with xit) + should handle booleans should raise an exception without a block + should keep its result after other query should accept bind arguments and keyword arguments on statement execute - should handle as a decimal binding a BigDecimal + should handle bignum but in int64_t + should tell us the param count + should prepare Time values with microseconds + should select dates + should let us iterate over results #each - should yield the same value for #first if streaming is disabled - should be able to return results as an array + should throw an exception if we try to iterate twice when streaming is enabled should yield 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 cache previously yielded results by default + should be able to return results as an array should yield rows as hash's /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 throw an exception if we try to iterate twice when streaming is enabled + close + should raise an error on subsequent execution + should free server resources (PENDING: Temporarily skipped with xit) row data type mapping - should return Time for a DATETIME value when within the supported range + should return a String for TINYTEXT + should raise an error given an invalid DATETIME + should return nil for a NULL value + should return a String for LONGTEXT + should return Time when timestamp is > 2038-01-19T03:14:07 + should return Time when timestamp is < 1901-12-13 20:45:52 + should return Time for a TIMESTAMP value when within the supported range + should return String for a SET value + should return Fixnum for a SMALLINT value + should return Fixnum for a MEDIUMINT value + should return Fixnum for a YEAR value should return BigDecimal for a DECIMAL value - should return a String for BLOB should return Time for a TIME value - should return String for an ENUM value - should return Date for a DATE value - should return a String for MEDIUMBLOB - should raise an error given an invalid DATETIME should return a String for TEXT - should return a String for CHAR - should return Time for a TIMESTAMP value when within the supported range - should return String for a BINARY value - should return Fixnum for a BIGINT value - should return nil for a NULL value + should return a String for VARCHAR should return String for a BIT(1) value - should return a String for VARBINARY - should return Fixnum for a SMALLINT value + should return Float for a DOUBLE value should return Float for a FLOAT value - should return a String for LONGBLOB - should return Fixnum for a TINYINT value - should return a String for VARCHAR - should return a String for LONGTEXT - should return Time when timestamp is > 2038-01-19T03:14:07 + should return Time for a DATETIME value when within the supported range should return a String for MEDIUMTEXT - should return Float for a DOUBLE value - should return a String for TINYBLOB - should return Fixnum for a YEAR value - should return a String for TINYTEXT should return Fixnum for an INT value - should return Time when timestamp is < 1901-12-13 20:45:52 - should return String for a SET value + should return a String for LONGBLOB + should return String for a BINARY value + should return Date for a DATE value + should return a String for VARBINARY + should return a String for MEDIUMBLOB + should return a String for BLOB + should return String for an ENUM value + should return Fixnum for a BIGINT value + should return a String for CHAR + should return a String for TINYBLOB should return String for a BIT(64) value - should return Fixnum for a MEDIUMINT value - string encoding for TEXT values + should return Fixnum for a TINYINT value + string encoding for ENUM values + should default to the connection's encoding if Encoding.default_internal is nil should use Encoding.default_internal - should default to utf-8 if Encoding.default_internal is nil - string encoding for LONGBLOB values - should not use Encoding.default_internal - should default to binary 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 string encoding for LONGTEXT values - should use Encoding.default_internal - should default to utf-8 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 MEDIUMTEXT values should default to utf-8 if Encoding.default_internal is nil should use Encoding.default_internal - string encoding for CHAR values + string encoding for MEDIUMBLOB values + should default to binary if Encoding.default_internal is nil + should not use Encoding.default_internal + cast booleans for TINYINT if :cast_booleans is enabled + should return TrueClass or FalseClass for a TINYINT value if :cast_booleans is enabled + string encoding for TEXT 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 string encoding for TINYTEXT values should use Encoding.default_internal should default to utf-8 if Encoding.default_internal is nil + cast booleans for BIT(1) if :cast_booleans is enabled + should return TrueClass or FalseClass for a BIT(1) value if :cast_booleans is enabled + string encoding for VARCHAR values + should default to utf-8 if Encoding.default_internal is nil + should 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 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 default to the connection's encoding if Encoding.default_internal is nil - should use Encoding.default_internal - string encoding for VARCHAR values + string encoding for TINYBLOB values + should not use Encoding.default_internal + should default to binary if Encoding.default_internal is nil + string encoding for MEDIUMTEXT values 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 TINYBLOB values + string encoding for CHAR values + should default to utf-8 if Encoding.default_internal is nil + should use Encoding.default_internal + string encoding for BINARY values should default to binary if Encoding.default_internal is nil should not use Encoding.default_internal - string encoding for BLOB values - should not use Encoding.default_internal + string encoding for VARBINARY values 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 MEDIUMBLOB values should not use Encoding.default_internal - should default to binary if Encoding.default_internal is nil - close - should free server resources (PENDING: Temporarily skipped with xit) - should raise an error on subsequent execution - last_id - should handle bigint ids - should return last insert id #fields - should return nil for statement with no result fields method should exist + should return nil for statement with no result fields should return an array of field names in proper order - utf8_db - should be able to retrieve utf8 param query correctly - should be able to retrieve query with param in different encoding correctly - should be able to retrieve utf8 field names correctly streaming result should be able to stream query result + last_id + should handle bigint ids + should return last insert id affected_rows + should return number of rows affected by a delete should return number of rows affected by an insert should return number of rows affected by an update - should return number of rows affected by a delete + utf8_db + should be able to retrieve utf8 param query correctly + should be able to retrieve utf8 field names correctly + should be able to retrieve query with param in different encoding correctly Mysql2::Result + 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 /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 respond to #free should be able to return the number of rows in the result set - should have included Enumerable - should respond to #count, which is aliased as #size + should respond to #each + #each + should not cache previously yielded results if cache_rows is disabled + should yield different value for #first if streaming + should yield rows as hash's + should cache previously yielded results by default + should be able to return results as an array + should be able to iterate a second time even if cache_rows is disabled + should yield the same value for #first if streaming is disabled + 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 metadata queries should show tables + server flags + should set a definitive value for no_good_index_used + should set a definitive value for no_index_used + should set a definitive value for query_was_slow + #fields + should return an array of field names in proper order + method should exist row data type mapping should return Float for a FLOAT value - should return nil values for NULL and strings for everything else when :cast is false - should return a String for VARCHAR + should return String for a BINARY value + should return Time when timestamp is > 2038-01-19T03:14:07 should return String for a BIT(64) value - should return a String for TINYBLOB - should return Time for a TIME value - should return nil for a NULL value - should return String for an ENUM value - should raise an error given an invalid DATETIME - should return String for a SET value - should return Fixnum for an INT value should return Fixnum for a MEDIUMINT value - should return a String for VARBINARY - should return a String for LONGBLOB + should return Fixnum for an INT value + should raise an error given an invalid DATETIME should return a String for MEDIUMBLOB - should return Time for a DATETIME value when within the supported range - should return Time when timestamp is < 1901-12-13 20:45:52 should return String for a BIT(1) value - should return a String for CHAR - should return a String for MEDIUMTEXT - should return Fixnum for a TINYINT value - should return a String for TINYTEXT - should return Float for a DOUBLE value - should return Fixnum for a YEAR value - should return Time when timestamp is > 2038-01-19T03:14:07 - should return BigDecimal for a DECIMAL value - should return Date for a DATE value should return a String for BLOB + should return a String for LONGBLOB + should return Fixnum for a YEAR value should return Time for a TIMESTAMP value when within the supported range - should return Fixnum for a SMALLINT value - should return a String for TEXT should return Fixnum for a BIGINT value + should return Fixnum for a TINYINT value + should return Time for a TIME value + should return a String for VARBINARY + should return a String for TEXT + should return a String for MEDIUMTEXT + should return String for an ENUM value + should return Float for a DOUBLE value + should return String for a SET value + should return Fixnum for a SMALLINT value should return a String for LONGTEXT - should return String for a BINARY value - string encoding for VARBINARY values - should not use Encoding.default_internal - should default to binary if Encoding.default_internal is nil + should return Date for a DATE value + should return nil values for NULL and strings for everything else when :cast is false + should return nil for a NULL value + should return a String for CHAR + should return Time when timestamp is < 1901-12-13 20:45:52 + should return BigDecimal for a DECIMAL value + should return a String for TINYBLOB + should return a String for VARCHAR + should return Time for a DATETIME value when within the supported range + should return a String for TINYTEXT 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 TINYBLOB values + 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 TINYTEXT values + should default to utf-8 if Encoding.default_internal is nil + should use Encoding.default_internal + cast booleans for TINYINT if :cast_booleans is enabled + should return TrueClass or FalseClass for a TINYINT value if :cast_booleans is enabled + string encoding for LONGBLOB values should not use Encoding.default_internal should default to binary if Encoding.default_internal is nil - string encoding for SET values - should default to the connection's encoding if Encoding.default_internal is nil + string encoding for TEXT values + should default to utf-8 if Encoding.default_internal is nil should 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 TEXT values - should use Encoding.default_internal + string encoding for CHAR values should default to utf-8 if Encoding.default_internal is nil - cast booleans for BIT(1) if :cast_booleans is enabled - should return TrueClass or FalseClass for a BIT(1) value if :cast_booleans is enabled - string encoding for TINYTEXT values should use Encoding.default_internal + string encoding for VARCHAR values should default to utf-8 if Encoding.default_internal is nil - string encoding for CHAR values should use Encoding.default_internal - should default to utf-8 if Encoding.default_internal is nil - string encoding for LONGBLOB values + 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 default to utf-8 if Encoding.default_internal is nil + should use Encoding.default_internal + string encoding for SET values + should default to the connection's encoding if Encoding.default_internal is nil + should use Encoding.default_internal string encoding for MEDIUMBLOB values should default to binary if Encoding.default_internal is nil should not use Encoding.default_internal - string encoding for VARCHAR values - should default to utf-8 if Encoding.default_internal is nil - should use Encoding.default_internal string encoding for BINARY values should not use Encoding.default_internal should default to binary 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 default to utf-8 if Encoding.default_internal is nil should use Encoding.default_internal - cast booleans for TINYINT if :cast_booleans is enabled - should return TrueClass or FalseClass for a TINYINT value if :cast_booleans is enabled + string encoding for TINYBLOB values + should not use Encoding.default_internal + should default to binary if Encoding.default_internal is nil streaming - should raise an exception if streaming ended due to a timeout (PENDING: Temporarily skipped with xit) + should not yield nil at the end of streaming should retain the count when mixing first and each + should raise an exception if streaming ended due to a timeout (PENDING: Temporarily skipped with xit) #count should be zero for rows after streaming when there were no results should maintain a count while streaming - should not yield nil at the end of streaming - server flags - should set a definitive value for query_was_slow - should set a definitive value for no_good_index_used - should set a definitive value for no_index_used - #each - 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 be able to iterate a second time even if cache_rows is disabled - should yield the same value for #first if streaming is disabled - should not cache previously yielded results if cache_rows is disabled - should yield rows as hash's - should throw an exception if we try to iterate twice when streaming is enabled - should yield different value for #first if streaming - #fields - should return an array of field names in proper order - method should exist 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::Client - should have a global default_query_options hash - should terminate connections when calling close - should parse flags array - should respond to #info - should respond to #close - should expect read_timeout to be a positive integer - should be able to connect to database with numeric-only name - #server_info should require an open connection -/build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:131: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2. - should send init_command after reconnect - should set default program_name in connect_attrs (PENDING: Temporarily skipped with xit) - should respond to #query_info - should expect write_timeout to be a positive integer -2021-07-14 16:44:26 346 [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 - #thread_id should be a Fixnum - should default flags to (REMEMBER_OPTIONS, LONG_PASSWORD, LONG_FLAG, TRANSACTIONS, PROTOCOL_41, SECURE_CONNECTION) - should respond to #thread_id - should raise an exception on create for invalid encodings - should not raise an exception on create for a valid encoding -/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 be able to connect using plaintext password - should execute init command - should accept connect flags and pass them to #connect -/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 respond to #escape - should respond to escape - should set custom connect_attrs (PENDING: Temporarily skipped with xit) - should respond to #warning_count - should not try to query closed mysql connection - should respond to #ping - #server_info should return a hash containing the client version ID and String - should raise an exception on non-string encodings - #info should return a hash containing the client version ID and String - should expect connect_timeout to be a positive integer - should respond to #server_info - should respond to #query - should respond to #socket - should parse flags string - should allow nil read_timeout - should not leave dangling connections after garbage collection - should respond to #encoding - should be able to close properly - #thread_id should return a boolean - strings returned by #server_info - should use Encoding.default_internal - should default to the connection's encoding if Encoding.default_internal is nil - strings returned by .info - should be tagged as ascii - #set_server_option - returns true when multi_statements is disable - returns true when multi_statements is enable -/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 - enables multiple-statement - #warning_count - when no warnings - should 0 - when has a warnings - should > 0 - escape - should not overflow the process stack - should return a new SQL-escape version of the passed string - should carry over the original string's encoding - should return the passed string if nothing was escaped - should not overflow the thread stack - 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 - should respond to #select_db - should return the database switched to - should switch databases - 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 - #query_info - when no info present - should 0 - when has some info - should retrieve it - #closed? - should return true after close - should return false when connected - #escape - should return the passed string if nothing was escaped - should require an open connection - should return a new SQL-escape version of the passed string - should not overflow the process stack - should not overflow the thread stack - 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 - :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 - 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 local_infile is disabled - #automatic_close - is enabled by default - can be assigned - can be configured - should not close connections when running in a child process - #query - evented async queries should be supported - should be able to return results with symbolized keys - should not allow another query to be sent without fetching a result first -/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 not retain query options set on a query for subsequent queries, but should retain it in the result - should describe the thread holding the active query - should let you query again if iterating is finished when streaming - should return results as a hash by default - threaded queries should be supported - should allow changing query options for subsequent queries - should be able to return results as an array - #socket should return a Fixnum (file descriptor from C) - should require an open connection -/build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:131: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2. -2021-07-14 16:46:44 472 [Warning] Aborted connection 472 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 run signal handlers while waiting for a response - should only accept strings as the query parameter - #socket should require an open connection - should timeout if we wait longer than :read_timeout - when a non-standard exception class is raised -2021-07-14 16:46:45 477 [Warning] Aborted connection 477 to db: 'test' user: 'pbuilder1' host: 'localhost' (Got an error writing communication packets) - 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 - #more_results? should work - #abandon_results! should work - #more_results? should work with stored procedures - returns multiple result sets -/build/ruby-mysql2-0.5.3/lib/mysql2/client.rb:131: warning: rb_tainted_str_new_cstr is deprecated and will be removed in Ruby 3.2. -2021-07-14 16:46:45 495 [Warning] Aborted connection 495 to db: 'test' user: 'pbuilder1' host: 'localhost' (Got an error reading communication packets) - will raise on query if there are outstanding results to read - does not interfere with other statements -/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 - strings returned by #info - should be tagged as ascii -2021-07-14 16:46:46 479 [Warning] Aborted connection 479 to db: 'test' user: 'pbuilder1' host: 'localhost' (Got an error writing communication packets) - Pending: (Failures listed here are expected and do not affect your suite's status) - 1) Mysql2::Statement should create a statement - # Temporarily skipped with xit - # ./spec/mysql2/statement_spec.rb:16 - - 2) Mysql2::Statement close should free server resources - # Temporarily skipped with xit - # ./spec/mysql2/statement_spec.rb:699 - - 3) Mysql2::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 set default program_name in connect_attrs + 1) Mysql2::Client should set custom connect_attrs # Temporarily skipped with xit - # ./spec/mysql2/client_spec.rb:481 + # ./spec/mysql2/client_spec.rb:490 - 5) Mysql2::Client should be able to connect via SSL options + 2) 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,28 +1835,40 @@ # ./spec/mysql2/client_spec.rb:152:in `block (2 levels) in ' # ./spec/mysql2/client_spec.rb:152:in `block (2 levels) in ' - 6) Mysql2::Client should set custom connect_attrs + 3) Mysql2::Client should set default program_name in connect_attrs # Temporarily skipped with xit - # ./spec/mysql2/client_spec.rb:490 + # ./spec/mysql2/client_spec.rb:481 + + 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 + # Temporarily skipped with xit + # ./spec/mysql2/statement_spec.rb:699 + + 6) Mysql2::Result streaming should raise an exception if streaming ended due to a timeout + # Temporarily skipped with xit + # ./spec/mysql2/result_spec.rb:152 -Finished in 2 minutes 22.4 seconds (files took 0.57608 seconds to load) +Finished in 2 minutes 26.8 seconds (files took 0.54296 seconds to load) 315 examples, 0 failures, 6 pending -Randomized with seed 12132 +Randomized with seed 28963 + cleanup -+ /usr/bin/mysqladmin --user=pbuilder1 --socket=/tmp/tmp.oQgrHyYiRG/mysql.sock shutdown -2021-07-14 16:46:46 0 [Note] /usr/sbin/mysqld (initiated by: pbuilder1[pbuilder1] @ localhost []): Normal shutdown -2021-07-14 16:46:46 0 [Note] Event Scheduler: Purging the queue. 0 events -2021-07-14 16:46:46 0 [Note] InnoDB: FTS optimize thread exiting. -2021-07-14 16:46:46 0 [Note] InnoDB: Starting shutdown... -2021-07-14 16:46:46 0 [Note] InnoDB: Dumping buffer pool(s) to /tmp/tmp.oQgrHyYiRG/ib_buffer_pool -2021-07-14 16:46:46 0 [Note] InnoDB: Buffer pool(s) dump completed at 210714 16:46:46 -2021-07-14 16:46:46 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" -2021-07-14 16:46:46 0 [Note] InnoDB: Shutdown completed; log sequence number 170579; transaction id 487 -2021-07-14 16:46:46 0 [Note] /usr/sbin/mysqld: Shutdown complete ++ /usr/bin/mysqladmin --user=pbuilder2 --socket=/tmp/tmp.Ux6j2aNKOm/mysql.sock shutdown +2021-07-15 18:52:26 0 [Note] /usr/sbin/mysqld (initiated by: pbuilder2[pbuilder2] @ localhost []): Normal shutdown +2021-07-15 18:52:26 0 [Note] Event Scheduler: Purging the queue. 0 events +2021-07-15 18:52:26 0 [Note] InnoDB: FTS optimize thread exiting. +2021-07-15 18:52:26 0 [Note] InnoDB: Starting shutdown... +2021-07-15 18:52:26 0 [Note] InnoDB: Dumping buffer pool(s) to /tmp/tmp.Ux6j2aNKOm/ib_buffer_pool +2021-07-15 18:52:26 0 [Note] InnoDB: Buffer pool(s) dump completed at 210715 18:52:26 +2021-07-15 18:52:27 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1" +2021-07-15 18:52:27 0 [Note] InnoDB: Shutdown completed; log sequence number 169978; transaction id 483 +2021-07-15 18:52:27 0 [Note] /usr/sbin/mysqld: Shutdown complete -+ rm -rf /tmp/tmp.oQgrHyYiRG ++ rm -rf /tmp/tmp.Ux6j2aNKOm ┌──────────────────────────────────────────────────────────────────────────────┐ │ dh_ruby --install finished │ @@ -1832,12 +1903,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/17483/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/17483/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/16136 and its subdirectories -I: Current time: Wed Jul 14 16:46:58 -12 2021 -I: pbuilder-time-stamp: 1626324418 +I: removing directory /srv/workspace/pbuilder/17483 and its subdirectories +I: Current time: Thu Jul 15 18:52:42 +14 2021 +I: pbuilder-time-stamp: 1626324762