Diff of the two buildlogs: -- --- b1/build.log 2020-10-11 03:10:02.890084198 +0000 +++ b2/build.log 2020-10-11 03:11:45.873629694 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Nov 12 21:31:36 -12 2021 -I: pbuilder-time-stamp: 1636795896 +I: Current time: Sun Oct 11 17:10:12 +14 2020 +I: pbuilder-time-stamp: 1602385812 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 '/var/lib/jenkins/.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/3465/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/26724/tmp/hooks/D01_modify_environment starting +debug: Running on codethink-sled16-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/26724/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/26724/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]="0" [2]="3" [3]="1" [4]="release" [5]="aarch64-unknown-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=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all 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='3465' - 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=26724 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.djWRYhHh07/pbuilderrc_KuGS --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.djWRYhHh07/b1 --logfile b1/build.log ruby-rest-client_2.0.2-3.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.djWRYhHh07/pbuilderrc_XGaH --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.djWRYhHh07/b2 --logfile b2/build.log ruby-rest-client_2.0.2-3.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 codethink-sled13-arm64 4.4.0-190-generic #220-Ubuntu SMP Fri Aug 28 23:03:33 UTC 2020 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.4.0-190-generic #220-Ubuntu SMP Fri Aug 28 23:03:33 UTC 2020 aarch64 GNU/Linux I: ls -l /bin total 4928 - -rwxr-xr-x 1 root root 1216928 Apr 17 2019 bash - -rwxr-xr-x 3 root root 34808 Jul 10 2019 bunzip2 - -rwxr-xr-x 3 root root 34808 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 34808 Jul 10 2019 bzip2 - -rwxr-xr-x 1 root root 14264 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 35576 Feb 28 2019 cat - -rwxr-xr-x 1 root root 60256 Feb 28 2019 chgrp - -rwxr-xr-x 1 root root 56096 Feb 28 2019 chmod - -rwxr-xr-x 1 root root 64368 Feb 28 2019 chown - -rwxr-xr-x 1 root root 134632 Feb 28 2019 cp - -rwxr-xr-x 1 root root 129536 Jan 17 2019 dash - -rwxr-xr-x 1 root root 97136 Feb 28 2019 date - -rwxr-xr-x 1 root root 76736 Feb 28 2019 dd - -rwxr-xr-x 1 root root 93752 Feb 28 2019 df - -rwxr-xr-x 1 root root 138848 Feb 28 2019 dir - -rwxr-xr-x 1 root root 75984 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 31368 Feb 28 2019 echo - -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep - -rwxr-xr-x 1 root root 27256 Feb 28 2019 false - -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep - -rwxr-xr-x 1 root root 68792 Jan 9 2019 findmnt - -rwsr-xr-x 1 root root 34824 Apr 22 2020 fusermount - -rwxr-xr-x 1 root root 174304 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 89656 Jan 5 2019 gzip - -rwxr-xr-x 1 root root 18440 Sep 26 2018 hostname - -rwxr-xr-x 1 root root 64472 Feb 28 2019 ln - -rwxr-xr-x 1 root root 52544 Jul 26 2018 login - -rwxr-xr-x 1 root root 138848 Feb 28 2019 ls - -rwxr-xr-x 1 root root 108552 Jan 9 2019 lsblk - -rwxr-xr-x 1 root root 76840 Feb 28 2019 mkdir - -rwxr-xr-x 1 root root 64480 Feb 28 2019 mknod - -rwxr-xr-x 1 root root 39736 Feb 28 2019 mktemp - -rwxr-xr-x 1 root root 38840 Jan 9 2019 more - -rwsr-xr-x 1 root root 47112 Jan 9 2019 mount - -rwxr-xr-x 1 root root 14344 Jan 9 2019 mountpoint - -rwxr-xr-x 1 root root 138736 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 35560 Feb 28 2019 pwd - lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash - -rwxr-xr-x 1 root root 43712 Feb 28 2019 readlink - -rwxr-xr-x 1 root root 68440 Feb 28 2019 rm - -rwxr-xr-x 1 root root 39624 Feb 28 2019 rmdir - -rwxr-xr-x 1 root root 19144 Jan 21 2019 run-parts - -rwxr-xr-x 1 root root 114016 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Nov 9 02:48 sh -> dash - -rwxr-xr-x 1 root root 31384 Feb 28 2019 sleep - -rwxr-xr-x 1 root root 72480 Feb 28 2019 stty - -rwsr-xr-x 1 root root 59424 Jan 9 2019 su - -rwxr-xr-x 1 root root 31416 Feb 28 2019 sync - -rwxr-xr-x 1 root root 449416 Apr 23 2019 tar - -rwxr-xr-x 1 root root 10560 Jan 21 2019 tempfile - -rwxr-xr-x 1 root root 88968 Feb 28 2019 touch - -rwxr-xr-x 1 root root 27256 Feb 28 2019 true - -rwxr-xr-x 1 root root 14264 Apr 22 2020 ulockmgr_server - -rwsr-xr-x 1 root root 30728 Jan 9 2019 umount - -rwxr-xr-x 1 root root 31384 Feb 28 2019 uname - -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress - -rwxr-xr-x 1 root root 138848 Feb 28 2019 vdir - -rwxr-xr-x 1 root root 34824 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/3465/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1216928 Apr 18 2019 bash + -rwxr-xr-x 3 root root 34808 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 34808 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 34808 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 14264 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 35576 Mar 1 2019 cat + -rwxr-xr-x 1 root root 60256 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 56096 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 64368 Mar 1 2019 chown + -rwxr-xr-x 1 root root 134632 Mar 1 2019 cp + -rwxr-xr-x 1 root root 129536 Jan 18 2019 dash + -rwxr-xr-x 1 root root 97136 Mar 1 2019 date + -rwxr-xr-x 1 root root 76736 Mar 1 2019 dd + -rwxr-xr-x 1 root root 93752 Mar 1 2019 df + -rwxr-xr-x 1 root root 138848 Mar 1 2019 dir + -rwxr-xr-x 1 root root 75984 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 31368 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 27256 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 68792 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 34824 Apr 23 09:38 fusermount + -rwxr-xr-x 1 root root 174304 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 89656 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 18440 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 64472 Mar 1 2019 ln + -rwxr-xr-x 1 root root 52544 Jul 27 2018 login + -rwxr-xr-x 1 root root 138848 Mar 1 2019 ls + -rwxr-xr-x 1 root root 108552 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 76840 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 64480 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 39736 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 38840 Jan 10 2019 more + -rwsr-xr-x 1 root root 47112 Jan 10 2019 mount + -rwxr-xr-x 1 root root 14344 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 138736 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 35560 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 43712 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 68440 Mar 1 2019 rm + -rwxr-xr-x 1 root root 39624 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 19144 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 114016 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Oct 11 17:10 sh -> bash + lrwxrwxrwx 1 root root 4 Oct 7 22:25 sh.distrib -> dash + -rwxr-xr-x 1 root root 31384 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 72480 Mar 1 2019 stty + -rwsr-xr-x 1 root root 59424 Jan 10 2019 su + -rwxr-xr-x 1 root root 31416 Mar 1 2019 sync + -rwxr-xr-x 1 root root 449416 Apr 24 2019 tar + -rwxr-xr-x 1 root root 10560 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 88968 Mar 1 2019 touch + -rwxr-xr-x 1 root root 27256 Mar 1 2019 true + -rwxr-xr-x 1 root root 14264 Apr 23 09:38 ulockmgr_server + -rwsr-xr-x 1 root root 30728 Jan 10 2019 umount + -rwxr-xr-x 1 root root 31384 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 138848 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 34824 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/26724/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 arm64 ruby-rspec all 3.8.0c0e1m0s0-1 [7620 B] Get: 170 http://deb.debian.org/debian buster/main arm64 ruby-typhoeus all 1.3.1-1 [35.4 kB] Get: 171 http://deb.debian.org/debian buster/main arm64 ruby-webmock all 3.4.2-1 [60.2 kB] -Fetched 44.1 MB in 4s (10.1 MB/s) +Fetched 44.1 MB in 5s (9341 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:arm64. (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 ... 19168 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/aarch64-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 56632 +Randomized with seed 20134 -RestClient - API - POST - HEAD - DELETE - GET - PUT - OPTIONS - PATCH - logging - append the log to the requested filename - uses << if the log is not a string - displays the log to stdout - displays the log to stderr - version - has a version ~> 2.0.0.alpha - -RestClient::NotFound - also has the http response attached - stores the body on the response of the exception - -backwards compatibility - aliases old names for HTTP 413, 414, 416 - aliases RestClient::NotFound as ResourceNotFound - subclasses NotFound from RequestFailed, ExceptionWithResponse - subclasses timeout from RestClient::RequestTimeout, RequestFailed, EWR - -RestClient::Utils - .get_encoding_from_headers - assumes no encoding by default for text - handles various charsets - returns nil on failures - .encode_query_string - handles nested ParamsArrays - handles multiple fields with the same name using ParamsArray - handles nested hashes - handles simple hashes - handles null and empty values - handles nested nulls - handles deep nesting - handles simple arrays - .cgi_parse_header - parses headers +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::AbstractResponse doesn't escape cookies - has a nice description - extract strange cookies + fetches the numeric response code extracts cookies from response headers + has a nice description fetches the headers - fetches the numeric response code can access the net http result directly - .cookie_jar - handles cookies when URI scheme is implicit - extracts cookies into cookie jar + extract strange cookies .beautify_headers - joins multiple header values by comma beautifies the headers by turning the keys to symbols beautifies the headers by turning the values to strings instead of one-element arrays + joins multiple header values by comma leaves set-cookie headers as array #return! should gracefully handle 302 redirect with no location header - should follow 302 redirect - should return the response itself on 200-codes should raise RequestFailed on unknown codes + should return the response itself on 200-codes should raise an error on a redirection after non-GET/HEAD requests + should follow 302 redirect + .cookie_jar + extracts cookies into cookie jar + handles cookies when URI scheme is implicit + +RestClient::Response + behaves like string + accepts nil strings and sets it to empty for the case of HEAD + exceptions processing + should throw an exception for other codes + should return itself for normal codes + 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] + redirection + doesn't follow a 301 when the request is a post + respects cookie domains on redirect + doesn't follow a 302 when the request is a post + follows no more than max_redirects redirections, if specified + follows a redirection when the request is a get + doesn't follow a 307 when the request is a post + follows no more than 10 redirections before raising error + follows a redirection and keep the parameters + allows for manual following of redirects + follows a redirection when the request is a post and result is a 303 + follows a redirection and keep the cookies + keeps redirection history + follows a redirection when the request is a head + handles redirects with relative path and query string + doesn't follow a redirection when the request is a put + handles redirects with relative paths + follow a redirection when the request is a get and the response is in the 30x range + header processing + test headers and raw headers + handles multiple headers by joining with comma + +RestClient::Resource + concatenates urls, inserting a slash when it needs one + transports options to subresources + prints its url with to_s + offers subresources via [] + is backwards compatible with previous constructor + can instantiate with no user/password + passes a given block to subresources + concatenates urls, using no slash if the second url starts with a slash + the block should be overrideable in ruby 1.9 syntax + concatenates urls, using no slash if the first url ends with a slash + concatenates even non-string urls, :posts + 1 => 'posts/1' + the block should be overrideable + block + can use block when executing the resource + execution block override resource block + can use block when creating the resource + Resource delegation + POST + DELETE + GET + overrides resource headers + PATCH + PUT + HEAD + +RestClient + a simple request with gzipped content + a simple request + a 404 + charset parsing + handles invalid encoding + leaves images as binary + handles utf-8 + handles binary + defaults to the default encoding + handles windows-1252 + handles euc-jp RestClient::Request - determines the Net::HTTP class to instantiate by the method name - accept */* mimetype + can use a block to process response + closes payload if not nil + params for GET requests + adds GET params when params are present in URL + encodes nested GET params + manage params for get requests + +RestClient::RawResponse + behaves like string + exposes a Tempfile + +RestClient::ParamsArray + .new + accepts various types of containers + rejects various invalid input + +RestClient::Request + catches OpenSSL::SSL::SSLError and raise it back without more informative message + uses correct error message for ReadTimeout + executes by constructing the Net::HTTP object, headers, and payload and calling transmit catches Errno::ETIMEDOUT and raise the more informative ReadTimeout - rejects cookie values containing invalid characters - processes a successful result + catches Timeout::Error and raise the more informative ReadTimeout + rejects cookie names containing invalid characters + assumes default domain and path for cookies set by hash + rejects or warns with contradictory cookie options catches Net::OpenTimeout and raises RestClient's OpenTimeout - does not escape or unescape cookies - warns when overriding existing headers via payload + correctly formats cookies provided to the constructor uses credentials in the url in preference to netrc + warns when overriding existing headers via payload + does not warn for a normal looking payload + strips the charset from the response content type + determines the Net::HTTP class to instantiate by the method name + uses correct error message for OpenTimeout + class method execute wraps constructor + does not escape or unescape cookies uses netrc credentials doesn't classify successful requests as failed - class method execute wraps constructor - does not warn when overriding user header with header derived from payload if those header values were identical + rejects cookie values containing invalid characters + catches EOFError and shows the more informative ServerBrokeConnection transmits the request with Net::HTTP should still return a response object for 204 No Content responses - strips the charset from the response content type - catches Net::ReadTimeout and raises RestClient's ReadTimeout - catches EOFError and shows the more informative ServerBrokeConnection + processes a successful result set urlencoded content_type header on hash payloads - catches Timeout::Error and raise the more informative ReadTimeout - assumes default domain and path for cookies set by hash IPv6: executes by constructing the Net::HTTP object, headers, and payload and calling transmit - correctly formats cookies provided to the constructor - executes by constructing the Net::HTTP object, headers, and payload and calling transmit + accept */* mimetype + does not warn when overriding user header with header derived from payload if those header values were identical + catches Net::ReadTimeout and raises RestClient's ReadTimeout strips out cookies set for a different domain name - rejects cookie names containing invalid characters - uses correct error message for ReadTimeout - uses correct error message for OpenTimeout - does not warn for a normal looking payload - catches OpenSSL::SSL::SSLError and raise it back without more informative message - rejects or warns with contradictory cookie options - constructor - should reject invalid URIs - should reject valid URIs with no hostname + logging + logs a post request with a large payload + logs a response with a nil body + logs a get request + logs a post request with a small payload + logs a response including the status code, content type, and result body size in bytes + logs a response with a nil Content-type + logs input headers as a hash + does not log request password ssl - should set net.verify_mode to OpenSSL::SSL::VERIFY_PEER if verify_ssl is true - should not set the ssl_cert_store if it is set falsy - should set the ssl_ciphers if provided - should default to not having an ssl_client_key - should not set the ssl_client_key if it is not provided - should default to not having an ssl_ca_path + should not set the ssl_ciphers if set to nil should not set the ssl_verify_callback by default - should by default set the ssl_cert_store if no CA info is provided - should not set the ssl_ca_file if it is not provided - should not set net.verify_mode to OpenSSL::SSL::VERIFY_NONE if verify_ssl is true should set the ssl_version if provided - should set net.verify_mode to OpenSSL::SSL::VERIFY_NONE if verify_ssl is false - should not set the ssl_ciphers if set to nil - should not set the ssl_ca_path if it is not provided - should default to not having an ssl_client_cert - should set the ssl_ca_file if provided - should set the ssl_client_key if provided - should set the ssl_cert_store if provided - should default to verifying ssl certificates - should default to not having an ssl_ca_file should set net.verify_mode to the passed value if verify_ssl is an OpenSSL constant should set the ssl_verify_callback if passed - uses SSL when the URI refers to a https address + should default to not having an ssl_ca_path + should set the ssl_ca_path if provided 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 the ssl_ca_file if provided + should default to not having an ssl_ca_file + should set the ssl_ciphers if provided + should default to not having an ssl_client_cert + uses SSL when the URI refers to a https address + should set the ssl_cert_store if provided + should default to not having an ssl_client_key + should not set the ssl_ca_path if it is not provided + should set the ssl_client_cert if provided + should default to verifying ssl certificates + should set net.verify_mode to OpenSSL::SSL::VERIFY_NONE if verify_ssl is false + 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 not set the ssl_cert_store if it is set falsy should not set the ssl_version if not provided should have expected values for VERIFY_PEER and VERIFY_NONE - should set the ssl_ca_path if provided - should set the ssl_client_cert if 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 net.verify_mode to OpenSSL::SSL::VERIFY_NONE if verify_ssl is true payload + sends nil payloads converts a hash payload to urlencoded data - accepts nested hashes in payload passes non-hash payloads straight through - sends nil payloads + accepts nested hashes in payload + payloads + should accept string payloads + should accept streaming IO payloads + .normalize_url + raises with invalid URI + does not add http:// to the front of capital HTTP resources + adds http:// to resources containing a colon + adds http:// to the front of resources specified in the syntax example.com/resource + does not add http:// to the front of https resources + does not add http:// to the front of capital HTTPS resources + user - password + 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/ + uses the username and password from the URL + overrides URL user/pass with explicit options + extracts with escaping the username and password when parsing http://user:password@example.com/ + constructor + should reject invalid URIs + should reject valid URIs with no hostname header symbols - converts accept from extension(s) to real content-type(s) - converts content-type from extension to real content-type converts header symbols from :content_type to 'Content-Type' + converts content-type from extension to real content-type + converts accept from extension(s) to real content-type(s) only convert symbols in header converts header values to strings - timeout - deprecated: warns when disabling timeout by setting it to -1 - does not set timeouts if not specified - supersedes :timeout with open/read_timeout - disable timeout by setting it to nil - sets both timeouts with :timeout - sets open_timeout - deprecated: disable timeout by setting it to -1 - sets read_timeout - process_url_params - should handle ParamsArray objects - should handle complex nested URL params per Rack / Rails conventions - should combine with & when URL params already exist - should handle basic URL params + proxy + creates a non-proxy class if a proxy url is not given + 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 + overrides global proxy with per-request proxy + overrides proxy from environment + disables proxy on a per-request basis + sets proxy on a per-request basis + raw response + should read the response into a binary-mode tempfile + block usage + returns what asked to credentials does not attempt to send any credentials if user is nil - sets up the credentials prior to the request - does not attempt to send credentials if Authorization header is set 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 exception - raises RequestFailed otherwise raises Unauthorized when the response is 401 + raises RequestFailed otherwise raises ResourceNotFound when the response is 404 - user - password - extracts the username and password when parsing http://user:password@example.com/ - uses the username and password from the URL - 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 - .normalize_url - adds http:// to resources containing a colon - 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 - raises with invalid URI - does not add http:// to the front of https resources - does not add http:// to the front of capital HTTP resources - user headers - merges user headers with the default 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 + process_url_params + should combine with & when URL params already exist + should handle basic URL params + should handle ParamsArray objects + should handle complex nested URL params per Rack / Rails conventions + timeout + deprecated: warns when disabling timeout by setting it to -1 + deprecated: disable timeout by setting it to -1 + disable timeout by setting it to nil + does not set timeouts if not specified + sets read_timeout + sets both timeouts with :timeout + supersedes :timeout with open/read_timeout + sets open_timeout compression - decodes an uncompressed result body by passing it straight through doesn't fail for nil bodies decodes a gzip body - decodes a deflated body + decodes an uncompressed result body by passing it straight through ingores gzip for empty bodies - logging - logs a post request with a small payload - logs a post request with a large payload - logs a response with a nil Content-type - logs input headers as a hash - logs a response with a nil body - logs a response including the status code, content type, and result body size in bytes - logs a get request - does not log request password - block usage - returns what asked to - raw response - should read the response into a binary-mode tempfile - proxy - 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 - overrides proxy from environment - 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 - disables proxy on a per-request basis - payloads - should accept string payloads - should accept streaming IO payloads - -RestClient - a simple request - a simple request with gzipped content - a 404 - charset parsing - handles invalid encoding - handles euc-jp - handles utf-8 - handles binary - leaves images as binary - handles windows-1252 - defaults to the default encoding + decodes a deflated body + 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 -RestClient::RawResponse - behaves like string - exposes a Tempfile +RestClient::ServerBrokeConnection + should have a default message of 'Server broke connection' -RestClient::Exception - 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 - returns the 'message' that was set - contains exceptions in RestClient +RestClient::NotFound + also has the http response attached + stores the body on the response of the exception -RestClient::Request - can use a block to process response - closes payload if not nil - params for GET requests - encodes nested GET params - adds GET params when params are present in URL - manage params for get requests +RestClient + API + HEAD + DELETE + PATCH + POST + PUT + GET + OPTIONS + logging + displays the log to stdout + uses << if the log is not a string + append the log to the requested filename + displays the log to stderr + version + has a version ~> 2.0.0.alpha -RestClient::Response - behaves like string - accepts nil strings and sets it to empty for the case of HEAD - exceptions processing - should throw an exception for other codes - should return itself for normal codes - redirection - respects cookie domains on redirect - doesn't follow a redirection when the request is a put - allows for manual following of redirects - 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 - keeps redirection history - follows a redirection when the request is a head - follows no more than 10 redirections before raising error - follows no more than max_redirects redirections, if specified - follows a redirection when the request is a post and result is a 303 - handles redirects with relative paths - follows a redirection and keep the cookies - follows a redirection and keep the parameters - follow a redirection when the request is a get and the response is in the 30x range - handles redirects with relative path and query string - follows a redirection when the request is a get - 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 +RestClient::Utils + .get_encoding_from_headers + assumes no encoding by default for text + returns nil on failures + handles various charsets + .encode_query_string + handles nested ParamsArrays + handles simple arrays + handles nested hashes + handles deep nesting + handles multiple fields with the same name using ParamsArray + handles simple hashes + handles nested nulls + handles null and empty values + .cgi_parse_header + parses headers RestClient::RequestFailed - http_code convenience method for fetching the code as an integer 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 stores the http response on the exception -RestClient::ParamsArray - .new - accepts various types of containers - rejects various invalid input - -RestClient::ServerBrokeConnection - should have a default message of 'Server broke connection' - -RestClient::Resource - can instantiate with no user/password - concatenates urls, using no slash if the second url starts with a slash - concatenates urls, inserting a slash when it needs one - passes a given block to subresources - the block should be overrideable - concatenates urls, using no slash if the first url ends with a slash - prints its url with to_s - is backwards compatible with previous constructor - offers subresources via [] - the block should be overrideable in ruby 1.9 syntax - concatenates even non-string urls, :posts + 1 => 'posts/1' - transports options to subresources - block - execution block override resource block - can use block when creating the resource - can use block when executing the resource - Resource delegation - POST - GET - PATCH - HEAD - DELETE - PUT - overrides resource headers - RestClient::Payload - Payload generation - should recognize nested multipart payloads in hashes - should recognize nested multipart payloads in arrays - should recognize file payloads that can be streamed - should return data if no of the above - should recognize standard urlencoded params - should recognize multipart params - should be multipart if forced - should handle deeply nested multipart - should recognize other payloads that can be streamed - shouldn't treat hashes as streameable + 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 correctly format hex boundary - should form properly separated multipart data 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 correctly format hex boundary should not escape parameters names + should ignore the name attribute when it's not set should handle hash in hash parameters - 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 + should form properly separated multipart data + should form properly separated multipart data + should detect optional (original) content type and filename A regular Payload - should form properly use symbols as parameters - should handle many attributes inside a hash should properly handle hashes as parameter should not close if stream already closed - should properly handle arrays as repeated parameters - should handle arrays inside a hash inside a hash - should use standard enctype as default content-type should form properly encoded params + should form properly use symbols as parameters + should use standard enctype as default content-type + should properly handle arrays as repeated parameters should handle attributes inside an array inside an hash + should handle many attributes inside a hash + should handle arrays inside a hash inside a hash should escape parameters + Payload generation + should recognize file payloads that can be streamed + should recognize nested multipart payloads in hashes + shouldn't treat hashes as streameable + 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 arrays + should recognize standard urlencoded params + should handle deeply nested multipart + streamed payloads + should properly determine the size of other kinds of streaming payloads + should properly determine the size of file payloads + +backwards compatibility + subclasses NotFound from RequestFailed, ExceptionWithResponse + aliases old names for HTTP 413, 414, 416 + subclasses timeout from RestClient::RequestTimeout, RequestFailed, EWR + aliases RestClient::NotFound as ResourceNotFound -Finished in 1.5 seconds (files took 2.1 seconds to load) +Finished in 1.5 seconds (files took 2.16 seconds to load) 284 examples, 0 failures -Randomized with seed 56632 +Randomized with seed 20134 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -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/26724/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/26724/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/3465 and its subdirectories -I: Current time: Fri Nov 12 21:33:01 -12 2021 -I: pbuilder-time-stamp: 1636795981 +I: removing directory /srv/workspace/pbuilder/26724 and its subdirectories +I: Current time: Sun Oct 11 17:11:44 +14 2020 +I: pbuilder-time-stamp: 1602385904