Diff of the two buildlogs: -- --- b1/build.log 2021-08-05 18:01:30.185904051 +0000 +++ b2/build.log 2021-08-05 18:02:33.019552542 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Sep 7 12:23:36 -12 2022 -I: pbuilder-time-stamp: 1662596616 +I: Current time: Fri Aug 6 08:01:32 +14 2021 +I: pbuilder-time-stamp: 1628186492 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-rest-client_2.1.0-1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.xS36kvzU/trustedkeys.kbx': General error -gpgv: Signature made Wed Jan 13 08:23:43 2021 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.IfvjSgR0/trustedkeys.kbx': General error +gpgv: Signature made Thu Jan 14 10:23:43 2021 +14 gpgv: using RSA key FEDEC1CB337BCF509F43C2243914B532F4DFBE99 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./ruby-rest-client_2.1.0-1.dsc @@ -30,135 +30,169 @@ dpkg-source: info: applying proxy-proof-tests.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/23624/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/5427/tmp/hooks/D01_modify_environment starting +debug: Running on codethink16-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +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/5427/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/5427/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='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="aarch64-unknown-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=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=8' - DISTRIBUTION='' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - 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='23624' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=5427 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.7CdJgLnZs0/pbuilderrc_nVbG --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.7CdJgLnZs0/b1 --logfile b1/build.log ruby-rest-client_2.1.0-1.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16: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.7CdJgLnZs0/pbuilderrc_I0pa --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.7CdJgLnZs0/b2 --logfile b2/build.log --extrapackages usrmerge ruby-rest-client_2.1.0-1.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink13-arm64 4.15.0-153-generic #160-Ubuntu SMP Thu Jul 29 07:06:07 UTC 2021 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-153-generic #160-Ubuntu SMP Thu Jul 29 07:06:07 UTC 2021 aarch64 GNU/Linux I: ls -l /bin total 5252 - -rwxr-xr-x 1 root root 1282512 Aug 4 2021 bash - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 34808 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 34808 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 14264 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 39832 Sep 22 2020 cat - -rwxr-xr-x 1 root root 64512 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 60368 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 64528 Sep 22 2020 chown - -rwxr-xr-x 1 root root 138896 Sep 22 2020 cp - -rwxr-xr-x 1 root root 129544 Dec 10 2020 dash - -rwxr-xr-x 1 root root 101384 Sep 22 2020 date - -rwxr-xr-x 1 root root 80984 Sep 22 2020 dd - -rwxr-xr-x 1 root root 89824 Sep 22 2020 df - -rwxr-xr-x 1 root root 143088 Sep 22 2020 dir - -rwxr-xr-x 1 root root 76152 Jul 28 2021 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 35632 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 31512 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 64856 Jul 28 2021 findmnt - -rwsr-xr-x 1 root root 34824 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 178400 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 2021 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 2021 gzexe - -rwxr-xr-x 1 root root 93744 Mar 2 2021 gzip - -rwxr-xr-x 1 root root 18440 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 68720 Sep 22 2020 ln - -rwxr-xr-x 1 root root 52720 Feb 7 2020 login - -rwxr-xr-x 1 root root 143088 Sep 22 2020 ls - -rwxr-xr-x 1 root root 161960 Jul 28 2021 lsblk - -rwxr-xr-x 1 root root 85200 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 68744 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 43976 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 51368 Jul 28 2021 more - -rwsr-xr-x 1 root root 51360 Jul 28 2021 mount - -rwxr-xr-x 1 root root 14496 Jul 28 2021 mountpoint - -rwxr-xr-x 1 root root 134808 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 35720 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Aug 4 2021 rbash -> bash - -rwxr-xr-x 1 root root 43872 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 68592 Sep 22 2020 rm - -rwxr-xr-x 1 root root 43880 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 19208 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 114016 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Sep 7 03:47 sh -> dash - -rwxr-xr-x 1 root root 35656 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 72640 Sep 22 2020 stty - -rwsr-xr-x 1 root root 67776 Jul 28 2021 su - -rwxr-xr-x 1 root root 35672 Sep 22 2020 sync - -rwxr-xr-x 1 root root 535768 Feb 16 2021 tar - -rwxr-xr-x 1 root root 10568 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 89120 Sep 22 2020 touch - -rwxr-xr-x 1 root root 31512 Sep 22 2020 true - -rwxr-xr-x 1 root root 14264 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 30880 Jul 28 2021 umount - -rwxr-xr-x 1 root root 35640 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress - -rwxr-xr-x 1 root root 143088 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 59584 Jul 28 2021 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 2021 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 2021 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 2021 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 2021 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 2021 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 2021 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 2021 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 2021 zless - -rwxr-xr-x 1 root root 1842 Mar 2 2021 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 2021 znew -I: user script /srv/workspace/pbuilder/23624/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1282512 Aug 5 10:25 bash + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 34808 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 34808 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 14264 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 39832 Sep 23 2020 cat + -rwxr-xr-x 1 root root 64512 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 60368 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 64528 Sep 23 2020 chown + -rwxr-xr-x 1 root root 138896 Sep 23 2020 cp + -rwxr-xr-x 1 root root 129544 Dec 11 2020 dash + -rwxr-xr-x 1 root root 101384 Sep 23 2020 date + -rwxr-xr-x 1 root root 80984 Sep 23 2020 dd + -rwxr-xr-x 1 root root 89824 Sep 23 2020 df + -rwxr-xr-x 1 root root 143088 Sep 23 2020 dir + -rwxr-xr-x 1 root root 76152 Jul 29 09:09 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 35632 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 31512 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 64856 Jul 29 09:09 findmnt + -rwsr-xr-x 1 root root 34824 Feb 27 06:12 fusermount + -rwxr-xr-x 1 root root 178400 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 93744 Mar 3 13:30 gzip + -rwxr-xr-x 1 root root 18440 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 68720 Sep 23 2020 ln + -rwxr-xr-x 1 root root 52720 Feb 8 2020 login + -rwxr-xr-x 1 root root 143088 Sep 23 2020 ls + -rwxr-xr-x 1 root root 161960 Jul 29 09:09 lsblk + -rwxr-xr-x 1 root root 85200 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 68744 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 43976 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 51368 Jul 29 09:09 more + -rwsr-xr-x 1 root root 51360 Jul 29 09:09 mount + -rwxr-xr-x 1 root root 14496 Jul 29 09:09 mountpoint + -rwxr-xr-x 1 root root 134808 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 35720 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Aug 5 10:25 rbash -> bash + -rwxr-xr-x 1 root root 43872 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 68592 Sep 23 2020 rm + -rwxr-xr-x 1 root root 43880 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 19208 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 114016 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Aug 6 08:01 sh -> bash + lrwxrwxrwx 1 root root 4 Aug 4 23:24 sh.distrib -> dash + -rwxr-xr-x 1 root root 35656 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 72640 Sep 23 2020 stty + -rwsr-xr-x 1 root root 67776 Jul 29 09:09 su + -rwxr-xr-x 1 root root 35672 Sep 23 2020 sync + -rwxr-xr-x 1 root root 535768 Feb 17 23:55 tar + -rwxr-xr-x 1 root root 10568 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 89120 Sep 23 2020 touch + -rwxr-xr-x 1 root root 31512 Sep 23 2020 true + -rwxr-xr-x 1 root root 14264 Feb 27 06:12 ulockmgr_server + -rwsr-xr-x 1 root root 30880 Jul 29 09:09 umount + -rwxr-xr-x 1 root root 35640 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 uncompress + -rwxr-xr-x 1 root root 143088 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 59584 Jul 29 09:09 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/5427/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -364,7 +398,7 @@ Get: 144 http://deb.debian.org/debian bullseye/main arm64 ruby-rspec-mocks all 3.9.0c2e2m1s3-2 [81.4 kB] Get: 145 http://deb.debian.org/debian bullseye/main arm64 ruby-rspec all 3.9.0c2e2m1s3-2 [8348 B] Get: 146 http://deb.debian.org/debian bullseye/main arm64 ruby-webmock all 3.8.3-1 [64.3 kB] -Fetched 43.9 MB in 1s (50.4 MB/s) +Fetched 43.9 MB in 6s (6887 kB/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 ... 19646 files and directories currently installed.) @@ -972,8 +1006,45 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +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 arm64 libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main arm64 libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main arm64 libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main arm64 usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 0s (3252 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 ... 27136 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-rest-client-2.1.0/ && 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-rest-client_2.1.0-1_source.changes +hostname: Temporary failure in name resolution +I: Running cd /build/ruby-rest-client-2.1.0/ && 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-rest-client_2.1.0-1_source.changes dpkg-buildpackage: info: source package ruby-rest-client dpkg-buildpackage: info: source version 2.1.0-1 dpkg-buildpackage: info: source distribution unstable @@ -1050,373 +1121,373 @@ RUBYLIB=/build/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby:. GEM_PATH=/build/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/share/rubygems-integration/all:/build/ruby-rest-client-2.1.0/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/aarch64-linux-gnu/ruby/gems/2.7.0:/usr/share/rubygems-integration/2.7.0:/usr/share/rubygems-integration/all:/usr/lib/aarch64-linux-gnu/rubygems-integration/2.7.0 ruby2.7 -S rake -f debian/ruby-tests.rake /usr/bin/ruby2.7 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation -Randomized with seed 50850 - -RestClient - logging - uses << if the log is not a string - displays the log to stdout - displays the log to stderr - append the log to the requested filename - API - POST - DELETE - PUT - GET - OPTIONS - HEAD - PATCH - version - has a version > 2.0.0.alpha, < 3.0 - -RestClient::Request - closes payload if not nil - can use a block to process response - params for GET requests - manage params for get requests - adds GET params when params are present in URL - encodes nested GET params - -RestClient::ServerBrokeConnection - should have a default message of 'Server broke connection' - -backwards compatibility - subclasses NotFound from RequestFailed, ExceptionWithResponse - subclasses timeout from RestClient::RequestTimeout, RequestFailed, EWR - aliases RestClient::NotFound as ResourceNotFound - aliases old names for HTTP 413, 414, 416 - -RestClient::Payload - streamed payloads - should have a closed? method - should properly determine the size of file payloads - should properly determine the size of other kinds of streaming payloads - A regular Payload - should escape parameters - should properly handle hashes as parameter - should handle many attributes inside a hash - should form properly use symbols as parameters - should use standard enctype as default content-type - should not close if stream already closed - should handle arrays inside a hash inside a hash - should form properly encoded params - should properly handle arrays as repeated parameters - should handle attributes inside an array inside an hash - Base Payload - should reset stream after to_s - Payload generation - should recognize standard urlencoded params - should be multipart if forced - should recognize nested multipart payloads in arrays - should pass through Payload::Base and subclasses unchanged - should handle non-multipart payload wrapped in ParamsArray - should recognize other payloads that can be streamed - shouldn't treat hashes as streameable - should return data if no of the above - should recognize multipart payload wrapped in ParamsArray - should recognize nested multipart payloads in hashes - should recognize multipart params - should handle deeply nested multipart - should recognize file payloads that can be streamed - A multipart Payload - should form properly separated multipart data - should not error on close if stream already closed - should correctly format hex boundary - should detect optional (original) content type and filename - should form properly separated multipart data - should handle hash in hash parameters - should not escape parameters names - should use standard enctype as default content-type - should ignore the name attribute when it's not set - -RestClient::Exception - returns a 'message' equal to the class name if the message is not set, because 'message' should not be nil - contains exceptions in RestClient - returns the 'message' that was set - sets the exception message to ErrorMessage - -RestClient::Response - accepts nil strings and sets it to empty for the case of HEAD - behaves like string - exceptions processing - should throw an exception for other codes - should return itself for normal codes - logging - uses the request's logger - redirection - keeps redirection history - handles redirects with relative paths - follows a redirection and keep the parameters - follow a redirection when the request is a get and the response is in the 30x range - follows no more than max_redirects redirections, if specified - follows a redirection and keep the cookies - allows for manual following of redirects - follows a redirection when the request is a get - follows no more than 10 redirections before raising error - doesn't follow a 301 when the request is a post - handles redirects with relative path and query string - doesn't follow a 307 when the request is a post - doesn't follow a 302 when the request is a post - follows a redirection when the request is a post and result is a 303 - respects cookie domains on redirect - follows a redirection when the request is a head - doesn't follow a redirection when the request is a put - header processing - handles multiple headers by joining with comma - test headers and raw headers - cookie processing - should correctly deal with multiple cookies [one Set-Cookie header with multiple cookies] - should correctly deal with multiple cookies [multiple Set-Cookie headers] - should correctly deal with one Set-Cookie header with one cookie inside +Randomized with seed 41408 RestClient::Resource - can instantiate with no user/password concatenates urls, inserting a slash when it needs one - is backwards compatible with previous constructor - concatenates urls, using no slash if the first url ends with a slash - the block should be overrideable in ruby 1.9 syntax - prints its url with to_s passes a given block to subresources + can instantiate with no user/password + the block should be overrideable + transports options to subresources offers subresources via [] + prints its url with to_s + is backwards compatible with previous constructor concatenates even non-string urls, :posts + 1 => 'posts/1' - the block should be overrideable + the block should be overrideable in ruby 1.9 syntax + concatenates urls, using no slash if the first url ends with a slash concatenates urls, using no slash if the second url starts with a slash - transports options to subresources + block + can use block when creating the resource + can use block when executing the resource + execution block override resource block Resource delegation - PATCH + overrides resource headers GET PUT HEAD - overrides resource headers - POST DELETE - block - can use block when creating the resource - execution block override resource block - can use block when executing the resource - -RestClient::RawResponse - behaves like string - exposes a Tempfile - includes AbstractResponse - -RestClient::ParamsArray - .new - accepts various types of containers - rejects various invalid input + PATCH + POST RestClient::Request - catches Net::OpenTimeout and raises RestClient's OpenTimeout - executes by constructing the Net::HTTP object, headers, and payload and calling transmit + uses netrc credentials + processes a successful result + correctly formats cookies provided to the constructor rejects cookie values containing invalid characters + IPv6: executes by constructing the Net::HTTP object, headers, and payload and calling transmit + executes by constructing the Net::HTTP object, headers, and payload and calling transmit + does not warn for a normal looking payload + warns when overriding existing headers via payload + uses correct error message for OpenTimeout + uses credentials in the url in preference to netrc catches Net::ReadTimeout and raises RestClient's ReadTimeout + catches Errno::ETIMEDOUT and raise the more informative ReadTimeout strips out cookies set for a different domain name - should still return a response object for 204 No Content responses - set urlencoded content_type header on hash payloads does not warn when overriding user header with header derived from payload if those header values were identical - catches Errno::ETIMEDOUT and raise the more informative ReadTimeout - processes a successful result - strips the charset from the response content type - correctly formats cookies provided to the constructor does not escape or unescape cookies - uses credentials in the url in preference to netrc - determines the Net::HTTP class to instantiate by the method name - uses correct error message for OpenTimeout - does not warn for a normal looking payload - catches Timeout::Error and raise the more informative ReadTimeout + rejects cookie names containing invalid characters rejects or warns with contradictory cookie options + doesn't classify successful requests as failed + transmits the request with Net::HTTP + strips the charset from the response content type + should still return a response object for 204 No Content responses + set urlencoded content_type header on hash payloads + catches Net::OpenTimeout and raises RestClient's OpenTimeout catches EOFError and shows the more informative ServerBrokeConnection - uses netrc credentials class method execute wraps constructor - IPv6: executes by constructing the Net::HTTP object, headers, and payload and calling transmit + catches Timeout::Error and raise the more informative ReadTimeout + accept */* mimetype + assumes default domain and path for cookies set by hash catches OpenSSL::SSL::SSLError and raise it back without more informative message + determines the Net::HTTP class to instantiate by the method name uses correct error message for ReadTimeout - assumes default domain and path for cookies set by hash - transmits the request with Net::HTTP - doesn't classify successful requests as failed - accept */* mimetype - rejects cookie names containing invalid characters - warns when overriding existing headers via payload - logging - logs a response including the status code, content type, and result body size in bytes - logs to a passed logger, if provided - logs input headers as a hash - logs a response with a nil body - logs a post request with a small payload - logs a post request with a large payload - logs a response with a nil Content-type - does not log request password - logs a get request + .normalize_url + does not add http:// to the front of https resources + does not add http:// to the front of capital HTTPS resources + does not add http:// to the front of capital HTTP resources + adds http:// to the front of resources specified in the syntax example.com/resource + raises with invalid URI + adds http:// to resources containing a colon + credentials + sets up the credentials prior to the request + does not attempt to send any credentials if user is nil + does not attempt to send credentials if Authorization header is set + setup credentials when there's a user + block usage + returns what asked to + user - password + uses the username and password from the URL + doesn't overwrite user and password (which may have already been set by the Resource constructor) if there is no user/password in the url + extracts with escaping the username and password when parsing http://user:password@example.com/ + overrides URL user/pass with explicit options + extracts the username and password when parsing http://user:password@example.com/ timeout - does not set timeouts if not specified - disable timeout by setting it to nil - sets read_timeout - deprecated: warns when disabling timeout by setting it to -1 - supersedes :timeout with open/read_timeout + sets both timeouts with :timeout sets open_timeout deprecated: disable timeout by setting it to -1 - sets both timeouts with :timeout - constructor - should reject invalid URIs - should reject valid URIs with no hostname + disable timeout by setting it to nil + supersedes :timeout with open/read_timeout + does not set timeouts if not specified + deprecated: warns when disabling timeout by setting it to -1 + sets read_timeout + user headers + merges user headers with the default headers + prefers the user header when the same header exists in the defaults + converts user headers to string before calling CGI::unescape which fails on non string values process_url_params should handle basic URL params should handle ParamsArray objects - should handle complex nested URL params per Rack / Rails conventions should combine with & when URL params already exist - user - password - extracts the username and password when parsing http://user:password@example.com/ - overrides URL user/pass with explicit options - extracts with escaping the username and password when parsing http://user:password@example.com/ - doesn't overwrite user and password (which may have already been set by the Resource constructor) if there is no user/password in the url - uses the username and password from the URL + should handle complex nested URL params per Rack / Rails conventions exception - raises RequestFailed otherwise - raises ResourceNotFound when the response is 404 raises Unauthorized when the response is 401 + raises ResourceNotFound when the response is 404 + raises RequestFailed otherwise + constructor + should reject invalid URIs + should reject valid URIs with no hostname + payload + sends nil payloads + passes non-hash payloads straight through + converts a hash payload to urlencoded data + accepts nested hashes in payload + logging + logs a post request with a small payload + logs a get request + logs a response with a nil Content-type + logs a response with a nil body + logs a response including the status code, content type, and result body size in bytes + logs a post request with a large payload + logs to a passed logger, if provided + logs input headers as a hash + does not log request password + payloads + should accept string payloads + should accept streaming IO payloads + header symbols + converts content-type from extension to real content-type + converts header values to strings + converts accept from extension(s) to real content-type(s) + only convert symbols in header + converts header symbols from :content_type to 'Content-Type' + proxy + creates a proxy class if a proxy url is given + overrides global proxy with per-request proxy + creates a non-proxy class if a proxy url is not given + sets proxy on a per-request basis + creates a proxy class with the correct address if a IPv6 proxy url is given + disables proxy on a per-request basis + overrides proxy from environment ssl - uses SSL when the URI refers to a https address - should not set net.verify_mode to OpenSSL::SSL::VERIFY_NONE if verify_ssl is true + should not set the ssl_client_cert if it is not provided should set the ssl_client_key if provided - should not set the ssl_ca_file if it is not provided - should set net.verify_mode to OpenSSL::SSL::VERIFY_PEER if verify_ssl is not given - should default to not having an ssl_ca_path + should set net.verify_mode to OpenSSL::SSL::VERIFY_PEER if verify_ssl is true should set the ssl_verify_callback if passed - should set the ssl_version if provided - should not set the ssl_client_key if it is not provided - should set the ssl_cert_store if provided - should not set the ssl_verify_callback by default - should default to not having an ssl_ca_file - should set the ssl_client_cert if provided should default to not having an ssl_client_cert - should default to not having an ssl_client_key + should set the ssl_client_cert if provided + should set net.verify_mode to the passed value if verify_ssl is an OpenSSL constant + should by default set the ssl_cert_store if no CA info is provided should not set the ssl_cert_store if it is set falsy - should set the ssl_ca_file if provided - should not set the ssl_client_cert if it is not provided should not set the ssl_ca_path if it is not provided - should have expected values for VERIFY_PEER and VERIFY_NONE - should by default set the ssl_cert_store if no CA info is provided - should set net.verify_mode to OpenSSL::SSL::VERIFY_PEER if verify_ssl is true - should default to verifying ssl certificates + should not set the ssl_verify_callback by default should set the ssl_ca_path if provided - should set the ssl_ciphers if provided + should default to not having an ssl_ca_path + should set the ssl_cert_store if provided + should default to verifying ssl certificates + should set net.verify_mode to OpenSSL::SSL::VERIFY_NONE if verify_ssl is false should not set the ssl_version if not provided - should set net.verify_mode to the passed value if verify_ssl is an OpenSSL constant + should not set the ssl_client_key if it is not provided + should not set the ssl_ca_file if it is not provided + should default to not having an ssl_client_key + should have expected values for VERIFY_PEER and VERIFY_NONE + should set the ssl_version if provided + should default to not having an ssl_ca_file + should set the ssl_ciphers if provided + should set the ssl_ca_file if provided + should not set net.verify_mode to OpenSSL::SSL::VERIFY_NONE if verify_ssl is true should not set the ssl_ciphers if set to nil - should set net.verify_mode to OpenSSL::SSL::VERIFY_NONE if verify_ssl is false - proxy - sets proxy on a per-request basis - overrides proxy from environment - creates a non-proxy class if a proxy url is not given - overrides global proxy with per-request proxy - disables proxy on a per-request basis - creates a proxy class if a proxy url is given - creates a proxy class with the correct address if a IPv6 proxy url is given - credentials - sets up the credentials prior to the request - does not attempt to send any credentials if user is nil - setup credentials when there's a user - does not attempt to send credentials if Authorization header is set - .normalize_url - does not add http:// to the front of capital HTTP resources - adds http:// to resources containing a colon - does not add http:// to the front of capital HTTPS resources - adds http:// to the front of resources specified in the syntax example.com/resource - raises with invalid URI - does not add http:// to the front of https resources - block usage - returns what asked to - payloads - should accept string payloads - should accept streaming IO payloads - user headers - converts user headers to string before calling CGI::unescape which fails on non string values - prefers the user header when the same header exists in the defaults - merges user headers with the default headers - header symbols - converts header symbols from :content_type to 'Content-Type' - converts header values to strings - only convert symbols in header - converts accept from extension(s) to real content-type(s) - converts content-type from extension to real content-type - payload - sends nil payloads - accepts nested hashes in payload - converts a hash payload to urlencoded data - passes non-hash payloads straight through + should set net.verify_mode to OpenSSL::SSL::VERIFY_PEER if verify_ssl is not given + uses SSL when the URI refers to a https address raw response should read the response into a binary-mode tempfile -RestClient::Utils - .get_encoding_from_headers - returns nil on failures - assumes no encoding by default for text - handles various charsets - .encode_query_string - handles multiple fields with the same name using ParamsArray - handles null and empty values - handles nested hashes - handles nested nulls - handles deep nesting - handles simple arrays - handles nested ParamsArrays - handles simple hashes - .cgi_parse_header - parses headers +RestClient::RequestFailed + stores the http response on the exception + http_body convenience method for fetching the body (decoding when necessary) + http_code convenience method for fetching the code as an integer + shows the status code in the message + +RestClient::Payload + Payload generation + should recognize nested multipart payloads in hashes + should be multipart if forced + should pass through Payload::Base and subclasses unchanged + should handle non-multipart payload wrapped in ParamsArray + should recognize multipart payload wrapped in ParamsArray + shouldn't treat hashes as streameable + should recognize multipart params + should recognize standard urlencoded params + should handle deeply nested multipart + should recognize nested multipart payloads in arrays + should recognize file payloads that can be streamed + should recognize other payloads that can be streamed + should return data if no of the above + A regular Payload + should handle many attributes inside a hash + should form properly encoded params + should properly handle arrays as repeated parameters + should handle arrays inside a hash inside a hash + should form properly use symbols as parameters + should not close if stream already closed + should escape parameters + should use standard enctype as default content-type + should handle attributes inside an array inside an hash + should properly handle hashes as parameter + streamed payloads + should properly determine the size of file payloads + should properly determine the size of other kinds of streaming payloads + should have a closed? method + Base Payload + should reset stream after to_s + A multipart Payload + should detect optional (original) content type and filename + should form properly separated multipart data + should form properly separated multipart data + should not escape parameters names + should not error on close if stream already closed + should correctly format hex boundary + should use standard enctype as default content-type + should handle hash in hash parameters + should ignore the name attribute when it's not set + +RestClient::RawResponse + exposes a Tempfile + includes AbstractResponse + behaves like string RestClient - a simple request a 404 + a simple request charset parsing + defaults to the default encoding handles invalid encoding - handles euc-jp handles utf-8 leaves images as binary + handles euc-jp handles binary - defaults to the default encoding handles windows-1252 RestClient::Request - timeouts - raises OpenTimeout when it hits an open timeout + can use a block to process response + closes payload if not nil + params for GET requests + manage params for get requests + adds GET params when params are present in URL + encodes nested GET params RestClient::NotFound - also has the http response attached stores the body on the response of the exception + also has the http response attached -RestClient::RequestFailed - shows the status code in the message - http_body convenience method for fetching the body (decoding when necessary) - stores the http response on the exception - http_code convenience method for fetching the code as an integer +RestClient::Exception + returns the 'message' that was set + returns a 'message' equal to the class name if the message is not set, because 'message' should not be nil + sets the exception message to ErrorMessage + contains exceptions in RestClient + +RestClient::Response + accepts nil strings and sets it to empty for the case of HEAD + behaves like string + cookie processing + should correctly deal with multiple cookies [one Set-Cookie header with multiple cookies] + should correctly deal with multiple cookies [multiple Set-Cookie headers] + should correctly deal with one Set-Cookie header with one cookie inside + header processing + test headers and raw headers + handles multiple headers by joining with comma + logging + uses the request's logger + exceptions processing + should throw an exception for other codes + should return itself for normal codes + redirection + follows a redirection when the request is a get + keeps redirection history + follows no more than max_redirects redirections, if specified + follows no more than 10 redirections before raising error + handles redirects with relative paths + handles redirects with relative path and query string + doesn't follow a 307 when the request is a post + doesn't follow a 301 when the request is a post + allows for manual following of redirects + doesn't follow a redirection when the request is a put + follows a redirection when the request is a head + follows a redirection and keep the cookies + respects cookie domains on redirect + follow a redirection when the request is a get and the response is in the 30x range + doesn't follow a 302 when the request is a post + follows a redirection when the request is a post and result is a 303 + follows a redirection and keep the parameters + +RestClient::ParamsArray + .new + rejects various invalid input + accepts various types of containers + +RestClient::Utils + .encode_query_string + handles nested ParamsArrays + handles nested nulls + handles deep nesting + handles nested hashes + handles null and empty values + handles multiple fields with the same name using ParamsArray + handles simple arrays + handles simple hashes + .get_encoding_from_headers + assumes no encoding by default for text + returns nil on failures + handles various charsets + .cgi_parse_header + parses headers RestClient::AbstractResponse doesn't escape cookies - extract strange cookies - fetches the headers fetches the numeric response code - extracts cookies from response headers + fetches the headers can access the net http result directly has a nice description + extracts cookies from response headers + extract strange cookies + .cookie_jar + extracts cookies into cookie jar + handles cookies when URI scheme is implicit .beautify_headers joins multiple header values by comma - beautifies the headers by turning the keys to symbols leaves set-cookie headers as array beautifies the headers by turning the values to strings instead of one-element arrays - .cookie_jar - handles cookies when URI scheme is implicit - extracts cookies into cookie jar + beautifies the headers by turning the keys to symbols #return! + should follow 302 redirect should return the response itself on 200-codes - should gracefully handle 302 redirect with no location header - should raise RequestFailed on unknown codes should raise an error on a redirection after non-GET/HEAD requests - should follow 302 redirect + should raise RequestFailed on unknown codes + should gracefully handle 302 redirect with no location header + +RestClient::Request + timeouts + raises OpenTimeout when it hits an open timeout + +RestClient::ServerBrokeConnection + should have a default message of 'Server broke connection' + +backwards compatibility + aliases RestClient::NotFound as ResourceNotFound + subclasses NotFound from RequestFailed, ExceptionWithResponse + aliases old names for HTTP 413, 414, 416 + subclasses timeout from RestClient::RequestTimeout, RequestFailed, EWR + +RestClient + version + has a version > 2.0.0.alpha, < 3.0 + API + HEAD + PATCH + DELETE + POST + PUT + GET + OPTIONS + logging + uses << if the log is not a string + displays the log to stderr + displays the log to stdout + append the log to the requested filename -Finished in 1.3 seconds (files took 1.68 seconds to load) +Finished in 1.03 seconds (files took 1.37 seconds to load) 286 examples, 0 failures -Randomized with seed 50850 +Randomized with seed 41408 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1451,12 +1522,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/5427/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/5427/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/23624 and its subdirectories -I: Current time: Wed Sep 7 12:24:29 -12 2022 -I: pbuilder-time-stamp: 1662596669 +I: removing directory /srv/workspace/pbuilder/5427 and its subdirectories +I: Current time: Fri Aug 6 08:02:32 +14 2021 +I: pbuilder-time-stamp: 1628186552