Diff of the two buildlogs: -- --- b1/build.log 2021-03-27 19:00:52.270561759 +0000 +++ b2/build.log 2021-03-27 19:04:01.127167055 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Apr 29 13:22:26 -12 2022 -I: pbuilder-time-stamp: 1651281746 +I: Current time: Sun Mar 28 09:00:55 +14 2021 +I: pbuilder-time-stamp: 1616871655 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Tue Jul 31 03:58:05 2018 -12 +gpgv: Signature made Wed Aug 1 05:58:05 2018 +14 gpgv: using RSA key 9CCD6B319DBF8E40AB1ABD1A89AF82B739CD217A gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./ruby-em-http-request_1.1.5-2.dsc @@ -32,136 +32,170 @@ dpkg-source: info: applying avoid_nil_client.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/49211/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/43872/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/43872/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/43872/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="0" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.0.3(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='bcf3c3d81bb2438ebca08eef44a6b0d7' - 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='49211' - PS1='# ' - PS2='> ' + INVOCATION_ID=ab5d995c275a4c70a7cf605263725dc3 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=43872 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.BQNpTP9axi/pbuilderrc_YDTR --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.BQNpTP9axi/b1 --logfile b1/build.log ruby-em-http-request_1.1.5-2.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.BQNpTP9axi/pbuilderrc_e000 --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.BQNpTP9axi/b2 --logfile b2/build.log ruby-em-http-request_1.1.5-2.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos15-amd64 5.10.0-0.bpo.3-amd64 #1 SMP Debian 5.10.13-1~bpo10+1 (2021-02-11) x86_64 GNU/Linux + Linux i-capture-the-hostname 4.19.0-14-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30) x86_64 GNU/Linux I: ls -l /bin total 5116 - -rwxr-xr-x 1 root root 1168776 Apr 17 2019 bash - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bunzip2 - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bzcat - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bzip2 - -rwxr-xr-x 1 root root 14328 Jul 10 2019 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore - -rwxr-xr-x 1 root root 43744 Feb 28 2019 cat - -rwxr-xr-x 1 root root 64320 Feb 28 2019 chgrp - -rwxr-xr-x 1 root root 64288 Feb 28 2019 chmod - -rwxr-xr-x 1 root root 72512 Feb 28 2019 chown - -rwxr-xr-x 1 root root 146880 Feb 28 2019 cp - -rwxr-xr-x 1 root root 121464 Jan 17 2019 dash - -rwxr-xr-x 1 root root 109408 Feb 28 2019 date - -rwxr-xr-x 1 root root 76712 Feb 28 2019 dd - -rwxr-xr-x 1 root root 93744 Feb 28 2019 df - -rwxr-xr-x 1 root root 138856 Feb 28 2019 dir - -rwxr-xr-x 1 root root 84288 Jan 9 2019 dmesg - lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname - -rwxr-xr-x 1 root root 39520 Feb 28 2019 echo - -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep - -rwxr-xr-x 1 root root 35424 Feb 28 2019 false - -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep - -rwxr-xr-x 1 root root 68880 Jan 9 2019 findmnt - -rwsr-xr-x 1 root root 34896 Apr 22 2020 fusermount - -rwxr-xr-x 1 root root 198976 Jan 7 2019 grep - -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip - -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe - -rwxr-xr-x 1 root root 98048 Jan 5 2019 gzip - -rwxr-xr-x 1 root root 26696 Sep 26 2018 hostname - -rwxr-xr-x 1 root root 68552 Feb 28 2019 ln - -rwxr-xr-x 1 root root 56760 Jul 26 2018 login - -rwxr-xr-x 1 root root 138856 Feb 28 2019 ls - -rwxr-xr-x 1 root root 108624 Jan 9 2019 lsblk - -rwxr-xr-x 1 root root 89088 Feb 28 2019 mkdir - -rwxr-xr-x 1 root root 68544 Feb 28 2019 mknod - -rwxr-xr-x 1 root root 43808 Feb 28 2019 mktemp - -rwxr-xr-x 1 root root 43008 Jan 9 2019 more - -rwsr-xr-x 1 root root 51280 Jan 9 2019 mount - -rwxr-xr-x 1 root root 14408 Jan 9 2019 mountpoint - -rwxr-xr-x 1 root root 138728 Feb 28 2019 mv - lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 39616 Feb 28 2019 pwd - lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash - -rwxr-xr-x 1 root root 47776 Feb 28 2019 readlink - -rwxr-xr-x 1 root root 68416 Feb 28 2019 rm - -rwxr-xr-x 1 root root 47776 Feb 28 2019 rmdir - -rwxr-xr-x 1 root root 23312 Jan 21 2019 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Apr 23 02:47 sh -> dash - -rwxr-xr-x 1 root root 39552 Feb 28 2019 sleep - -rwxr-xr-x 1 root root 80672 Feb 28 2019 stty - -rwsr-xr-x 1 root root 63568 Jan 9 2019 su - -rwxr-xr-x 1 root root 35488 Feb 28 2019 sync - -rwxr-xr-x 1 root root 445560 Apr 23 2019 tar - -rwxr-xr-x 1 root root 14440 Jan 21 2019 tempfile - -rwxr-xr-x 1 root root 97152 Feb 28 2019 touch - -rwxr-xr-x 1 root root 35424 Feb 28 2019 true - -rwxr-xr-x 1 root root 14328 Apr 22 2020 ulockmgr_server - -rwsr-xr-x 1 root root 34888 Jan 9 2019 umount - -rwxr-xr-x 1 root root 39584 Feb 28 2019 uname - -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress - -rwxr-xr-x 1 root root 138856 Feb 28 2019 vdir - -rwxr-xr-x 1 root root 34896 Jan 9 2019 wdctl - -rwxr-xr-x 1 root root 946 Jan 21 2019 which - lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat - -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp - -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff - -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep - -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep - -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce - -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep - -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless - -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore - -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew -I: user script /srv/workspace/pbuilder/49211/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1168776 Apr 18 2019 bash + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bzcat + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 14328 Jul 11 2019 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore + -rwxr-xr-x 1 root root 43744 Mar 1 2019 cat + -rwxr-xr-x 1 root root 64320 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 64288 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 72512 Mar 1 2019 chown + -rwxr-xr-x 1 root root 146880 Mar 1 2019 cp + -rwxr-xr-x 1 root root 121464 Jan 18 2019 dash + -rwxr-xr-x 1 root root 109408 Mar 1 2019 date + -rwxr-xr-x 1 root root 76712 Mar 1 2019 dd + -rwxr-xr-x 1 root root 93744 Mar 1 2019 df + -rwxr-xr-x 1 root root 138856 Mar 1 2019 dir + -rwxr-xr-x 1 root root 84288 Jan 10 2019 dmesg + lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname + -rwxr-xr-x 1 root root 39520 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 35424 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 68880 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 34896 Apr 23 2020 fusermount + -rwxr-xr-x 1 root root 198976 Jan 8 2019 grep + -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip + -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe + -rwxr-xr-x 1 root root 98048 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 26696 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 68552 Mar 1 2019 ln + -rwxr-xr-x 1 root root 56760 Jul 27 2018 login + -rwxr-xr-x 1 root root 138856 Mar 1 2019 ls + -rwxr-xr-x 1 root root 108624 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 89088 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 68544 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 43808 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 43008 Jan 10 2019 more + -rwsr-xr-x 1 root root 51280 Jan 10 2019 mount + -rwxr-xr-x 1 root root 14408 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 138728 Mar 1 2019 mv + lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 39616 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 47776 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 68416 Mar 1 2019 rm + -rwxr-xr-x 1 root root 47776 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 23312 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Mar 28 09:01 sh -> bash + lrwxrwxrwx 1 root root 4 Mar 21 22:24 sh.distrib -> dash + -rwxr-xr-x 1 root root 39552 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 80672 Mar 1 2019 stty + -rwsr-xr-x 1 root root 63568 Jan 10 2019 su + -rwxr-xr-x 1 root root 35488 Mar 1 2019 sync + -rwxr-xr-x 1 root root 445560 Apr 24 2019 tar + -rwxr-xr-x 1 root root 14440 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 97152 Mar 1 2019 touch + -rwxr-xr-x 1 root root 35424 Mar 1 2019 true + -rwxr-xr-x 1 root root 14328 Apr 23 2020 ulockmgr_server + -rwsr-xr-x 1 root root 34888 Jan 10 2019 umount + -rwxr-xr-x 1 root root 39584 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 138856 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 34896 Jan 10 2019 wdctl + -rwxr-xr-x 1 root root 946 Jan 22 2019 which + lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat + -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp + -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff + -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep + -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep + -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce + -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep + -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless + -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore + -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew +I: user script /srv/workspace/pbuilder/43872/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -363,7 +397,7 @@ Get: 144 http://deb.debian.org/debian buster/main amd64 ruby-thread-order all 1.1.0-1 [5096 B] Get: 145 http://deb.debian.org/debian buster/main amd64 ruby-rspec-core all 3.8.0c0e1m0s0-1 [190 kB] Get: 146 http://deb.debian.org/debian buster/main amd64 ruby-rspec all 3.8.0c0e1m0s0-1 [7620 B] -Fetched 43.6 MB in 1s (31.7 MB/s) +Fetched 43.6 MB in 2s (22.7 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19195 files and directories currently installed.) @@ -979,7 +1013,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-em-http-request-1.1.5/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/ruby-em-http-request-1.1.5/ && 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-em-http-request dpkg-buildpackage: info: source version 1.1.5-2 dpkg-buildpackage: info: source distribution unstable @@ -1059,167 +1093,167 @@ RUBYLIB=/build/ruby-em-http-request-1.1.5/debian/ruby-em-http-request/usr/lib/ruby/vendor_ruby:. GEM_PATH=debian/ruby-em-http-request/usr/share/rubygems-integration/all:/var/lib/gems/2.5.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all ruby2.5 -S rake -f debian/ruby-tests.rake /usr/bin/ruby2.5 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation -[2022-04-29 13:23:46] INFO WEBrick 1.4.2 -[2022-04-29 13:23:46] INFO ruby 2.5.5 (2019-03-15) [x86_64-linux-gnu] -[2022-04-29 13:23:46] INFO WEBrick::HTTPServer#start: pid=4389 port=8090 +[2021-03-28 09:03:32] INFO WEBrick 1.4.2 +[2021-03-28 09:03:32] INFO ruby 2.5.5 (2019-03-15) [x86_64-linux-gnu] +[2021-03-28 09:03:32] INFO WEBrick::HTTPServer#start: pid=23742 port=8090 EventMachine::HttpRequest with fibers should be transparent to connection errors EventMachine::HttpRequest -127.0.0.1 - - [29/Apr/2022:13:23:47 -12] "GET / HTTP/1.1" 200 13 +127.0.0.1 - - [28/Mar/2021:09:03:33 +14] "GET / HTTP/1.1" 200 13 - -> / should perform successful GET +127.0.0.1 - - [28/Mar/2021:09:03:33 +14] "GET / HTTP/1.1" 200 13 +- -> / should perform successful GET with a URI passed as argument -127.0.0.1 - - [29/Apr/2022:13:23:47 -12] "GET / HTTP/1.1" 200 13 +127.0.0.1 - - [28/Mar/2021:09:03:33 +14] "GET / HTTP/1.1" 200 13 - -> / should succeed GET on missing path should raise error on invalid URL -127.0.0.1 - - [29/Apr/2022:13:23:47 -12] "GET / HTTP/1.1" 200 13 -- -> / -127.0.0.1 - - [29/Apr/2022:13:23:47 -12] "HEAD / HTTP/1.1" 200 0 +127.0.0.1 - - [28/Mar/2021:09:03:33 +14] "HEAD / HTTP/1.1" 200 0 - -> / should perform successful HEAD with a URI passed as argument -127.0.0.1 - - [29/Apr/2022:13:23:47 -12] "DELETE / HTTP/1.1" 200 0 +127.0.0.1 - - [28/Mar/2021:09:03:33 +14] "DELETE / HTTP/1.1" 200 0 - -> / should perform successful DELETE with a URI passed as argument -127.0.0.1 - - [29/Apr/2022:13:23:47 -12] "GET /fail HTTP/1.1" 404 0 -- -> /fail +127.0.0.1 - - [28/Mar/2021:09:03:33 +14] "GET /fail HTTP/1.1" 404 0 should return 404 on invalid path -127.0.0.1 - - [29/Apr/2022:13:23:47 -12] "GET /fail HTTP/1.1" 404 0 +- -> /fail +127.0.0.1 - - [28/Mar/2021:09:03:33 +14] "GET /fail HTTP/1.1" 404 0 - -> /fail should return HTTP reason -127.0.0.1 - - [29/Apr/2022:13:23:47 -12] "GET /fail_with_nonstandard_response HTTP/1.1" 420 0 +127.0.0.1 - - [28/Mar/2021:09:03:33 +14] "GET /fail_with_nonstandard_response HTTP/1.1" 420 0 - -> /fail_with_nonstandard_response should return HTTP reason 'unknown' on a non-standard status code -127.0.0.1 - - [29/Apr/2022:13:23:47 -12] "GET /?q=test HTTP/1.1" 200 4 +127.0.0.1 - - [28/Mar/2021:09:03:33 +14] "GET /?q=test HTTP/1.1" 200 4 - -> /?q=test should build query parameters from Hash -127.0.0.1 - - [29/Apr/2022:13:23:47 -12] "GET /?q=test HTTP/1.1" 200 4 +127.0.0.1 - - [28/Mar/2021:09:03:33 +14] "GET /?q=test HTTP/1.1" 200 4 - -> /?q=test should pass query parameters string -127.0.0.1 - - [29/Apr/2022:13:23:47 -12] "GET /echo_query?hash[]=value1&hash[]=value2 HTTP/1.1" 200 27 +127.0.0.1 - - [28/Mar/2021:09:03:33 +14] "GET /echo_query?hash[]=value1&hash[]=value2 HTTP/1.1" 200 27 - -> /echo_query?hash[]=value1&hash[]=value2 should encode an array of query parameters -127.0.0.1 - - [29/Apr/2022:13:23:47 -12] "PUT / HTTP/1.1" 200 4 +127.0.0.1 - - [28/Mar/2021:09:03:33 +14] "PUT / HTTP/1.1" 200 4 - -> / should perform successful PUT -127.0.0.1 - - [29/Apr/2022:13:23:47 -12] "POST / HTTP/1.1" 200 4 +127.0.0.1 - - [28/Mar/2021:09:03:33 +14] "POST / HTTP/1.1" 200 4 - -> / should perform successful POST -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "PATCH / HTTP/1.1" 200 4 +127.0.0.1 - - [28/Mar/2021:09:03:33 +14] "PATCH / HTTP/1.1" 200 4 - -> / should perform successful PATCH -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "POST / HTTP/1.1" 200 21 +127.0.0.1 - - [28/Mar/2021:09:03:33 +14] "POST / HTTP/1.1" 200 21 - -> / should escape body on POST - should perform successful POST with Ruby Hash/Array as params -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "POST / HTTP/1.1" 200 26 +127.0.0.1 - - [28/Mar/2021:09:03:33 +14] "POST / HTTP/1.1" 200 26 - -> / -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "POST /echo_content_length_from_header HTTP/1.1" 200 15 + should perform successful POST with Ruby Hash/Array as params +127.0.0.1 - - [28/Mar/2021:09:03:33 +14] "POST /echo_content_length_from_header HTTP/1.1" 200 15 - -> /echo_content_length_from_header should set content-length to 0 on posts with empty bodies +127.0.0.1 - - [28/Mar/2021:09:03:33 +14] "POST /echo_content_length HTTP/1.1" 200 2 +- -> /echo_content_length should perform successful POST with Ruby Hash/Array as params and with the correct content length -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET / HTTP/1.1" 304 0 - should perform successful GET with custom header +127.0.0.1 - - [28/Mar/2021:09:03:33 +14] "GET / HTTP/1.1" 304 0 - -> / -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "POST /echo_content_length HTTP/1.1" 200 2 -- -> /echo_content_length + should perform successful GET with custom header +127.0.0.1 - - [28/Mar/2021:09:03:33 +14] "GET /authtest HTTP/1.1" 200 7 +- -> /authtest should perform basic auth -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /authtest HTTP/1.1" 200 7 +127.0.0.1 - - [28/Mar/2021:09:03:33 +14] "GET /authtest HTTP/1.1" 200 7 - -> /authtest should perform basic auth via the URL -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /authtest HTTP/1.1" 200 7 -- -> /authtest -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET / HTTP/1.1" 200 13 +127.0.0.1 - - [28/Mar/2021:09:03:33 +14] "GET / HTTP/1.1" 200 13 - -> / should return peer's IP address - should remove all newlines from long basic auth header -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /auth HTTP/1.1" 200 90 +127.0.0.1 - - [28/Mar/2021:09:03:33 +14] "GET /auth HTTP/1.1" 200 90 - -> /auth -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /auth HTTP/1.1" 200 73 + should remove all newlines from long basic auth header +127.0.0.1 - - [28/Mar/2021:09:03:33 +14] "GET /auth HTTP/1.1" 200 73 - -> /auth should send proper OAuth auth header -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /echo_query HTTP/1.1" 200 0 +127.0.0.1 - - [28/Mar/2021:09:03:34 +14] "GET /echo_query HTTP/1.1" 200 0 - -> /echo_query should return ETag and Last-Modified headers -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /echo_headers HTTP/1.1" 200 0 +127.0.0.1 - - [28/Mar/2021:09:03:34 +14] "GET /echo_headers HTTP/1.1" 200 0 - -> /echo_headers should return raw headers in a hash -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /deflate HTTP/1.1" 200 12 +127.0.0.1 - - [28/Mar/2021:09:03:34 +14] "GET /deflate HTTP/1.1" 200 12 - -> /deflate should detect deflate encoding -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /gzip HTTP/1.1" 200 30 +127.0.0.1 - - [28/Mar/2021:09:03:34 +14] "GET /gzip HTTP/1.1" 200 30 - -> /gzip should auto-detect and decode gzip encoding -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /gzip-large HTTP/1.1" 200 16344 +127.0.0.1 - - [28/Mar/2021:09:03:34 +14] "GET /gzip-large HTTP/1.1" 200 16344 - -> /gzip-large should stream gzip responses -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /gzip HTTP/1.1" 200 30 +127.0.0.1 - - [28/Mar/2021:09:03:34 +14] "GET /gzip HTTP/1.1" 200 30 - -> /gzip should not decode the response when configured so - should default to requesting compressed response -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /echo_accept_encoding HTTP/1.1" 200 16 +127.0.0.1 - - [28/Mar/2021:09:03:34 +14] "GET /echo_accept_encoding HTTP/1.1" 200 16 - -> /echo_accept_encoding should default to requesting compressed response -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /echo_accept_encoding HTTP/1.1" 200 0 +127.0.0.1 - - [28/Mar/2021:09:03:34 +14] "GET /echo_accept_encoding HTTP/1.1" 200 0 - -> /echo_accept_encoding + should default to requesting compressed response should timeout after 0.1 seconds of inactivity -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /relative-location HTTP/1.1" 301 0 +127.0.0.1 - - [28/Mar/2021:09:03:34 +14] "GET /relative-location HTTP/1.1" 301 0 - -> /relative-location should complete a Location: with a relative path -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET / HTTP/1.1" 200 13 +127.0.0.1 - - [28/Mar/2021:09:03:34 +14] "GET / HTTP/1.1" 200 13 - -> / should optionally pass the response body progressively -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /deflate HTTP/1.1" 200 12 +127.0.0.1 - - [28/Mar/2021:09:03:34 +14] "GET /deflate HTTP/1.1" 200 12 - -> /deflate should optionally pass the deflate-encoded response body progressively - should accept & return cookie header to user -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /set_cookie HTTP/1.1" 200 10 +127.0.0.1 - - [28/Mar/2021:09:03:34 +14] "GET /set_cookie HTTP/1.1" 200 10 - -> /set_cookie -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /set_multiple_cookies HTTP/1.1" 200 11 + should accept & return cookie header to user +127.0.0.1 - - [28/Mar/2021:09:03:34 +14] "GET /set_multiple_cookies HTTP/1.1" 200 11 - -> /set_multiple_cookies should return array of cookies on multiple Set-Cookie headers -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /echo_cookie HTTP/1.1" 200 5 +127.0.0.1 - - [28/Mar/2021:09:03:34 +14] "GET /echo_cookie HTTP/1.1" 200 5 - -> /echo_cookie should pass cookie header to server from string -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /echo_cookie HTTP/1.1" 200 5 +127.0.0.1 - - [28/Mar/2021:09:03:34 +14] "GET /echo_cookie HTTP/1.1" 200 5 - -> /echo_cookie should pass cookie header to server from Hash should get the body without Content-Length - should stream a file off disk -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "POST / HTTP/1.1" 200 509 +127.0.0.1 - - [28/Mar/2021:09:03:34 +14] "POST / HTTP/1.1" 200 509 - -> / -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET / HTTP/1.1" 200 13 + should stream a file off disk +127.0.0.1 - - [28/Mar/2021:09:03:34 +14] "GET / HTTP/1.1" 200 13 - -> / -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /gzip HTTP/1.1" 200 30 +127.0.0.1 - - [28/Mar/2021:09:03:34 +14] "GET /gzip HTTP/1.1" 200 30 - -> /gzip should reconnect if connection was closed between requests should handle malformed Content-Type header repetitions should allow indifferent access to headers should close connection on invalid HTTP response body content-type encoding -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "POST /echo_content_type HTTP/1.1" 200 0 +127.0.0.1 - - [28/Mar/2021:09:03:34 +14] "POST /echo_content_type HTTP/1.1" 200 0 - -> /echo_content_type should not set content type on string in body +127.0.0.1 - - [28/Mar/2021:09:03:34 +14] "POST /echo_content_type HTTP/1.1" 200 33 +- -> /echo_content_type should set content-type automatically when passed a ruby hash/array for body -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "POST /echo_content_type HTTP/1.1" 200 33 +127.0.0.1 - - [28/Mar/2021:09:03:34 +14] "POST /echo_content_type HTTP/1.1" 200 19 - -> /echo_content_type should not override content-type when passing in ruby hash/array for body -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "POST /echo_content_type HTTP/1.1" 200 19 -- -> /echo_content_type -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "POST /echo_content_type HTTP/1.1" 200 28 +127.0.0.1 - - [28/Mar/2021:09:03:34 +14] "POST /echo_content_type HTTP/1.1" 200 28 - -> /echo_content_type should default to external encoding on invalid encoding -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "POST /echo_content_type HTTP/1.1" 200 31 +127.0.0.1 - - [28/Mar/2021:09:03:34 +14] "POST /echo_content_type HTTP/1.1" 200 31 - -> /echo_content_type should processed escaped content-type optional header callback -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET / HTTP/1.1" 200 13 +127.0.0.1 - - [28/Mar/2021:09:03:34 +14] "GET / HTTP/1.1" 200 13 - -> / should optionally pass the response headers -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET / HTTP/1.1" 200 13 +127.0.0.1 - - [28/Mar/2021:09:03:34 +14] "GET / HTTP/1.1" 200 13 - -> / should allow to terminate current connection from header callback when talking to a stub HTTP/1.0 server @@ -1227,12 +1261,14 @@ should work with \n instead of \r\n should handle invalid HTTP response User-Agent -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /echo-user-agent HTTP/1.1" 200 25 +127.0.0.1 - - [28/Mar/2021:09:03:34 +14] "GET /echo-user-agent HTTP/1.1" 200 25 - -> /echo-user-agent should default to "EventMachine HttpClient" -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /echo-user-agent HTTP/1.1" 200 2 +127.0.0.1 - - [28/Mar/2021:09:03:34 +14] "GET /echo-user-agent HTTP/1.1" 200 2 - -> /echo-user-agent should keep header if given empty string +127.0.0.1 - - [28/Mar/2021:09:03:34 +14] "GET /echo-user-agent HTTP/1.1" 200 3 +- -> /echo-user-agent should ommit header if given nil Digest Auth Authentication header generation @@ -1241,9 +1277,7 @@ should not generate the same header if the nounce changes EventMachine::HttpRequest -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /echo-user-agent HTTP/1.1" 200 3 -- -> /echo-user-agent -[2022-04-29 13:23:48] ERROR URI::InvalidURIError: bad URI(is not URI?): http://$$$@$!%&^ +[2021-03-28 09:03:34] ERROR URI::InvalidURIError: bad URI(is not URI?): http://$$$@$!%&^ /usr/lib/ruby/2.5.0/uri/rfc3986_parser.rb:67:in `split' /usr/lib/ruby/2.5.0/uri/rfc3986_parser.rb:73:in `parse' /usr/lib/ruby/2.5.0/uri/rfc3986_parser.rb:117:in `convert_to_uri' @@ -1253,7 +1287,7 @@ /usr/lib/ruby/2.5.0/webrick/httpresponse.rb:209:in `send_response' /usr/lib/ruby/2.5.0/webrick/httpserver.rb:112:in `run' /usr/lib/ruby/2.5.0/webrick/server.rb:307:in `block in start_thread' -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /redirect/badhost HTTP/1.1" 301 0 +127.0.0.1 - - [28/Mar/2021:09:03:34 +14] "GET /redirect/badhost HTTP/1.1" 301 0 - -> /redirect/badhost should fail gracefully on an invalid host in Location header should fail GET on invalid host @@ -1277,24 +1311,24 @@ EventMachine::HttpRequest connections via -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /?q=test HTTP/1.1" 200 4 +127.0.0.1 - - [28/Mar/2021:09:03:34 +14] "GET /?q=test HTTP/1.1" 200 4 - -> /?q=test should use HTTP proxy -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /proxyauth?q=test HTTP/1.1" 200 4 +127.0.0.1 - - [28/Mar/2021:09:03:34 +14] "GET /proxyauth?q=test HTTP/1.1" 200 4 - -> /proxyauth?q=test should use HTTP proxy with authentication -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /?q=test HTTP/1.1" 200 4 +127.0.0.1 - - [28/Mar/2021:09:03:35 +14] "GET /?q=test HTTP/1.1" 200 4 - -> /?q=test should send absolute URIs to the proxy server -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /echo_authorization_header HTTP/1.1" 200 32 +127.0.0.1 - - [28/Mar/2021:09:03:35 +14] "GET /echo_authorization_header HTTP/1.1" 200 32 - -> /echo_authorization_header should strip basic auth from before the host in URI sent to proxy -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /?q=test HTTP/1.1" 200 4 +127.0.0.1 - - [28/Mar/2021:09:03:35 +14] "GET /?q=test HTTP/1.1" 200 4 - -> /?q=test should include query parameters specified in the options -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /redirect HTTP/1.1" 301 8 +127.0.0.1 - - [28/Mar/2021:09:03:35 +14] "GET /redirect HTTP/1.1" 301 8 - -> /redirect -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /gzip HTTP/1.1" 200 30 +127.0.0.1 - - [28/Mar/2021:09:03:35 +14] "GET /gzip HTTP/1.1" 200 30 - -> /gzip should use HTTP proxy while redirecting @@ -1305,155 +1339,155 @@ EventMachine::HttpRequest should accept middleware configuration -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET / HTTP/1.1" 200 13 +127.0.0.1 - - [28/Mar/2021:09:03:35 +14] "GET / HTTP/1.1" 200 13 - -> / should accept middleware initialization parameters request - should execute response middleware before user callbacks -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET / HTTP/1.1" 200 13 +127.0.0.1 - - [28/Mar/2021:09:03:35 +14] "GET / HTTP/1.1" 200 13 - -> / -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET / HTTP/1.1" 200 13 + should execute response middleware before user callbacks +127.0.0.1 - - [28/Mar/2021:09:03:35 +14] "GET / HTTP/1.1" 200 13 - -> / should execute global response middleware before user callbacks request should execute request middleware before dispatching request jsonify -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "POST / HTTP/1.1" 200 13 +127.0.0.1 - - [28/Mar/2021:09:03:35 +14] "POST / HTTP/1.1" 200 13 - -> / -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "POST / HTTP/1.1" 200 15 should use middleware to JSON encode and JSON decode the body EventMachine::MultiRequest +127.0.0.1 - - [28/Mar/2021:09:03:35 +14] "POST / HTTP/1.1" 200 15 +- -> / +127.0.0.1 - - [28/Mar/2021:09:03:35 +14] "GET / HTTP/1.1" 200 13 +- -> / +127.0.0.1 - - [28/Mar/2021:09:03:35 +14] "HEAD / HTTP/1.1" 200 0 - -> / -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "DELETE / HTTP/1.1" 200 0 +127.0.0.1 - - [28/Mar/2021:09:03:35 +14] "POST / HTTP/1.1" 200 0 - -> / -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "POST / HTTP/1.1" 200 0 +127.0.0.1 - - [28/Mar/2021:09:03:35 +14] "DELETE / HTTP/1.1" 200 0 - -> / -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "PUT / HTTP/1.1" 200 0 -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET / HTTP/1.1" 200 13 +127.0.0.1 - - [28/Mar/2021:09:03:35 +14] "PUT / HTTP/1.1" 200 0 - -> / should submit multiple requests in parallel and return once all of them are complete should require unique keys for each deferrable #requests should return the added requests #responses -- -> / -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "HEAD / HTTP/1.1" 200 0 -- -> / should have an empty :callback hash should have an empty :errback hash -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "POST / HTTP/1.1" 200 0 +127.0.0.1 - - [28/Mar/2021:09:03:36 +14] "GET / HTTP/1.1" 200 13 - -> / -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET / HTTP/1.1" 200 13 +127.0.0.1 - - [28/Mar/2021:09:03:36 +14] "POST / HTTP/1.1" 200 0 - -> / should provide access to the requests by name #finished? should be true when no requests have been added should be false while the requests are not finished -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET / HTTP/1.1" 200 13 +127.0.0.1 - - [28/Mar/2021:09:03:36 +14] "GET / HTTP/1.1" 200 13 - -> / should be finished when all requests are finished EventMachine::HttpRequest -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /redirect HTTP/1.1" 301 8 +127.0.0.1 - - [28/Mar/2021:09:03:36 +14] "GET /redirect HTTP/1.1" 301 8 - -> /redirect -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /gzip HTTP/1.1" 200 30 +127.0.0.1 - - [28/Mar/2021:09:03:36 +14] "GET /gzip HTTP/1.1" 200 30 - -> /gzip should follow location redirects +127.0.0.1 - - [28/Mar/2021:09:03:36 +14] "GET /redirect/created HTTP/1.1" 201 13 +- -> /redirect/created should not follow redirects on created should not forward cookies across domains with http redirect should forward valid cookies across domains with http redirect should normalize path and forward valid cookies across domains -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /redirect/created HTTP/1.1" 201 13 -- -> /redirect/created -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /redirect HTTP/1.1" 301 8 +127.0.0.1 - - [28/Mar/2021:09:03:36 +14] "GET /redirect HTTP/1.1" 301 8 - -> /redirect - should redirect with missing content-length -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /gzip HTTP/1.1" 200 30 +127.0.0.1 - - [28/Mar/2021:09:03:36 +14] "GET /gzip HTTP/1.1" 200 30 - -> /gzip -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "HEAD /redirect/head HTTP/1.1" 301 0 + should redirect with missing content-length +127.0.0.1 - - [28/Mar/2021:09:03:36 +14] "HEAD /redirect/head HTTP/1.1" 301 0 - -> /redirect/head -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "HEAD / HTTP/1.1" 200 0 +127.0.0.1 - - [28/Mar/2021:09:03:36 +14] "HEAD / HTTP/1.1" 200 0 - -> / should follow redirects on HEAD method -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET / HTTP/1.1" 200 13 +127.0.0.1 - - [28/Mar/2021:09:03:36 +14] "GET / HTTP/1.1" 200 13 - -> / should report last_effective_url +127.0.0.1 - - [28/Mar/2021:09:03:36 +14] "GET /redirect HTTP/1.1" 301 8 +- -> /redirect should default to 0 redirects should not invoke redirect logic on failed(http) connections -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /redirect/bad HTTP/1.1" 301 0 +127.0.0.1 - - [28/Mar/2021:09:03:36 +14] "GET /redirect/bad HTTP/1.1" 301 0 - -> /redirect/bad -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /redirect HTTP/1.1" 301 8 -- -> /redirect -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET / HTTP/1.1" 200 13 +127.0.0.1 - - [28/Mar/2021:09:03:36 +14] "GET / HTTP/1.1" 200 13 - -> / should normalize redirect urls -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /redirect/nohost HTTP/1.1" 301 0 +127.0.0.1 - - [28/Mar/2021:09:03:36 +14] "GET /redirect/nohost HTTP/1.1" 301 0 - -> /redirect/nohost should fail gracefully on a missing host in absolute Location header -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /redirect/timeout HTTP/1.1" 301 0 +127.0.0.1 - - [28/Mar/2021:09:03:36 +14] "GET /redirect/timeout HTTP/1.1" 301 0 - -> /redirect/timeout should apply timeout settings on redirects -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /redirect/multiple-with-cookie HTTP/1.1" 301 8 +127.0.0.1 - - [28/Mar/2021:09:03:36 +14] "GET /redirect/multiple-with-cookie HTTP/1.1" 301 8 - -> /redirect/multiple-with-cookie -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /redirect HTTP/1.1" 301 8 +127.0.0.1 - - [28/Mar/2021:09:03:36 +14] "GET /redirect HTTP/1.1" 301 8 - -> /redirect -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /gzip HTTP/1.1" 200 30 +127.0.0.1 - - [28/Mar/2021:09:03:36 +14] "GET /gzip HTTP/1.1" 200 30 - -> /gzip should capture and pass cookies on redirect and pass_cookies by default -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /redirect/multiple-with-cookie HTTP/1.1" 301 8 +127.0.0.1 - - [28/Mar/2021:09:03:36 +14] "GET /redirect/multiple-with-cookie HTTP/1.1" 301 8 - -> /redirect/multiple-with-cookie -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /redirect HTTP/1.1" 301 8 +127.0.0.1 - - [28/Mar/2021:09:03:36 +14] "GET /redirect HTTP/1.1" 301 8 - -> /redirect -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /gzip HTTP/1.1" 200 30 +127.0.0.1 - - [28/Mar/2021:09:03:36 +14] "GET /gzip HTTP/1.1" 200 30 - -> /gzip should capture and not pass cookies on redirect if passing is disabled via pass_cookies -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /redirect HTTP/1.1" 301 8 +127.0.0.1 - - [28/Mar/2021:09:03:36 +14] "GET /redirect HTTP/1.1" 301 8 - -> /redirect - should follow location redirects with path -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /gzip HTTP/1.1" 200 30 +127.0.0.1 - - [28/Mar/2021:09:03:36 +14] "GET /gzip HTTP/1.1" 200 30 - -> /gzip -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /redirect/middleware_redirects_1 HTTP/1.1" 301 0 + should follow location redirects with path +127.0.0.1 - - [28/Mar/2021:09:03:36 +14] "GET /redirect/middleware_redirects_1 HTTP/1.1" 301 0 - -> /redirect/middleware_redirects_1 -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /redirect/middleware_redirects_2 HTTP/1.1" 301 0 +127.0.0.1 - - [28/Mar/2021:09:03:36 +14] "GET /redirect/middleware_redirects_2 HTTP/1.1" 301 0 - -> /redirect/middleware_redirects_2 -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /redirect/middleware_redirects_3 HTTP/1.1" 200 0 +127.0.0.1 - - [28/Mar/2021:09:03:36 +14] "GET /redirect/middleware_redirects_3 HTTP/1.1" 200 0 - -> /redirect/middleware_redirects_3 should call middleware each time it redirects -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /redirect/middleware_redirects_1 HTTP/1.1" 301 0 +127.0.0.1 - - [28/Mar/2021:09:03:36 +14] "GET /redirect/middleware_redirects_1 HTTP/1.1" 301 0 - -> /redirect/middleware_redirects_1 -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /redirect/middleware_redirects_2 HTTP/1.1" 301 0 +127.0.0.1 - - [28/Mar/2021:09:03:36 +14] "GET /redirect/middleware_redirects_2 HTTP/1.1" 301 0 - -> /redirect/middleware_redirects_2 should call middleware which may reject a redirection -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /redirect/http_no_port HTTP/1.1" 301 0 +127.0.0.1 - - [28/Mar/2021:09:03:37 +14] "GET /redirect/http_no_port HTTP/1.1" 301 0 - -> /redirect/http_no_port should not add default http port to redirect url that don't include it -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /redirect/https_no_port HTTP/1.1" 301 0 +127.0.0.1 - - [28/Mar/2021:09:03:37 +14] "GET /redirect/https_no_port HTTP/1.1" 301 0 - -> /redirect/https_no_port should not add default https port to redirect url that don't include it -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /redirect/http_with_port HTTP/1.1" 301 0 +127.0.0.1 - - [28/Mar/2021:09:03:37 +14] "GET /redirect/http_with_port HTTP/1.1" 301 0 - -> /redirect/http_with_port should keep default http port in redirect url that include it -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /redirect/https_with_port HTTP/1.1" 301 0 +127.0.0.1 - - [28/Mar/2021:09:03:37 +14] "GET /redirect/https_with_port HTTP/1.1" 301 0 - -> /redirect/https_with_port should keep default https port in redirect url that include it -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /redirect/ignore_query_option?ignore=1 HTTP/1.1" 301 0 +127.0.0.1 - - [28/Mar/2021:09:03:37 +14] "GET /redirect/ignore_query_option?ignore=1 HTTP/1.1" 301 0 - -> /redirect/ignore_query_option?ignore=1 - should ignore query option when redirecting -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /redirect/url HTTP/1.1" 200 34 +127.0.0.1 - - [28/Mar/2021:09:03:37 +14] "GET /redirect/url HTTP/1.1" 200 34 - -> /redirect/url + should ignore query option when redirecting should work with keep-alive connections with cross-origin redirect should work with keep-alive connections with same-origin redirect -Finished in 0.91728 seconds (files took 1.44 seconds to load) +Finished in 3.88 seconds (files took 2.55 seconds to load) 127 examples, 0 failures -[2022-04-29 13:23:48] INFO going to shutdown ... -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /timeout HTTP/1.1" 200 0 +127.0.0.1 - - [28/Mar/2021:09:03:34 +14] "GET /timeout HTTP/1.1" 200 0 - -> /timeout -127.0.0.1 - - [29/Apr/2022:13:23:48 -12] "GET /timeout HTTP/1.1" 200 0 +[2021-03-28 09:03:37] INFO going to shutdown ... +127.0.0.1 - - [28/Mar/2021:09:03:36 +14] "GET /timeout HTTP/1.1" 200 0 - -> /timeout -[2022-04-29 13:23:48] INFO WEBrick::HTTPServer#start done. +[2021-03-28 09:03:37] INFO WEBrick::HTTPServer#start done. ┌──────────────────────────────────────────────────────────────────────────────┐ │ dh_ruby --install finished │ @@ -1482,12 +1516,14 @@ dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/43872/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/43872/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/49211 and its subdirectories -I: Current time: Fri Apr 29 13:23:52 -12 2022 -I: pbuilder-time-stamp: 1651281832 +I: removing directory /srv/workspace/pbuilder/43872 and its subdirectories +I: Current time: Sun Mar 28 09:04:00 +14 2021 +I: pbuilder-time-stamp: 1616871840