Diff of the two buildlogs: -- --- b1/build.log 2024-10-25 15:42:06.126028117 +0000 +++ b2/build.log 2024-10-25 15:43:16.439528750 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Oct 25 03:35:45 -12 2024 -I: pbuilder-time-stamp: 1729870545 +I: Current time: Fri Nov 28 12:05:06 +14 2025 +I: pbuilder-time-stamp: 1764281106 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -29,52 +29,84 @@ dpkg-source: info: applying ruby3.0.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3973333/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/63917/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 +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Nov 27 22:05 /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/63917/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/63917/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - 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=20 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + 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]="32" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + 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=42 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='b35ff5e9d34146bba14190020cdcae7b' - 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='3973333' - PS1='# ' - PS2='> ' + INVOCATION_ID=eb5e7d04431d40ed83e5b965984ca01b + 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=63917 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.mkCvYxKn/pbuilderrc_nRsF --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.mkCvYxKn/b1 --logfile b1/build.log ruby-api-pagination_4.8.2-2.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132: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.mkCvYxKn/pbuilderrc_Ris6 --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.mkCvYxKn/b2 --logfile b2/build.log ruby-api-pagination_4.8.2-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://213.165.73.152:3128 I: uname -a - Linux ionos1-amd64 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.10.11+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.11-1~bpo12+1 (2024-10-03) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3973333/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/63917/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -328,7 +360,7 @@ Get: 198 http://deb.debian.org/debian unstable/main amd64 ruby-rspec all 3.13.0c0e0m0s1-2 [5184 B] Get: 199 http://deb.debian.org/debian unstable/main amd64 ruby-sequel all 5.63.0-1 [1045 kB] Get: 200 http://deb.debian.org/debian unstable/main amd64 ruby-will-paginate all 3.3.1-1 [19.7 kB] -Fetched 49.6 MB in 3s (14.5 MB/s) +Fetched 49.6 MB in 0s (100 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.12-minimal: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 ... 19947 files and directories currently installed.) @@ -988,8 +1020,8 @@ Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Fri Oct 25 15:39:18 UTC 2024. -Universal Time is now: Fri Oct 25 15:39:18 UTC 2024. +Local time is now: Thu Nov 27 22:05:40 UTC 2025. +Universal Time is now: Thu Nov 27 22:05:40 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up ruby-websocket-extensions (0.1.5-2) ... @@ -1164,7 +1196,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/ruby-api-pagination-4.8.2/ && 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-api-pagination_4.8.2-2_source.changes +I: user script /srv/workspace/pbuilder/63917/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/63917/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ruby-api-pagination-4.8.2/ && 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-api-pagination_4.8.2-2_source.changes dpkg-buildpackage: info: source package ruby-api-pagination dpkg-buildpackage: info: source version 4.8.2-2 dpkg-buildpackage: info: source distribution unstable @@ -1227,147 +1263,147 @@ RUBYLIB=/build/reproducible-path/ruby-api-pagination-4.8.2/debian/ruby-api-pagination/usr/lib/ruby/vendor_ruby:. GEM_PATH=/build/reproducible-path/ruby-api-pagination-4.8.2/debian/ruby-api-pagination/usr/share/rubygems-integration/all:/build/reproducible-path/ruby-api-pagination-4.8.2/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake /usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation -Randomized with seed 63233 - -ActiveRecord Support - reflections - invokes the correct methods to determine type - does not fail if table name is not snake cased class name - pagination with kaminari - produces correct sql for first page - -ApiPagination - #paginate - Using kaminari - .paginate - should accept paginate_array_options option - configured not to include the total - and paginating an array - should not call without_count on the collection - and paginating an active record relation - should call without_count on the relation - .pages_from - on empty collection - is expected to be empty +Randomized with seed 5089 NumbersAPI is expected to be a kind of Grape::Pagination GET #index - without enough items to give more than one page - should give a Total header - should list all numbers in the response body - should not paginate - should give a Per-Page header - configured not to include the total - should not include a Total header - should not include a link with rel "last" with custom response headers - should give a X-Total-Count header should give a X-Per-Page header + should give a X-Total-Count header should give a X-Page header + with existing Link headers + behaves like an endpoint with existing Link headers + should keep existing Links + should contain pagination Links + should give a Total header + without enough items to give more than one page + should list all numbers in the response body + should give a Per-Page header + should not paginate + should give a Total header + with query string including array parameter + returns links with with same received parameters with enough items to paginate - when on the first page - behaves like an endpoint with a first page - should not give a link with rel "prev" - should list the first page of numbers in the response body - should give a link with rel "next" - should not give a link with rel "first" - should give a link with rel "last" - should give a Total header when somewhere comfortably in the middle behaves like an endpoint with a middle page should give a Total header - should give all pagination links should list a middle page of numbers in the response body + should give all pagination links + with a max_per_page setting not enforced + should not go above the max_per_page_limit without a max_per_page setting should list all numbers within per page in the response body + with a max_per_page setting enforced + should not allow value above the max_per_page_limit + when on the first page + behaves like an endpoint with a first page + should not give a link with rel "first" + should not give a link with rel "prev" + should give a link with rel "last" + should give a Total header + should give a link with rel "next" + should list the first page of numbers in the response body when on the last page behaves like an endpoint with a last page should list the last page of numbers in the response body + should not give a link with rel "next" should give a link with rel "prev" - should not give a link with rel "last" should give a Total header - should not give a link with rel "next" + should not give a link with rel "last" should give a link with rel "first" - with a max_per_page setting not enforced - should not go above the max_per_page_limit - with a max_per_page setting enforced - should not allow value above the max_per_page_limit - with query string including array parameter - returns links with with same received parameters - with existing Link headers - behaves like an endpoint with existing Link headers - should give a Total header - should contain pagination Links - should keep existing Links + configured not to include the total + should not include a link with rel "last" + should not include a Total header + +ActiveRecord Support + pagination with kaminari + produces correct sql for first page + reflections + does not fail if table name is not snake cased class name + invokes the correct methods to determine type + +ApiPagination + #paginate + Using kaminari + .paginate + should accept paginate_array_options option + configured not to include the total + and paginating an active record relation + should call without_count on the relation + and paginating an array + should not call without_count on the collection + .pages_from + on empty collection + is expected to be empty NumbersController GET #index - without enough items to give more than one page - should not paginate - should give a Per-Page header - should give a Total header - should list all numbers in the response body + with custom response headers + should give a X-Page header + should give a X-Per-Page header + should give a X-Total-Count header + with paginated result + should use custom base_url in the Link header + providing a block + yields to the block instead of implicitly rendering + paginate array options + has a properly set Total header default per page in objects without paginator defaults should not fail if model does not respond to per page configured not to include the total - should not include a link with rel "last" should not include a Total header + should not include a link with rel "last" + without enough items to give more than one page + should give a Per-Page header + should give a Total header + should list all numbers in the response body + should not paginate custom per_page param page_param as a block should work per_page_param as a symbol should work - providing a block - yields to the block instead of implicitly rendering - default per page in model - should use default per page from model - should not fail if the model yields nil for per page with existing Link headers behaves like an endpoint with existing Link headers - should give a Total header should contain pagination Links should keep existing Links - paginate array options - has a properly set Total header + should give a Total header with enough items to paginate when on the first page behaves like an endpoint with a first page - should not give a link with rel "prev" - should list the first page of numbers in the response body - should give a Total header should give a link with rel "last" + should give a Total header should give a link with rel "next" + should not give a link with rel "prev" + should list the first page of numbers in the response body should not give a link with rel "first" when somewhere comfortably in the middle behaves like an endpoint with a middle page should list a middle page of numbers in the response body - should give a Total header should give all pagination links + should give a Total header when on the last page behaves like an endpoint with a last page should give a Total header + should list the last page of numbers in the response body should give a link with rel "prev" - should give a link with rel "first" should not give a link with rel "next" - should list the last page of numbers in the response body should not give a link with rel "last" - with custom response headers - should give a X-Total-Count header - should give a X-Per-Page header - should give a X-Page header - with paginated result - should use custom base_url in the Link header + should give a link with rel "first" + default per page in model + should not fail if the model yields nil for per page + should use default per page from model custom page param - page_param as a symbol - should work page_param as a block should work + page_param as a symbol + should work -Finished in 5.33 seconds (files took 19.66 seconds to load) +Finished in 0.58365 seconds (files took 2.37 seconds to load) 76 examples, 0 failures -Randomized with seed 63233 +Randomized with seed 5089 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1399,12 +1435,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/63917/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/63917/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/3973333 and its subdirectories -I: Current time: Fri Oct 25 03:42:04 -12 2024 -I: pbuilder-time-stamp: 1729870924 +I: removing directory /srv/workspace/pbuilder/63917 and its subdirectories +I: Current time: Fri Nov 28 12:06:13 +14 2025 +I: pbuilder-time-stamp: 1764281173