Diff of the two buildlogs: -- --- b1/build.log 2025-02-20 17:06:34.062876794 +0000 +++ b2/build.log 2025-02-20 17:08:52.192654599 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Mar 25 11:28:42 -12 2026 -I: pbuilder-time-stamp: 1774481322 +I: Current time: Fri Feb 21 07:06:38 +14 2025 +I: pbuilder-time-stamp: 1740071198 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -24,52 +24,84 @@ dpkg-source: info: applying use-installed-libraries.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3773437/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/4164017/tmp/hooks/D01_modify_environment starting +debug: Running on codethink04-arm64. +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 Feb 20 17:06 /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/4164017/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/4164017/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='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="37" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='d36596714fad487183ed76d796eb8651' - 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='3773437' - PS1='# ' - PS2='> ' + INVOCATION_ID=4ae349b3d5a04541b3fa98fa3d924fa2 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=4164017 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.2ccpXJt5/pbuilderrc_2Uxe --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.2ccpXJt5/b1 --logfile b1/build.log ruby-gitlab_5.1.0-1.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4: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.2ccpXJt5/pbuilderrc_gKxU --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.2ccpXJt5/b2 --logfile b2/build.log ruby-gitlab_5.1.0-1.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink03-arm64 6.1.0-31-cloud-arm64 #1 SMP Debian 6.1.128-1 (2025-02-07) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-31-cloud-arm64 #1 SMP Debian 6.1.128-1 (2025-02-07) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3773437/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/4164017/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -267,7 +299,7 @@ Get: 146 http://deb.debian.org/debian unstable/main arm64 ruby-unicode-display-width all 1.6.1-1 [10.3 kB] Get: 147 http://deb.debian.org/debian unstable/main arm64 ruby-terminal-table all 3.0.2-1 [17.7 kB] Get: 148 http://deb.debian.org/debian unstable/main arm64 ruby-webmock all 3.24.0-1 [68.5 kB] -Fetched 47.8 MB in 1s (82.1 MB/s) +Fetched 47.8 MB in 1s (80.3 MB/s) Preconfiguring packages ... Selecting previously unselected package libpython3.13-minimal:arm64. (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 ... 19912 files and directories currently installed.) @@ -757,8 +789,8 @@ Setting up tzdata (2025a-2) ... Current default time zone: 'Etc/UTC' -Local time is now: Wed Mar 25 23:29:04 UTC 2026. -Universal Time is now: Wed Mar 25 23:29:04 UTC 2026. +Local time is now: Thu Feb 20 17:07:28 UTC 2025. +Universal Time is now: Thu Feb 20 17:07:28 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up ruby-minitest (5.25.4-2) ... @@ -894,7 +926,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/ruby-gitlab-5.1.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../ruby-gitlab_5.1.0-1_source.changes +I: user script /srv/workspace/pbuilder/4164017/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/4164017/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ruby-gitlab-5.1.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../ruby-gitlab_5.1.0-1_source.changes dpkg-buildpackage: info: source package ruby-gitlab dpkg-buildpackage: info: source version 5.1.0-1 dpkg-buildpackage: info: source distribution unstable @@ -930,7 +966,7 @@ │ ruby-gitlab: Installing files and building extensions for ruby3.3 │ └──────────────────────────────────────────────────────────────────────────────┘ -/usr/bin/ruby3.3 -S gem build --config-file /dev/null --verbose /tmp/d20260325-3779152-dcq0sm/gemspec +/usr/bin/ruby3.3 -S gem build --config-file /dev/null --verbose /tmp/d20250221-4179232-jkuqw3/gemspec WARNING: open-ended dependency on terminal-table (>= 1.5.1) is not recommended if terminal-table is semantically versioned, use: add_runtime_dependency "terminal-table", "~> 1.5", ">= 1.5.1" @@ -951,7 +987,7 @@ Name: gitlab Version: 5.1.0 File: gitlab-5.1.0.gem -/usr/bin/ruby3.3 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-gitlab/usr/share/rubygems-integration/all /tmp/d20260325-3779152-dcq0sm/gitlab-5.1.0.gem +/usr/bin/ruby3.3 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-gitlab/usr/share/rubygems-integration/all /tmp/d20250221-4179232-jkuqw3/gitlab-5.1.0.gem /build/reproducible-path/ruby-gitlab-5.1.0/debian/ruby-gitlab/usr/share/rubygems-integration/all/gems/gitlab-5.1.0/exe/gitlab /build/reproducible-path/ruby-gitlab-5.1.0/debian/ruby-gitlab/usr/share/rubygems-integration/all/gems/gitlab-5.1.0/lib/gitlab.rb /build/reproducible-path/ruby-gitlab-5.1.0/debian/ruby-gitlab/usr/share/rubygems-integration/all/gems/gitlab-5.1.0/lib/gitlab/api.rb @@ -1070,135 +1106,160 @@ RUBYLIB=. GEM_PATH=/build/reproducible-path/ruby-gitlab-5.1.0/debian/ruby-gitlab/usr/share/rubygems-integration/all:/build/reproducible-path/ruby-gitlab-5.1.0/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.3.0:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/aarch64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/aarch64-linux-gnu/rubygems-integration/3.3.0 ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake /usr/bin/ruby3.3 -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 ./spec/gitlab/api_spec.rb ./spec/gitlab/cli_helpers_spec.rb ./spec/gitlab/client_spec.rb ./spec/gitlab/error_spec.rb ./spec/gitlab/file_response_spec.rb ./spec/gitlab/headers/page_links_spec.rb ./spec/gitlab/headers/total_spec.rb ./spec/gitlab/help_spec.rb ./spec/gitlab/objectified_hash_spec.rb ./spec/gitlab/paginated_response_spec.rb ./spec/gitlab/request_spec.rb ./spec/gitlab/shell_history_spec.rb ./spec/gitlab/shell_spec.rb ./spec/gitlab_spec.rb --format documentation -Randomized with seed 22111 +Randomized with seed 59503 + +Gitlab::API + .default_options[:headers] + has 'User-Agent' + +Gitlab::Help + .change_help_output! + returns a String of modified output + formats options hash and return a String of modified output + .namespace + returns the full namespace for a command + .ri_cmd + when ri command found + returns the path to RI + when ri command NOT found + raises RuntimeError + +Gitlab::Headers::Total + .extract_total + extracts total header appropriately Gitlab::ObjectifiedHash - supports legacy addressing mode objectifies a hash + supports legacy addressing mode objectifies a hash contained in an array #respond_to allows to use a symbol to reference a method - allows to use a string to reference a method returns true for methods object responds to through method_missing + allows to use a string to reference a method Hash behavior + warns about calling Hash methods WARNING: Please convert ObjectifiedHash object to hash before calling Hash methods on it. allows to call Hash methods - warns about calling Hash methods + #inspect + returns a formatted string #to_hash returns an original hash has an alias #to_h - #inspect - returns a formatted string + +Gitlab::Headers::PageLinks + .extract_links + extracts link header appropriately + +Gitlab::Request + is expected to respond to #put + is expected to respond to #post + is expected to respond to #get + is expected to respond to #delete + HTTP request methods + does not modify options in-place + does not overwrite headers set via HTTParty configuration + .parse + returns ObjectifiedHash + redirection + redirect PUT + redirect GET + #request_defaults + when endpoint is not set + raises Error::MissingCredentials + when endpoint is set + sets default_params + errors + raises error for 4xx status code without special error class + raises error for 5xx status code without special error class + #authorization_header + sets the correct header when setting an auth_token via the private_token config option + sets the correct header when given a private_token + raises MissingCredentials when auth_token and private_token are not set + .default_options + has default values + ratelimiting + survives a 429 with no Retry-After header + handles one retry then success + tries 4 times when ratelimited with option + tries 3 times when ratelimited by default + +Gitlab::CLI::Helpers + .symbolize_keys + when input is NOT a Hash + returns input untouched + when input is a Hash + returns a Hash with symbols for keys + .valid_command? + returns true when command is valid + returns false when command is NOT valid + .method_owners + returns Array of Hashes containing method names and owners + .yaml_load + when argument is a YAML string + returns Ruby objects + when input is NOT valid YAML + raises a TypeError Gitlab::PaginatedResponse responds to total, *_page and has_*_page methods - .auto_paginate - returns an array if block is not given - .paginate_with_limit - returns a page plus one - iterates items with limit - returns a limited array - iterates exactly the first page - returns exactly the first page - iterates the first page plus one - .client_relative_path - removes the prefix and api version from the link .parse_headers! parses headers when the Link header endpoint does not match the configured endpoint removes the apprpriate prefix from the pagination link - .lazy_paginate - only requests needed pages - returns a lazy enumerator .each_page iterates pages - -Gitlab::FileResponse - .to_hash - has `filename` key and `data` key - .empty? - returns false - .parse_headers! - parses headers - handles quoted filenames - -Gitlab::Headers::PageLinks - .extract_links - extracts link header appropriately - -Gitlab::API - .default_options[:headers] - has 'User-Agent' - -Gitlab - .http_proxy - delegates the method to Gitlab::Request - .auth_token= - sets auth_token - .sudo= - sets sudo - .actions - returns an array of client methods - .user_agent - returns default user_agent - .client - is a Gitlab::Client - sets private_token to the auth_token when provided - does not override each other - .user_agent= - sets user_agent - .endpoint= - sets endpoint - .private_token= - sets private_token - .configure - sets sudo - sets pat_prefix - sets endpoint - sets user_agent - sets httparty - sets private_token - -Gitlab::Help - .change_help_output! - returns a String of modified output - formats options hash and return a String of modified output - .ri_cmd - when ri command found - returns the path to RI - when ri command NOT found - raises RuntimeError - .namespace - returns the full namespace for a command + .paginate_with_limit + iterates the first page plus one + iterates items with limit + iterates exactly the first page + returns a page plus one + returns a limited array + returns exactly the first page + .lazy_paginate + returns a lazy enumerator + only requests needed pages + .auto_paginate + returns an array if block is not given + .client_relative_path + removes the prefix and api version from the link Gitlab::Error::ResponseError returns the expected message returns the expected message - builds an error message from parsed json returns the expected message returns the expected message builds an error message from text returns the expected message returns the expected message - parsing errors - builds an error message from text + builds an error message from parsed json #error_code returns the value when available returns nothing when unavailable + parsing errors + builds an error message from text -Gitlab::Headers::Total - .extract_total - extracts total header appropriately +Gitlab::Shell::History + when loading a file + has the lines + when saving to a file + saves the lines + has the lines + limits the lines to GITLAB_HISTFILESIZE Gitlab::Shell - .history - returns a Gitlab::Shell::History instance - responds to :load - responds to :save - responds to :<< .setup sets the Readline completion_proc sets the Readline completion_append_character + .parse_input + with arguments + sets command & arguments + without arguments + sets command & empty arguments + .history + responds to :save + responds to :<< + returns a Gitlab::Shell::History instance + responds to :load .completion returns a Proc object when called with an argument @@ -1206,88 +1267,63 @@ .execute when invalid command raises RuntimeError - .parse_input - with arguments - sets command & arguments - without arguments - sets command & empty arguments Gitlab::Client #inspect - with empty private token - is expected to include "@private_token=\"****\"" + with a some lengthy private token + is expected to include "@private_token=\"******oken\"" with a known private token is expected to include "@endpoint=" is expected to include "@private_token=\"****oint\"" - with a some lengthy private token - is expected to include "@private_token=\"******oken\"" - with short private token - is expected to include "@private_token=\"****\"" without private token is expected not to include "@private_token=" + with short private token + is expected to include "@private_token=\"****\"" + with empty private token + is expected to include "@private_token=\"****\"" -Gitlab::Request - is expected to respond to #post - is expected to respond to #put - is expected to respond to #delete - is expected to respond to #get - redirection - redirect GET - redirect PUT - errors - raises error for 4xx status code without special error class - raises error for 5xx status code without special error class - .default_options - has default values - .parse - returns ObjectifiedHash - #authorization_header - sets the correct header when setting an auth_token via the private_token config option - sets the correct header when given a private_token - raises MissingCredentials when auth_token and private_token are not set - HTTP request methods - does not overwrite headers set via HTTParty configuration - does not modify options in-place - #request_defaults - when endpoint is set - sets default_params - when endpoint is not set - raises Error::MissingCredentials - ratelimiting - tries 4 times when ratelimited with option - tries 3 times when ratelimited by default - survives a 429 with no Retry-After header - handles one retry then success - -Gitlab::Shell::History - when loading a file - has the lines - when saving to a file - has the lines - saves the lines - limits the lines to GITLAB_HISTFILESIZE +Gitlab::FileResponse + .empty? + returns false + .to_hash + has `filename` key and `data` key + .parse_headers! + handles quoted filenames + parses headers -Gitlab::CLI::Helpers - .symbolize_keys - when input is NOT a Hash - returns input untouched - when input is a Hash - returns a Hash with symbols for keys - .method_owners - returns Array of Hashes containing method names and owners - .yaml_load - when argument is a YAML string - returns Ruby objects - when input is NOT valid YAML - raises a TypeError - .valid_command? - returns true when command is valid - returns false when command is NOT valid +Gitlab + .client + does not override each other + is a Gitlab::Client + sets private_token to the auth_token when provided + .private_token= + sets private_token + .auth_token= + sets auth_token + .endpoint= + sets endpoint + .sudo= + sets sudo + .user_agent + returns default user_agent + .http_proxy + delegates the method to Gitlab::Request + .configure + sets pat_prefix + sets endpoint + sets private_token + sets httparty + sets sudo + sets user_agent + .user_agent= + sets user_agent + .actions + returns an array of client methods -Finished in 10.26 seconds (files took 0.59584 seconds to load) +Finished in 10.81 seconds (files took 2.16 seconds to load) 114 examples, 0 failures -Randomized with seed 22111 +Randomized with seed 59503 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1322,12 +1358,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/4164017/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/4164017/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/3773437 and its subdirectories -I: Current time: Wed Mar 25 11:29:32 -12 2026 -I: pbuilder-time-stamp: 1774481372 +I: removing directory /srv/workspace/pbuilder/4164017 and its subdirectories +I: Current time: Fri Feb 21 07:08:51 +14 2025 +I: pbuilder-time-stamp: 1740071331