Diff of the two buildlogs: -- --- b1/build.log 2021-06-19 16:18:50.491744496 +0000 +++ b2/build.log 2021-06-19 16:19:36.334021210 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Jul 22 10:39:30 -12 2022 -I: pbuilder-time-stamp: 1658529570 +I: Current time: Sun Jun 20 06:18:52 +14 2021 +I: pbuilder-time-stamp: 1624119532 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Tue Mar 13 06:51:38 2018 -12 +gpgv: Signature made Wed Mar 14 08:51:38 2018 +14 gpgv: using RSA key 7E43E9ACBF727AB3CF0885338716CE4614A452D8 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./ruby-puppet-forge_2.2.9-2.dsc @@ -29,136 +29,170 @@ dpkg-source: info: applying 002_loosen_deps.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/50089/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/40829/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/40829/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/40829/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="0" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.0.3(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='3e040a3fce6c4bc1b6932f14c6bc8b55' - 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='50089' - PS1='# ' - PS2='> ' + INVOCATION_ID=c475a1c6313e4d66a82d08abe7563193 + 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=40829 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.v36YLtFVLc/pbuilderrc_10xI --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.v36YLtFVLc/b1 --logfile b1/build.log ruby-puppet-forge_2.2.9-2.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.v36YLtFVLc/pbuilderrc_Puvk --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.v36YLtFVLc/b2 --logfile b2/build.log ruby-puppet-forge_2.2.9-2.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos15-amd64 5.10.0-0.bpo.5-amd64 #1 SMP Debian 5.10.24-1~bpo10+1 (2021-03-29) x86_64 GNU/Linux + Linux i-capture-the-hostname 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) 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 Jul 10 02:46 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/50089/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 Jun 20 06:19 sh -> bash + lrwxrwxrwx 1 root root 4 Jun 7 22:23 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/40829/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: 143 http://deb.debian.org/debian buster/main amd64 ruby-rspec-core all 3.8.0c0e1m0s0-1 [190 kB] Get: 144 http://deb.debian.org/debian buster/main amd64 ruby-rspec all 3.8.0c0e1m0s0-1 [7620 B] Get: 145 http://deb.debian.org/debian buster/main amd64 ruby-semantic-puppet all 1.0.2-1 [15.0 kB] -Fetched 43.4 MB in 1s (61.2 MB/s) +Fetched 43.4 MB in 1s (69.0 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.) @@ -967,7 +1001,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-puppet-forge-2.2.9/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/ruby-puppet-forge-2.2.9/ && 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-puppet-forge dpkg-buildpackage: info: source version 2.2.9-2 dpkg-buildpackage: info: source distribution unstable @@ -1062,292 +1096,292 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 32104 +Randomized with seed 5382 + +PuppetForge::V3::Release + connection management + setting authorization value after a connection is created + should reset connection + setting proxy value after a connection is created + should reset connection + with stubbed connection + #metadata + is lazy and repeatable + #download_url + handles an API response that does not include a scheme and host + handles an API response that includes a scheme and host + when PuppetForge.host has a path prefix + includes path prefix in download url + #download + downloads the file to the specified location + when connection fails + re-raises original error + when response is 403 + raises PuppetForge::ReleaseForbidden + ::find + raises Faraday::ResourceNotFound for non-existent releases + can find releases that exist + instance properies + are easily accessible + #module + exposes the related module as a property + grants access to module attributes without an API call + transparently makes API calls for other attributes PuppetForge::V3::Base::PaginatedCollection + #all returns self for backwards compatibility. + knows the size of the entire collection + enables page navigation exposes previous_url and next_url contains only a subset of the entire collection - enables page navigation exposes the pagination metadata - #all returns self for backwards compatibility. maps to a single page of the collection - knows the size of the entire collection #unpaginated provides an iterator over the entire collection provides a full iterator regardless of which page it's started on +PuppetForge::V3::Base + ::new_collection + should handle responses with no pagination info + should handle responses with no results + connection management + setting proxy value after a connection is created + should reset connection + setting authorization value after a connection is created + should reset connection + the host url setting + should handle a host url with no path prefix + should handle a path prefix in the host + +PuppetForge::Tar + returns an instance of minitar + PuppetForge::LazyAccessors does not call methods to #inspect local attributes - allow `super` access to shadowed attributes allow access to locally satisfiable methods - provide local attributes setters - allow access to local standalone methods - allow access to local attributes provide local attributes predicates + allow access to local standalone methods + allow `super` access to shadowed attributes do not create accessors on the base class itself - unsatisfiable attributes - raise an exception when accessing an unknown attribute - do not create accessors on the base class itself + provide local attributes setters + allow access to local attributes remote attributes - do not create accessors on the base class itself - allow access to locally unsatisfiable methods allow access to remote attributes - provide remote attributes predicates - allow `super` access to shadowed remote attributes - provide remote attributes setters allow multiple instances to access remote attributes - -PuppetForge::Unpacker - attempts to untar file to temporary location - returns the appropriate categories of the contents of the tar file from the tar implementation - attempts to set the ownership of a target dir to a source dir's owner - -PuppetForge::Tar - returns an instance of minitar + provide remote attributes setters + allow access to locally unsatisfiable methods + allow `super` access to shadowed remote attributes + do not create accessors on the base class itself + provide remote attributes predicates + unsatisfiable attributes + do not create accessors on the base class itself + raise an exception when accessing an unknown attribute PuppetForge::Tar::Mini unpacks a tar file - packs a tar file + does not allow an absolute path returns filenames in a tar separated into correct categories does not allow a directory to be written outside the destination directory - does not allow an absolute path + packs a tar file does not allow a file to be written outside the destination directory +PuppetForge::V3::Module + instance properies + are easily accessible + #owner + exposes the related module as a property + transparently makes API calls for other attributes + grants access to module attributes without an API call + #releases + loads releases lazily + grants access to release attributes without an API call + exposes the related releases as a property + knows the size of the collection + ::find + can find modules that exist from a stateless call + returns nil for non-existent modules + can find modules that exist + #current_release + grants access to release attributes without an API call + exposes the current_release as a property + PuppetForge::LazyRelations - .lazy_collection - should be a kind of PuppetForge::V3::Thing + .lazy does not call methods to #inspect + should be a kind of PuppetForge::V3::Thing + null relations + do not return new instances + unsatisfiable attributes + raise an exception when accessing an unknown attribute remote attributes allow access to remote attributes allow `super` access to shadowed remote attributes - provide remote attributes predicates provide remote attributes setters allow access to locally unsatisfiable methods allow multiple instances to access remote attributes - unsatisfiable attributes - raise an exception when accessing an unknown attribute - remote relations - allow chained lookups of lazy relations - null relations - return an empty list + provide remote attributes predicates local attributes - allow `super` access to shadowed attributes + provide local attributes predicates + allow access to local attributes allow access to locally satisfiable methods - provide local attributes setters allow access to local standalone methods - allow access to local attributes - provide local attributes predicates - .lazy + provide local attributes setters + allow `super` access to shadowed attributes + remote relations + allow chained lookups of lazy relations + .lazy_collection does not call methods to #inspect should be a kind of PuppetForge::V3::Thing - null relations - do not return new instances + remote attributes + provide remote attributes setters + allow `super` access to shadowed remote attributes + allow access to remote attributes + allow access to locally unsatisfiable methods + provide remote attributes predicates + allow multiple instances to access remote attributes + unsatisfiable attributes + raise an exception when accessing an unknown attribute remote relations allow chained lookups of lazy relations local attributes allow `super` access to shadowed attributes - allow access to local attributes allow access to locally satisfiable methods - allow access to local standalone methods provide local attributes setters + allow access to local attributes provide local attributes predicates - unsatisfiable attributes - raise an exception when accessing an unknown attribute - remote attributes - allow access to remote attributes - provide remote attributes predicates - allow access to locally unsatisfiable methods - allow `super` access to shadowed remote attributes - provide remote attributes setters - allow multiple instances to access remote attributes + allow access to local standalone methods + null relations + return an empty list PuppetForge::Connection::ConnectionFailure - includes the base URL in the error message includes the proxy host in the error message when set + includes the base URL in the error message -PuppetForge::V3::Release - connection management - setting proxy value after a connection is created - should reset connection - setting authorization value after a connection is created - should reset connection - with stubbed connection - #download - downloads the file to the specified location - when connection fails - re-raises original error - when response is 403 - raises PuppetForge::ReleaseForbidden - ::find - raises Faraday::ResourceNotFound for non-existent releases - can find releases that exist - #download_url - handles an API response that includes a scheme and host - handles an API response that does not include a scheme and host - when PuppetForge.host has a path prefix - includes path prefix in download url - instance properies - are easily accessible - #module - exposes the related module as a property - transparently makes API calls for other attributes - grants access to module attributes without an API call - #metadata - is lazy and repeatable +PuppetForge::Util + version_valid? + returns false for an invalid version + returns true for a valid version + +PuppetForge + host attribute + should coerce non-String values if possible + should add a trailing slash if not present + +PuppetForge::Unpacker + returns the appropriate categories of the contents of the tar file from the tar implementation + attempts to set the ownership of a target dir to a source dir's owner + attempts to untar file to temporary location + +PuppetForge::Middleware::SymbolifyJson + #process_array + doesn't change an array with no array or hash inside + changes all keys of a hash inside the array + #process_hash + changes all keys that respond to :to_sym into Symbols and doesn't change values. + can process a hash that is already symbolified + can handle extensively nested arrays and hashes + doesn't change keys that don't respond to :to_sym + can process a hash with a hash inside of it + can process a hash with an array inside of it PuppetForge::V3::Metadata - #to_hash - contains the default set of keys - ['license'] - defaults to Apache 2 - ['dependencies'] - defaults to an empty set - when updated with non-default data - overrides the defaults - contains unanticipated values - #release_name - is unaffected by author name - returns nil in the absence of a module name - returns nil in the absence of a version - returns a hyphenated string containing module name and version - #dashed_name - returns nil in the absence of a module name - properly handles slash-separated names - is unaffected by author name - returns a hyphenated string containing namespace and module name property lookups - #author + #issues_url responds to the property - #dependencies + #summary responds to the property - #description + #license responds to the property - #summary + #dependencies responds to the property - #release_name + #dashed_name responds to the property - #project_page + #name responds to the property - #license + #description responds to the property #version responds to the property - #source + #release_name responds to the property - #dashed_name + #source responds to the property - #issues_url + #author responds to the property - #name + #project_page responds to the property #update - with a invalid dependency name - raises an exception + with an invalid name + (short module name) + raises an exception + (non-alphanumeric module name) + raises an exception + (invalid namespace) + raises an exception + (module name starts with a number) + raises an exception + (missing namespace) + raises an exception + (missing module name) + raises an exception + with a valid name + extracts the author name from the name field + extracts a module name from the name field + and existing author + avoids overwriting the existing author with a valid dependency version range adds the dependency (PENDING: dependency resolution is not yet in scope) - with duplicate dependencies - raises an exception (PENDING: dependency resolution is not yet in scope) - with a valid dependency - adds the dependency (PENDING: dependency resolution is not yet in scope) + with an invalid version + raises an exception + with a invalid dependency name + raises an exception + adding a duplicate dependency + with a different version raises an exception (PENDING: dependency resolution is not yet in scope) + with the same version does not add another dependency (PENDING: dependency resolution is not yet in scope) with a valid source - which is not a GitHub URL - does not predict a default project_page + which is not a URL does not predict a default issues_url + does not predict a default project_page which is a GitHub URL - with a scheme - predicts a default project_page - predicts a default issues_url without a scheme + predicts a default project_page predicts a default issues_url + with a scheme predicts a default project_page - which is not a URL - does not predict a default issues_url + predicts a default issues_url + which is not a GitHub URL does not predict a default project_page + does not predict a default issues_url with a valid name and author use the author name from the author field and preexisting author avoids overwriting the existing author - with an invalid version - raises an exception with a invalid version range raises an exception - adding a duplicate dependency - with the same version does not add another dependency (PENDING: dependency resolution is not yet in scope) - with a different version raises an exception (PENDING: dependency resolution is not yet in scope) - with an invalid name - (short module name) - raises an exception - (module name starts with a number) - raises an exception - (missing module name) - raises an exception - (missing namespace) - raises an exception - (non-alphanumeric module name) - raises an exception - (invalid namespace) - raises an exception - with a valid name - extracts the author name from the name field - extracts a module name from the name field - and existing author - avoids overwriting the existing author - -PuppetForge::Util - version_valid? - returns false for an invalid version - returns true for a valid version - -PuppetForge::V3::Module - ::find - returns nil for non-existent modules - can find modules that exist from a stateless call - can find modules that exist - instance properies - are easily accessible - #owner - transparently makes API calls for other attributes - grants access to module attributes without an API call - exposes the related module as a property - #releases - knows the size of the collection - loads releases lazily - grants access to release attributes without an API call - exposes the related releases as a property - #current_release - exposes the current_release as a property - grants access to release attributes without an API call - -PuppetForge::Middleware::SymbolifyJson - #process_hash - doesn't change keys that don't respond to :to_sym - can process a hash with an array inside of it - can process a hash that is already symbolified - can process a hash with a hash inside of it - changes all keys that respond to :to_sym into Symbols and doesn't change values. - can handle extensively nested arrays and hashes - #process_array - changes all keys of a hash inside the array - doesn't change an array with no array or hash inside - -PuppetForge::V3::Base - connection management - setting authorization value after a connection is created - should reset connection - setting proxy value after a connection is created - should reset connection - ::new_collection - should handle responses with no pagination info - should handle responses with no results - the host url setting - should handle a path prefix in the host - should handle a host url with no path prefix - -PuppetForge - host attribute - should coerce non-String values if possible - should add a trailing slash if not present + with a valid dependency + adds the dependency (PENDING: dependency resolution is not yet in scope) + with duplicate dependencies + raises an exception (PENDING: dependency resolution is not yet in scope) + #release_name + returns nil in the absence of a version + returns nil in the absence of a module name + returns a hyphenated string containing module name and version + is unaffected by author name + #dashed_name + returns a hyphenated string containing namespace and module name + properly handles slash-separated names + is unaffected by author name + returns nil in the absence of a module name + #to_hash + contains the default set of keys + when updated with non-default data + overrides the defaults + contains unanticipated values + ['dependencies'] + defaults to an empty set + ['license'] + defaults to Apache 2 Pending: (Failures listed here are expected and do not affect your suite's status) @@ -1365,36 +1399,16 @@ # ./spec/unit/forge/v3/metadata_spec.rb:21:in `block (3 levels) in ' # ./spec/unit/forge/v3/metadata_spec.rb:191:in `block (4 levels) in ' - 2) PuppetForge::V3::Metadata#update with duplicate dependencies raises an exception - # dependency resolution is not yet in scope - Failure/Error: expect { subject }.to raise_error(ArgumentError) - - expected ArgumentError, got # with backtrace: - # ./lib/puppet_forge/v3/metadata.rb:69:in `add_dependency' - # ./lib/puppet_forge/v3/metadata.rb:152:in `block in merge_dependencies' - # ./lib/puppet_forge/v3/metadata.rb:151:in `each' - # ./lib/puppet_forge/v3/metadata.rb:151:in `merge_dependencies' - # ./lib/puppet_forge/v3/metadata.rb:52:in `update' - # ./spec/unit/forge/v3/metadata_spec.rb:21:in `block (3 levels) in ' - # ./spec/unit/forge/v3/metadata_spec.rb:209:in `block (5 levels) in ' - # ./spec/unit/forge/v3/metadata_spec.rb:209:in `block (4 levels) in ' - # ./spec/unit/forge/v3/metadata_spec.rb:209:in `block (4 levels) in ' - - 3) PuppetForge::V3::Metadata#update with a valid dependency adds the dependency + 2) PuppetForge::V3::Metadata#update adding a duplicate dependency with a different version raises an exception # dependency resolution is not yet in scope Failure/Error: dep = Dependency.new(name, version_requirement, repository) NameError: uninitialized constant PuppetForge::V3::Metadata::Dependency # ./lib/puppet_forge/v3/metadata.rb:69:in `add_dependency' - # ./lib/puppet_forge/v3/metadata.rb:152:in `block in merge_dependencies' - # ./lib/puppet_forge/v3/metadata.rb:151:in `each' - # ./lib/puppet_forge/v3/metadata.rb:151:in `merge_dependencies' - # ./lib/puppet_forge/v3/metadata.rb:52:in `update' - # ./spec/unit/forge/v3/metadata_spec.rb:21:in `block (3 levels) in ' - # ./spec/unit/forge/v3/metadata_spec.rb:175:in `block (4 levels) in ' + # ./spec/unit/forge/v3/metadata_spec.rb:217:in `block (4 levels) in ' - 4) PuppetForge::V3::Metadata#update adding a duplicate dependency with the same version does not add another dependency + 3) PuppetForge::V3::Metadata#update adding a duplicate dependency with the same version does not add another dependency # dependency resolution is not yet in scope Failure/Error: dep = Dependency.new(name, version_requirement, repository) @@ -1403,19 +1417,39 @@ # ./lib/puppet_forge/v3/metadata.rb:69:in `add_dependency' # ./spec/unit/forge/v3/metadata_spec.rb:222:in `block (4 levels) in ' - 5) PuppetForge::V3::Metadata#update adding a duplicate dependency with a different version raises an exception + 4) PuppetForge::V3::Metadata#update with a valid dependency adds the dependency # dependency resolution is not yet in scope Failure/Error: dep = Dependency.new(name, version_requirement, repository) NameError: uninitialized constant PuppetForge::V3::Metadata::Dependency # ./lib/puppet_forge/v3/metadata.rb:69:in `add_dependency' - # ./spec/unit/forge/v3/metadata_spec.rb:217:in `block (4 levels) in ' + # ./lib/puppet_forge/v3/metadata.rb:152:in `block in merge_dependencies' + # ./lib/puppet_forge/v3/metadata.rb:151:in `each' + # ./lib/puppet_forge/v3/metadata.rb:151:in `merge_dependencies' + # ./lib/puppet_forge/v3/metadata.rb:52:in `update' + # ./spec/unit/forge/v3/metadata_spec.rb:21:in `block (3 levels) in ' + # ./spec/unit/forge/v3/metadata_spec.rb:175:in `block (4 levels) in ' + + 5) PuppetForge::V3::Metadata#update with duplicate dependencies raises an exception + # dependency resolution is not yet in scope + Failure/Error: expect { subject }.to raise_error(ArgumentError) + + expected ArgumentError, got # with backtrace: + # ./lib/puppet_forge/v3/metadata.rb:69:in `add_dependency' + # ./lib/puppet_forge/v3/metadata.rb:152:in `block in merge_dependencies' + # ./lib/puppet_forge/v3/metadata.rb:151:in `each' + # ./lib/puppet_forge/v3/metadata.rb:151:in `merge_dependencies' + # ./lib/puppet_forge/v3/metadata.rb:52:in `update' + # ./spec/unit/forge/v3/metadata_spec.rb:21:in `block (3 levels) in ' + # ./spec/unit/forge/v3/metadata_spec.rb:209:in `block (5 levels) in ' + # ./spec/unit/forge/v3/metadata_spec.rb:209:in `block (4 levels) in ' + # ./spec/unit/forge/v3/metadata_spec.rb:209:in `block (4 levels) in ' -Finished in 7.03 seconds (files took 10.82 seconds to load) +Finished in 0.4514 seconds (files took 0.43509 seconds to load) 170 examples, 0 failures, 5 pending -Randomized with seed 32104 +Randomized with seed 5382 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1443,12 +1477,14 @@ dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/40829/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/40829/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/50089 and its subdirectories -I: Current time: Fri Jul 22 10:41:53 -12 2022 -I: pbuilder-time-stamp: 1658529713 +I: removing directory /srv/workspace/pbuilder/40829 and its subdirectories +I: Current time: Sun Jun 20 06:19:35 +14 2021 +I: pbuilder-time-stamp: 1624119576