Diff of the two buildlogs: -- --- b1/build.log 2021-06-14 06:31:59.459279357 +0000 +++ b2/build.log 2021-06-14 06:38:56.511560021 +0000 @@ -1,6 +1,9 @@ -I: pbuilder: network access will be disabled during build -I: Current time: Sun Jul 17 00:54:21 -12 2022 -I: pbuilder-time-stamp: 1658062461 +W: cgroups are not available on the host, not using them. +unshare: unshare failed: Cannot allocate memory +W: pbuilder: unshare CLONE_NEWNET not available +I: pbuilder: network access is available during build! +I: Current time: Mon Jun 14 20:32:01 +14 2021 +I: pbuilder-time-stamp: 1623652321 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,8 +20,8 @@ I: copying [./ruby-httparty_0.18.1-2.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.YUkj1Vzw/trustedkeys.kbx': General error -gpgv: Signature made Tue Nov 17 00:22:57 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.MNCZCAi3/trustedkeys.kbx': General error +gpgv: Signature made Wed Nov 18 02:22:57 2020 +14 gpgv: using RSA key 9CCD6B319DBF8E40AB1ABD1A89AF82B739CD217A gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./ruby-httparty_0.18.1-2.dsc @@ -32,137 +35,170 @@ dpkg-source: info: applying no_pry_in_specs.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/4968/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/22044/tmp/hooks/D01_modify_environment starting +debug: Running on ionos2-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/22044/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/22044/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=18' - 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=10' + 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='4ff41fea2ce64bf9b22c15c397100b89' - 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='4968' - PS1='# ' - PS2='> ' + 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=22044 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.GkyzoVEqYh/pbuilderrc_gp5w --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.GkyzoVEqYh/b1 --logfile b1/build.log ruby-httparty_0.18.1-2.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://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.GkyzoVEqYh/pbuilderrc_Cvw4 --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.GkyzoVEqYh/b2 --logfile b2/build.log --extrapackages usrmerge ruby-httparty_0.18.1-2.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://78.137.99.97:3128 I: uname -a - Linux ionos16-i386 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 GNU/Linux + Linux i-capture-the-hostname 4.19.0-16-686-pae #1 SMP Debian 4.19.181-1 (2021-03-19) i686 GNU/Linux I: ls -l /bin - total 5776 - -rwxr-xr-x 1 root root 1367848 Feb 24 2021 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 2021 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 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 2021 findmnt - -rwsr-xr-x 1 root root 30112 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 210488 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 2021 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 2021 gzexe - -rwxr-xr-x 1 root root 100952 Mar 2 2021 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 2021 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 2021 more - -rwsr-xr-x 1 root root 50720 Feb 7 2021 mount - -rwxr-xr-x 1 root root 13856 Feb 7 2021 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 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38824 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Feb 24 2021 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 Jul 15 03:47 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 2021 su - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sync - -rwxr-xr-x 1 root root 602584 Feb 16 2021 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 2021 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Feb 7 2021 umount - -rwxr-xr-x 1 root root 34664 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress - -rwxr-xr-x 1 root root 153964 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 63024 Feb 7 2021 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 2021 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 2021 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 2021 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 2021 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 2021 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 2021 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 2021 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 2021 zless - -rwxr-xr-x 1 root root 1842 Mar 2 2021 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 2021 znew -I: user script /srv/workspace/pbuilder/4968/tmp/hooks/D02_print_environment finished + total 5784 + -rwxr-xr-x 1 root root 1367848 Feb 25 10:57 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 04:38 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 04:38 findmnt + -rwsr-xr-x 1 root root 30112 Feb 27 06:12 fusermount + -rwxr-xr-x 1 root root 210488 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 13:30 gzexe + -rwxr-xr-x 1 root root 100952 Mar 3 13:30 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 04:38 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 04:38 more + -rwsr-xr-x 1 root root 50720 Feb 8 04:38 mount + -rwxr-xr-x 1 root root 13856 Feb 8 04:38 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 05:38 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38824 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Feb 25 10:57 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 Jun 14 20:35 sh -> bash + lrwxrwxrwx 1 root root 4 Jun 13 03:17 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 04:38 su + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sync + -rwxr-xr-x 1 root root 602584 Feb 17 23:55 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 06:12 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Feb 8 04:38 umount + -rwxr-xr-x 1 root root 34664 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 uncompress + -rwxr-xr-x 1 root root 153964 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 63024 Feb 8 04:38 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 13:30 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 13:30 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 13:30 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 13:30 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 13:30 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 13:30 zless + -rwxr-xr-x 1 root root 1842 Mar 3 13:30 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 13:30 znew +I: user script /srv/workspace/pbuilder/22044/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -374,7 +410,7 @@ Get: 152 http://deb.debian.org/debian bullseye/main i386 ruby-simplecov-html all 0.12.3-1 [404 kB] Get: 153 http://deb.debian.org/debian bullseye/main i386 ruby-simplecov all 0.19.1-1 [51.6 kB] Get: 154 http://deb.debian.org/debian bullseye/main i386 ruby-webmock all 3.8.3-1 [64.3 kB] -Fetched 46.6 MB in 1s (68.7 MB/s) +Fetched 46.6 MB in 27s (1723 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19675 files and directories currently installed.) @@ -1014,8 +1050,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 (2224 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 ... 27736 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-httparty-0.18.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/ruby-httparty-0.18.1/ && 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-httparty dpkg-buildpackage: info: source version 0.18.1-2 dpkg-buildpackage: info: source distribution unstable @@ -1050,7 +1122,7 @@ dh_auto_install -O--buildsystem=ruby dh_ruby --install /build/ruby-httparty-0.18.1/debian/ruby-httparty dh_ruby --install -/usr/bin/ruby2.7 -S gem build --config-file /dev/null --verbose /tmp/d20220717-9423-ls4ty8/gemspec +/usr/bin/ruby2.7 -S gem build --config-file /dev/null --verbose /tmp/d20210614-2819-bpq928/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash WARNING: description and summary are identical WARNING: open-ended dependency on multi_xml (>= 0.5.2) is not recommended @@ -1061,7 +1133,7 @@ Name: httparty Version: 0.18.1 File: httparty-0.18.1.gem -/usr/bin/ruby2.7 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-httparty/usr/share/rubygems-integration/all /tmp/d20220717-9423-ls4ty8/httparty-0.18.1.gem +/usr/bin/ruby2.7 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-httparty/usr/share/rubygems-integration/all /tmp/d20210614-2819-bpq928/httparty-0.18.1.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/ruby-httparty-0.18.1/debian/ruby-httparty/usr/share/rubygems-integration/all/gems/httparty-0.18.1/bin/httparty /build/ruby-httparty-0.18.1/debian/ruby-httparty/usr/share/rubygems-integration/all/gems/httparty-0.18.1/docs/README.md @@ -1104,7 +1176,7 @@ rm -rf extensions cd gems/httparty-0.18.1 rm -f -chmod 644 lib/httparty/hash_conversions.rb lib/httparty/request.rb lib/httparty/headers_processor.rb lib/httparty/request/multipart_boundary.rb lib/httparty/request/body.rb lib/httparty/net_digest_auth.rb lib/httparty/cookie_hash.rb lib/httparty/utils.rb lib/httparty/response.rb lib/httparty/parser.rb lib/httparty/version.rb lib/httparty/connection_adapter.rb lib/httparty/exceptions.rb lib/httparty/text_encoder.rb lib/httparty/response/headers.rb lib/httparty/module_inheritable_attributes.rb lib/httparty/response_fragment.rb lib/httparty/logger/apache_formatter.rb lib/httparty/logger/logger.rb lib/httparty/logger/curl_formatter.rb lib/httparty/logger/logstash_formatter.rb lib/httparty.rb +chmod 644 lib/httparty.rb lib/httparty/version.rb lib/httparty/text_encoder.rb lib/httparty/request/body.rb lib/httparty/request/multipart_boundary.rb lib/httparty/logger/logstash_formatter.rb lib/httparty/logger/curl_formatter.rb lib/httparty/logger/apache_formatter.rb lib/httparty/logger/logger.rb lib/httparty/headers_processor.rb lib/httparty/exceptions.rb lib/httparty/utils.rb lib/httparty/cookie_hash.rb lib/httparty/connection_adapter.rb lib/httparty/parser.rb lib/httparty/net_digest_auth.rb lib/httparty/response.rb lib/httparty/module_inheritable_attributes.rb lib/httparty/request.rb lib/httparty/response/headers.rb lib/httparty/hash_conversions.rb lib/httparty/response_fragment.rb find lib/ -type d -empty -delete cd - cd - @@ -1128,144 +1200,533 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 60814 +Randomized with seed 29673 + +HTTParty::CookieHash + #to_cookie_string + should not include client side only cookies even when attributes use camal case + should format the key/value pairs, delimited by semi-colons + should not mutate the hash + should not include SameSite attribute + should not include client side only cookies + #add_cookies + with other class + should error + with a hash + should add new key/value pairs to the hash + should overwrite any existing key + with a string + should handle an empty cookie parameter + should handle '=' within cookie value + should overwrite any existing key + should add new key/value pairs to the hash + +HTTParty + with explicit override of automatic redirect handling + should fail with redirected MOVE + should fail with redirected GET + should fail with redirected COPY + should fail with redirected PUT + should fail with redirected HEAD + should fail with redirected POST + should fail with redirected MKCOL + should fail with redirected OPTIONS + should fail with redirected DELETE + should fail with redirected PATCH + headers + does not modify default_options when no arguments are passed + should pass options as argument to header block value + should be able to be updated + should default to empty hash + overrides class headers with request headers + uses the class headers when sending a request + should be able to accept block as header value + merges class headers with request headers + when posting file + changes content-type headers to multipart/form-data + when headers passed as symbols + converts them to string + converts default headers to string + with cookies + adds cookies to the headers + utilizes the class-level cookies + doesnt modify default headers + adds optional cookies to the optional headers + .disable_rails_query_string_format + sets the query string normalizer to HTTParty::Request::NON_RAILS_QUERY_STRING_NORMALIZER + http_proxy + should set the address + should set the proxy user and pass when they are provided + default timeout + should default to nil + should support updating + should raise an exception if unsupported type provided + should support floats + connection_adapter + should not set the connection_adapter_options when not provided + should process a request with a connection from the adapter + should set the connection_adapter_options when provided + should set the connection_adapter + .query_string_normalizer + sets the query_string_normalizer option + head requests should follow redirects requesting HEAD only + should remain HEAD request across redirects, unless specified otherwise + digest http authentication + should work + with multiple class definitions + should not run over each others options + two child classes inheriting from one parent + works with lambda values + doesn't modify the parent's default options + does not modify each others inherited attributes + should dup the proc on the child class + doesn't modify the parent's default cookies + inherits default_cookies from the parent class + doesn't modify hashes in the parent's default options + inherits default_options from the superclass + base uri + should have writer + should not modify the parameter during assignment + should have reader + basic http authentication + should work + .normalize_base_uri + should not remove https for ssl requests + should not modify the parameter + should not treat uri's with a port of 4430 as ssl + should add https if not present for ssl requests + should add http if not present for non ssl requests + #resend_on_redirect + sets resend_on_redirect to true by default + sets resend_on_redirect option to false + #ensure_method_maintained_across_redirects + should set maintain_method_across_redirects option if unspecified + should not set maintain_method_across_redirects option if value is present + .raise_on + when parameters is a fixnum + sets raise_on option + when parameters is an array + sets raise_on option + default params + should default to empty hash + should be able to be updated + ciphers + should set the ciphers content + pkcs12 + should set the p12 content + should set the password + #maintain_method_across_redirects + sets maintain_method_across_redirects to true by default + sets the maintain_method_across_redirects option to false + #no_follow + sets no_follow to false by default + sets the no_follow option to true + #get + should be able to get chunked html + should accept https URIs + should be able parse response type xml automatically + should be able parse response type json automatically + should return an empty body if stream_body option is turned on +[DEPRECATION] HTTParty will no longer override `response#nil?`. This functionality will be removed in future versions. Please, add explicit check `response.body.nil? || response.body.empty?`. For more info refer to: https://github.com/jnunemaker/httparty/issues/568 +/usr/share/rubygems-integration/all/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be.rb:69:in `match' + should parse empty response fine + should raise an InvalidURIError on URIs that can't be parsed at all + should accept http URIs + should be able to get html + should not get undefined method add_node for nil class for the following xml + should be able parse response type csv automatically + should accept webcal URIs + when streaming body + is expected to eq # + .follow_redirects + sets follow redirects to true by default + sets the follow_redirects option to false + parser + should be able parse response with custom parser + does not validate format whe custom parser is a proc + should set parser options + raises UnsupportedFormat when the parser cannot handle the format + format + should only print each format once with an exception + should allow json + should not allow funky format + does not reset parser to the default parser + should allow plain + should allow csv + should allow xml + sets the default parser + ssl_version + should set the ssl_version content + debug_output + stores the $stderr stream by default + stores the given stream as a default_option + cookies + should raise an ArgumentError if passed a non-Hash + should allow a cookie to be specified with a one-off request + should not be in the headers by default + when a cookie is set at the class level + should include that cookie in the request + should allow the class defaults to be overridden + should pass the proper cookies when requested multiple times + in a class with multiple methods that use different cookies + should not allow cookies used in one method to carry over into other methods + uri_adapter + with custom URI Adaptor + should raise an ArgumentError if uri_adapter doesn't implement parse method + should set the uri_adapter + should process a request with a uri instance parsed from the uri_adapter + with Addressable::URI + handles international domains + grand parent with inherited callback + continues running the #inherited on the parent + pem + should set the password to nil if it's not provided + should set the pem content + should set the password HTTParty::Error - HTTParty::RedirectionTooDeep + HTTParty::ResponseError #ancestors - is expected to include HTTParty::ResponseError - HTTParty::UnsupportedURIScheme + is expected to include HTTParty::Error + HTTParty::UnsupportedFormat #ancestors is expected to include HTTParty::Error HTTParty::DuplicateLocationHeader #ancestors is expected to include HTTParty::ResponseError - HTTParty::UnsupportedFormat + #ancestors + is expected to include StandardError + HTTParty::RedirectionTooDeep #ancestors - is expected to include HTTParty::Error - HTTParty::ResponseError + is expected to include HTTParty::ResponseError + HTTParty::UnsupportedURIScheme #ancestors is expected to include HTTParty::Error - #ancestors - is expected to include StandardError -HTTParty::ConnectionAdapter +HTTParty::Response + does raise an error about itself when using #method + does raise an error about itself when invoking a method that does not exist + responds to parsed_response + should send missing methods to delegate + responds to headers + allows headers to be accessed by mixed-case names in hash notation + responds to anything parsed_response responds to + responds to hash methods + responds to predicates + returns response headers + response to request + responds to response + returns a comma-delimited value when multiple values exist + responds to body + #kind_of? + is expected to be truthy + is expected to respond to #kind_of? with 1 argument + is expected to be truthy + marshalling + is expected to eq 200 + .underscore + works with one capitalized word + works with titlecase + works with all caps + headers + always equals itself + does equal a hash + does not equal itself when not equivalent + can initialize without headers + #tap + is possible to tap into a response initialization - also accepts an optional options hash - sets the options - sets the uri - raises an ArgumentError if the uri is nil - takes a URI as input - raises an ArgumentError if the uri is a String + should set code as an Integer + should set code + should set http_version + should set body + should set the Net::HTTP Response + when raise_on is supplied + and response's status code is in range + throws exception + and response's status code is not in range + does not throw exception + semantic methods for response codes + for specific codes + responds to request_entity_too_large? + responds to version_not_supported? + responds to no_content? + responds to unsupported_media_type? + responds to moved_permanently? + responds to multiple_choice? + responds to non_authoritative_information? + responds to gone? + responds to switch_protocol? + responds to not_found? + responds to created? + responds to gateway_timeout? + responds to expectation_failed? + responds to proxy_authentication_required? + responds to partial_content? + responds to service_unavailable? + responds to reset_content? + responds to forbidden? + responds to ok? + responds to not_acceptable? + responds to see_other? + responds to bad_gateway? + responds to payload_too_large? + responds to requested_range_not_satisfiable? + responds to continue? + responds to use_proxy? + responds to uri_too_long? + responds to unauthorized? + responds to request_uri_too_long? + responds to bad_request? + responds to method_not_allowed? + responds to not_modified? + responds to payment_required? + responds to accepted? + responds to request_time_out? + responds to request_timeout? + responds to gateway_time_out? + responds to range_not_satisfiable? + responds to multiple_choices? + responds to length_required? + responds to precondition_failed? + responds to internal_server_error? + responds to conflict? + responds to not_implemented? + responds to temporary_redirect? + responds to found? + major codes + is client error + is server error + is redirection + is information + is success + response is array + should display the same as an array + should be able to iterate + should equal the string response object body + should respond to array methods + #is_a? + is expected to respond to #is_a? with 1 argument + is expected to be truthy + is expected to be truthy + #inspect + works + +HTTParty::Logger + .build + raises error when formatter exists + defaults format to :apache + builds :logstash style logger + builds :curl style logger + builds :custom style logger + defaults level to :info + +HTTParty::Request::Body + #call + when params is hash + is expected to eq "people%5B%5D=Bob%20Jones&people%5B%5D=Mike%20Smith" + when params has file + is expected to eq "--------------------------c772861a5109d5ef\r\nContent-Disposition: form-data; name=\"user[avatar]\";...: form-data; name=\"user[enabled]\"\r\n\r\ntrue\r\n--------------------------c772861a5109d5ef--\r\n" + file object responds to original_filename + is expected to eq "--------------------------c772861a5109d5ef\r\nContent-Disposition: form-data; name=\"user[avatar]\";...: form-data; name=\"user[enabled]\"\r\n\r\ntrue\r\n--------------------------c772861a5109d5ef--\r\n" + when passing multipart as an option + is expected to eq "--------------------------c772861a5109d5ef\r\nContent-Disposition: form-data; name=\"user[first_name...: form-data; name=\"user[enabled]\"\r\n\r\ntrue\r\n--------------------------c772861a5109d5ef--\r\n" + when params is string + is expected to eq "name=Bob%20Jones" + #multipart? + when params responds to to_hash + when it contains file + is expected to equal true + when force_multipart is true + is expected to equal true + when it does not contain a file + is expected to eq false + when params does not respond to to_hash + is expected to equal false + +HTTParty::Logger::ApacheFormatter + #format + formats a response in a style that resembles apache's access log + when there is a parsed response + can handle the Content-Length header + +HTTParty::Logger::LogstashFormatter + #format + formats a response to be compatible with Logstash + +HTTParty::HeadersProcessor + when headers are dynamic + returns processed global and request specific headers + when headers are not set at all + returns empty hash + when global and request specific headers are set + returns merged global and request specific headers + when only request specific headers are set + returns stringified request specific headers + when only global headers are set + returns stringified global headers + +HTTParty::Parser + .format_from_mimetype + returns a symbol representing the format mimetype + returns nil when the mimetype is not supported + .supported_formats + returns a unique set of supported formats represented by symbols + #parse_supported_format + calls the parser for the given format + when a parsing method does not exist for the given format + raises a useful exception message for subclasses + raises an exception + .formats + returns the SupportedFormats constant for subclasses + returns the SupportedFormats constant + parsers + parses json with JSON + parses plain text by simply returning the body + parses xml with MultiXml + parses html by simply returning the body + parses csv with CSV + #parse + ignores utf-8 bom + returns nil for a body with spaces only + returns nil for a 'null' body + returns nil for a nil body + parses frozen strings + parses ascii 8bit encoding + does not raise exceptions for bodies with invalid encodings + returns nil for an empty body + returns the unparsed body when the format is unsupported + attempts to parse supported formats + .call + calls #parse on the parser + generates an HTTParty::Parser instance with the given body and format + #supports_format? + utilizes the class method to determine if the format is supported + .supports_format? + returns false for an unsupported format + returns true for a supported format + .SupportedFormats + returns a hash + +HTTParty::Logger::CurlFormatter + #format + formats a response in a style that resembles a -v curl + when request is logged + and query is present + logs query params + logs Query + and headers are not present + not log Headers + when request raw_body is present + not logs request body + and request's option 'base_uri' is not present + logs url + and headers are present + logs Headers + logs headers keys + and query is not present + not logs Query + and request's option 'base_uri' is present + logs url + when response is logged + logs http version and response code + logs body + logs headers + +HTTParty::ConnectionAdapter .call - calls #connection on the connection adapter generates an HTTParty::ConnectionAdapter instance with the given uri and options + calls #connection on the connection adapter #connection the resulting connection is expected to be an instance of Net::HTTP when dealing with ssl - when ssl version is set - sets ssl version uses the system cert_store, by default is expected to use cert store # https scheme with default port is expected to use ssl - should use the specified cert store, when one is given - is expected to use cert store # - https scheme with non-standard port - is expected to use ssl + when ssl version is set + sets ssl version using port 443 for ssl is expected to use ssl - when setting max_retries - and max_retries is a string - doesn't set the max_retries - to 0 times - #max_retries - is expected to eq 0 - to 5 times - #max_retries - is expected to eq 5 - when providing a local bind address and port - #local_host - is expected to eq "127.0.0.1" - #local_port - is expected to eq 12345 - when debug_output - is set to $stderr - has debug output set - is not provided - does not set_debug_output - when max_retries is not set - doesn't set the max_retries - when uri port is not defined - falls back to 80 port on http - is expected to equal 80 - falls back to 443 port on https - is expected to equal 443 - when timeout is not set - doesn't set the timeout - when not providing a proxy address - does not pass any proxy parameters to the connection + https scheme with non-standard port + is expected to use ssl + should use the specified cert store, when one is given + is expected to use cert store # when providing PKCS12 certificates + when scheme is not https + has no PKCS12 certificate when scheme is https - will verify the certificate uses the provided P12 certificate + will verify the certificate when options include verify=false should not verify the certificate when options include verify_peer=false should not verify the certificate - when scheme is not https - has no PKCS12 certificate - when timeout is set and write_timeout is set to 8 seconds - should override the timeout option - #write_timeout - is expected to eq 8 - when providing nil as proxy address - is expected not to be a proxy - does pass nil proxy parameters to the connection, this forces to not use a proxy + when providing proxy address and port + is expected to be a proxy + #proxy_port + is expected to eq 8080 + #proxy_address + is expected to eq "1.2.3.4" + as well as proxy user and password + #proxy_user + is expected to eq "user" + #proxy_pass + is expected to eq "pass" + when max_retries is not set + doesn't set the max_retries + when timeout is not set and read_timeout is set to 6 seconds + should not set the open_timeout + should not set the write_timeout + #read_timeout + is expected to eq 6 + when not providing a proxy address + does not pass any proxy parameters to the connection + when setting max_retries + to 0 times + #max_retries + is expected to eq 0 + and max_retries is a string + doesn't set the max_retries + to 5 times + #max_retries + is expected to eq 5 when setting timeout - and timeout is a string - doesn't set the timeout to 5 seconds + #write_timeout + is expected to eq 5 #read_timeout is expected to eq 5 #open_timeout is expected to eq 5 - #write_timeout - is expected to eq 5 - when timeout is not set and read_timeout is set to 6 seconds - should not set the open_timeout - should not set the write_timeout - #read_timeout - is expected to eq 6 + and timeout is a string + doesn't set the timeout when dealing with IPv6 strips brackets from the address - when timeout is not set and write_timeout is set to 8 seconds - should not set the read timeout - should not set the open timeout - #write_timeout - is expected to eq 8 + when providing a local bind address and port + #local_port + is expected to eq 12345 + #local_host + is expected to eq "127.0.0.1" + when providing PEM certificates + when scheme is not https + has no PEM certificate + when scheme is https + uses the provided PEM certificate + will verify the certificate + when options include verify_peer=false + should not verify the certificate + when options include verify=false + should not verify the certificate specifying ciphers should set the ciphers on the connection - using port 80 - is expected not to use ssl - when providing proxy address and port - is expected to be a proxy - #proxy_address - is expected to eq "1.2.3.4" - #proxy_port - is expected to eq 8080 - as well as proxy user and password - #proxy_user - is expected to eq "user" - #proxy_pass - is expected to eq "pass" when timeout is set and open_timeout is set to 7 seconds should override the timeout option - #open_timeout - is expected to eq 7 #read_timeout is expected to eq 5 + #open_timeout + is expected to eq 7 #write_timeout is expected to eq 5 when timeout is set and read_timeout is set to 6 seconds @@ -1276,874 +1737,485 @@ is expected to eq 6 #open_timeout is expected to eq 5 - when providing PEM certificates - when scheme is not https - has no PEM certificate - when scheme is https - will verify the certificate - uses the provided PEM certificate - when options include verify_peer=false - should not verify the certificate - when options include verify=false - should not verify the certificate + using port 80 + is expected not to use ssl + when timeout is not set and write_timeout is set to 8 seconds + should not set the read timeout + should not set the open timeout + #write_timeout + is expected to eq 8 when timeout is not set and open_timeout is set to 7 seconds - should not set the read_timeout should not set the write_timeout + should not set the read_timeout #open_timeout is expected to eq 7 - -HTTParty::Response - responds to response - response to request - should send missing methods to delegate - returns a comma-delimited value when multiple values exist - responds to predicates - does raise an error about itself when using #method - responds to body - returns response headers - responds to hash methods - allows headers to be accessed by mixed-case names in hash notation - does raise an error about itself when invoking a method that does not exist - responds to headers - responds to anything parsed_response responds to - responds to parsed_response - semantic methods for response codes - for specific codes - responds to multiple_choices? - responds to internal_server_error? - responds to payment_required? - responds to request_timeout? - responds to not_implemented? - responds to multiple_choice? - responds to payload_too_large? - responds to partial_content? - responds to temporary_redirect? - responds to unsupported_media_type? - responds to requested_range_not_satisfiable? - responds to unauthorized? - responds to request_uri_too_long? - responds to length_required? - responds to gateway_timeout? - responds to gone? - responds to request_time_out? - responds to proxy_authentication_required? - responds to no_content? - responds to use_proxy? - responds to switch_protocol? - responds to service_unavailable? - responds to precondition_failed? - responds to conflict? - responds to reset_content? - responds to continue? - responds to see_other? - responds to not_modified? - responds to non_authoritative_information? - responds to accepted? - responds to expectation_failed? - responds to request_entity_too_large? - responds to ok? - responds to version_not_supported? - responds to bad_request? - responds to range_not_satisfiable? - responds to bad_gateway? - responds to not_found? - responds to created? - responds to forbidden? - responds to not_acceptable? - responds to gateway_time_out? - responds to moved_permanently? - responds to found? - responds to uri_too_long? - responds to method_not_allowed? - major codes - is redirection - is success - is client error - is server error - is information + when providing nil as proxy address + is expected not to be a proxy + does pass nil proxy parameters to the connection, this forces to not use a proxy + when timeout is set and write_timeout is set to 8 seconds + should override the timeout option + #write_timeout + is expected to eq 8 + when timeout is not set + doesn't set the timeout + when uri port is not defined + falls back to 80 port on http + is expected to equal 80 + falls back to 443 port on https + is expected to equal 443 + when debug_output + is not provided + does not set_debug_output + is set to $stderr + has debug output set initialization - should set code as an Integer - should set the Net::HTTP Response - should set code - should set http_version - should set body - when raise_on is supplied - and response's status code is in range - throws exception - and response's status code is not in range - does not throw exception - marshalling - is expected to eq 200 - #kind_of? - is expected to be truthy - is expected to be truthy - is expected to respond to #kind_of? with 1 argument - #tap - is possible to tap into a response - response is array - should be able to iterate - should display the same as an array - should equal the string response object body - should respond to array methods - headers - does equal a hash - does not equal itself when not equivalent - can initialize without headers - always equals itself - #inspect - works - #is_a? - is expected to be truthy - is expected to respond to #is_a? with 1 argument - is expected to be truthy - .underscore - works with titlecase - works with one capitalized word - works with all caps - -HTTParty::HashConversions - .normalize_param - value is hash - creates a params string - value is an array - creates a params string - value is an empty array - creates a params string - value is a string - creates a params string - .to_params - creates a params string from a hash - nested params - creates a params string from a hash - -Net::HTTPHeader::DigestAuthenticator - with specified quality of protection (qop) - should set cnonce - should set response - should set nonce-count - should set prefix - should set qop - should set username - should set digest-uri - Net::HTTPHeader#digest_auth - should set the authorization header - with multiple authenticate headers - should set qop - should set username - should set digest-uri - should set prefix - should set cnonce - should set response - should set nonce-count - with algorithm specified - should recognise algorithm was specified - should set the algorithm header - with http basic auth response when net digest auth expected - should not fail - with an opaque value in the response header - should set opaque - without a cookie value in the response header - should set empty cookie header array - with a cookie value in the response header - should set cookie header - when quality of protection (qop) is unquoted - should still set qop - without an opaque valid in the response header - should not set opaque - with md5-sess algorithm specified - should recognise algorithm was specified - should set response using md5-sess algorithm - should set the algorithm header - with unspecified quality of protection (qop) - should set response - should not set cnonce - should not set nonce-count - should not set qop - should set prefix - should set digest-uri - should set username - -HTTParty - format - should not allow funky format - sets the default parser - should allow json - should allow xml - should allow plain - should allow csv - does not reset parser to the default parser - should only print each format once with an exception - with explicit override of automatic redirect handling - should fail with redirected PUT - should fail with redirected PATCH - should fail with redirected MOVE - should fail with redirected HEAD - should fail with redirected DELETE - should fail with redirected GET - should fail with redirected OPTIONS - should fail with redirected COPY - should fail with redirected POST - should fail with redirected MKCOL - #ensure_method_maintained_across_redirects - should not set maintain_method_across_redirects option if value is present - should set maintain_method_across_redirects option if unspecified - .query_string_normalizer - sets the query_string_normalizer option - grand parent with inherited callback - continues running the #inherited on the parent - .disable_rails_query_string_format - sets the query string normalizer to HTTParty::Request::NON_RAILS_QUERY_STRING_NORMALIZER - debug_output - stores the given stream as a default_option - stores the $stderr stream by default - http_proxy - should set the address - should set the proxy user and pass when they are provided - with multiple class definitions - should not run over each others options - basic http authentication - should work - #resend_on_redirect - sets resend_on_redirect to true by default - sets resend_on_redirect option to false - cookies - should allow a cookie to be specified with a one-off request - should raise an ArgumentError if passed a non-Hash - should not be in the headers by default - in a class with multiple methods that use different cookies - should not allow cookies used in one method to carry over into other methods - when a cookie is set at the class level - should include that cookie in the request - should allow the class defaults to be overridden - should pass the proper cookies when requested multiple times - ciphers - should set the ciphers content - connection_adapter - should set the connection_adapter - should set the connection_adapter_options when provided - should process a request with a connection from the adapter - should not set the connection_adapter_options when not provided - #get - should be able to get html - should accept https URIs - should raise an InvalidURIError on URIs that can't be parsed at all - should return an empty body if stream_body option is turned on - should be able parse response type csv automatically - should accept http URIs - should be able parse response type xml automatically -[DEPRECATION] HTTParty will no longer override `response#nil?`. This functionality will be removed in future versions. Please, add explicit check `response.body.nil? || response.body.empty?`. For more info refer to: https://github.com/jnunemaker/httparty/issues/568 -/usr/share/rubygems-integration/all/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be.rb:69:in `match' - should parse empty response fine - should not get undefined method add_node for nil class for the following xml - should accept webcal URIs - should be able parse response type json automatically - should be able to get chunked html - when streaming body - is expected to eq # - .raise_on - when parameters is a fixnum - sets raise_on option - when parameters is an array - sets raise_on option - head requests should follow redirects requesting HEAD only - should remain HEAD request across redirects, unless specified otherwise - pkcs12 - should set the password - should set the p12 content - parser - does not validate format whe custom parser is a proc - should set parser options - raises UnsupportedFormat when the parser cannot handle the format - should be able parse response with custom parser - digest http authentication - should work - headers - does not modify default_options when no arguments are passed - should pass options as argument to header block value - should be able to accept block as header value - uses the class headers when sending a request - should default to empty hash - merges class headers with request headers - overrides class headers with request headers - should be able to be updated - when posting file - changes content-type headers to multipart/form-data - when headers passed as symbols - converts default headers to string - converts them to string - with cookies - adds cookies to the headers - utilizes the class-level cookies - adds optional cookies to the optional headers - doesnt modify default headers - ssl_version - should set the ssl_version content - base uri - should have reader - should not modify the parameter during assignment - should have writer - .normalize_base_uri - should add http if not present for non ssl requests - should not treat uri's with a port of 4430 as ssl - should not remove https for ssl requests - should add https if not present for ssl requests - should not modify the parameter - uri_adapter - with custom URI Adaptor - should raise an ArgumentError if uri_adapter doesn't implement parse method - should set the uri_adapter - should process a request with a uri instance parsed from the uri_adapter - with Addressable::URI - handles international domains - two child classes inheriting from one parent - doesn't modify the parent's default options - inherits default_options from the superclass - inherits default_cookies from the parent class - does not modify each others inherited attributes - should dup the proc on the child class - doesn't modify the parent's default cookies - doesn't modify hashes in the parent's default options - works with lambda values - default timeout - should raise an exception if unsupported type provided - should default to nil - should support floats - should support updating - .follow_redirects - sets the follow_redirects option to false - sets follow redirects to true by default - default params - should be able to be updated - should default to empty hash - pem - should set the pem content - should set the password - should set the password to nil if it's not provided - #maintain_method_across_redirects - sets the maintain_method_across_redirects option to false - sets maintain_method_across_redirects to true by default - #no_follow - sets the no_follow option to true - sets no_follow to false by default + also accepts an optional options hash + sets the uri + raises an ArgumentError if the uri is a String + takes a URI as input + sets the options + raises an ArgumentError if the uri is nil HTTParty::Request - should not fail for missing mime type [DEPRECATION] HTTParty will no longer override `response#nil?`. This functionality will be removed in future versions. Please, add explicit check `response.body.nil? || response.body.empty?`. For more info refer to: https://github.com/jnunemaker/httparty/issues/568 /usr/share/rubygems-integration/all/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be.rb:69:in `match' [DEPRECATION] HTTParty will no longer override `response#nil?`. This functionality will be removed in future versions. Please, add explicit check `response.body.nil? || response.body.empty?`. For more info refer to: https://github.com/jnunemaker/httparty/issues/568 /usr/share/rubygems-integration/all/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be.rb:69:in `match' should not attempt to parse empty responses + should not fail for missing mime type + ::NON_RAILS_QUERY_STRING_NORMALIZER + doesn't modify strings + when the query is a hash + correctly handles nil values + when the query is an array + doesn't include brackets + URI encodes array values #setup_raw_request + when query_string_normalizer is set + sets the body to the return value of the proc when mulipart - when mulipart option is provided - sets header Content-Type: multipart/form-data; boundary= when body contains file sets header Content-Type: multipart/form-data; boundary= and header Content-Type is provided overwrites the header to: multipart/form-data; boundary= - when query_string_normalizer is set - sets the body to the return value of the proc - a request that 307 redirects - infinitely - should raise an exception + when mulipart option is provided + sets header Content-Type: multipart/form-data; boundary= + a request that 308 redirects once + should update cookies with redirects should be handled by UNLOCK transparently - should be handled by GET transparently - should be handled by LOCK transparently - should keep track of cookies between redirects - should maintain method in resulting request if options[:maintain_method_across_redirects] is false - should be handled by POST transparently - should be handled by PUT transparently should be handled by OPTIONS transparently + should maintain method in resulting request if options[:maintain_method_across_redirects] is false + should be handled by MOVE transparently + should keep cookies between redirects + should be handled by PATCH transparently should maintain method in resulting request if options[:maintain_method_across_redirects] is true - should update cookies with redirects + should be handled by HEAD transparently + should be handled by PUT transparently + should be handled by MKCOL transparently should be handled by COPY transparently - should keep cookies between redirects + should keep track of cookies between redirects + should be handled by DELETE transparently + should be handled by POST transparently + should be handled by LOCK transparently should log the redirection - should be handled by HEAD transparently - should be handled by MOVE transparently - should be handled by PATCH transparently should maintain method in resulting request + should be handled by GET transparently should handle multiple Set-Cookie headers between redirects - should be handled by DELETE transparently - should be handled by MKCOL transparently - a request that 308 redirects infinitely should raise an exception + options + should use body_stream when configured + should use basic auth when configured + should normalize base uri when specified as request option + digest_auth + should be used when configured and the response is 401 + should not send credentials more than once + should maintain cookies returned from a 401 response + should merge cookies from request and a 401 response + should not be used when configured and the response is 200 + a request that returns 304 + should report 304 with a COPY request + should be handled by UNLOCK transparently + should report 304 with a MKCOL request + should report 304 with a DELETE request + should report 304 with a MOVE request + should report 304 with a POST request + should report 304 with a OPTIONS request + should report 304 with a HEAD request + should report 304 with a PATCH request + should be handled by LOCK transparently + should report 304 with a PUT request + should not log the redirection + should report 304 with a GET request + a request that 305 redirects once + should be handled by COPY transparently + should make resulting request a get request if it not already + should not make resulting request a get request if options[:maintain_method_across_redirects] is true + should be handled by DELETE transparently + should handle multiple Set-Cookie headers between redirects + should be handled by PUT transparently + should keep cookies between redirects + should be handled by LOCK transparently should be handled by HEAD transparently + should be handled by OPTIONS transparently + should be handled by UNLOCK transparently should be handled by PATCH transparently - should be handled by PUT transparently + should be handled by MKCOL transparently + should keep track of cookies between redirects + should be handled by POST transparently + should be handled by GET transparently should update cookies with redirects - should be handled by COPY transparently + should log the redirection + should be handled by MOVE transparently + infinitely + should raise an exception + initialization + sets parser to HTTParty::Parser + sets connection_adapter to HTTParty::ConnectionAdapter + sets connection_adapter to the optional connection_adapter + sets parser to the optional parser + when using a query string + and it has an empty array + sets correct query string + when sending an array with only one element + sets correct query + when basic authentication credentials provided in uri + when basic auth options was set explicitly + uses basic auth from url anyway + when basic auth options wasn't set explicitly + sets basic auth from uri + with Accept-Encoding header + should disable content decoding if present and lowercase + should disable content decoding if present + should disable content decoding if present + with POST http method + should raise argument error if query is not a hash + a request that 300 redirects + once should be handled by GET transparently + should be handled by DELETE transparently should be handled by MKCOL transparently - should maintain method in resulting request if options[:maintain_method_across_redirects] is true should be handled by MOVE transparently should be handled by POST transparently - should maintain method in resulting request - should keep track of cookies between redirects + should be handled by OPTIONS transparently should handle multiple Set-Cookie headers between redirects + should be handled by COPY transparently + should be handled by PATCH transparently should keep cookies between redirects - should be handled by DELETE transparently + should keep track of cookies between redirects + should be handled by LOCK transparently + should not make resulting request a get request if options[:maintain_method_across_redirects] is true + should be handled by PUT transparently should log the redirection + should make resulting request a get request if it not already should be handled by UNLOCK transparently - should maintain method in resulting request if options[:maintain_method_across_redirects] is false - should be handled by OPTIONS transparently - should be handled by LOCK transparently - ::NON_RAILS_QUERY_STRING_NORMALIZER + should update cookies with redirects + should be handled by HEAD transparently + infinitely + should raise an exception + ::JSON_API_QUERY_STRING_NORMALIZER doesn't modify strings when the query is an array - doesn't include brackets URI encodes array values + doesn't include brackets when the query is a hash correctly handles nil values - ::JSON_API_QUERY_STRING_NORMALIZER - doesn't modify strings - when the query is a hash - correctly handles nil values - when the query is an array - doesn't include brackets - URI encodes array values parsing responses - should handle utf-8 bom in xml - should handle json automatically - should process utf-16 charset with big endian bom correctly + should process response with a nil body should assume utf-16 little endian if options has been chosen - should perform no encoding if the charset is not available + should handle utf-8 bom in json should handle xml automatically - should handle csv automatically - should process response with a nil body + should perform no encoding if the charset is not available + should handle json automatically + should process utf-16 charset with big endian bom correctly should perform no encoding if the content type is specified but no charset is specified should include any HTTP headers in the returned response - should handle utf-8 bom in json + should handle utf-8 bom in xml + should handle csv automatically when body has ascii-8bit encoding - processes quoted charset in content type properly processes charset in content type properly if it has a different case processes charset in content type properly + processes quoted charset in content type properly when stubed body is frozen processes frozen body correctly with non-200 responses parses response lazily so codes can be checked prior - should return a valid object for 5xx response should return a valid object for 4xx response + should return a valid object for 5xx response 3xx responses - calls block given to perform with each redirect (PENDING: Temporarily skipped with xit) handles multiple redirects and relative location headers on different hosts - returns the HTTParty::Response when the 300 does not contain a location header - redirects including port - redirects if a 300 contains a location header raises an error if redirect has duplicate location header - redirects if a 300 contains a relative location header + calls block given to perform with each redirect (PENDING: Temporarily skipped with xit) + redirects if a 300 contains a location header [DEPRECATION] HTTParty will no longer override `response#nil?`. This functionality will be removed in future versions. Please, add explicit check `response.body.nil? || response.body.empty?`. For more info refer to: https://github.com/jnunemaker/httparty/issues/568 /usr/share/rubygems-integration/all/gems/rspec-expectations-3.9.2/lib/rspec/matchers/built_in/be.rb:69:in `match' returns a valid object for 304 not modified + redirects if a 300 contains a relative location header + redirects including port + returns the HTTParty::Response when the 300 does not contain a location header when assume_utf16_is_big_endian is true should process utf-16 charset with little endian bom correctly processes stubbed frozen body correctly - initialization - sets parser to the optional parser - sets parser to HTTParty::Parser - sets connection_adapter to the optional connection_adapter - sets connection_adapter to HTTParty::ConnectionAdapter - when basic authentication credentials provided in uri - when basic auth options wasn't set explicitly - sets basic auth from uri - when basic auth options was set explicitly - uses basic auth from url anyway - when using a query string - and it has an empty array - sets correct query string - when sending an array with only one element - sets correct query - options - should use basic auth when configured - should normalize base uri when specified as request option - should use body_stream when configured - digest_auth - should not send credentials more than once - should maintain cookies returned from a 401 response - should merge cookies from request and a 401 response - should be used when configured and the response is 401 - should not be used when configured and the response is 200 - #send_authorization_header? - basic_auth - should send Authorization header when redirecting to a relative path - should send Authorization header when redirecting to the same host - should not send Authorization header when redirecting to a different host - should send Authorization header when redirecting to a different port on the same host a request that 303 redirects once - should be handled by LOCK transparently - should be handled by COPY transparently - should not make resulting request a get request if options[:maintain_method_across_redirects] and options[:resend_on_redirect] is true - should be handled by GET transparently - should log the redirection - should be handled by DELETE transparently should be handled by PUT transparently - should be handled by MKCOL transparently - should make resulting request a get request if it not already - should be handled by HEAD transparently - should make resulting request a get request if options[:maintain_method_across_redirects] is false - should be handled by MOVE transparently - should handle multiple Set-Cookie headers between redirects - should be handled by PATCH transparently - should make resulting request a get request if options[:maintain_method_across_redirects] is true but options[:resend_on_redirect] is false - should keep cookies between redirects - should update cookies with redirects - should be handled by POST transparently - should be handled by UNLOCK transparently - should be handled by OPTIONS transparently - should keep track of cookies between redirects - infinitely - should raise an exception - with POST http method - should raise argument error if query is not a hash - #format - request has been made - returns format option - returns the content-type from the last response when the option is not set - request yet to be made - returns nil format - returns format option - a request that 300 redirects - once should be handled by UNLOCK transparently - should keep cookies between redirects + should make resulting request a get request if options[:maintain_method_across_redirects] is true but options[:resend_on_redirect] is false should be handled by POST transparently + should be handled by HEAD transparently + should be handled by LOCK transparently + should make resulting request a get request if options[:maintain_method_across_redirects] is false + should not make resulting request a get request if options[:maintain_method_across_redirects] and options[:resend_on_redirect] is true should be handled by MKCOL transparently - should be handled by GET transparently - should be handled by PUT transparently - should keep track of cookies between redirects should handle multiple Set-Cookie headers between redirects - should be handled by MOVE transparently - should be handled by OPTIONS transparently should make resulting request a get request if it not already - should be handled by COPY transparently - should not make resulting request a get request if options[:maintain_method_across_redirects] is true - should be handled by PATCH transparently - should be handled by LOCK transparently + should be handled by OPTIONS transparently should update cookies with redirects - should be handled by HEAD transparently - should log the redirection - should be handled by DELETE transparently - infinitely - should raise an exception - a request that 301 redirects - infinitely - should raise an exception - once - should be handled by UNLOCK transparently - should be handled by LOCK transparently - should be handled by MKCOL transparently - should keep cookies between redirects should be handled by PATCH transparently - should be handled by OPTIONS transparently - should keep track of cookies between redirects should be handled by MOVE transparently - should handle multiple Set-Cookie headers between redirects - should be handled by PUT transparently should log the redirection - should update cookies with redirects - should make resulting request a get request if it not already - should be handled by HEAD transparently - should be handled by DELETE transparently - should be handled by COPY transparently should be handled by GET transparently - should be handled by POST transparently - should not make resulting request a get request if options[:maintain_method_across_redirects] is true - http - should get a connection from the connection_adapter + should keep cookies between redirects + should be handled by COPY transparently + should keep track of cookies between redirects + should be handled by DELETE transparently + infinitely + should raise an exception + #format_from_mimetype + should handle application/json + returns nil when using a default parser + should handle text/javascript + should handle text/csv + should handle text/comma-separated-values + should handle application/vnd.api+json + should handle text/xml + should handle application/hal+json + should handle application/xml + should handle application/csv + should handle application/javascript + returns nil for an unrecognized mimetype + should handle text/json + argument validation + should raise argument error if headers is not a hash + should raise argument error if basic_auth is not a hash + should raise argument error if http method is post and query is not hash + should raise argument error if options method is not http accepted method + should raise RedirectionTooDeep error if limit is negative + should raise argument error if digest_auth is not a hash + should raise argument error if basic_auth and digest_auth are both present #uri query strings does not duplicate query string parameters when uri is called twice - respects the query string normalization proc does not append an ampersand when queries are embedded in paths does not add an empty query string when default_params are blank + respects the query string normalization proc when representing an array returns a Rails style query string redirects - returns correct path when the server sets the location header to a filename - returns correct path when the server sets the location header to a network-path reference returns correct path when the server sets the location header to a full uri + returns correct path when the server sets the location header to a network-path reference + returns correct path when the server sets the location header to a filename location header is an absolute path returns correct path when location has leading slash returns the correct path when location has no leading slash - a request that 305 redirects + a request that 301 redirects infinitely should raise an exception once - should be handled by PATCH transparently - should be handled by OPTIONS transparently - should log the redirection - should be handled by LOCK transparently + should be handled by MKCOL transparently should be handled by POST transparently - should not make resulting request a get request if options[:maintain_method_across_redirects] is true - should be handled by PUT transparently - should be handled by COPY transparently - should keep cookies between redirects + should be handled by LOCK transparently should update cookies with redirects + should keep track of cookies between redirects + should be handled by HEAD transparently + should log the redirection + should be handled by MOVE transparently should make resulting request a get request if it not already + should be handled by PUT transparently + should be handled by PATCH transparently + should keep cookies between redirects + should be handled by DELETE transparently + should handle multiple Set-Cookie headers between redirects + should be handled by COPY transparently should be handled by GET transparently - should keep track of cookies between redirects + should not make resulting request a get request if options[:maintain_method_across_redirects] is true + should be handled by OPTIONS transparently + should be handled by UNLOCK transparently + #send_authorization_header? + basic_auth + should send Authorization header when redirecting to a different port on the same host + should send Authorization header when redirecting to a relative path + should not send Authorization header when redirecting to a different host + should send Authorization header when redirecting to the same host + a request that 307 redirects + once should be handled by DELETE transparently + should update cookies with redirects + should be handled by OPTIONS transparently + should keep cookies between redirects should be handled by MKCOL transparently - should be handled by MOVE transparently + should maintain method in resulting request should be handled by UNLOCK transparently + should be handled by PATCH transparently should be handled by HEAD transparently + should maintain method in resulting request if options[:maintain_method_across_redirects] is true + should be handled by COPY transparently + should be handled by POST transparently + should maintain method in resulting request if options[:maintain_method_across_redirects] is false + should keep track of cookies between redirects + should be handled by LOCK transparently + should be handled by MOVE transparently + should log the redirection should handle multiple Set-Cookie headers between redirects - argument validation - should raise RedirectionTooDeep error if limit is negative - should raise argument error if basic_auth and digest_auth are both present - should raise argument error if options method is not http accepted method - should raise argument error if basic_auth is not a hash - should raise argument error if headers is not a hash - should raise argument error if digest_auth is not a hash - should raise argument error if http method is post and query is not hash + should be handled by PUT transparently + should be handled by GET transparently + infinitely + should raise an exception + #format + request has been made + returns format option + returns the content-type from the last response when the option is not set + request yet to be made + returns nil format + returns format option a request that 302 redirects + infinitely + should raise an exception once - should be handled by MKCOL transparently - should not make resulting request a get request if options[:maintain_method_across_redirects] is true - should be handled by PATCH transparently - should be handled by MOVE transparently - should be handled by UNLOCK transparently - should keep track of cookies between redirects should keep cookies between redirects should be handled by COPY transparently + should be handled by LOCK transparently + should be handled by DELETE transparently + should update cookies with redirects + should be handled by POST transparently + should be handled by OPTIONS transparently + should make resulting request a get request if it not already + should be handled by PATCH transparently + should keep track of cookies between redirects + should not make resulting request a get request if options[:maintain_method_across_redirects] is true should handle multiple Set-Cookie headers between redirects + should be handled by MOVE transparently + should be handled by UNLOCK transparently should be handled by PUT transparently - should be handled by OPTIONS transparently - should log the redirection + should be handled by MKCOL transparently should be handled by GET transparently - should update cookies with redirects - should be handled by POST transparently + should log the redirection should be handled by HEAD transparently - should make resulting request a get request if it not already - should be handled by DELETE transparently - should be handled by LOCK transparently - infinitely - should raise an exception - #format_from_mimetype - should handle text/xml - should handle application/javascript - should handle text/json - should handle application/xml - should handle text/csv - should handle application/json - should handle text/javascript - should handle text/comma-separated-values - returns nil when using a default parser - should handle application/vnd.api+json - should handle application/csv - returns nil for an unrecognized mimetype - should handle application/hal+json - a request that returns 304 - should report 304 with a PUT request - should be handled by LOCK transparently - should not log the redirection - should report 304 with a PATCH request - should report 304 with a MOVE request - should be handled by UNLOCK transparently - should report 304 with a POST request - should report 304 with a COPY request - should report 304 with a DELETE request - should report 304 with a MKCOL request - should report 304 with a OPTIONS request - should report 304 with a HEAD request - should report 304 with a GET request - with Accept-Encoding header - should disable content decoding if present - should disable content decoding if present - should disable content decoding if present and lowercase - -HTTParty::HeadersProcessor - when only global headers are set - returns stringified global headers - when headers are dynamic - returns processed global and request specific headers - when global and request specific headers are set - returns merged global and request specific headers - when headers are not set at all - returns empty hash - when only request specific headers are set - returns stringified request specific headers + http + should get a connection from the connection_adapter -HTTParty::Logger::ApacheFormatter - #format - formats a response in a style that resembles apache's access log - when there is a parsed response - can handle the Content-Length header +HTTParty::ResponseFragment + access to fragment + has access to delegators -HTTParty::Request::Body - #multipart? - when params responds to to_hash - when force_multipart is true - is expected to equal true - when it does not contain a file - is expected to eq false - when it contains file - is expected to equal true - when params does not respond to to_hash - is expected to equal false - #call - when params is string - is expected to eq "name=Bob%20Jones" - when params is hash - is expected to eq "people%5B%5D=Bob%20Jones&people%5B%5D=Mike%20Smith" - when params has file - is expected to eq "--------------------------c772861a5109d5ef\r\nContent-Disposition: form-data; name=\"user[avatar]\";...: form-data; name=\"user[enabled]\"\r\n\r\ntrue\r\n--------------------------c772861a5109d5ef--\r\n" - when passing multipart as an option - is expected to eq "--------------------------c772861a5109d5ef\r\nContent-Disposition: form-data; name=\"user[first_name...: form-data; name=\"user[enabled]\"\r\n\r\ntrue\r\n--------------------------c772861a5109d5ef--\r\n" - file object responds to original_filename - is expected to eq "--------------------------c772861a5109d5ef\r\nContent-Disposition: form-data; name=\"user[avatar]\";...: form-data; name=\"user[enabled]\"\r\n\r\ntrue\r\n--------------------------c772861a5109d5ef--\r\n" +Net::HTTPHeader::DigestAuthenticator + Net::HTTPHeader#digest_auth + should set the authorization header + with a cookie value in the response header + should set cookie header + with multiple authenticate headers + should set response + should set prefix + should set nonce-count + should set digest-uri + should set qop + should set username + should set cnonce + with specified quality of protection (qop) + should set cnonce + should set prefix + should set nonce-count + should set digest-uri + should set username + should set qop + should set response + with md5-sess algorithm specified + should set the algorithm header + should recognise algorithm was specified + should set response using md5-sess algorithm + with algorithm specified + should set the algorithm header + should recognise algorithm was specified + with http basic auth response when net digest auth expected + should not fail + without an opaque valid in the response header + should not set opaque + with an opaque value in the response header + should set opaque + without a cookie value in the response header + should set empty cookie header array + when quality of protection (qop) is unquoted + should still set qop + with unspecified quality of protection (qop) + should not set qop + should set digest-uri + should set prefix + should set response + should not set cnonce + should not set nonce-count + should set username HTTParty::Request SSL certificate verification -# terminated with exception (report_on_exception is true): +# terminated with exception (report_on_exception is true): /usr/lib/ruby/2.7.0/openssl/ssl.rb:486:in `accept': SSL_accept returned=1 errno=0 state=error: tlsv1 alert unknown ca (OpenSSL::SSL::SSLError) from /usr/lib/ruby/2.7.0/openssl/ssl.rb:486:in `accept' from /build/ruby-httparty-0.18.1/spec/support/ssl_test_server.rb:56:in `thread_main' from /build/ruby-httparty-0.18.1/spec/support/ssl_test_server.rb:34:in `block (2 levels) in start' - should fail when no trusted CA list is specified, with a bogus hostname, by default + should fail when using ssl_ca_path and the server uses a bogus hostname should work when using ssl_ca_file with a self-signed CA -# terminated with exception (report_on_exception is true): +# terminated with exception (report_on_exception is true): /usr/lib/ruby/2.7.0/openssl/ssl.rb:486:in `accept': SSL_accept returned=1 errno=0 state=error: tlsv1 alert unknown ca (OpenSSL::SSL::SSLError) from /usr/lib/ruby/2.7.0/openssl/ssl.rb:486:in `accept' from /build/ruby-httparty-0.18.1/spec/support/ssl_test_server.rb:56:in `thread_main' from /build/ruby-httparty-0.18.1/spec/support/ssl_test_server.rb:34:in `block (2 levels) in start' - should fail when no trusted CA list is specified, by default - should work when no trusted CA list is specified, even with a bogus hostname, when the verify option is set to true -# terminated with exception (report_on_exception is true): -/usr/lib/ruby/2.7.0/openssl/ssl.rb:486:in `accept': SSL_accept returned=1 errno=0 state=error: tlsv1 alert internal error (OpenSSL::SSL::SSLError) - from /usr/lib/ruby/2.7.0/openssl/ssl.rb:486:in `accept' - from /build/ruby-httparty-0.18.1/spec/support/ssl_test_server.rb:56:in `thread_main' - from /build/ruby-httparty-0.18.1/spec/support/ssl_test_server.rb:34:in `block (2 levels) in start' - should fail when using ssl_ca_file and the server uses a bogus hostname + should fail when using ssl_ca_path and the server uses an unrecognized certificate authority should work when using ssl_ca_path with a certificate authority should work when using ssl_ca_file with a certificate authority - should work when no trusted CA list is specified, when the verify option is set to false -# terminated with exception (report_on_exception is true): +# terminated with exception (report_on_exception is true): /usr/lib/ruby/2.7.0/openssl/ssl.rb:486:in `accept': SSL_accept returned=1 errno=0 state=error: tlsv1 alert unknown ca (OpenSSL::SSL::SSLError) from /usr/lib/ruby/2.7.0/openssl/ssl.rb:486:in `accept' from /build/ruby-httparty-0.18.1/spec/support/ssl_test_server.rb:56:in `thread_main' from /build/ruby-httparty-0.18.1/spec/support/ssl_test_server.rb:34:in `block (2 levels) in start' should fail when using ssl_ca_file and the server uses an unrecognized certificate authority - should provide the certificate used by the server via peer_cert -# terminated with exception (report_on_exception is true): +# terminated with exception (report_on_exception is true): /usr/lib/ruby/2.7.0/openssl/ssl.rb:486:in `accept': SSL_accept returned=1 errno=0 state=error: tlsv1 alert unknown ca (OpenSSL::SSL::SSLError) from /usr/lib/ruby/2.7.0/openssl/ssl.rb:486:in `accept' from /build/ruby-httparty-0.18.1/spec/support/ssl_test_server.rb:56:in `thread_main' from /build/ruby-httparty-0.18.1/spec/support/ssl_test_server.rb:34:in `block (2 levels) in start' - should fail when using ssl_ca_path and the server uses a bogus hostname -# terminated with exception (report_on_exception is true): + should fail when no trusted CA list is specified, by default + should work when no trusted CA list is specified, when the verify option is set to false + should provide the certificate used by the server via peer_cert +# terminated with exception (report_on_exception is true): +/usr/lib/ruby/2.7.0/openssl/ssl.rb:486:in `accept': SSL_accept returned=1 errno=0 state=error: tlsv1 alert internal error (OpenSSL::SSL::SSLError) + from /usr/lib/ruby/2.7.0/openssl/ssl.rb:486:in `accept' + from /build/ruby-httparty-0.18.1/spec/support/ssl_test_server.rb:56:in `thread_main' + from /build/ruby-httparty-0.18.1/spec/support/ssl_test_server.rb:34:in `block (2 levels) in start' + should fail when using ssl_ca_file and the server uses a bogus hostname + should work when no trusted CA list is specified, even with a bogus hostname, when the verify option is set to true +# terminated with exception (report_on_exception is true): /usr/lib/ruby/2.7.0/openssl/ssl.rb:486:in `accept': SSL_accept returned=1 errno=0 state=error: tlsv1 alert unknown ca (OpenSSL::SSL::SSLError) from /usr/lib/ruby/2.7.0/openssl/ssl.rb:486:in `accept' from /build/ruby-httparty-0.18.1/spec/support/ssl_test_server.rb:56:in `thread_main' from /build/ruby-httparty-0.18.1/spec/support/ssl_test_server.rb:34:in `block (2 levels) in start' - should fail when using ssl_ca_path and the server uses an unrecognized certificate authority - -HTTParty::Logger::CurlFormatter - #format - formats a response in a style that resembles a -v curl - when request is logged - and query is not present - not logs Query - when request raw_body is present - not logs request body - and headers are present - logs Headers - logs headers keys - and request's option 'base_uri' is present - logs url - and request's option 'base_uri' is not present - logs url - and query is present - logs Query - logs query params - and headers are not present - not log Headers - when response is logged - logs headers - logs body - logs http version and response code - -HTTParty::Logger::LogstashFormatter - #format - formats a response to be compatible with Logstash - -HTTParty::ResponseFragment - access to fragment - has access to delegators - -HTTParty::CookieHash - #add_cookies - with a string - should add new key/value pairs to the hash - should overwrite any existing key - should handle an empty cookie parameter - should handle '=' within cookie value - with other class - should error - with a hash - should overwrite any existing key - should add new key/value pairs to the hash - #to_cookie_string - should not include client side only cookies - should not include SameSite attribute - should format the key/value pairs, delimited by semi-colons - should not mutate the hash - should not include client side only cookies even when attributes use camal case - -HTTParty::Logger - .build - raises error when formatter exists - builds :logstash style logger - defaults level to :info - builds :custom style logger - builds :curl style logger - defaults format to :apache + should fail when no trusted CA list is specified, with a bogus hostname, by default -HTTParty::Parser - .supports_format? - returns false for an unsupported format - returns true for a supported format - #parse_supported_format - calls the parser for the given format - when a parsing method does not exist for the given format - raises an exception - raises a useful exception message for subclasses - parsers - parses plain text by simply returning the body - parses xml with MultiXml - parses json with JSON - parses csv with CSV - parses html by simply returning the body - #parse - returns nil for a body with spaces only - parses ascii 8bit encoding - returns the unparsed body when the format is unsupported - returns nil for an empty body - does not raise exceptions for bodies with invalid encodings - parses frozen strings - returns nil for a nil body - returns nil for a 'null' body - ignores utf-8 bom - attempts to parse supported formats - .call - generates an HTTParty::Parser instance with the given body and format - calls #parse on the parser - .supported_formats - returns a unique set of supported formats represented by symbols - .format_from_mimetype - returns a symbol representing the format mimetype - returns nil when the mimetype is not supported - .formats - returns the SupportedFormats constant - returns the SupportedFormats constant for subclasses - .SupportedFormats - returns a hash - #supports_format? - utilizes the class method to determine if the format is supported +HTTParty::HashConversions + .normalize_param + value is hash + creates a params string + value is an empty array + creates a params string + value is a string + creates a params string + value is an array + creates a params string + .to_params + creates a params string from a hash + nested params + creates a params string from a hash Pending: (Failures listed here are expected and do not affect your suite's status) @@ -2151,54 +2223,54 @@ # Temporarily skipped with xit # ./spec/httparty/request_spec.rb:641 -Top 10 slowest examples (1.01 seconds, 55.6% of total time): +Top 10 slowest examples (1.43 seconds, 54.1% of total time): HTTParty::Request SSL certificate verification should provide the certificate used by the server via peer_cert - 0.15421 seconds ./spec/httparty/ssl_spec.rb:74 + 0.18993 seconds ./spec/httparty/ssl_spec.rb:74 HTTParty::Request SSL certificate verification should work when using ssl_ca_file with a certificate authority - 0.15294 seconds ./spec/httparty/ssl_spec.rb:37 + 0.18571 seconds ./spec/httparty/ssl_spec.rb:37 HTTParty::Request SSL certificate verification should work when using ssl_ca_file with a self-signed CA - 0.15181 seconds ./spec/httparty/ssl_spec.rb:33 + 0.18352 seconds ./spec/httparty/ssl_spec.rb:33 HTTParty::Request SSL certificate verification should work when no trusted CA list is specified, when the verify option is set to false - 0.15036 seconds ./spec/httparty/ssl_spec.rb:19 + 0.18255 seconds ./spec/httparty/ssl_spec.rb:19 HTTParty::Request SSL certificate verification should work when no trusted CA list is specified, even with a bogus hostname, when the verify option is set to true - 0.15032 seconds ./spec/httparty/ssl_spec.rb:29 + 0.17847 seconds ./spec/httparty/ssl_spec.rb:29 + HTTParty::Request SSL certificate verification should fail when using ssl_ca_path and the server uses a bogus hostname + 0.13551 seconds ./spec/httparty/ssl_spec.rb:68 HTTParty#get should be able parse response type xml automatically - 0.05119 seconds ./spec/httparty_spec.rb:906 + 0.10952 seconds ./spec/httparty_spec.rb:906 + HTTParty::Request SSL certificate verification should fail when using ssl_ca_file and the server uses a bogus hostname + 0.09059 seconds ./spec/httparty/ssl_spec.rb:62 HTTParty::Request SSL certificate verification should fail when using ssl_ca_path and the server uses an unrecognized certificate authority - 0.05066 seconds ./spec/httparty/ssl_spec.rb:56 + 0.08748 seconds ./spec/httparty/ssl_spec.rb:56 HTTParty::Request SSL certificate verification should fail when no trusted CA list is specified, with a bogus hostname, by default - 0.05003 seconds ./spec/httparty/ssl_spec.rb:23 - HTTParty::Request SSL certificate verification should fail when using ssl_ca_file and the server uses a bogus hostname - 0.04993 seconds ./spec/httparty/ssl_spec.rb:62 - HTTParty::Request SSL certificate verification should fail when using ssl_ca_path and the server uses a bogus hostname - 0.04914 seconds ./spec/httparty/ssl_spec.rb:68 + 0.08687 seconds ./spec/httparty/ssl_spec.rb:23 Top 10 slowest example groups: HTTParty::Request - 0.08849 seconds average (1.06 seconds / 12 examples) ./spec/httparty/ssl_spec.rb:3 + 0.12432 seconds average (1.49 seconds / 12 examples) ./spec/httparty/ssl_spec.rb:3 + HTTParty + 0.00256 seconds average (0.2995 seconds / 117 examples) ./spec/httparty_spec.rb:3 HTTParty::Logger::CurlFormatter - 0.00143 seconds average (0.01858 seconds / 13 examples) ./spec/httparty/logger/curl_formatter_spec.rb:3 + 0.00222 seconds average (0.02889 seconds / 13 examples) ./spec/httparty/logger/curl_formatter_spec.rb:3 HTTParty::Request - 0.00138 seconds average (0.35694 seconds / 258 examples) ./spec/httparty/request_spec.rb:3 - HTTParty - 0.00136 seconds average (0.15903 seconds / 117 examples) ./spec/httparty_spec.rb:3 + 0.00206 seconds average (0.53061 seconds / 258 examples) ./spec/httparty/request_spec.rb:3 HTTParty::Logger::LogstashFormatter - 0.00122 seconds average (0.00122 seconds / 1 example) ./spec/httparty/logger/logstash_formatter_spec.rb:3 + 0.00173 seconds average (0.00173 seconds / 1 example) ./spec/httparty/logger/logstash_formatter_spec.rb:3 HTTParty::Logger::ApacheFormatter - 0.00111 seconds average (0.00222 seconds / 2 examples) ./spec/httparty/logger/apache_formatter_spec.rb:3 - Net::HTTPHeader::DigestAuthenticator - 0.00099 seconds average (0.03261 seconds / 33 examples) ./spec/httparty/net_digest_auth_spec.rb:3 + 0.00144 seconds average (0.00287 seconds / 2 examples) ./spec/httparty/logger/apache_formatter_spec.rb:3 + HTTParty::CookieHash + 0.00136 seconds average (0.01629 seconds / 12 examples) ./spec/httparty/cookie_hash_spec.rb:3 + HTTParty::HashConversions + 0.00129 seconds average (0.00776 seconds / 6 examples) ./spec/httparty/hash_conversions_spec.rb:3 HTTParty::ConnectionAdapter - 0.00099 seconds average (0.06897 seconds / 70 examples) ./spec/httparty/connection_adapter_spec.rb:3 - HTTParty::Error - 0.00092 seconds average (0.0055 seconds / 6 examples) ./spec/httparty/exception_spec.rb:3 + 0.00122 seconds average (0.08556 seconds / 70 examples) ./spec/httparty/connection_adapter_spec.rb:3 HTTParty::Request::Body - 0.00088 seconds average (0.00791 seconds / 9 examples) ./spec/httparty/request/body_spec.rb:6 + 0.00116 seconds average (0.0104 seconds / 9 examples) ./spec/httparty/request/body_spec.rb:6 -Finished in 1.82 seconds (files took 0.63143 seconds to load) +Finished in 2.64 seconds (files took 1.63 seconds to load) 673 examples, 0 failures, 1 pending -Randomized with seed 60814 +Randomized with seed 29673 Coverage report generated for RSpec to /build/ruby-httparty-0.18.1/coverage. 996 / 1033 LOC (96.42%) covered. @@ -2237,13 +2309,14 @@ dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) -I: copying local configuration +I: user script /srv/workspace/pbuilder/22044/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/22044/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/4968 and its subdirectories -I: Current time: Sun Jul 17 00:54:53 -12 2022 -I: pbuilder-time-stamp: 1658062493 +I: removing directory /srv/workspace/pbuilder/22044 and its subdirectories +I: Current time: Mon Jun 14 20:38:55 +14 2021 +I: pbuilder-time-stamp: 1623652735