Diff of the two buildlogs: -- --- b1/build.log 2020-12-14 02:59:56.373615179 +0000 +++ b2/build.log 2020-12-14 03:00:42.148204796 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Jan 15 21:20:53 -12 2022 -I: pbuilder-time-stamp: 1642324853 +I: Current time: Mon Dec 14 16:59:57 +14 2020 +I: pbuilder-time-stamp: 1607914797 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Sun Jan 13 05:38:25 2019 -12 +gpgv: Signature made Mon Jan 14 07:38:25 2019 +14 gpgv: using RSA key 58B66D48736BE93B052DE6729C5C99EB05BD750A gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./ruby-rest-client_2.0.2-3.1.dsc @@ -30,136 +30,170 @@ dpkg-source: info: applying proxy-proof-tests.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/13271/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/60388/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +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/60388/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/60388/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='amd64' + 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]="0" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.0.3(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='2dd0f0f5b0c64a86819d2968f4872eba' - 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='13271' - PS1='# ' - PS2='> ' + INVOCATION_ID=98d6f45d4c294208b72e9023a72cb2c3 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=60388 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.ZSGpjK2maX/pbuilderrc_FY6Y --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.ZSGpjK2maX/b1 --logfile b1/build.log ruby-rest-client_2.0.2-3.1.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68: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.ZSGpjK2maX/pbuilderrc_UAlq --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.ZSGpjK2maX/b2 --logfile b2/build.log ruby-rest-client_2.0.2-3.1.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos15-amd64 5.9.0-0.bpo.2-amd64 #1 SMP Debian 5.9.6-1~bpo10+1 (2020-11-19) x86_64 GNU/Linux + Linux i-capture-the-hostname 4.19.0-13-amd64 #1 SMP Debian 4.19.160-2 (2020-11-28) x86_64 GNU/Linux I: ls -l /bin total 5116 - -rwxr-xr-x 1 root root 1168776 Apr 17 2019 bash - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bunzip2 - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bzcat - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bzip2 - -rwxr-xr-x 1 root root 14328 Jul 10 2019 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore - -rwxr-xr-x 1 root root 43744 Feb 28 2019 cat - -rwxr-xr-x 1 root root 64320 Feb 28 2019 chgrp - -rwxr-xr-x 1 root root 64288 Feb 28 2019 chmod - -rwxr-xr-x 1 root root 72512 Feb 28 2019 chown - -rwxr-xr-x 1 root root 146880 Feb 28 2019 cp - -rwxr-xr-x 1 root root 121464 Jan 17 2019 dash - -rwxr-xr-x 1 root root 109408 Feb 28 2019 date - -rwxr-xr-x 1 root root 76712 Feb 28 2019 dd - -rwxr-xr-x 1 root root 93744 Feb 28 2019 df - -rwxr-xr-x 1 root root 138856 Feb 28 2019 dir - -rwxr-xr-x 1 root root 84288 Jan 9 2019 dmesg - lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname - -rwxr-xr-x 1 root root 39520 Feb 28 2019 echo - -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep - -rwxr-xr-x 1 root root 35424 Feb 28 2019 false - -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep - -rwxr-xr-x 1 root root 68880 Jan 9 2019 findmnt - -rwsr-xr-x 1 root root 34896 Apr 22 2020 fusermount - -rwxr-xr-x 1 root root 198976 Jan 7 2019 grep - -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip - -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe - -rwxr-xr-x 1 root root 98048 Jan 5 2019 gzip - -rwxr-xr-x 1 root root 26696 Sep 26 2018 hostname - -rwxr-xr-x 1 root root 68552 Feb 28 2019 ln - -rwxr-xr-x 1 root root 56760 Jul 26 2018 login - -rwxr-xr-x 1 root root 138856 Feb 28 2019 ls - -rwxr-xr-x 1 root root 108624 Jan 9 2019 lsblk - -rwxr-xr-x 1 root root 89088 Feb 28 2019 mkdir - -rwxr-xr-x 1 root root 68544 Feb 28 2019 mknod - -rwxr-xr-x 1 root root 43808 Feb 28 2019 mktemp - -rwxr-xr-x 1 root root 43008 Jan 9 2019 more - -rwsr-xr-x 1 root root 51280 Jan 9 2019 mount - -rwxr-xr-x 1 root root 14408 Jan 9 2019 mountpoint - -rwxr-xr-x 1 root root 138728 Feb 28 2019 mv - lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 39616 Feb 28 2019 pwd - lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash - -rwxr-xr-x 1 root root 47776 Feb 28 2019 readlink - -rwxr-xr-x 1 root root 68416 Feb 28 2019 rm - -rwxr-xr-x 1 root root 47776 Feb 28 2019 rmdir - -rwxr-xr-x 1 root root 23312 Jan 21 2019 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jan 9 02:47 sh -> dash - -rwxr-xr-x 1 root root 39552 Feb 28 2019 sleep - -rwxr-xr-x 1 root root 80672 Feb 28 2019 stty - -rwsr-xr-x 1 root root 63568 Jan 9 2019 su - -rwxr-xr-x 1 root root 35488 Feb 28 2019 sync - -rwxr-xr-x 1 root root 445560 Apr 23 2019 tar - -rwxr-xr-x 1 root root 14440 Jan 21 2019 tempfile - -rwxr-xr-x 1 root root 97152 Feb 28 2019 touch - -rwxr-xr-x 1 root root 35424 Feb 28 2019 true - -rwxr-xr-x 1 root root 14328 Apr 22 2020 ulockmgr_server - -rwsr-xr-x 1 root root 34888 Jan 9 2019 umount - -rwxr-xr-x 1 root root 39584 Feb 28 2019 uname - -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress - -rwxr-xr-x 1 root root 138856 Feb 28 2019 vdir - -rwxr-xr-x 1 root root 34896 Jan 9 2019 wdctl - -rwxr-xr-x 1 root root 946 Jan 21 2019 which - lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat - -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp - -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff - -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep - -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep - -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce - -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep - -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless - -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore - -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew -I: user script /srv/workspace/pbuilder/13271/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1168776 Apr 18 2019 bash + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bzcat + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 14328 Jul 11 2019 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore + -rwxr-xr-x 1 root root 43744 Mar 1 2019 cat + -rwxr-xr-x 1 root root 64320 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 64288 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 72512 Mar 1 2019 chown + -rwxr-xr-x 1 root root 146880 Mar 1 2019 cp + -rwxr-xr-x 1 root root 121464 Jan 18 2019 dash + -rwxr-xr-x 1 root root 109408 Mar 1 2019 date + -rwxr-xr-x 1 root root 76712 Mar 1 2019 dd + -rwxr-xr-x 1 root root 93744 Mar 1 2019 df + -rwxr-xr-x 1 root root 138856 Mar 1 2019 dir + -rwxr-xr-x 1 root root 84288 Jan 10 2019 dmesg + lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname + -rwxr-xr-x 1 root root 39520 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 35424 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 68880 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 34896 Apr 23 2020 fusermount + -rwxr-xr-x 1 root root 198976 Jan 8 2019 grep + -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip + -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe + -rwxr-xr-x 1 root root 98048 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 26696 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 68552 Mar 1 2019 ln + -rwxr-xr-x 1 root root 56760 Jul 27 2018 login + -rwxr-xr-x 1 root root 138856 Mar 1 2019 ls + -rwxr-xr-x 1 root root 108624 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 89088 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 68544 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 43808 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 43008 Jan 10 2019 more + -rwsr-xr-x 1 root root 51280 Jan 10 2019 mount + -rwxr-xr-x 1 root root 14408 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 138728 Mar 1 2019 mv + lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 39616 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 47776 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 68416 Mar 1 2019 rm + -rwxr-xr-x 1 root root 47776 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 23312 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Dec 14 17:00 sh -> bash + lrwxrwxrwx 1 root root 4 Dec 7 22:24 sh.distrib -> dash + -rwxr-xr-x 1 root root 39552 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 80672 Mar 1 2019 stty + -rwsr-xr-x 1 root root 63568 Jan 10 2019 su + -rwxr-xr-x 1 root root 35488 Mar 1 2019 sync + -rwxr-xr-x 1 root root 445560 Apr 24 2019 tar + -rwxr-xr-x 1 root root 14440 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 97152 Mar 1 2019 touch + -rwxr-xr-x 1 root root 35424 Mar 1 2019 true + -rwxr-xr-x 1 root root 14328 Apr 23 2020 ulockmgr_server + -rwsr-xr-x 1 root root 34888 Jan 10 2019 umount + -rwxr-xr-x 1 root root 39584 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 138856 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 34896 Jan 10 2019 wdctl + -rwxr-xr-x 1 root root 946 Jan 22 2019 which + lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat + -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp + -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff + -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep + -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep + -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce + -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep + -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless + -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore + -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew +I: user script /srv/workspace/pbuilder/60388/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -384,7 +418,7 @@ Get: 169 http://deb.debian.org/debian buster/main amd64 ruby-rspec all 3.8.0c0e1m0s0-1 [7620 B] Get: 170 http://deb.debian.org/debian buster/main amd64 ruby-typhoeus all 1.3.1-1 [35.4 kB] Get: 171 http://deb.debian.org/debian buster/main amd64 ruby-webmock all 3.4.2-1 [60.2 kB] -Fetched 45.6 MB in 1s (40.0 MB/s) +Fetched 45.6 MB in 2s (24.7 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:amd64. (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 ... 19195 files and directories currently installed.) @@ -1100,7 +1134,7 @@ fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/ruby-rest-client-2.0.2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/ruby-rest-client-2.0.2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package ruby-rest-client dpkg-buildpackage: info: source version 2.0.2-3.1 dpkg-buildpackage: info: source distribution unstable @@ -1176,368 +1210,368 @@ RUBYLIB=/build/ruby-rest-client-2.0.2/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby:. GEM_PATH=debian/ruby-rest-client/usr/share/rubygems-integration/all:/var/lib/gems/2.5.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all ruby2.5 -S rake -f debian/ruby-tests.rake /usr/bin/ruby2.5 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation -Randomized with seed 12385 +Randomized with seed 52846 -RestClient::Payload - Payload generation - should recognize nested multipart payloads in arrays - should recognize file payloads that can be streamed - should recognize other payloads that can be streamed - should recognize multipart params - should be multipart if forced - should return data if no of the above - should recognize nested multipart payloads in hashes - should recognize standard urlencoded params - should handle deeply nested multipart - shouldn't treat hashes as streameable - A regular Payload - should properly handle arrays as repeated parameters - should escape parameters - should form properly encoded params - should not close if stream already closed - should form properly use symbols as parameters - should use standard enctype as default content-type - should handle arrays inside a hash inside a hash - should handle many attributes inside a hash - should handle attributes inside an array inside an hash - should properly handle hashes as parameter - A multipart Payload - should use standard enctype as default content-type - should not error on close if stream already closed - should ignore the name attribute when it's not set - should form properly separated multipart data - should form properly separated multipart data - should detect optional (original) content type and filename - should handle hash in hash parameters - should correctly format hex boundary - should not escape parameters names - streamed payloads - should properly determine the size of file payloads - should properly determine the size of other kinds of streaming payloads - Base Payload - should reset stream after to_s - -RestClient::RawResponse +RestClient::Response + accepts nil strings and sets it to empty for the case of HEAD behaves like string - exposes a Tempfile + cookie processing + should correctly deal with one Set-Cookie header with one cookie inside + should correctly deal with multiple cookies [multiple Set-Cookie headers] + should correctly deal with multiple cookies [one Set-Cookie header with multiple cookies] + header processing + handles multiple headers by joining with comma + test headers and raw headers + redirection + doesn't follow a 301 when the request is a post + doesn't follow a 307 when the request is a post + doesn't follow a 302 when the request is a post + doesn't follow a redirection when the request is a put + follows no more than 10 redirections before raising error + follow a redirection when the request is a get and the response is in the 30x range + allows for manual following of redirects + respects cookie domains on redirect + follows a redirection and keep the parameters + handles redirects with relative path and query string + keeps redirection history + follows no more than max_redirects redirections, if specified + follows a redirection and keep the cookies + follows a redirection when the request is a head + handles redirects with relative paths + follows a redirection when the request is a get + follows a redirection when the request is a post and result is a 303 + exceptions processing + should return itself for normal codes + should throw an exception for other codes -RestClient::ParamsArray - .new - rejects various invalid input - accepts various types of containers +RestClient + version + has a version ~> 2.0.0.alpha + logging + displays the log to stdout + uses << if the log is not a string + displays the log to stderr + append the log to the requested filename + API + GET + HEAD + PATCH + OPTIONS + PUT + DELETE + POST + +RestClient::Exception + returns the 'message' that was set + sets the exception message to ErrorMessage + returns a 'message' equal to the class name if the message is not set, because 'message' should not be nil + contains exceptions in RestClient RestClient - a 404 a simple request with gzipped content + a 404 a simple request charset parsing - handles windows-1252 handles invalid encoding handles euc-jp - defaults to the default encoding handles utf-8 - leaves images as binary handles binary + defaults to the default encoding + handles windows-1252 + leaves images as binary -RestClient::NotFound - also has the http response attached - stores the body on the response of the exception - -RestClient::Resource - can instantiate with no user/password - offers subresources via [] - concatenates urls, inserting a slash when it needs one - concatenates urls, using no slash if the second url starts with a slash - prints its url with to_s - the block should be overrideable in ruby 1.9 syntax - the block should be overrideable - concatenates urls, using no slash if the first url ends with a slash - passes a given block to subresources - is backwards compatible with previous constructor - concatenates even non-string urls, :posts + 1 => 'posts/1' - transports options to subresources - Resource delegation - overrides resource headers - PUT - DELETE - PATCH - GET - HEAD - POST - block - execution block override resource block - can use block when creating the resource - can use block when executing the resource - -RestClient::AbstractResponse - fetches the headers - has a nice description - can access the net http result directly - extracts cookies from response headers - doesn't escape cookies - extract strange cookies - fetches the numeric response code - #return! - should raise RequestFailed on unknown codes - should raise an error on a redirection after non-GET/HEAD requests - should follow 302 redirect - should return the response itself on 200-codes - should gracefully handle 302 redirect with no location header - .cookie_jar - extracts cookies into cookie jar - handles cookies when URI scheme is implicit - .beautify_headers - beautifies the headers by turning the values to strings instead of one-element arrays - leaves set-cookie headers as array - beautifies the headers by turning the keys to symbols - joins multiple header values by comma - -RestClient::Request - closes payload if not nil - can use a block to process response - params for GET requests - encodes nested GET params - manage params for get requests - adds GET params when params are present in URL +RestClient::Utils + .encode_query_string + handles multiple fields with the same name using ParamsArray + handles null and empty values + handles nested hashes + handles nested nulls + handles nested ParamsArrays + handles deep nesting + handles simple arrays + handles simple hashes + .cgi_parse_header + parses headers + .get_encoding_from_headers + returns nil on failures + handles various charsets + assumes no encoding by default for text backwards compatibility + aliases old names for HTTP 413, 414, 416 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::Request - processes a successful result - doesn't classify successful requests as failed - strips the charset from the response content type - class method execute wraps constructor - warns when overriding existing headers via payload - transmits the request with Net::HTTP - does not warn for a normal looking payload - IPv6: executes by constructing the Net::HTTP object, headers, and payload and calling transmit + does not warn when overriding user header with header derived from payload if those header values were identical + uses correct error message for ReadTimeout + uses correct error message for OpenTimeout + catches Net::OpenTimeout and raises RestClient's OpenTimeout rejects cookie names containing invalid characters uses credentials in the url in preference to netrc - strips out cookies set for a different domain name + warns when overriding existing headers via payload + class method execute wraps constructor + does not escape or unescape cookies + determines the Net::HTTP class to instantiate by the method name rejects or warns with contradictory cookie options - assumes default domain and path for cookies set by hash - catches EOFError and shows the more informative ServerBrokeConnection - uses correct error message for ReadTimeout - catches OpenSSL::SSL::SSLError and raise it back without more informative message - catches Net::ReadTimeout and raises RestClient's ReadTimeout + uses netrc credentials correctly formats cookies provided to the constructor - should still return a response object for 204 No Content responses + 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 - rejects cookie values containing invalid characters + does not warn for a normal looking payload + catches OpenSSL::SSL::SSLError and raise it back without more informative message + strips the charset from the response content type + catches Timeout::Error and raise the more informative ReadTimeout + catches Net::ReadTimeout and raises RestClient's ReadTimeout accept */* mimetype + rejects cookie values containing invalid characters + strips out cookies set for a different domain name + doesn't classify successful requests as failed + catches EOFError and shows the more informative ServerBrokeConnection + should still return a response object for 204 No Content responses + assumes default domain and path for cookies set by hash catches Errno::ETIMEDOUT and raise the more informative ReadTimeout - determines the Net::HTTP class to instantiate by the method name - uses netrc credentials + processes a successful result + transmits the request with Net::HTTP set urlencoded content_type header on hash payloads - does not escape or unescape cookies - uses correct error message for OpenTimeout - catches Net::OpenTimeout and raises RestClient's OpenTimeout - catches Timeout::Error and raise the more informative ReadTimeout - does not warn when overriding user header with header derived from payload if those header values were identical - 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 - exception - raises ResourceNotFound when the response is 404 - raises RequestFailed otherwise - raises Unauthorized when the response is 401 - payload - converts a hash payload to urlencoded data - sends nil payloads - accepts nested hashes in payload - passes non-hash payloads straight through - logging - logs a response with a nil Content-type - logs a response with a nil body - logs a get request - does not log request password - logs a response including the status code, content type, and result body size in bytes - logs input headers as a hash - logs a post request with a large payload - logs a post request with a small payload - compression - doesn't fail for nil bodies - decodes an uncompressed result body by passing it straight through - decodes a deflated body - decodes a gzip body - ingores gzip for empty bodies + timeout + sets open_timeout + deprecated: disable timeout by setting it to -1 + deprecated: warns when disabling timeout by setting it to -1 + sets read_timeout + sets both timeouts with :timeout + disable timeout by setting it to nil + supersedes :timeout with open/read_timeout + does not set timeouts if not specified .normalize_url - does not add http:// to the front of https resources - adds http:// to the front of resources specified in the syntax example.com/resource 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 resources containing a colon + does not add http:// to the front of https resources raises with invalid URI - 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 + proxy + overrides global proxy with per-request proxy + disables proxy on a per-request basis + sets proxy on a per-request basis + creates a proxy class with the correct address if a IPv6 proxy url is given + creates a non-proxy class if a proxy url is not given + creates a proxy class if a proxy url is given + overrides proxy from environment + raw response + should read the response into a binary-mode tempfile + payload + accepts nested hashes in payload + sends nil payloads + passes non-hash payloads straight through + converts a hash payload to urlencoded data credentials 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 sets up the credentials prior to the request + setup credentials when there's a user + process_url_params + should handle complex nested URL params per Rack / Rails conventions + should handle basic URL params + should combine with & when URL params already exist + should handle ParamsArray objects + compression + decodes a deflated body + decodes a gzip body + doesn't fail for nil bodies + decodes an uncompressed result body by passing it straight through + ingores gzip for empty bodies header symbols converts header symbols from :content_type to 'Content-Type' - only convert symbols in header converts accept from extension(s) to real content-type(s) - converts header values to strings converts content-type from extension to real content-type + only convert symbols in header + converts header values to strings payloads - should accept string payloads should accept streaming IO payloads - process_url_params - should combine with & when URL params already exist - should handle ParamsArray objects - should handle complex nested URL params per Rack / Rails conventions - should handle basic URL params - proxy - overrides global proxy with per-request proxy - creates a proxy class if a proxy url is given - disables proxy on a per-request basis - creates a non-proxy class if a proxy url is not given - creates a proxy class with the correct address if a IPv6 proxy url is given - overrides proxy from environment - sets proxy on a per-request basis + should accept string payloads + block usage + returns what asked to + exception + raises Unauthorized when the response is 401 + raises ResourceNotFound when the response is 404 + raises RequestFailed otherwise 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 the username and password when parsing http://user:password@example.com/ - extracts with escaping the username and password when parsing http://user:password@example.com/ overrides URL user/pass with explicit options + uses the username and password from the URL + extracts with escaping the username and password when parsing http://user:password@example.com/ constructor should reject valid URIs with no hostname should reject invalid URIs + logging + logs input headers as a hash + logs a response including the status code, content type, and result body size in bytes + does not log request password + logs a post request with a small payload + logs a get request + logs a response with a nil body + logs a response with a nil Content-type + logs a post request with a large payload + 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 ssl - should set net.verify_mode to OpenSSL::SSL::VERIFY_NONE if verify_ssl is false - should default to verifying ssl certificates + should set the ssl_version if provided should not set the ssl_ciphers if set to nil - should not set the ssl_client_cert if it is not provided - should set the ssl_ciphers if provided - should set the ssl_verify_callback if passed - should not set the ssl_ca_path if it is not provided should set the ssl_cert_store if provided should by default set the ssl_cert_store if no CA info is provided - should default to not having an ssl_client_cert - uses SSL when the URI refers to a https address - should not set the ssl_cert_store if it is set falsy + should set the ssl_verify_callback if passed + should not set the ssl_ca_file if it is not provided + should not set the ssl_version if not provided + should not set the ssl_client_key if it is not provided + should set net.verify_mode to OpenSSL::SSL::VERIFY_PEER if verify_ssl is not given should not set the ssl_verify_callback by default - should set the ssl_version if provided - should set the ssl_client_cert if provided should default to not having an ssl_ca_file - should set net.verify_mode to OpenSSL::SSL::VERIFY_PEER if verify_ssl is true + uses SSL when the URI refers to a https address + should default to not having an ssl_client_cert should set net.verify_mode to the passed value if verify_ssl is an OpenSSL constant - should have expected values for VERIFY_PEER and VERIFY_NONE - should set the ssl_ca_file if provided - should not set the ssl_version if not provided + should not set the ssl_cert_store if it is set falsy + should set the ssl_ca_path if provided should default to not having an ssl_client_key - should set net.verify_mode to OpenSSL::SSL::VERIFY_PEER if verify_ssl is not given - should not set the ssl_ca_file if it is not provided + should set the ssl_ciphers if provided + should default to verifying ssl certificates + should not set the ssl_ca_path if it is not provided + should set the ssl_client_cert if provided + should set the ssl_client_key if provided + should not set the ssl_client_cert if it is not provided + should set the ssl_ca_file if provided + should set net.verify_mode to OpenSSL::SSL::VERIFY_PEER if verify_ssl is true + should set net.verify_mode to OpenSSL::SSL::VERIFY_NONE if verify_ssl is false should default to not having an ssl_ca_path should not set net.verify_mode to OpenSSL::SSL::VERIFY_NONE if verify_ssl is true - should set the ssl_ca_path if provided - should not set the ssl_client_key if it is not provided - should set the ssl_client_key if provided - timeout - sets both timeouts with :timeout - sets open_timeout - disable timeout by setting it to nil - deprecated: warns when disabling timeout by setting it to -1 - supersedes :timeout with open/read_timeout - sets read_timeout - does not set timeouts if not specified - deprecated: disable timeout by setting it to -1 - block usage - returns what asked to - raw response - should read the response into a binary-mode tempfile + should have expected values for VERIFY_PEER and VERIFY_NONE -RestClient - version - has a version ~> 2.0.0.alpha - logging - displays the log to stderr - uses << if the log is not a string - append the log to the requested filename - displays the log to stdout - API +RestClient::ParamsArray + .new + rejects various invalid input + accepts various types of containers + +RestClient::Resource + concatenates urls, using no slash if the first url ends with a slash + concatenates urls, inserting a slash when it needs one + can instantiate with no user/password + prints its url with to_s + the block should be overrideable in ruby 1.9 syntax + concatenates even non-string urls, :posts + 1 => 'posts/1' + concatenates urls, using no slash if the second url starts with a slash + is backwards compatible with previous constructor + offers subresources via [] + transports options to subresources + the block should be overrideable + passes a given block to subresources + Resource delegation + HEAD + DELETE PATCH POST PUT - DELETE GET - HEAD - OPTIONS + overrides resource headers + block + execution block override resource block + can use block when executing the resource + can use block when creating the resource -RestClient::RequestFailed - shows the status code in the message - http_code convenience method for fetching the code as an integer - http_body convenience method for fetching the body (decoding when necessary) - stores the http response on the exception +RestClient::Payload + Base Payload + should reset stream after to_s + A regular Payload + should form properly encoded params + should properly handle arrays as repeated parameters + should properly handle hashes as parameter + should handle arrays inside a hash inside a hash + should handle many attributes inside a hash + should form properly use symbols as parameters + should not close if stream already closed + should use standard enctype as default content-type + should handle attributes inside an array inside an hash + should escape parameters + Payload generation + should recognize file payloads that can be streamed + should recognize nested multipart payloads in arrays + should recognize standard urlencoded params + should recognize nested multipart payloads in hashes + should return data if no of the above + should recognize other payloads that can be streamed + should handle deeply nested multipart + should recognize multipart params + should be multipart if forced + shouldn't treat hashes as streameable + A multipart Payload + should use standard enctype as default content-type + should handle hash in hash parameters + should form properly separated multipart data + should not escape parameters names + should ignore the name attribute when it's not set + should form properly separated multipart data + should not error on close if stream already closed + should detect optional (original) content type and filename + should correctly format hex boundary + streamed payloads + should properly determine the size of other kinds of streaming payloads + should properly determine the size of file payloads -RestClient::Utils - .cgi_parse_header - parses headers - .encode_query_string - handles nested hashes - handles deep nesting - handles simple arrays - handles nested ParamsArrays - handles nested nulls - handles null and empty values - handles simple hashes - handles multiple fields with the same name using ParamsArray - .get_encoding_from_headers - assumes no encoding by default for text - returns nil on failures - handles various charsets +RestClient::NotFound + stores the body on the response of the exception + also has the http response attached + +RestClient::Request + closes payload if not nil + can use a block to process response + params for GET requests + encodes nested GET params + manage params for get requests + adds GET params when params are present in URL + +RestClient::RawResponse + exposes a Tempfile + behaves like string RestClient::ServerBrokeConnection should have a default message of 'Server broke connection' -RestClient::Response - accepts nil strings and sets it to empty for the case of HEAD - behaves like string - header processing - handles multiple headers by joining with comma - test headers and raw headers - redirection - keeps redirection history - follows no more than 10 redirections before raising error - respects cookie domains on redirect - follows a redirection and keep the cookies - handles redirects with relative path and query string - doesn't follow a redirection when the request is a put - follow a redirection when the request is a get and the response is in the 30x range - follows a redirection when the request is a post and result is a 303 - doesn't follow a 301 when the request is a post - allows for manual following of redirects - follows no more than max_redirects redirections, if specified - doesn't follow a 302 when the request is a post - follows a redirection when the request is a head - follows a redirection and keep the parameters - handles redirects with relative paths - doesn't follow a 307 when the request is a post - follows a redirection when the request is a get - cookie processing - should correctly deal with multiple cookies [multiple Set-Cookie headers] - should correctly deal with multiple cookies [one Set-Cookie header with multiple cookies] - should correctly deal with one Set-Cookie header with one cookie inside - exceptions processing - should throw an exception for other codes - should return itself for normal codes +RestClient::RequestFailed + shows the status code in the message + http_code convenience method for fetching the code as an integer + stores the http response on the exception + http_body convenience method for fetching the body (decoding when necessary) -RestClient::Exception - returns the 'message' that was set - contains exceptions in RestClient - sets the exception message to ErrorMessage - returns a 'message' equal to the class name if the message is not set, because 'message' should not be nil +RestClient::AbstractResponse + doesn't escape cookies + can access the net http result directly + fetches the headers + extract strange cookies + fetches the numeric response code + extracts cookies from response headers + has a nice description + .cookie_jar + extracts cookies into cookie jar + handles cookies when URI scheme is implicit + #return! + should return the response itself on 200-codes + should raise RequestFailed on unknown codes + should gracefully handle 302 redirect with no location header + should raise an error on a redirection after non-GET/HEAD requests + should follow 302 redirect + .beautify_headers + beautifies the headers by turning the values to strings instead of one-element arrays + beautifies the headers by turning the keys to symbols + leaves set-cookie headers as array + joins multiple header values by comma -Finished in 0.99843 seconds (files took 1.34 seconds to load) +Finished in 0.53331 seconds (files took 1.16 seconds to load) 284 examples, 0 failures -Randomized with seed 12385 +Randomized with seed 52846 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1570,12 +1604,14 @@ dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/60388/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/60388/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/13271 and its subdirectories -I: Current time: Sat Jan 15 21:23:09 -12 2022 -I: pbuilder-time-stamp: 1642324989 +I: removing directory /srv/workspace/pbuilder/60388 and its subdirectories +I: Current time: Mon Dec 14 17:00:41 +14 2020 +I: pbuilder-time-stamp: 1607914841