Diff of the two buildlogs: -- --- b1/build.log 2022-02-10 00:57:53.984047238 +0000 +++ b2/build.log 2022-02-10 00:58:31.274895682 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Feb 9 12:57:19 -12 2022 -I: pbuilder-time-stamp: 1644454639 +I: Current time: Wed Mar 15 21:20:55 +14 2023 +I: pbuilder-time-stamp: 1678864855 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -16,8 +16,8 @@ I: copying [./ruby-http-form-data_2.2.0-1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.qvXboIkm/trustedkeys.kbx': General error -gpgv: Signature made Wed Feb 26 01:46:52 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.yg5mgDTd/trustedkeys.kbx': General error +gpgv: Signature made Thu Feb 27 03:46:52 2020 +14 gpgv: using RSA key BEED4DED5544A4C03E283DC74BCD0567C296D05D gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./ruby-http-form-data_2.2.0-1.dsc @@ -26,135 +26,169 @@ dpkg-source: info: unpacking ruby-http-form-data_2.2.0-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2041141/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/239823/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/239823/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/239823/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,-fixfilepath 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]="1" [2]="4" [3]="1" [4]="release" [5]="x86_64-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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath 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='99b3856937a7473484527904fad956ae' - 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='2041141' - PS1='# ' - PS2='> ' + INVOCATION_ID=b36c417e90bd43c08b4ee039a1278860 + 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=239823 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.Az9C5RPupm/pbuilderrc_9lC9 --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.Az9C5RPupm/b1 --logfile b1/build.log ruby-http-form-data_2.2.0-1.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.Az9C5RPupm/pbuilderrc_p7WH --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.Az9C5RPupm/b2 --logfile b2/build.log ruby-http-form-data_2.2.0-1.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 5.10.0-11-amd64 #1 SMP Debian 5.10.92-1 (2022-01-18) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.15.0-0.bpo.2-amd64 #1 SMP Debian 5.15.5-2~bpo11+1 (2022-01-02) x86_64 GNU/Linux I: ls -l /bin total 5476 - -rwxr-xr-x 1 root root 1234376 Aug 4 2021 bash - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38984 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 38984 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 18424 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 43936 Sep 23 2020 cat - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chgrp - -rwxr-xr-x 1 root root 64448 Sep 23 2020 chmod - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chown - -rwxr-xr-x 1 root root 151168 Sep 23 2020 cp - -rwxr-xr-x 1 root root 125560 Dec 10 2020 dash - -rwxr-xr-x 1 root root 113664 Sep 23 2020 date - -rwxr-xr-x 1 root root 80968 Sep 23 2020 dd - -rwxr-xr-x 1 root root 93936 Sep 23 2020 df - -rwxr-xr-x 1 root root 147176 Sep 23 2020 dir - -rwxr-xr-x 1 root root 84440 Jul 28 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 39712 Sep 23 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 39680 Sep 23 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 69032 Jul 28 2021 findmnt - -rwsr-xr-x 1 root root 34896 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 203072 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 98048 Mar 2 2021 gzip - -rwxr-xr-x 1 root root 22600 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 72840 Sep 23 2020 ln - -rwxr-xr-x 1 root root 56952 Feb 7 2020 login - -rwxr-xr-x 1 root root 147176 Sep 23 2020 ls - -rwxr-xr-x 1 root root 149736 Jul 28 2021 lsblk - -rwxr-xr-x 1 root root 85184 Sep 23 2020 mkdir - -rwxr-xr-x 1 root root 76896 Sep 23 2020 mknod - -rwxr-xr-x 1 root root 48064 Sep 23 2020 mktemp - -rwxr-xr-x 1 root root 59632 Jul 28 2021 more - -rwsr-xr-x 1 root root 55528 Jul 28 2021 mount - -rwxr-xr-x 1 root root 18664 Jul 28 2021 mountpoint - -rwxr-xr-x 1 root root 147080 Sep 23 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 43872 Sep 23 2020 pwd - lrwxrwxrwx 1 root root 4 Aug 4 2021 rbash -> bash - -rwxr-xr-x 1 root root 52032 Sep 23 2020 readlink - -rwxr-xr-x 1 root root 72704 Sep 23 2020 rm - -rwxr-xr-x 1 root root 52032 Sep 23 2020 rmdir - -rwxr-xr-x 1 root root 27472 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Feb 6 21:25 sh -> dash - -rwxr-xr-x 1 root root 43808 Sep 23 2020 sleep - -rwxr-xr-x 1 root root 84928 Sep 23 2020 stty - -rwsr-xr-x 1 root root 71912 Jul 28 2021 su - -rwxr-xr-x 1 root root 39744 Sep 23 2020 sync - -rwxr-xr-x 1 root root 531928 Feb 16 2021 tar - -rwxr-xr-x 1 root root 14456 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 101408 Sep 23 2020 touch - -rwxr-xr-x 1 root root 39680 Sep 23 2020 true - -rwxr-xr-x 1 root root 14328 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 35040 Jul 28 2021 umount - -rwxr-xr-x 1 root root 39744 Sep 23 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress - -rwxr-xr-x 1 root root 147176 Sep 23 2020 vdir - -rwxr-xr-x 1 root root 63744 Jul 28 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/2041141/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1234376 Aug 5 2021 bash + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38984 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 38984 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 18424 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 43936 Sep 24 2020 cat + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chgrp + -rwxr-xr-x 1 root root 64448 Sep 24 2020 chmod + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chown + -rwxr-xr-x 1 root root 151168 Sep 24 2020 cp + -rwxr-xr-x 1 root root 125560 Dec 11 2020 dash + -rwxr-xr-x 1 root root 113664 Sep 24 2020 date + -rwxr-xr-x 1 root root 80968 Sep 24 2020 dd + -rwxr-xr-x 1 root root 93936 Sep 24 2020 df + -rwxr-xr-x 1 root root 147176 Sep 24 2020 dir + -rwxr-xr-x 1 root root 84440 Jul 29 2021 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 39712 Sep 24 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 39680 Sep 24 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 69032 Jul 29 2021 findmnt + -rwsr-xr-x 1 root root 34896 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 203072 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 98048 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 22600 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 72840 Sep 24 2020 ln + -rwxr-xr-x 1 root root 56952 Feb 8 2020 login + -rwxr-xr-x 1 root root 147176 Sep 24 2020 ls + -rwxr-xr-x 1 root root 149736 Jul 29 2021 lsblk + -rwxr-xr-x 1 root root 85184 Sep 24 2020 mkdir + -rwxr-xr-x 1 root root 76896 Sep 24 2020 mknod + -rwxr-xr-x 1 root root 48064 Sep 24 2020 mktemp + -rwxr-xr-x 1 root root 59632 Jul 29 2021 more + -rwsr-xr-x 1 root root 55528 Jul 29 2021 mount + -rwxr-xr-x 1 root root 18664 Jul 29 2021 mountpoint + -rwxr-xr-x 1 root root 147080 Sep 24 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43872 Sep 24 2020 pwd + lrwxrwxrwx 1 root root 4 Aug 5 2021 rbash -> bash + -rwxr-xr-x 1 root root 52032 Sep 24 2020 readlink + -rwxr-xr-x 1 root root 72704 Sep 24 2020 rm + -rwxr-xr-x 1 root root 52032 Sep 24 2020 rmdir + -rwxr-xr-x 1 root root 27472 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Mar 15 21:21 sh -> bash + lrwxrwxrwx 1 root root 4 Mar 13 05:46 sh.distrib -> dash + -rwxr-xr-x 1 root root 43808 Sep 24 2020 sleep + -rwxr-xr-x 1 root root 84928 Sep 24 2020 stty + -rwsr-xr-x 1 root root 71912 Jul 29 2021 su + -rwxr-xr-x 1 root root 39744 Sep 24 2020 sync + -rwxr-xr-x 1 root root 531928 Feb 17 2021 tar + -rwxr-xr-x 1 root root 14456 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 101408 Sep 24 2020 touch + -rwxr-xr-x 1 root root 39680 Sep 24 2020 true + -rwxr-xr-x 1 root root 14328 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 35040 Jul 29 2021 umount + -rwxr-xr-x 1 root root 39744 Sep 24 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 147176 Sep 24 2020 vdir + -rwxr-xr-x 1 root root 63744 Jul 29 2021 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/239823/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -355,7 +389,7 @@ Get: 153 http://deb.debian.org/debian bullseye/main amd64 ruby-rspec-expectations all 3.9.0c2e2m1s3-2 [89.9 kB] Get: 154 http://deb.debian.org/debian bullseye/main amd64 ruby-rspec-mocks all 3.9.0c2e2m1s3-2 [81.4 kB] Get: 155 http://deb.debian.org/debian bullseye/main amd64 ruby-rspec all 3.9.0c2e2m1s3-2 [8348 B] -Fetched 45.7 MB in 1s (70.0 MB/s) +Fetched 45.7 MB in 1s (90.6 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19655 files and directories currently installed.) @@ -1000,7 +1034,8 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/ruby-http-form-data-2.2.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../ruby-http-form-data_2.2.0-1_source.changes +hostname: Name or service not known +I: Running cd /build/ruby-http-form-data-2.2.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../ruby-http-form-data_2.2.0-1_source.changes dpkg-buildpackage: info: source package ruby-http-form-data dpkg-buildpackage: info: source version 2.2.0-1 dpkg-buildpackage: info: source distribution unstable @@ -1070,102 +1105,73 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 44259 +Randomized with seed 59625 -HTTP::FormData::CompositeIO - #initialize - accepts IOs and strings - fails if an IO is neither a String nor an IO - #read - reads partial data with a buffer - returns data in binary encoding - returns nil when no partial data was retrieved - reads all data - returns empty string when no data was retrieved - reads partial data - reads data in bytes - fills the buffer with retrieved content - returns nil when no partial data was retrieved with a buffer - #size - returns 0 when there are no IOs - returns sum of all IO sizes - #rewind - rewinds all IOs +HTTP::FormData + .ensure_hash + when neither Hash nor #to_h given + fails with HTTP::FormData::Error + when nil given + is expected to eq {} + when #to_h given + is expected to eq {:foo=>:bar} + when Hash given + is expected to eq {:foo=>:bar} + .create + when form has file in an array param + is expected to be a kind of HTTP::FormData::Multipart + when form has no files + is expected to be a kind of HTTP::FormData::Urlencoded + when form has at least one file param + is expected to be a kind of HTTP::FormData::Multipart -HTTP::FormData::Urlencoded - .encoder= - switches form encoder implementation - #read - returns multipart data - #rewind - rewinds the multipart data IO +HTTP::FormData::Multipart #size returns bytesize of multipart data + #rewind + rewinds the multipart data IO #content_type - is expected to eq "application/x-www-form-urlencoded" - #to_s - rewinds content - is expected to eq "foo%5Bbar%5D=test" - with unicode chars - is expected to eq "foo%5Bbar%5D=%D1%82%D0%B5%D1%81%D1%82" - #content_length - is expected to eq 17 - with unicode chars - is expected to eq 37 - -HTTP::FormData::Multipart - #boundary - returns a new boundary + is expected to match /^multipart\/form-data; boundary=(?-mix:-{21}[a-f0-9]{42})$/ with user-defined boundary - returns the given boundary - #size - returns bytesize of multipart data - #read - returns multipart data + includes the given boundary #to_s properly generates multipart data rewinds content - 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 + with user-defined boundary + uses the given boundary + #read + returns multipart data #content_length is expected to eq 449 + #boundary + returns a new boundary + with user-defined boundary + returns the given boundary .generate_boundary returns a string suitable as a multipart boundary - #rewind - rewinds the multipart data IO - #content_type - is expected to match /^multipart\/form-data; boundary=(?-mix:-{21}[a-f0-9]{42})$/ - with user-defined boundary - includes the given boundary - -HTTP::FormData::Part - #size - when body given as a String - is expected to eq 20 - #filename - is expected to eq nil - when it was given with options - is expected to eq "foobar.txt" - #content_type - is expected to eq nil - when it was given with options - is expected to eq "application/json" - #rewind - when body given as String - rewinds the underlying IO object - #read - when body given as String - is expected to eq "\u043F\u0440\u0438\u0432\u0435\u0442 \u043C\u0438\u0440!" - #to_s - when body given as String - is expected to eq "\u043F\u0440\u0438\u0432\u0435\u0442 \u043C\u0438\u0440!" - rewinds content HTTP::FormData::File + #filename + when file given as File + is expected to eq "the-http-gem.info" + and filename given with options + is expected to eq "foobar.txt" + when file given as a Pathname + is expected to eq "the-http-gem.info" + and filename given with options + is expected to eq "foobar.txt" + when file given as a String + is expected to eq "the-http-gem.info" + and filename given with options + is expected to eq "foobar.txt" + when file given as IO + is expected to eq "stream-4320" + and filename given with options + is expected to eq "foobar.txt" #rewind when file given as IO rewinds the underlying IO object @@ -1178,116 +1184,145 @@ #read when file given as IO is expected to eq "\u043F\u0440\u0438\u0432\u0435\u0442 \u043C\u0438\u0440!" - when file given as a String + when file given as File is expected to eq "The HTTP Gem is an easy-to-use client library for making requests from Ruby.\n" when file given as a Pathname is expected to eq "The HTTP Gem is an easy-to-use client library for making requests from Ruby.\n" - when file given as File - is expected to eq "The HTTP Gem is an easy-to-use client library for making requests from Ruby.\n" - #filename when file given as a String - is expected to eq "the-http-gem.info" - and filename given with options - is expected to eq "foobar.txt" + is expected to eq "The HTTP Gem is an easy-to-use client library for making requests from Ruby.\n" + #size when file given as IO - is expected to eq "stream-4280" - and filename given with options - is expected to eq "foobar.txt" + is expected to eq 20 when file given as a Pathname - is expected to eq "the-http-gem.info" - and filename given with options - is expected to eq "foobar.txt" + is expected to eq 77 when file given as File - is expected to eq "the-http-gem.info" - and filename given with options - is expected to eq "foobar.txt" - #to_s + is expected to eq 77 when file given as a String - rewinds content - is expected to eq "The HTTP Gem is an easy-to-use client library for making requests from Ruby.\n" + is expected to eq 77 + #to_s when file given as a Pathname - rewinds content is expected to eq "The HTTP Gem is an easy-to-use client library for making requests from Ruby.\n" - when file given as IO - is expected to eq "\u043F\u0440\u0438\u0432\u0435\u0442 \u043C\u0438\u0440!" rewinds content when file given as File is expected to eq "The HTTP Gem is an easy-to-use client library for making requests from Ruby.\n" rewinds content - #size - when file given as a String - is expected to eq 77 when file given as IO - is expected to eq 20 - when file given as File - is expected to eq 77 - when file given as a Pathname - is expected to eq 77 + rewinds content + is expected to eq "\u043F\u0440\u0438\u0432\u0435\u0442 \u043C\u0438\u0440!" + when file given as a String + is expected to eq "The HTTP Gem is an easy-to-use client library for making requests from Ruby.\n" + rewinds content + #content_type + is expected to eq "application/octet-stream" + when it was given with options + is expected to eq "application/json" #mime_type should be an alias of #content_type + +HTTP::FormData::Part + #to_s + when body given as String + rewinds content + is expected to eq "\u043F\u0440\u0438\u0432\u0435\u0442 \u043C\u0438\u0440!" + #read + when body given as String + is expected to eq "\u043F\u0440\u0438\u0432\u0435\u0442 \u043C\u0438\u0440!" + #size + when body given as a String + is expected to eq 20 + #rewind + when body given as String + rewinds the underlying IO object #content_type - is expected to eq "application/octet-stream" + is expected to eq nil when it was given with options is expected to eq "application/json" + #filename + is expected to eq nil + when it was given with options + is expected to eq "foobar.txt" -HTTP::FormData - .create - when form has file in an array param - is expected to be a kind of HTTP::FormData::Multipart - when form has no files - is expected to be a kind of HTTP::FormData::Urlencoded - when form has at least one file param - is expected to be a kind of HTTP::FormData::Multipart - .ensure_hash - when #to_h given - is expected to eq {:foo=>:bar} - when Hash given - is expected to eq {:foo=>:bar} - when neither Hash nor #to_h given - fails with HTTP::FormData::Error - when nil given - is expected to eq {} +HTTP::FormData::Urlencoded + .encoder= + switches form encoder implementation + #rewind + rewinds the multipart data IO + #content_length + is expected to eq 17 + with unicode chars + is expected to eq 37 + #content_type + is expected to eq "application/x-www-form-urlencoded" + #size + returns bytesize of multipart data + #to_s + rewinds content + is expected to eq "foo%5Bbar%5D=test" + with unicode chars + is expected to eq "foo%5Bbar%5D=%D1%82%D0%B5%D1%81%D1%82" + #read + returns multipart data -Top 10 slowest examples (0.00959 seconds, 18.8% of total time): - HTTP::FormData::File#to_s when file given as File is expected to eq "The HTTP Gem is an easy-to-use client library for making requests from Ruby.\n" - 0.00233 seconds ./spec/lib/http/form_data/file_spec.rb:61 - HTTP::FormData::CompositeIO#initialize fails if an IO is neither a String nor an IO - 0.0014 seconds ./spec/lib/http/form_data/composite_io_spec.rb:14 - HTTP::FormData::Multipart#boundary returns a new boundary - 0.00135 seconds ./spec/lib/http/form_data/multipart_spec.rb:137 +HTTP::FormData::CompositeIO + #rewind + rewinds all IOs + #read + returns nil when no partial data was retrieved with a buffer + returns nil when no partial data was retrieved + returns empty string when no data was retrieved + reads partial data with a buffer + returns data in binary encoding + reads all data + reads data in bytes + reads partial data + fills the buffer with retrieved content + #size + returns sum of all IO sizes + returns 0 when there are no IOs + #initialize + accepts IOs and strings + fails if an IO is neither a String nor an IO + +Top 10 slowest examples (0.00902 seconds, 17.7% of total time): + HTTP::FormData::Part#size when body given as a String is expected to eq 20 + 0.00203 seconds ./spec/lib/http/form_data/part_spec.rb:13 + HTTP::FormData.ensure_hash when neither Hash nor #to_h given fails with HTTP::FormData::Error + 0.00165 seconds ./spec/lib/http/form_data_spec.rb:45 + HTTP::FormData::Multipart#content_type is expected to match /^multipart\/form-data; boundary=(?-mix:-{21}[a-f0-9]{42})$/ + 0.00118 seconds ./spec/lib/http/form_data/multipart_spec.rb:117 HTTP::FormData.create when form has file in an array param is expected to be a kind of HTTP::FormData::Multipart - 0.00102 seconds ./spec/lib/http/form_data_spec.rb:21 - HTTP::FormData::CompositeIO#initialize accepts IOs and strings - 0.00069 seconds ./spec/lib/http/form_data/composite_io_spec.rb:9 - HTTP::FormData::Multipart#to_s with user-defined boundary uses the given boundary - 0.00063 seconds ./spec/lib/http/form_data/multipart_spec.rb:44 + 0.00086 seconds ./spec/lib/http/form_data_spec.rb:21 HTTP::FormData::Multipart#to_s rewinds content - 0.0006 seconds ./spec/lib/http/form_data/multipart_spec.rb:33 + 0.00058 seconds ./spec/lib/http/form_data/multipart_spec.rb:33 + HTTP::FormData::Multipart#read returns multipart data + 0.00056 seconds ./spec/lib/http/form_data/multipart_spec.rb:99 HTTP::FormData::Multipart#rewind rewinds the multipart data IO - 0.00054 seconds ./spec/lib/http/form_data/multipart_spec.rb:105 - HTTP::FormData::Multipart#to_s properly generates multipart data - 0.00052 seconds ./spec/lib/http/form_data/multipart_spec.rb:18 + 0.00056 seconds ./spec/lib/http/form_data/multipart_spec.rb:105 + HTTP::FormData.ensure_hash when nil given is expected to eq {} + 0.00055 seconds ./spec/lib/http/form_data_spec.rb:40 + HTTP::FormData::File#to_s when file given as File is expected to eq "The HTTP Gem is an easy-to-use client library for making requests from Ruby.\n" + 0.00053 seconds ./spec/lib/http/form_data/file_spec.rb:61 HTTP::FormData::Multipart#content_length is expected to eq 449 - 0.0005 seconds ./spec/lib/http/form_data/multipart_spec.rb:133 + 0.00052 seconds ./spec/lib/http/form_data/multipart_spec.rb:133 Top 6 slowest example groups: - HTTP::FormData::Multipart - 0.00075 seconds average (0.01056 seconds / 14 examples) ./spec/lib/http/form_data/multipart_spec.rb:3 HTTP::FormData - 0.00071 seconds average (0.00494 seconds / 7 examples) ./spec/lib/http/form_data_spec.rb:3 - HTTP::FormData::File - 0.00062 seconds average (0.01927 seconds / 31 examples) ./spec/lib/http/form_data/file_spec.rb:4 + 0.0009 seconds average (0.0063 seconds / 7 examples) ./spec/lib/http/form_data_spec.rb:3 + HTTP::FormData::Multipart + 0.00073 seconds average (0.01025 seconds / 14 examples) ./spec/lib/http/form_data/multipart_spec.rb:3 HTTP::FormData::Part - 0.00049 seconds average (0.00445 seconds / 9 examples) ./spec/lib/http/form_data/part_spec.rb:3 - HTTP::FormData::CompositeIO - 0.00046 seconds average (0.00649 seconds / 14 examples) ./spec/lib/http/form_data/composite_io_spec.rb:3 + 0.0007 seconds average (0.00629 seconds / 9 examples) ./spec/lib/http/form_data/part_spec.rb:3 + HTTP::FormData::File + 0.00057 seconds average (0.0178 seconds / 31 examples) ./spec/lib/http/form_data/file_spec.rb:4 HTTP::FormData::Urlencoded - 0.00041 seconds average (0.00405 seconds / 10 examples) ./spec/lib/http/form_data/urlencoded_spec.rb:4 + 0.00043 seconds average (0.00432 seconds / 10 examples) ./spec/lib/http/form_data/urlencoded_spec.rb:4 + HTTP::FormData::CompositeIO + 0.00034 seconds average (0.00476 seconds / 14 examples) ./spec/lib/http/form_data/composite_io_spec.rb:3 -Finished in 0.05095 seconds (files took 0.39977 seconds to load) +Finished in 0.05088 seconds (files took 0.42549 seconds to load) 85 examples, 0 failures -Randomized with seed 44259 +Randomized with seed 59625 Coverage report generated for RSpec to /build/ruby-http-form-data-2.2.0/coverage. 190 / 192 LOC (98.96%) covered. [Coveralls] Outside the CI environment, not sending data. @@ -1323,12 +1358,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/239823/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/239823/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/2041141 and its subdirectories -I: Current time: Wed Feb 9 12:57:53 -12 2022 -I: pbuilder-time-stamp: 1644454673 +I: removing directory /srv/workspace/pbuilder/239823 and its subdirectories +I: Current time: Wed Mar 15 21:21:30 +14 2023 +I: pbuilder-time-stamp: 1678864890