Diff of the two buildlogs: -- --- b1/build.log 2023-05-04 21:03:49.561275214 +0000 +++ b2/build.log 2023-05-04 21:04:19.391966000 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu May 4 09:01:32 -12 2023 -I: pbuilder-time-stamp: 1683234092 +I: Current time: Thu Jun 6 17:26:50 +14 2024 +I: pbuilder-time-stamp: 1717644410 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: copying [./ruby-contracts_0.17.orig.tar.gz] I: copying [./ruby-contracts_0.17-1.debian.tar.xz] I: Extracting source -gpgv: Signature made Tue Dec 20 23:31:37 2022 -12 +gpgv: Signature made Thu Dec 22 01:31:37 2022 +14 gpgv: using RSA key B2DEE66036C40829FCD0F10CFC0DB1BBCD460BDE gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./ruby-contracts_0.17-1.dsc: no acceptable signature found @@ -26,137 +26,169 @@ dpkg-source: info: unpacking ruby-contracts_0.17-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/18744/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/92989/tmp/hooks/D01_modify_environment starting +debug: Running on ionos16-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 6 17:26 /bin/sh -> /bin/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/92989/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/92989/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='b28a0ee928464941876f6d4dd0e70850' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='18744' - PS1='# ' - PS2='> ' + INVOCATION_ID=2b2f8f7b23594d8ba9c7348390963d15 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=92989 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/r-b-build.hfgM7bpC/pbuilderrc_D2W2 --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.hfgM7bpC/b1 --logfile b1/build.log ruby-contracts_0.17-1.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://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/r-b-build.hfgM7bpC/pbuilderrc_30Yv --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.hfgM7bpC/b2 --logfile b2/build.log --extrapackages usrmerge ruby-contracts_0.17-1.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos12-i386 5.10.0-22-686-pae #1 SMP Debian 5.10.178-3 (2023-04-22) i686 GNU/Linux + Linux i-capture-the-hostname 5.10.0-22-amd64 #1 SMP Debian 5.10.178-3 (2023-04-22) x86_64 GNU/Linux I: ls -l /bin total 6036 - -rwxr-xr-x 1 root root 1408088 Apr 23 09:24 bash - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 17892 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 42920 Sep 20 2022 cat - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chown - -rwxr-xr-x 1 root root 162024 Sep 20 2022 cp - -rwxr-xr-x 1 root root 136916 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 137160 Sep 20 2022 date - -rwxr-xr-x 1 root root 100364 Sep 20 2022 dd - -rwxr-xr-x 1 root root 108940 Sep 20 2022 df - -rwxr-xr-x 1 root root 162152 Sep 20 2022 dir - -rwxr-xr-x 1 root root 87760 Mar 22 22:20 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 38760 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 34664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 84272 Mar 22 22:20 findmnt - -rwsr-xr-x 1 root root 30240 Mar 22 20:38 fusermount - -rwxr-xr-x 1 root root 218680 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 100952 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 21916 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 75756 Sep 20 2022 ln - -rwxr-xr-x 1 root root 55600 Mar 22 23:43 login - -rwxr-xr-x 1 root root 162152 Sep 20 2022 ls - -rwxr-xr-x 1 root root 214568 Mar 22 22:20 lsblk - -rwxr-xr-x 1 root root 96328 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 84008 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 38792 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 63016 Mar 22 22:20 more - -rwsr-xr-x 1 root root 58912 Mar 22 22:20 mount - -rwxr-xr-x 1 root root 13856 Mar 22 22:20 mountpoint - -rwxr-xr-x 1 root root 157932 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38792 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:24 rbash -> bash - -rwxr-xr-x 1 root root 51080 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 75720 Sep 20 2022 rm - -rwxr-xr-x 1 root root 51080 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 22308 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 133224 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 38760 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 87976 Sep 20 2022 stty - -rwsr-xr-x 1 root root 83492 Mar 22 22:20 su - -rwxr-xr-x 1 root root 38792 Sep 20 2022 sync - -rwxr-xr-x 1 root root 598456 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 13860 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 120776 Sep 20 2022 touch - -rwxr-xr-x 1 root root 34664 Sep 20 2022 true - -rwxr-xr-x 1 root root 17892 Mar 22 20:38 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Mar 22 22:20 umount - -rwxr-xr-x 1 root root 38760 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 162152 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 71216 Mar 22 22:20 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/18744/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1408088 Apr 24 2023 bash + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 17892 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 42920 Sep 21 2022 cat + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chown + -rwxr-xr-x 1 root root 162024 Sep 21 2022 cp + -rwxr-xr-x 1 root root 136916 Jan 6 2023 dash + -rwxr-xr-x 1 root root 137160 Sep 21 2022 date + -rwxr-xr-x 1 root root 100364 Sep 21 2022 dd + -rwxr-xr-x 1 root root 108940 Sep 21 2022 df + -rwxr-xr-x 1 root root 162152 Sep 21 2022 dir + -rwxr-xr-x 1 root root 87760 Mar 24 2023 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 38760 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 34664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 84272 Mar 24 2023 findmnt + -rwsr-xr-x 1 root root 30240 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 218680 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 100952 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 21916 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 75756 Sep 21 2022 ln + -rwxr-xr-x 1 root root 55600 Mar 24 2023 login + -rwxr-xr-x 1 root root 162152 Sep 21 2022 ls + -rwxr-xr-x 1 root root 214568 Mar 24 2023 lsblk + -rwxr-xr-x 1 root root 96328 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 84008 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 38792 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 63016 Mar 24 2023 more + -rwsr-xr-x 1 root root 58912 Mar 24 2023 mount + -rwxr-xr-x 1 root root 13856 Mar 24 2023 mountpoint + -rwxr-xr-x 1 root root 157932 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38792 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 2023 rbash -> bash + -rwxr-xr-x 1 root root 51080 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 75720 Sep 21 2022 rm + -rwxr-xr-x 1 root root 51080 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 22308 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 133224 Jan 6 2023 sed + lrwxrwxrwx 1 root root 9 Jun 6 17:26 sh -> /bin/bash + -rwxr-xr-x 1 root root 38760 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 87976 Sep 21 2022 stty + -rwsr-xr-x 1 root root 83492 Mar 24 2023 su + -rwxr-xr-x 1 root root 38792 Sep 21 2022 sync + -rwxr-xr-x 1 root root 598456 Apr 7 2023 tar + -rwxr-xr-x 1 root root 13860 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 120776 Sep 21 2022 touch + -rwxr-xr-x 1 root root 34664 Sep 21 2022 true + -rwxr-xr-x 1 root root 17892 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Mar 24 2023 umount + -rwxr-xr-x 1 root root 38760 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 162152 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 71216 Mar 24 2023 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/92989/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -329,7 +361,7 @@ Get: 129 http://deb.debian.org/debian bookworm/main i386 ruby-rspec-expectations all 3.12.0c0e1m1s0-1 [89.5 kB] Get: 130 http://deb.debian.org/debian bookworm/main i386 ruby-rspec-mocks all 3.12.0c0e1m1s0-1 [79.5 kB] Get: 131 http://deb.debian.org/debian bookworm/main i386 ruby-rspec all 3.12.0c0e1m1s0-1 [5084 B] -Fetched 47.4 MB in 2s (30.5 MB/s) +Fetched 47.4 MB in 1s (87.2 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:i386. (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 ... 19604 files and directories currently installed.) @@ -876,8 +908,19 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/ruby-contracts-0.17/ && 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-contracts_0.17-1_source.changes +I: user script /srv/workspace/pbuilder/92989/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/92989/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/ruby-contracts-0.17/ && 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-contracts_0.17-1_source.changes dpkg-buildpackage: info: source package ruby-contracts dpkg-buildpackage: info: source version 0.17-1 dpkg-buildpackage: info: source distribution unstable @@ -905,13 +948,13 @@ dh_prep -O--buildsystem=ruby dh_auto_install --destdir=debian/ruby-contracts/ -O--buildsystem=ruby dh_ruby --install /build/ruby-contracts-0.17/debian/ruby-contracts -/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20230504-24424-4zk76q/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20240606-97814-cka0fu/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash Successfully built RubyGem Name: contracts Version: 0.17 File: contracts-0.17.gem -/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-contracts/usr/share/rubygems-integration/all /tmp/d20230504-24424-4zk76q/contracts-0.17.gem +/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-contracts/usr/share/rubygems-integration/all /tmp/d20240606-97814-cka0fu/contracts-0.17.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/ruby-contracts-0.17/debian/ruby-contracts/usr/share/rubygems-integration/all/gems/contracts-0.17/benchmarks/bench.rb /build/ruby-contracts-0.17/debian/ruby-contracts/usr/share/rubygems-integration/all/gems/contracts-0.17/benchmarks/hash.rb @@ -977,392 +1020,392 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 44192 - -Contract - .override_validator - allows to override class validator - allows to override default validator - allows to override valid contract - allows to override simple validators - -module methods - should fail for incorrect input - should pass for correct input - -Contracts::Invariants - raises invariant violation error when any of invariants are not holding - works when all invariants are holding - -Contract validators - Range - fails when value is incorrect - fails when value is not in range - passes when value is in range - Regexp - should pass for a matching string - should fail for a non-matching string - within an array - should pass for a matching string - within a hash - should pass for a matching string +Randomized with seed 45239 Contracts: - anonymous classes - fails with error when contract is violated - does not fail when contract is satisfied - varargs - should fail for incorrect input - should pass for correct input - should work with arg before splat - protected methods - should raise an error if you try to access a protected method - should raise an error if you try to access a protected method - usage in the singleton class of a subclass - should work with a valid contract on a singleton method - instance methods - should allow two classes to have the same method with different contracts - blocks - should fail for incorrect input - should handle properly lack of block when there are other arguments - should fail for maybe proc with invalid input - should succeed for maybe proc with proc - should pass for correct input - should succeed for maybe proc with no proc - varargs are given with a maybe block - when a block is passed in, varargs should be correct - when a block is NOT passed in, varargs should still be correct - Contracts to_s formatting in expected - should contain to_s representation within an Array contract - should wrap and pretty print for long param contracts - should wrap and pretty print for long return contracts - should not contain Contracts:: module prefix - should not use custom to_s if empty string - should show empty quotes as "" - should contain to_s representation within a Hash contract - should contain to_s representation within a nested Array contract - should contain to_s representation within a nested Hash contract - should not stringify native types - should still show nils, not just blank space - contracts on functions - should pass for a function that passes the contract - should fail for a function that doesn't pass the contract - should pass for a function that passes the contract with weak other args - should fail for a returned function that receives the wrong argument type - should not fail for a returned function that passes the contract - should pass for a function that passes the contract as in tutorial - should fail for a function that doesn't pass the contract with weak other args - should fail for a returned function that doesn't pass the contract - private methods - should raise an error if you try to access a private method - should raise an error if you try to access a private method - failure callbacks - when failure_callback returns true - calls a function for which the contract fails - when failure_callback returns false - does not call a function for which the contract fails - anonymous modules - does not fail when contract is satisfied - fails with error when contract is violated - when called on module itself - does not fail when contract is satisfied - fails with error when contract is violated classes - should not fail for an object that is the exact type as the contract should not fail for an object that is a subclass of the type in the contract - Hashes - should fail if a key with a contract on it isn't provided + should not fail for an object that is the exact type as the contract + varargs should fail for incorrect input - should pass for exact correct input - should pass even if some keys don't have contracts - varargs with block + should work with arg before splat should pass for correct input - should fail for incorrect input - when block has Func contract - should fail for incorrect input - classes with extended modules - works correctly with methods with passing contracts - is possible to define it - should not fail with 'undefined method 'Contract'' - works correctly with methods with passing contracts - class methods - should fail for incorrect input + module contracts + does not pass for instance of class including another module + does not pass for instance of class not including module + passes for instance of class including both modules + passes for instance of class including module + passes for instance of class including inherited module + Arrays + should fail for some incorrect elements + should fail for insufficient items should pass for correct input - instance and class methods - should allow a class to have an instance method and a class method with the same name - inherited methods - should apply the contract to an inherited method - functype - should correctly print out a instance method's type - should correctly print out a class method's type + singleton methods self in inherited methods + should be a proper self module usage with instance methods should check contract - with singleton class methods - should check contract with singleton methods should check contract - Arrays - should fail for insufficient items - should fail for some incorrect elements - should pass for correct input - default args to functions - should work for a function call that relies on default args - Procs - should pass for correct input - should fail for incorrect input - module contracts - passes for instance of class including module - passes for instance of class including inherited module - does not pass for instance of class including another module - passes for instance of class including both modules - does not pass for instance of class not including module - basic - should fail for insufficient arguments - should fail for insufficient contracts + with singleton class methods + should check contract + inherited methods + should apply the contract to an inherited method pattern matching + should fail when the pattern-matched method's contract fails + should work for differing arities + should fail if multiple methods are defined with the same contract (for pattern-matching) should work as expected when there is no contract violation should not fall through to next pattern when there is a deep contract violation if the return contract for a pattern match fails, it should fail instead of trying the next pattern match - should work for differing arities - should fail if multiple methods are defined with the same contract (for pattern-matching) - should fail when the pattern-matched method's contract fails when failure_callback was overriden - falls through to 2nd pattern when first pattern does not match calls a method when first pattern matches - uses overriden failure_callback when pattern matching fails + falls through to 2nd pattern when first pattern does not match if the return contract for a pattern match fails, it should fail instead of trying the next pattern match, even with the failure callback - no contracts feature - disables normal contract checks - disables invariants - does not disable pattern matching - singleton methods self in inherited methods - should be a proper self + uses overriden failure_callback when pattern matching fails + classes with a valid? class method + should fail for incorrect input + should pass for correct input + Procs + should pass for correct input + should fail for incorrect input contracts for functions with no arguments should not work for a function with a bad contract - should work for functions with no args should still work for old-style contracts for functions with no args - classes - should pass for correct input + should work for functions with no args + default args to functions + should work for a function call that relies on default args + Hashes should fail for incorrect input - classes with a valid? class method + should pass for exact correct input + should fail if a key with a contract on it isn't provided + should pass even if some keys don't have contracts + varargs with block should fail for incorrect input should pass for correct input + when block has Func contract + should fail for incorrect input + class methods + should pass for correct input + should fail for incorrect input + basic + should fail for insufficient contracts + should fail for insufficient arguments + instance methods + should allow two classes to have the same method with different contracts + no contracts feature + disables invariants + does not disable pattern matching + disables normal contract checks + anonymous modules + fails with error when contract is violated + does not fail when contract is satisfied + when called on module itself + fails with error when contract is violated + does not fail when contract is satisfied + classes with extended modules + works correctly with methods with passing contracts + should not fail with 'undefined method 'Contract'' + works correctly with methods with passing contracts + is possible to define it + Contracts to_s formatting in expected + should contain to_s representation within a Hash contract + should contain to_s representation within a nested Hash contract + should contain to_s representation within a nested Array contract + should still show nils, not just blank space + should wrap and pretty print for long param contracts + should wrap and pretty print for long return contracts + should not use custom to_s if empty string + should not stringify native types + should not contain Contracts:: module prefix + should contain to_s representation within an Array contract + should show empty quotes as "" + functype + should correctly print out a class method's type + should correctly print out a instance method's type + contracts on functions + should pass for a function that passes the contract + should fail for a returned function that receives the wrong argument type + should fail for a function that doesn't pass the contract with weak other args + should pass for a function that passes the contract with weak other args + should not fail for a returned function that passes the contract + should fail for a returned function that doesn't pass the contract + should pass for a function that passes the contract as in tutorial + should fail for a function that doesn't pass the contract + instance and class methods + should allow a class to have an instance method and a class method with the same name usage in singleton class - should fail with proper error when there is contract violation should work normally when there is no contract violation + should fail with proper error when there is contract violation builtin contracts usage allows to use builtin contracts without namespacing and redundant Contracts inclusion + anonymous classes + fails with error when contract is violated + does not fail when contract is satisfied + private methods + should raise an error if you try to access a private method + should raise an error if you try to access a private method + usage in the singleton class of a subclass + should work with a valid contract on a singleton method + blocks + should succeed for maybe proc with no proc + should handle properly lack of block when there are other arguments + should fail for incorrect input + should fail for maybe proc with invalid input + should succeed for maybe proc with proc + should pass for correct input + varargs are given with a maybe block + when a block is NOT passed in, varargs should still be correct + when a block is passed in, varargs should be correct + failure callbacks + when failure_callback returns false + does not call a function for which the contract fails + when failure_callback returns true + calls a function for which the contract fails + protected methods + should raise an error if you try to access a protected method + should raise an error if you try to access a protected method + classes + should fail for incorrect input + should pass for correct input Contracts: method called with blocks should enforce return value inside lambda with other parameter + should enforce return value inside block with other parameter should enforce return value inside block with no other parameter should enforce return value inside lambda with no other parameter - should enforce return value inside block with other parameter + +Contracts::Invariants + raises invariant violation error when any of invariants are not holding + works when all invariants are holding + +module methods + should fail for incorrect input + should pass for correct input Contracts::Support - eigenclass_of - returns the eigenclass of a given object eigenclass? - is truthy for singleton classes is falsey for non-singleton classes + is truthy for singleton classes + eigenclass_of + returns the eigenclass of a given object + +Contract validators + Regexp + should pass for a matching string + should fail for a non-matching string + within an array + should pass for a matching string + within a hash + should pass for a matching string + Range + fails when value is not in range + passes when value is in range + fails when value is incorrect Contracts: - Num: - should fail for nil and other data types - should pass for Floats - should pass for Fixnums - And: - should fail for an object that has a method :good but isn't of class A - should pass for an object of class A that has a method :good + Attrs: + attr_reader_with_contract + getting valid type for second val + setting + getting invalid type for second val + getting invalid type + getting valid type + attr_writer_with_contract + getting + setting valid type + setting invalid type + setting invalid type for second val + setting valid type for second val + attr_accessor_with_contract + setting valid type for second val + getting invalid type + setting invalid type for second val + getting valid type for second val + setting invalid type + setting valid type + getting invalid type for second val + getting valid type + +Contracts: + HashOf: + doesn't allow to specify multiple key-value pairs with pretty syntax + #to_s + given String => Num + is expected to eq "Hash" + given Symbol => String + is expected to eq "Hash" + given an unfulfilled contract + is expected to raise ContractError + is expected to raise ContractError + is expected to raise ContractError + is expected to raise ContractError + given a fulfilled contract + is expected to eq 2 + is expected to eq 2 + Enum: + should pass for an object that is included + should fail for an object that is not included + StrictHash: + when given an exact correct input + does not raise an error + when given an input with correct keys but wrong types + raises an error + when given an input with missing keys + raises an error + when given an input with extra keys + raises an error + when given not a hash + raises an error + DescendantOf: + should fail for a number class + should pass for Array + should fail for a non-class + should pass for a hash None: - should fail for nil + should fail for strings should fail for numbers + should fail for nil should fail for procs + RangeOf: + should pass for a range of nums + should fail for a badly-defined range + should pass for a range of dates + should fail for a non-range + should fail for a range with incorrect data type + Xor: + should pass for an object with a method :good + should fail for an object with both methods :good and :bad + should fail for an object with neither method + should pass for an object with a method :bad + Maybe: + should pass for nums + should pass for nils should fail for strings - Nat: - should fail for negative numbers - should fail for nil and other data types - should pass for 0 - should fail for positive non-whole numbers - should pass for positive whole numbers - Neg: - should fail for nil and other data types - should fail for 0 - should pass for negative numbers - should fail for positive numbers - KeywordArgs: - should fail for incorrect input - should fail if some keys don't have contracts - should pass for exact correct input - should fail if a key with a contract on it isn't provided RespondTo: should pass for an object that responds to :good should fail for an object that doesn't respond to :good - DescendantOf: - should fail for a non-class - should fail for a number class - should pass for a hash - should pass for Array + Bool: + should pass for an argument that is a boolean + should fail for nil + Pos: + should fail for nil and other data types + should fail for negative numbers + should fail for 0 + should pass for positive numbers + Not: + should fail for nil + should pass for an argument that isn't nil SetOf: - should fail for a non-array should fail for an array with one non-num + should fail for a non-array should pass for a set of nums + Nat: + should fail for nil and other data types + should pass for positive whole numbers + should fail for negative numbers + should fail for positive non-whole numbers + should pass for 0 + Num: + should fail for nil and other data types + should pass for Floats + should pass for Fixnums Optional: can't be used outside of KeywordArgs + Eq: + should pass for a class + should pass for other values + should pass for a module + should fail when not equal + should fail when given instance of class Or: should fail for nil - should pass for nums should pass for strings - Maybe: - should pass for nils should pass for nums - should fail for strings + Neg: + should fail for 0 + should fail for positive numbers + should fail for nil and other data types + should pass for negative numbers Send: - should fail for an object that returns false for method :good should pass for an object that returns true for method :good - Xor: - should pass for an object with a method :bad - should fail for an object with neither method - should fail for an object with both methods :good and :bad - should pass for an object with a method :good - Bool: - should fail for nil - should pass for an argument that is a boolean - RangeOf: - should fail for a range with incorrect data type - should pass for a range of nums - should pass for a range of dates - should fail for a non-range - should fail for a badly-defined range - Not: - should pass for an argument that isn't nil - should fail for nil - Enum: - should pass for an object that is included - should fail for an object that is not included - Eq: - should fail when given instance of class - should pass for a module - should pass for other values - should fail when not equal - should pass for a class + should fail for an object that returns false for method :good Any: should pass for nil + should pass for numbers should pass for strings should pass for procs - should pass for numbers + And: + should fail for an object that has a method :good but isn't of class A + should pass for an object of class A that has a method :good Exactly: should fail for an object that is not related to Parent at all should fail for an object that inherits from Parent should pass for an object that is exactly a Parent + KeywordArgs: + should fail for incorrect input + should pass for exact correct input + should fail if a key with a contract on it isn't provided + should fail if some keys don't have contracts ArrayOf: should fail for a non-array should fail for an array with one non-num should pass for an array of nums - HashOf: - doesn't allow to specify multiple key-value pairs with pretty syntax - given an unfulfilled contract - is expected to raise ContractError - is expected to raise ContractError - is expected to raise ContractError - is expected to raise ContractError - #to_s - given Symbol => String - is expected to eq "Hash" - given String => Num - is expected to eq "Hash" - given a fulfilled contract - is expected to eq 2 - is expected to eq 2 - StrictHash: - when given not a hash - raises an error - when given an exact correct input - does not raise an error - when given an input with correct keys but wrong types - raises an error - when given an input with missing keys - raises an error - when given an input with extra keys - raises an error - Pos: - should fail for negative numbers - should fail for 0 - should pass for positive numbers - should fail for nil and other data types -Contracts: - Attrs: - attr_writer_with_contract - setting valid type - setting valid type for second val - setting invalid type for second val - getting - setting invalid type - attr_accessor_with_contract - setting valid type - setting invalid type - getting valid type for second val - getting invalid type for second val - setting valid type for second val - getting invalid type - setting invalid type for second val - getting valid type - attr_reader_with_contract - getting invalid type for second val - setting - getting valid type - getting invalid type - getting valid type for second val +Contract + .override_validator + allows to override class validator + allows to override default validator + allows to override simple validators + allows to override valid contract -Top 10 slowest examples (0.11655 seconds, 25.4% of total time): - Contract.override_validator allows to override default validator - 0.01936 seconds ./spec/override_validators_spec.rb:127 - Contracts: Nat: should fail for nil and other data types - 0.01686 seconds ./spec/builtin_contracts_spec.rb:113 - Contracts: Nat: should fail for negative numbers - 0.01686 seconds ./spec/builtin_contracts_spec.rb:108 +Top 10 slowest examples (0.02281 seconds, 12.5% of total time): + Contracts: pattern matching should not fall through to next pattern when there is a deep contract violation + 0.0062 seconds ./spec/contracts_spec.rb:55 + Contracts: contracts for functions with no arguments should still work for old-style contracts for functions with no args + 0.00374 seconds ./spec/contracts_spec.rb:23 Contracts: Neg: should fail for nil and other data types - 0.0108 seconds ./spec/builtin_contracts_spec.rb:87 - Contracts: Contracts to_s formatting in expected should not stringify native types - 0.01048 seconds ./spec/contracts_spec.rb:603 - Contracts: anonymous modules when called on module itself does not fail when contract is satisfied - 0.00966 seconds ./spec/contracts_spec.rb:265 - Contracts: usage in singleton class should fail with proper error when there is contract violation - 0.00883 seconds ./spec/contracts_spec.rb:138 - Contracts: Or: should pass for strings - 0.00866 seconds ./spec/builtin_contracts_spec.rb:156 - Contracts: module contracts does not pass for instance of class not including module - 0.00775 seconds ./spec/contracts_spec.rb:575 + 0.00169 seconds ./spec/builtin_contracts_spec.rb:87 Contracts: Num: should fail for nil and other data types - 0.0073 seconds ./spec/builtin_contracts_spec.rb:41 + 0.00164 seconds ./spec/builtin_contracts_spec.rb:41 + Contract.override_validator allows to override class validator + 0.00162 seconds ./spec/override_validators_spec.rb:96 + Contracts: inherited methods should apply the contract to an inherited method + 0.00162 seconds ./spec/contracts_spec.rb:721 + Contracts: Nat: should fail for nil and other data types + 0.0016 seconds ./spec/builtin_contracts_spec.rb:113 + Contracts: KeywordArgs: should fail for incorrect input + 0.00159 seconds ./spec/builtin_contracts_spec.rb:374 + Contracts: RangeOf: should fail for a non-range + 0.00156 seconds ./spec/builtin_contracts_spec.rb:295 + Contracts: Pos: should fail for nil and other data types + 0.00155 seconds ./spec/builtin_contracts_spec.rb:64 Top 9 slowest example groups: Contract - 0.00827 seconds average (0.03307 seconds / 4 examples) ./spec/override_validators_spec.rb:1 + 0.00167 seconds average (0.00668 seconds / 4 examples) ./spec/override_validators_spec.rb:1 Contracts: - 0.00219 seconds average (0.19258 seconds / 88 examples) ./spec/builtin_contracts_spec.rb:1 - Contracts::Support - 0.00211 seconds average (0.00632 seconds / 3 examples) ./spec/support_spec.rb:2 - Contracts: - 0.00187 seconds average (0.19306 seconds / 103 examples) ./spec/contracts_spec.rb:1 + 0.00086 seconds average (0.08838 seconds / 103 examples) ./spec/contracts_spec.rb:1 Contracts: - 0.00112 seconds average (0.00448 seconds / 4 examples) ./spec/methods_spec.rb:1 + 0.00084 seconds average (0.00336 seconds / 4 examples) ./spec/methods_spec.rb:1 + Contracts::Support + 0.00078 seconds average (0.00234 seconds / 3 examples) ./spec/support_spec.rb:2 Contracts: - 0.0008 seconds average (0.01446 seconds / 18 examples) ./spec/attrs_spec.rb:1 + 0.00074 seconds average (0.06506 seconds / 88 examples) ./spec/builtin_contracts_spec.rb:1 Contract validators - 0.0008 seconds average (0.0056 seconds / 7 examples) ./spec/validators_spec.rb:3 + 0.00062 seconds average (0.00432 seconds / 7 examples) ./spec/validators_spec.rb:3 module methods - 0.00078 seconds average (0.00156 seconds / 2 examples) ./spec/module_spec.rb:10 + 0.00059 seconds average (0.00118 seconds / 2 examples) ./spec/module_spec.rb:10 + Contracts: + 0.0005 seconds average (0.00903 seconds / 18 examples) ./spec/attrs_spec.rb:1 Contracts::Invariants - 0.00061 seconds average (0.00121 seconds / 2 examples) ./spec/invariants_spec.rb:2 + 0.00046 seconds average (0.00093 seconds / 2 examples) ./spec/invariants_spec.rb:2 -Finished in 0.45835 seconds (files took 0.41781 seconds to load) +Finished in 0.18258 seconds (files took 0.19714 seconds to load) 231 examples, 0 failures -Randomized with seed 44192 +Randomized with seed 45239 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1393,12 +1436,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/92989/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/92989/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/18744 and its subdirectories -I: Current time: Thu May 4 09:03:48 -12 2023 -I: pbuilder-time-stamp: 1683234228 +I: removing directory /srv/workspace/pbuilder/92989 and its subdirectories +I: Current time: Thu Jun 6 17:27:18 +14 2024 +I: pbuilder-time-stamp: 1717644438