Diff of the two buildlogs: -- --- b1/build.log 2021-08-10 00:26:25.842905502 +0000 +++ b2/build.log 2021-08-10 00:27:08.561309498 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Aug 9 12:25:46 -12 2021 -I: pbuilder-time-stamp: 1628555146 +I: Current time: Mon Sep 12 20:49:28 +14 2022 +I: pbuilder-time-stamp: 1662965368 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Wed Feb 6 23:28:49 2019 -12 +gpgv: Signature made Fri Feb 8 01:28:49 2019 +14 gpgv: using RSA key FCE16DAF5F3841A37A74F3200B76920762A6B785 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./ruby-http-form-data_2.1.0-2.dsc @@ -26,136 +26,170 @@ dpkg-source: info: unpacking ruby-http-form-data_2.1.0-2.debian.tar.xz I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/15863/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/48500/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/48500/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/48500/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="0" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.0.3(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='304bd642574c4874a15ec14f94530ecd' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='15863' - PS1='# ' - PS2='> ' + INVOCATION_ID=45db35fffc1347dd868e26775919a693 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=48500 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.EUMIEsE4oz/pbuilderrc_7EGi --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.EUMIEsE4oz/b1 --logfile b1/build.log ruby-http-form-data_2.1.0-2.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.EUMIEsE4oz/pbuilderrc_0p8a --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.EUMIEsE4oz/b2 --logfile b2/build.log ruby-http-form-data_2.1.0-2.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos1-amd64 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-0.bpo.8-amd64 #1 SMP Debian 5.10.46-2~bpo10+1 (2021-07-22) x86_64 GNU/Linux I: ls -l /bin total 5116 - -rwxr-xr-x 1 root root 1168776 Apr 17 2019 bash - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bunzip2 - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bzcat - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bzip2 - -rwxr-xr-x 1 root root 14328 Jul 10 2019 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore - -rwxr-xr-x 1 root root 43744 Feb 28 2019 cat - -rwxr-xr-x 1 root root 64320 Feb 28 2019 chgrp - -rwxr-xr-x 1 root root 64288 Feb 28 2019 chmod - -rwxr-xr-x 1 root root 72512 Feb 28 2019 chown - -rwxr-xr-x 1 root root 146880 Feb 28 2019 cp - -rwxr-xr-x 1 root root 121464 Jan 17 2019 dash - -rwxr-xr-x 1 root root 109408 Feb 28 2019 date - -rwxr-xr-x 1 root root 76712 Feb 28 2019 dd - -rwxr-xr-x 1 root root 93744 Feb 28 2019 df - -rwxr-xr-x 1 root root 138856 Feb 28 2019 dir - -rwxr-xr-x 1 root root 84288 Jan 9 2019 dmesg - lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname - -rwxr-xr-x 1 root root 39520 Feb 28 2019 echo - -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep - -rwxr-xr-x 1 root root 35424 Feb 28 2019 false - -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep - -rwxr-xr-x 1 root root 68880 Jan 9 2019 findmnt - -rwsr-xr-x 1 root root 34896 Apr 22 2020 fusermount - -rwxr-xr-x 1 root root 198976 Jan 7 2019 grep - -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip - -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe - -rwxr-xr-x 1 root root 98048 Jan 5 2019 gzip - -rwxr-xr-x 1 root root 26696 Sep 26 2018 hostname - -rwxr-xr-x 1 root root 68552 Feb 28 2019 ln - -rwxr-xr-x 1 root root 56760 Jul 26 2018 login - -rwxr-xr-x 1 root root 138856 Feb 28 2019 ls - -rwxr-xr-x 1 root root 108624 Jan 9 2019 lsblk - -rwxr-xr-x 1 root root 89088 Feb 28 2019 mkdir - -rwxr-xr-x 1 root root 68544 Feb 28 2019 mknod - -rwxr-xr-x 1 root root 43808 Feb 28 2019 mktemp - -rwxr-xr-x 1 root root 43008 Jan 9 2019 more - -rwsr-xr-x 1 root root 51280 Jan 9 2019 mount - -rwxr-xr-x 1 root root 14408 Jan 9 2019 mountpoint - -rwxr-xr-x 1 root root 138728 Feb 28 2019 mv - lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 39616 Feb 28 2019 pwd - lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash - -rwxr-xr-x 1 root root 47776 Feb 28 2019 readlink - -rwxr-xr-x 1 root root 68416 Feb 28 2019 rm - -rwxr-xr-x 1 root root 47776 Feb 28 2019 rmdir - -rwxr-xr-x 1 root root 23312 Jan 21 2019 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 6 20:25 sh -> dash - -rwxr-xr-x 1 root root 39552 Feb 28 2019 sleep - -rwxr-xr-x 1 root root 80672 Feb 28 2019 stty - -rwsr-xr-x 1 root root 63568 Jan 9 2019 su - -rwxr-xr-x 1 root root 35488 Feb 28 2019 sync - -rwxr-xr-x 1 root root 445560 Apr 23 2019 tar - -rwxr-xr-x 1 root root 14440 Jan 21 2019 tempfile - -rwxr-xr-x 1 root root 97152 Feb 28 2019 touch - -rwxr-xr-x 1 root root 35424 Feb 28 2019 true - -rwxr-xr-x 1 root root 14328 Apr 22 2020 ulockmgr_server - -rwsr-xr-x 1 root root 34888 Jan 9 2019 umount - -rwxr-xr-x 1 root root 39584 Feb 28 2019 uname - -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress - -rwxr-xr-x 1 root root 138856 Feb 28 2019 vdir - -rwxr-xr-x 1 root root 34896 Jan 9 2019 wdctl - -rwxr-xr-x 1 root root 946 Jan 21 2019 which - lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat - -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp - -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff - -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep - -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep - -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce - -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep - -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless - -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore - -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew -I: user script /srv/workspace/pbuilder/15863/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1168776 Apr 18 2019 bash + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bzcat + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 14328 Jul 11 2019 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore + -rwxr-xr-x 1 root root 43744 Mar 1 2019 cat + -rwxr-xr-x 1 root root 64320 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 64288 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 72512 Mar 1 2019 chown + -rwxr-xr-x 1 root root 146880 Mar 1 2019 cp + -rwxr-xr-x 1 root root 121464 Jan 18 2019 dash + -rwxr-xr-x 1 root root 109408 Mar 1 2019 date + -rwxr-xr-x 1 root root 76712 Mar 1 2019 dd + -rwxr-xr-x 1 root root 93744 Mar 1 2019 df + -rwxr-xr-x 1 root root 138856 Mar 1 2019 dir + -rwxr-xr-x 1 root root 84288 Jan 10 2019 dmesg + lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname + -rwxr-xr-x 1 root root 39520 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 35424 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 68880 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 34896 Apr 23 2020 fusermount + -rwxr-xr-x 1 root root 198976 Jan 8 2019 grep + -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip + -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe + -rwxr-xr-x 1 root root 98048 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 26696 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 68552 Mar 1 2019 ln + -rwxr-xr-x 1 root root 56760 Jul 27 2018 login + -rwxr-xr-x 1 root root 138856 Mar 1 2019 ls + -rwxr-xr-x 1 root root 108624 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 89088 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 68544 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 43808 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 43008 Jan 10 2019 more + -rwsr-xr-x 1 root root 51280 Jan 10 2019 mount + -rwxr-xr-x 1 root root 14408 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 138728 Mar 1 2019 mv + lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 39616 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 47776 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 68416 Mar 1 2019 rm + -rwxr-xr-x 1 root root 47776 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 23312 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Sep 12 20:49 sh -> bash + lrwxrwxrwx 1 root root 4 Sep 10 04:46 sh.distrib -> dash + -rwxr-xr-x 1 root root 39552 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 80672 Mar 1 2019 stty + -rwsr-xr-x 1 root root 63568 Jan 10 2019 su + -rwxr-xr-x 1 root root 35488 Mar 1 2019 sync + -rwxr-xr-x 1 root root 445560 Apr 24 2019 tar + -rwxr-xr-x 1 root root 14440 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 97152 Mar 1 2019 touch + -rwxr-xr-x 1 root root 35424 Mar 1 2019 true + -rwxr-xr-x 1 root root 14328 Apr 23 2020 ulockmgr_server + -rwsr-xr-x 1 root root 34888 Jan 10 2019 umount + -rwxr-xr-x 1 root root 39584 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 138856 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 34896 Jan 10 2019 wdctl + -rwxr-xr-x 1 root root 946 Jan 22 2019 which + lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat + -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp + -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff + -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep + -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep + -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce + -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep + -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless + -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore + -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew +I: user script /srv/workspace/pbuilder/48500/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -359,7 +393,7 @@ Get: 156 http://deb.debian.org/debian buster/main amd64 ruby-thread-order all 1.1.0-1 [5096 B] Get: 157 http://deb.debian.org/debian buster/main amd64 ruby-rspec-core all 3.8.0c0e1m0s0-1 [190 kB] Get: 158 http://deb.debian.org/debian buster/main amd64 ruby-rspec all 3.8.0c0e1m0s0-1 [7620 B] -Fetched 44.5 MB in 1s (38.1 MB/s) +Fetched 44.5 MB in 1s (71.6 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19195 files and directories currently installed.) @@ -1023,7 +1057,7 @@ fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/ruby-http-form-data-2.1.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/ruby-http-form-data-2.1.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package ruby-http-form-data dpkg-buildpackage: info: source version 2.1.0-2 dpkg-buildpackage: info: source distribution unstable @@ -1098,222 +1132,222 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 56653 +Randomized with seed 24484 -HTTP::FormData::File - #filename - when file given as IO - should eq "stream-47425705816240" - and filename given with options - should eq "foobar.txt" - when file given as File - should eq "the-http-gem.info" - and filename given with options - should eq "foobar.txt" - when file given as a Pathname - should eq "the-http-gem.info" - and filename given with options - should eq "foobar.txt" - when file given as a String - should eq "the-http-gem.info" - and filename given with options - should eq "foobar.txt" +HTTP::FormData::Multipart + #read + returns multipart data + #boundary + returns a new boundary + with user-defined boundary + returns the given boundary #content_type - should eq "application/octet-stream" + should match /^multipart\/form-data; boundary=(?-mix:-{21}[a-f0-9]{42})$/ + with user-defined boundary + includes the given boundary + #size + returns bytesize of multipart data + #to_s + rewinds content + properly generates multipart data + with filename set to nil + doesn't include a filename + with user-defined boundary + uses the given boundary + with content type set to nil + doesn't include a filename + #content_length + should eq 449 + #rewind + rewinds the multipart data IO + .generate_boundary + returns a string suitable as a multipart boundary + +HTTP::FormData::Part + #to_s + when body given as String + should eq "\u043F\u0440\u0438\u0432\u0435\u0442 \u043C\u0438\u0440!" + rewinds content + #content_type + should eq nil when it was given with options should eq "application/json" + #size + when body given as a String + should eq 20 #read - when file given as IO - should eq "\u043F\u0440\u0438\u0432\u0435\u0442 \u043C\u0438\u0440!" - when file given as File - should eq "The HTTP Gem is an easy-to-use client library for making requests from Ruby.\n" - when file given as a String - should eq "The HTTP Gem is an easy-to-use client library for making requests from Ruby.\n" - when file given as a Pathname - should eq "The HTTP Gem is an easy-to-use client library for making requests from Ruby.\n" - #to_s - when file given as a String - rewinds content - should eq "The HTTP Gem is an easy-to-use client library for making requests from Ruby.\n" - when file given as a Pathname - rewinds content - should eq "The HTTP Gem is an easy-to-use client library for making requests from Ruby.\n" - when file given as File - should eq "The HTTP Gem is an easy-to-use client library for making requests from Ruby.\n" - rewinds content - when file given as IO + when body given as String should eq "\u043F\u0440\u0438\u0432\u0435\u0442 \u043C\u0438\u0440!" - rewinds content + #filename + should eq nil + when it was given with options + should eq "foobar.txt" #rewind - when file given as a Pathname - rewinds the underlying IO object - when file given as a String - rewinds the underlying IO object - when file given as IO - rewinds the underlying IO object - when file given as File + when body given as String rewinds the underlying IO object - #mime_type - should be an alias of #content_type - #size - when file given as File - should eq 77 - when file given as a String - should eq 77 - when file given as a Pathname - should eq 77 - when file given as IO - should eq 20 - -HTTP::FormData - .create - when form has file in an array param - should be a kind of HTTP::FormData::Multipart - when form has no files - should be a kind of HTTP::FormData::Urlencoded - when form has at least one file param - should be a kind of HTTP::FormData::Multipart - .ensure_hash - when #to_h given - should eq {:foo=>:bar} - when nil given - should eq {} - when neither Hash nor #to_h given - fails with HTTP::FormData::Error - when Hash given - should eq {:foo=>:bar} HTTP::FormData::CompositeIO #initialize fails if an IO is neither a String nor an IO accepts IOs and strings #size - returns 0 when there are no IOs returns sum of all IO sizes - #rewind - rewinds all IOs + returns 0 when there are no IOs #read - reads partial data - reads data in bytes reads all data - returns nil when no partial data was retrieved returns empty string when no data was retrieved - returns nil when no partial data was retrieved with a buffer returns data in binary encoding - fills the buffer with retrieved content reads partial data with a buffer - -HTTP::FormData::Part - #size - when body given as a String - should eq 20 - #filename - should eq nil - when it was given with options - should eq "foobar.txt" + fills the buffer with retrieved content + returns nil when no partial data was retrieved + reads data in bytes + reads partial data + returns nil when no partial data was retrieved with a buffer #rewind - when body given as String - rewinds the underlying IO object - #content_type - should eq nil - when it was given with options - should eq "application/json" - #to_s - when body given as String - should eq "\u043F\u0440\u0438\u0432\u0435\u0442 \u043C\u0438\u0440!" - rewinds content - #read - when body given as String - should eq "\u043F\u0440\u0438\u0432\u0435\u0442 \u043C\u0438\u0440!" + rewinds all IOs -HTTP::FormData::Multipart - .generate_boundary - returns a string suitable as a multipart boundary - #content_type - should match /^multipart\/form-data; boundary=(?-mix:-{21}[a-f0-9]{42})$/ - with user-defined boundary - includes the given boundary - #boundary - returns a new boundary - with user-defined boundary - returns the given boundary +HTTP::FormData::Urlencoded + #content_length + should eq 17 + with unicode chars + should eq 37 #rewind rewinds the multipart data IO - #to_s - rewinds content - properly generates multipart data - with user-defined boundary - uses the given boundary - with filename set to nil - doesn't include a filename - with content type set to nil - doesn't include a filename - #size - returns bytesize of multipart data - #content_length - should eq 449 #read returns multipart data - -HTTP::FormData::Urlencoded - #read - returns multipart data - #rewind - rewinds the multipart data IO - #content_type - should eq "application/x-www-form-urlencoded" + #size + returns bytesize of multipart data #to_s rewinds content should eq "foo%5Bbar%5D=test" with unicode chars should eq "foo%5Bbar%5D=%D1%82%D0%B5%D1%81%D1%82" - #content_length - should eq 17 - with unicode chars - should eq 37 + #content_type + should eq "application/x-www-form-urlencoded" + +HTTP::FormData + .create + when form has no files + should be a kind of HTTP::FormData::Urlencoded + when form has file in an array param + should be a kind of HTTP::FormData::Multipart + when form has at least one file param + should be a kind of HTTP::FormData::Multipart + .ensure_hash + when Hash given + should eq {:foo=>:bar} + when nil given + should eq {} + when neither Hash nor #to_h given + fails with HTTP::FormData::Error + when #to_h given + should eq {:foo=>:bar} + +HTTP::FormData::File + #to_s + when file given as File + should eq "The HTTP Gem is an easy-to-use client library for making requests from Ruby.\n" + rewinds content + when file given as IO + should eq "\u043F\u0440\u0438\u0432\u0435\u0442 \u043C\u0438\u0440!" + rewinds content + when file given as a String + should eq "The HTTP Gem is an easy-to-use client library for making requests from Ruby.\n" + rewinds content + when file given as a Pathname + rewinds content + should eq "The HTTP Gem is an easy-to-use client library for making requests from Ruby.\n" + #content_type + should eq "application/octet-stream" + when it was given with options + should eq "application/json" + #read + when file given as IO + should eq "\u043F\u0440\u0438\u0432\u0435\u0442 \u043C\u0438\u0440!" + when file given as a Pathname + should eq "The HTTP Gem is an easy-to-use client library for making requests from Ruby.\n" + when file given as File + should eq "The HTTP Gem is an easy-to-use client library for making requests from Ruby.\n" + when file given as a String + should eq "The HTTP Gem is an easy-to-use client library for making requests from Ruby.\n" #size - returns bytesize of multipart data + when file given as File + should eq 77 + when file given as a Pathname + should eq 77 + when file given as a String + should eq 77 + when file given as IO + should eq 20 + #mime_type + should be an alias of #content_type + #rewind + when file given as IO + rewinds the underlying IO object + when file given as a Pathname + rewinds the underlying IO object + when file given as a String + rewinds the underlying IO object + when file given as File + rewinds the underlying IO object + #filename + when file given as a String + should eq "the-http-gem.info" + and filename given with options + should eq "foobar.txt" + when file given as File + should eq "the-http-gem.info" + and filename given with options + should eq "foobar.txt" + when file given as a Pathname + should eq "the-http-gem.info" + and filename given with options + should eq "foobar.txt" + when file given as IO + should eq "stream-47088998670960" + and filename given with options + should eq "foobar.txt" -Top 10 slowest examples (0.01803 seconds, 27.1% of total time): - HTTP::FormData.ensure_hash when neither Hash nor #to_h given fails with HTTP::FormData::Error - 0.00401 seconds ./spec/lib/http/form_data_spec.rb:45 - HTTP::FormData::File#filename when file given as a Pathname and filename given with options should eq "foobar.txt" - 0.0023 seconds ./spec/lib/http/form_data/file_spec.rb:171 - HTTP::FormData::Multipart.generate_boundary returns a string suitable as a multipart boundary - 0.00189 seconds ./spec/lib/http/form_data/multipart_spec.rb:153 - HTTP::FormData.ensure_hash when Hash given should eq {:foo=>:bar} - 0.00187 seconds ./spec/lib/http/form_data_spec.rb:30 - HTTP::FormData::File#size when file given as a Pathname should eq 77 - 0.00158 seconds ./spec/lib/http/form_data/file_spec.rb:18 - HTTP::FormData::File#rewind when file given as a Pathname rewinds the underlying IO object - 0.00151 seconds ./spec/lib/http/form_data/file_spec.rb:121 - HTTP::FormData.create when form has file in an array param should be a kind of HTTP::FormData::Multipart - 0.00145 seconds ./spec/lib/http/form_data_spec.rb:21 - HTTP::FormData.create when form has at least one file param should be a kind of HTTP::FormData::Multipart - 0.00139 seconds ./spec/lib/http/form_data_spec.rb:15 - HTTP::FormData::File#filename when file given as IO should eq "stream-47425705816240" - 0.00132 seconds ./spec/lib/http/form_data/file_spec.rb:190 - HTTP::FormData::File#read when file given as File should eq "The HTTP Gem is an easy-to-use client library for making requests from Ruby.\n" - 0.00071 seconds ./spec/lib/http/form_data/file_spec.rb:98 +Top 10 slowest examples (0.02228 seconds, 25.0% of total time): + HTTP::FormData::CompositeIO#initialize fails if an IO is neither a String nor an IO + 0.00531 seconds ./spec/lib/http/form_data/composite_io_spec.rb:14 + HTTP::FormData::Multipart#content_type should match /^multipart\/form-data; boundary=(?-mix:-{21}[a-f0-9]{42})$/ + 0.00348 seconds ./spec/lib/http/form_data/multipart_spec.rb:117 + HTTP::FormData::Multipart#read returns multipart data + 0.00282 seconds ./spec/lib/http/form_data/multipart_spec.rb:99 + HTTP::FormData::Multipart#boundary returns a new boundary + 0.00255 seconds ./spec/lib/http/form_data/multipart_spec.rb:137 + HTTP::FormData.create when form has no files should be a kind of HTTP::FormData::Urlencoded + 0.0018 seconds ./spec/lib/http/form_data_spec.rb:9 + HTTP::FormData::Part#read when body given as String should eq "\u043F\u0440\u0438\u0432\u0435\u0442 \u043C\u0438\u0440!" + 0.0015 seconds ./spec/lib/http/form_data/part_spec.rb:37 + HTTP::FormData::CompositeIO#read reads all data + 0.00147 seconds ./spec/lib/http/form_data/composite_io_spec.rb:21 + HTTP::FormData::Urlencoded#content_length with unicode chars should eq 37 + 0.00124 seconds ./spec/lib/http/form_data/urlencoded_spec.rb:19 + HTTP::FormData::Multipart#to_s with user-defined boundary uses the given boundary + 0.00106 seconds ./spec/lib/http/form_data/multipart_spec.rb:44 + HTTP::FormData::File#to_s when file given as File should eq "The HTTP Gem is an easy-to-use client library for making requests from Ruby.\n" + 0.00106 seconds ./spec/lib/http/form_data/file_spec.rb:61 Top 6 slowest example groups: + HTTP::FormData::Multipart + 0.00161 seconds average (0.0226 seconds / 14 examples) ./spec/lib/http/form_data/multipart_spec.rb:3 HTTP::FormData - 0.00196 seconds average (0.01373 seconds / 7 examples) ./spec/lib/http/form_data_spec.rb:3 + 0.00147 seconds average (0.01028 seconds / 7 examples) ./spec/lib/http/form_data_spec.rb:3 + HTTP::FormData::CompositeIO + 0.00099 seconds average (0.01384 seconds / 14 examples) ./spec/lib/http/form_data/composite_io_spec.rb:3 + HTTP::FormData::Urlencoded + 0.00084 seconds average (0.00758 seconds / 9 examples) ./spec/lib/http/form_data/urlencoded_spec.rb:4 HTTP::FormData::File - 0.00092 seconds average (0.02857 seconds / 31 examples) ./spec/lib/http/form_data/file_spec.rb:4 - HTTP::FormData::Multipart - 0.00086 seconds average (0.01201 seconds / 14 examples) ./spec/lib/http/form_data/multipart_spec.rb:3 + 0.00084 seconds average (0.02608 seconds / 31 examples) ./spec/lib/http/form_data/file_spec.rb:4 HTTP::FormData::Part - 0.00043 seconds average (0.00385 seconds / 9 examples) ./spec/lib/http/form_data/part_spec.rb:3 - HTTP::FormData::Urlencoded - 0.00038 seconds average (0.00345 seconds / 9 examples) ./spec/lib/http/form_data/urlencoded_spec.rb:4 - HTTP::FormData::CompositeIO - 0.00029 seconds average (0.00404 seconds / 14 examples) ./spec/lib/http/form_data/composite_io_spec.rb:3 + 0.00081 seconds average (0.00733 seconds / 9 examples) ./spec/lib/http/form_data/part_spec.rb:3 -Finished in 0.06665 seconds (files took 0.39038 seconds to load) +Finished in 0.08895 seconds (files took 0.51941 seconds to load) 84 examples, 0 failures -Randomized with seed 56653 +Randomized with seed 24484 Coverage report generated for RSpec to /build/ruby-http-form-data-2.1.0/coverage. 182 / 184 LOC (98.91%) covered. [Coveralls] Outside the CI environment, not sending data. @@ -1344,12 +1378,14 @@ dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/48500/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/48500/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/15863 and its subdirectories -I: Current time: Mon Aug 9 12:26:25 -12 2021 -I: pbuilder-time-stamp: 1628555185 +I: removing directory /srv/workspace/pbuilder/48500 and its subdirectories +I: Current time: Mon Sep 12 20:50:09 +14 2022 +I: pbuilder-time-stamp: 1662965409