Diff of the two buildlogs: -- --- b1/build.log 2021-06-21 22:04:09.905887143 +0000 +++ b2/build.log 2021-06-21 22:04:40.844725083 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Jun 21 10:01:05 -12 2021 -I: pbuilder-time-stamp: 1624312865 +I: Current time: Mon Jul 25 18:27:11 +14 2022 +I: pbuilder-time-stamp: 1658723231 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,8 +17,8 @@ I: copying [./ruby-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.ZxierWA7/trustedkeys.kbx': General error -gpgv: Signature made Wed Jan 13 08:23:43 2021 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.Hgy08niC/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 @@ -31,137 +31,171 @@ 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/7609/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/10667/tmp/hooks/D01_modify_environment starting +debug: Running on ionos6-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/10667/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/10667/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=10' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=18' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='85974507ab9c4f1e82777d043531139f' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='7609' - PS1='# ' - PS2='> ' + INVOCATION_ID=00b7b6ba7c154cdb847fd971566efd7f + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=10667 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.k9BxIPG9rm/pbuilderrc_4Hfm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.k9BxIPG9rm/b1 --logfile b1/build.log ruby-rest-client_2.1.0-1.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.k9BxIPG9rm/pbuilderrc_P4Nn --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.k9BxIPG9rm/b2 --logfile b2/build.log --extrapackages usrmerge ruby-rest-client_2.1.0-1.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos12-i386 4.19.0-17-686-pae #1 SMP Debian 4.19.194-1 (2021-06-10) i686 GNU/Linux + Linux i-capture-the-hostname 4.19.0-17-amd64 #1 SMP Debian 4.19.194-1 (2021-06-10) x86_64 GNU/Linux I: ls -l /bin total 5776 - -rwxr-xr-x 1 root root 1367848 Feb 24 08:57 bash - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 17768 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 38824 Sep 22 2020 cat - -rwxr-xr-x 1 root root 71624 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 67528 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 75752 Sep 22 2020 chown - -rwxr-xr-x 1 root root 157960 Sep 22 2020 cp - -rwxr-xr-x 1 root root 128724 Dec 10 2020 dash - -rwxr-xr-x 1 root root 124904 Sep 22 2020 date - -rwxr-xr-x 1 root root 92172 Sep 22 2020 dd - -rwxr-xr-x 1 root root 100752 Sep 22 2020 df - -rwxr-xr-x 1 root root 153964 Sep 22 2020 dir - -rwxr-xr-x 1 root root 83644 Feb 7 02:38 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 34664 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 34664 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 71928 Feb 7 02:38 findmnt - -rwsr-xr-x 1 root root 30112 Feb 26 04:12 fusermount - -rwxr-xr-x 1 root root 210488 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 11:30 gzexe - -rwxr-xr-x 1 root root 100952 Mar 2 11:30 gzip - -rwxr-xr-x 1 root root 21916 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 83980 Sep 22 2020 ln - -rwxr-xr-x 1 root root 55572 Feb 7 2020 login - -rwxr-xr-x 1 root root 153964 Sep 22 2020 ls - -rwxr-xr-x 1 root root 153124 Feb 7 02:38 lsblk - -rwxr-xr-x 1 root root 96328 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 79912 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 47048 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 58920 Feb 7 02:38 more - -rwsr-xr-x 1 root root 50720 Feb 7 02:38 mount - -rwxr-xr-x 1 root root 13856 Feb 7 02:38 mountpoint - -rwxr-xr-x 1 root root 157996 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 03:38 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38824 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Feb 24 08:57 rbash -> bash - -rwxr-xr-x 1 root root 46984 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 75720 Sep 22 2020 rm - -rwxr-xr-x 1 root root 46984 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 22292 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 125036 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jun 19 21:25 sh -> dash - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 83880 Sep 22 2020 stty - -rwsr-xr-x 1 root root 79396 Feb 7 02:38 su - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sync - -rwxr-xr-x 1 root root 602584 Feb 16 21:55 tar - -rwxr-xr-x 1 root root 13860 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 108520 Sep 22 2020 touch - -rwxr-xr-x 1 root root 34664 Sep 22 2020 true - -rwxr-xr-x 1 root root 17768 Feb 26 04:12 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Feb 7 02:38 umount - -rwxr-xr-x 1 root root 34664 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 uncompress - -rwxr-xr-x 1 root root 153964 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 63024 Feb 7 02:38 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 11:30 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 11:30 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 11:30 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 11:30 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 11:30 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 11:30 zless - -rwxr-xr-x 1 root root 1842 Mar 2 11:30 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 11:30 znew -I: user script /srv/workspace/pbuilder/7609/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1367848 Feb 25 2021 bash + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 17768 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 38824 Sep 23 2020 cat + -rwxr-xr-x 1 root root 71624 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 67528 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 75752 Sep 23 2020 chown + -rwxr-xr-x 1 root root 157960 Sep 23 2020 cp + -rwxr-xr-x 1 root root 128724 Dec 11 2020 dash + -rwxr-xr-x 1 root root 124904 Sep 23 2020 date + -rwxr-xr-x 1 root root 92172 Sep 23 2020 dd + -rwxr-xr-x 1 root root 100752 Sep 23 2020 df + -rwxr-xr-x 1 root root 153964 Sep 23 2020 dir + -rwxr-xr-x 1 root root 83644 Feb 8 2021 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 34664 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 34664 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 71928 Feb 8 2021 findmnt + -rwsr-xr-x 1 root root 30112 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 210488 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 100952 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 21916 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 83980 Sep 23 2020 ln + -rwxr-xr-x 1 root root 55572 Feb 8 2020 login + -rwxr-xr-x 1 root root 153964 Sep 23 2020 ls + -rwxr-xr-x 1 root root 153124 Feb 8 2021 lsblk + -rwxr-xr-x 1 root root 96328 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 79912 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 47048 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 58920 Feb 8 2021 more + -rwsr-xr-x 1 root root 50720 Feb 8 2021 mount + -rwxr-xr-x 1 root root 13856 Feb 8 2021 mountpoint + -rwxr-xr-x 1 root root 157996 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38824 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Feb 25 2021 rbash -> bash + -rwxr-xr-x 1 root root 46984 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 75720 Sep 23 2020 rm + -rwxr-xr-x 1 root root 46984 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 22292 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 125036 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Jul 25 18:27 sh -> bash + lrwxrwxrwx 1 root root 4 Jul 25 05:46 sh.distrib -> dash + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 83880 Sep 23 2020 stty + -rwsr-xr-x 1 root root 79396 Feb 8 2021 su + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sync + -rwxr-xr-x 1 root root 602584 Feb 17 2021 tar + -rwxr-xr-x 1 root root 13860 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 108520 Sep 23 2020 touch + -rwxr-xr-x 1 root root 34664 Sep 23 2020 true + -rwxr-xr-x 1 root root 17768 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Feb 8 2021 umount + -rwxr-xr-x 1 root root 34664 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 153964 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 63024 Feb 8 2021 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/10667/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -367,7 +401,7 @@ Get: 144 http://deb.debian.org/debian bullseye/main i386 ruby-rspec-mocks all 3.9.0c2e2m1s3-2 [81.4 kB] Get: 145 http://deb.debian.org/debian bullseye/main i386 ruby-rspec all 3.9.0c2e2m1s3-2 [8348 B] Get: 146 http://deb.debian.org/debian bullseye/main i386 ruby-webmock all 3.8.3-1 [64.3 kB] -Fetched 45.4 MB in 8s (5802 kB/s) +Fetched 45.4 MB in 1s (87.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19675 files and directories currently installed.) @@ -975,8 +1009,44 @@ 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 i386 libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main i386 libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main i386 libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main i386 usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 0s (4736 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 ... 27162 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 +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 dpkg-buildpackage: info: source package ruby-rest-client dpkg-buildpackage: info: source version 2.1.0-1 dpkg-buildpackage: info: source distribution unstable @@ -1015,22 +1085,22 @@ install -d /build/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/bin install -D -m755 /build/ruby-rest-client-2.1.0/bin/restclient /build/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/bin/restclient install -d /build/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby +install -D -m644 /build/ruby-rest-client-2.1.0/lib/restclient.rb /build/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby/restclient.rb install -D -m644 /build/ruby-rest-client-2.1.0/lib/rest-client.rb /build/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby/rest-client.rb install -D -m644 /build/ruby-rest-client-2.1.0/lib/rest_client.rb /build/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby/rest_client.rb -install -D -m644 /build/ruby-rest-client-2.1.0/lib/restclient/response.rb /build/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby/restclient/response.rb -install -D -m644 /build/ruby-rest-client-2.1.0/lib/restclient/resource.rb /build/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby/restclient/resource.rb +install -D -m644 /build/ruby-rest-client-2.1.0/lib/restclient/abstract_response.rb /build/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby/restclient/abstract_response.rb install -D -m644 /build/ruby-rest-client-2.1.0/lib/restclient/version.rb /build/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby/restclient/version.rb +install -D -m644 /build/ruby-rest-client-2.1.0/lib/restclient/request.rb /build/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby/restclient/request.rb install -D -m644 /build/ruby-rest-client-2.1.0/lib/restclient/payload.rb /build/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby/restclient/payload.rb -install -D -m644 /build/ruby-rest-client-2.1.0/lib/restclient/utils.rb /build/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby/restclient/utils.rb install -D -m644 /build/ruby-rest-client-2.1.0/lib/restclient/platform.rb /build/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby/restclient/platform.rb +install -D -m644 /build/ruby-rest-client-2.1.0/lib/restclient/utils.rb /build/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby/restclient/utils.rb +install -D -m644 /build/ruby-rest-client-2.1.0/lib/restclient/response.rb /build/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby/restclient/response.rb install -D -m644 /build/ruby-rest-client-2.1.0/lib/restclient/exceptions.rb /build/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby/restclient/exceptions.rb install -D -m644 /build/ruby-rest-client-2.1.0/lib/restclient/windows.rb /build/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby/restclient/windows.rb -install -D -m644 /build/ruby-rest-client-2.1.0/lib/restclient/request.rb /build/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby/restclient/request.rb -install -D -m644 /build/ruby-rest-client-2.1.0/lib/restclient/abstract_response.rb /build/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby/restclient/abstract_response.rb -install -D -m644 /build/ruby-rest-client-2.1.0/lib/restclient/windows/root_certs.rb /build/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby/restclient/windows/root_certs.rb install -D -m644 /build/ruby-rest-client-2.1.0/lib/restclient/params_array.rb /build/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby/restclient/params_array.rb +install -D -m644 /build/ruby-rest-client-2.1.0/lib/restclient/resource.rb /build/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby/restclient/resource.rb install -D -m644 /build/ruby-rest-client-2.1.0/lib/restclient/raw_response.rb /build/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby/restclient/raw_response.rb -install -D -m644 /build/ruby-rest-client-2.1.0/lib/restclient.rb /build/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby/restclient.rb +install -D -m644 /build/ruby-rest-client-2.1.0/lib/restclient/windows/root_certs.rb /build/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby/restclient/windows/root_certs.rb Rewriting shebang line of /build/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/bin/restclient ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1053,373 +1123,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/i386-linux-gnu/ruby/gems/2.7.0:/usr/share/rubygems-integration/2.7.0:/usr/share/rubygems-integration/all:/usr/lib/i386-linux-gnu/rubygems-integration/2.7.0 ruby2.7 -S rake -f debian/ruby-tests.rake /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 556 +Randomized with seed 19153 -RestClient::RawResponse - exposes a Tempfile - includes AbstractResponse +RestClient::Response + accepts nil strings and sets it to empty for the case of HEAD behaves like string + redirection + follows a redirection when the request is a get + follows a redirection when the request is a post and result is a 303 + follows a redirection and keep the parameters + allows for manual following of redirects + doesn't follow a 301 when the request is a post + handles redirects with relative paths + keeps redirection history + doesn't follow a 302 when the request is a post + follows a redirection and keep the cookies + doesn't follow a redirection when the request is a put + follows no more than max_redirects redirections, if specified + follows a redirection when the request is a head + doesn't follow a 307 when the request is a post + handles redirects with relative path and query string + 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 + respects cookie domains on redirect + header processing + test headers and raw headers + handles multiple headers by joining with comma + 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] + logging + uses the request's logger + exceptions processing + should throw an exception for other codes + should return itself for normal codes + +RestClient + a simple request + a 404 + charset parsing + defaults to the default encoding + handles windows-1252 + handles utf-8 + handles euc-jp + handles binary + leaves images as binary + handles invalid encoding + +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::Request - doesn't classify successful requests as failed - rejects cookie names containing invalid characters - rejects or warns with contradictory cookie options - should still return a response object for 204 No Content responses - correctly formats cookies provided to the constructor - uses correct error message for OpenTimeout - determines the Net::HTTP class to instantiate by the method name - warns when overriding existing headers via payload - catches EOFError and shows the more informative ServerBrokeConnection rejects cookie values containing invalid characters - catches Errno::ETIMEDOUT and raise the more informative ReadTimeout - does not warn when overriding user header with header derived from payload if those header values were identical uses correct error message for ReadTimeout set urlencoded content_type header on hash payloads - uses netrc credentials - catches Net::ReadTimeout and raises RestClient's ReadTimeout - transmits the request with Net::HTTP + does not escape or unescape cookies + uses correct error message for OpenTimeout catches Net::OpenTimeout and raises RestClient's OpenTimeout - processes a successful result - executes by constructing the Net::HTTP object, headers, and payload and calling transmit - assumes default domain and path for cookies set by hash + strips out cookies set for a different domain name IPv6: executes by constructing the Net::HTTP object, headers, and payload and calling transmit - catches OpenSSL::SSL::SSLError and raise it back without more informative message + determines the Net::HTTP class to instantiate by the method name catches Timeout::Error and raise the more informative ReadTimeout - uses credentials in the url in preference to netrc + correctly formats cookies provided to the constructor + assumes default domain and path for cookies set by hash + does not warn when overriding user header with header derived from payload if those header values were identical + rejects cookie names containing invalid characters + warns when overriding existing headers via payload + transmits the request with Net::HTTP + catches OpenSSL::SSL::SSLError and raise it back without more informative message strips the charset from the response content type - does not escape or unescape cookies - strips out cookies set for a different domain name - accept */* mimetype + catches Net::ReadTimeout and raises RestClient's ReadTimeout does not warn for a normal looking payload + executes by constructing the Net::HTTP object, headers, and payload and calling transmit + catches Errno::ETIMEDOUT and raise the more informative ReadTimeout class method execute wraps constructor - block usage - returns what asked to - logging - logs input headers as a hash - logs a response with a nil body - logs a response with a nil Content-type - logs a get request - does not log request password - logs a post request with a small payload - logs a post request with a large payload - logs to a passed logger, if provided - logs a response including the status code, content type, and result body size in bytes - proxy - creates a non-proxy class if a proxy url is not given - disables proxy on a per-request basis - creates a proxy class if a proxy url is given - sets proxy on a per-request basis - 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 - 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 - credentials - setup credentials when there's a user - does not attempt to send credentials if Authorization header is set - does not attempt to send any credentials if user is nil - sets up the credentials prior to the request + doesn't classify successful requests as failed + processes a successful result + catches EOFError and shows the more informative ServerBrokeConnection + uses netrc credentials + should still return a response object for 204 No Content responses + rejects or warns with contradictory cookie options + uses credentials in the url in preference to netrc + accept */* mimetype .normalize_url - does not add http:// to the front of capital HTTP resources - 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 - header symbols - converts header symbols from :content_type to 'Content-Type' - converts accept from extension(s) to real content-type(s) - converts content-type from extension to real content-type - only convert symbols in header - converts header values to strings + does not add http:// to the front of capital HTTPS resources + timeout + does not set timeouts if not specified + sets open_timeout + disable timeout by setting it to nil + sets read_timeout + deprecated: warns when disabling timeout by setting it to -1 + deprecated: disable timeout by setting it to -1 + sets both timeouts with :timeout + supersedes :timeout with open/read_timeout + user - password + 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/ + 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/ + proxy + overrides proxy from environment + creates a proxy class with the correct address if a IPv6 proxy url is given + creates a proxy class if a proxy url is given + disables proxy on a per-request basis + overrides global proxy with per-request proxy + sets proxy on a per-request basis + creates a non-proxy class if a proxy url is not given + block usage + returns what asked to + exception + raises RequestFailed otherwise + raises Unauthorized when the response is 401 + raises ResourceNotFound when the response is 404 ssl - should not set the ssl_cert_store if it is set falsy - should set the ssl_ciphers if provided - should default to verifying ssl certificates + should set the ssl_ca_path if provided should have expected values for VERIFY_PEER and VERIFY_NONE - should set net.verify_mode to OpenSSL::SSL::VERIFY_NONE if verify_ssl is false - should set the ssl_cert_store 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 not set the ssl_verify_callback by default - should by default set the ssl_cert_store if no CA info is provided - should default to not having an ssl_client_cert - should default to not having an ssl_ca_path - should not set the ssl_version if not provided - should not set the ssl_client_key if it is not provided - should not set the ssl_ciphers if set to nil - 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_client_key - should set the ssl_ca_path if provided + should not set the ssl_client_key if it is not provided + should not set the ssl_ca_path if it is not provided + should set the ssl_cert_store if provided + should set net.verify_mode to OpenSSL::SSL::VERIFY_PEER if verify_ssl is true should set the ssl_client_cert if provided + uses SSL when the URI refers to a https address should set the ssl_version if provided - should default to not having an ssl_ca_file - should set the ssl_client_key if provided + should not set the ssl_cert_store if it is set falsy should set the ssl_verify_callback if passed - should not set net.verify_mode to OpenSSL::SSL::VERIFY_NONE if verify_ssl is true - should set net.verify_mode to the passed value if verify_ssl is an OpenSSL constant - should set net.verify_mode to OpenSSL::SSL::VERIFY_PEER if verify_ssl is true + should set the ssl_client_key if provided + should not set the ssl_verify_callback by default + should default to not having an ssl_ca_file + should default to not having an ssl_ca_path 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 - constructor - should reject invalid URIs - should reject valid URIs with no hostname - raw response - should read the response into a binary-mode tempfile + should set net.verify_mode to OpenSSL::SSL::VERIFY_NONE if verify_ssl is false + should set net.verify_mode to the passed value if verify_ssl is an OpenSSL constant + should set the ssl_ciphers if provided + should not set the ssl_version if not provided + should by default set the ssl_cert_store if no CA info is provided + should default to verifying ssl certificates + 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 default to not having an ssl_client_key + should default to not having an ssl_client_cert + should not set the ssl_ca_file if it is not provided + should not set the ssl_ciphers if set to nil + 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 handle ParamsArray objects should combine with & when URL params already exist - should handle complex nested URL params per Rack / Rails conventions should handle basic URL params - payloads - should accept streaming IO payloads - should accept string payloads - timeout - sets both timeouts with :timeout - does not set timeouts if not specified - sets read_timeout - supersedes :timeout with open/read_timeout - disable timeout by setting it to nil - sets open_timeout - deprecated: warns when disabling timeout by setting it to -1 - deprecated: disable timeout by setting it to -1 - user - password - extracts with escaping 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 - 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/ + should handle complex nested URL params per Rack / Rails conventions + should handle ParamsArray objects payload - sends nil payloads - accepts nested hashes in payload converts a hash payload to urlencoded data passes non-hash payloads straight through - exception - raises Unauthorized when the response is 401 - raises RequestFailed otherwise - raises ResourceNotFound when the response is 404 - -RestClient::RequestFailed - http_code convenience method for fetching the code as an integer - stores the http response on the exception - shows the status code in the message - http_body convenience method for fetching the body (decoding when necessary) - -RestClient::Request - closes payload if not nil - can use a block to process response - params for GET requests - encodes nested GET params - adds GET params when params are present in URL - manage params for get requests - -RestClient - 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, < 3.0 - API - DELETE - PATCH - OPTIONS - POST - GET - HEAD - PUT - -RestClient::Resource - concatenates urls, using no slash if the second url starts with a slash - the block should be overrideable in ruby 1.9 syntax - is backwards compatible with previous constructor - concatenates even non-string urls, :posts + 1 => 'posts/1' - prints its url with to_s - passes a given block to subresources - 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 first url ends with a slash - the block should be overrideable - transports options to subresources - Resource delegation - HEAD - overrides resource headers - GET - PATCH - POST - DELETE - PUT - block - can use block when creating the resource - execution block override resource block - can use block when executing the resource - -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 + sends nil payloads + accepts nested hashes in payload + raw response + should read the response into a binary-mode tempfile + credentials + 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 + sets up the credentials prior to the request + constructor + should reject valid URIs with no hostname + should reject invalid URIs + payloads + should accept string payloads + should accept streaming IO payloads + 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 header values to strings + only convert symbols in header logging - uses the request's logger - redirection - doesn't follow a 301 when the request is a post - follows a redirection when the request is a head - follows no more than max_redirects redirections, if specified - follows a redirection and keep the cookies - follows a redirection when the request is a get - doesn't follow a 307 when the request is a post - allows for manual following of redirects - handles redirects with relative path and query string - follow a redirection when the request is a get and the response is in the 30x range - handles redirects with relative paths - doesn't follow a redirection when the request is a put - follows a redirection and keep the parameters - keeps redirection history - doesn't follow a 302 when the request is a post - follows no more than 10 redirections before raising error - respects cookie domains on redirect - follows a redirection when the request is a post and result is a 303 - header processing - handles multiple headers by joining with comma - test headers and raw headers - 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] - -RestClient::Request - timeouts - raises OpenTimeout when it hits an open timeout - -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 + logs a response with a nil Content-type + logs input headers as a hash + logs a post request with a large payload + logs a response including the status code, content type, and result body size in bytes + logs a get request + logs to a passed logger, if provided + logs a response with a nil body + logs a post request with a small payload + does not log request password RestClient::Payload A regular Payload - should handle many attributes inside a hash - should handle attributes inside an array inside an hash - should not close if stream already closed + should properly handle hashes as parameter + should escape parameters should handle arrays inside a hash inside a hash should use standard enctype as default content-type + should handle attributes inside an array inside an hash should properly handle arrays as repeated parameters - should escape parameters - should form properly encoded params should form properly use symbols as parameters - should properly handle hashes as parameter - streamed payloads - should properly determine the size of file payloads - should have a closed? method - should properly determine the size of other kinds of streaming payloads + should form properly encoded params + should handle many attributes inside a hash + should not close if stream already closed A multipart Payload - should use standard enctype as default content-type - should ignore the name attribute when it's not set + should not error on close if stream already closed should correctly format hex boundary + should use standard enctype as default content-type should detect optional (original) content type and filename - should not error on close if stream already closed should handle hash in hash parameters - should not escape parameters names should form properly separated multipart data should form properly separated multipart data + should not escape parameters names + should ignore the name attribute when it's not set Base Payload should reset stream after to_s + streamed payloads + should properly determine the size of file payloads + should have a closed? method + should properly determine the size of other kinds of streaming payloads Payload generation - should recognize standard urlencoded params + should pass through Payload::Base and subclasses unchanged should recognize file payloads that can be streamed - shouldn't treat hashes as streameable should recognize multipart params - should handle non-multipart payload wrapped in ParamsArray - should recognize multipart payload wrapped in ParamsArray should recognize nested multipart payloads in arrays - should recognize nested multipart payloads in hashes - should pass through Payload::Base and subclasses unchanged + shouldn't treat hashes as streameable should return data if no of the above + should recognize standard urlencoded params + should recognize nested multipart payloads in hashes should handle deeply nested multipart - should be multipart if forced should recognize other payloads that can be streamed - -RestClient::NotFound - also has the http response attached - stores the body on the response of the exception - -RestClient::Utils - .get_encoding_from_headers - assumes no encoding by default for text - handles various charsets - returns nil on failures - .cgi_parse_header - parses headers - .encode_query_string - handles null and empty values - handles nested nulls - handles simple hashes - handles multiple fields with the same name using ParamsArray - handles deep nesting - handles simple arrays - handles nested hashes - handles nested ParamsArrays - -RestClient::ParamsArray - .new - accepts various types of containers - rejects various invalid input + should handle non-multipart payload wrapped in ParamsArray + should be multipart if forced + should recognize multipart payload wrapped in ParamsArray RestClient::AbstractResponse has a nice description + extracts cookies from response headers fetches the numeric response code - extract strange cookies can access the net http result directly doesn't escape cookies + extract strange cookies fetches the headers - extracts cookies from response headers + .beautify_headers + leaves set-cookie headers as array + 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 #return! - should raise an error on a redirection after non-GET/HEAD requests should return the response itself on 200-codes should follow 302 redirect - should gracefully handle 302 redirect with no location header 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 .cookie_jar handles cookies when URI scheme is implicit extracts cookies into cookie jar - .beautify_headers - leaves set-cookie headers as array - beautifies the headers by turning the values to strings instead of one-element arrays - beautifies the headers by turning the keys to symbols - joins multiple header values by comma - -RestClient::ServerBrokeConnection - should have a default message of 'Server broke connection' -RestClient - a simple request - a 404 - charset parsing - handles utf-8 - handles windows-1252 - defaults to the default encoding - handles invalid encoding - leaves images as binary - handles binary - handles euc-jp +RestClient::NotFound + stores the body on the response of the exception + also has the http response attached RestClient::Exception 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 returns the 'message' that was set + sets the exception message to ErrorMessage contains exceptions in RestClient -Finished in 1.01 seconds (files took 1.13 seconds to load) +RestClient::ServerBrokeConnection + should have a default message of 'Server broke connection' + +RestClient::RequestFailed + 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 + shows the status code in the message + +RestClient + 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 + version + has a version > 2.0.0.alpha, < 3.0 + API + HEAD + POST + DELETE + PUT + PATCH + GET + OPTIONS + +backwards compatibility + aliases old names for HTTP 413, 414, 416 + subclasses timeout from RestClient::RequestTimeout, RequestFailed, EWR + aliases RestClient::NotFound as ResourceNotFound + subclasses NotFound from RequestFailed, ExceptionWithResponse + +RestClient::Utils + .get_encoding_from_headers + handles various charsets + returns nil on failures + assumes no encoding by default for text + .cgi_parse_header + parses headers + .encode_query_string + handles simple arrays + handles nested nulls + handles simple hashes + handles nested ParamsArrays + handles null and empty values + handles nested hashes + handles multiple fields with the same name using ParamsArray + handles deep nesting + +RestClient::RawResponse + exposes a Tempfile + includes AbstractResponse + behaves like string + +RestClient::Resource + prints its url with to_s + the block should be overrideable in ruby 1.9 syntax + transports options to subresources + concatenates even non-string urls, :posts + 1 => 'posts/1' + concatenates urls, inserting a slash when it needs one + offers subresources via [] + is backwards compatible with previous constructor + concatenates urls, using no slash if the second url starts with a slash + concatenates urls, using no slash if the first url ends with a slash + the block should be overrideable + passes a given block to subresources + can instantiate with no user/password + Resource delegation + GET + HEAD + PATCH + POST + DELETE + PUT + overrides resource headers + block + can use block when executing the resource + execution block override resource block + can use block when creating the resource + +RestClient::Request + timeouts + raises OpenTimeout when it hits an open timeout + +RestClient::ParamsArray + .new + accepts various types of containers + rejects various invalid input + +Finished in 0.41342 seconds (files took 0.52174 seconds to load) 286 examples, 0 failures -Randomized with seed 556 +Randomized with seed 19153 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1453,12 +1523,14 @@ dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/10667/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/10667/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/7609 and its subdirectories -I: Current time: Mon Jun 21 10:04:09 -12 2021 -I: pbuilder-time-stamp: 1624313049 +I: removing directory /srv/workspace/pbuilder/10667 and its subdirectories +I: Current time: Mon Jul 25 18:27:40 +14 2022 +I: pbuilder-time-stamp: 1658723260