Diff of the two buildlogs: -- --- b1/build.log 2025-04-18 04:45:10.865790602 +0000 +++ b2/build.log 2025-04-18 04:47:03.311396515 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Apr 17 16:41:25 -12 2025 -I: pbuilder-time-stamp: 1744951285 +I: Current time: Fri Apr 18 18:45:20 +14 2025 +I: pbuilder-time-stamp: 1744951520 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-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/6110/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/31307/tmp/hooks/D01_modify_environment starting +debug: Running on virt64c. +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 Apr 18 04:45 /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/31307/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/31307/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='armhf' + 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]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='4e6b979b190e49cea212d49e68e54911' - 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='6110' - PS1='# ' - PS2='> ' + INVOCATION_ID=3f27d45885714d9a8417097cfeba550c + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=31307 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.VqFt5TI2/pbuilderrc_r6nG --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.VqFt5TI2/b1 --logfile b1/build.log ruby-gitlab_5.1.0-1.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.VqFt5TI2/pbuilderrc_8UfV --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.VqFt5TI2/b2 --logfile b2/build.log ruby-gitlab_5.1.0-1.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt32a 6.1.0-33-armmp-lpae #1 SMP Debian 6.1.133-1 (2025-04-10) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-33-arm64 #1 SMP Debian 6.1.133-1 (2025-04-10) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/6110/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/31307/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -252,7 +284,7 @@ Get: 131 http://deb.debian.org/debian trixie/main armhf ruby-unicode-display-width all 1.6.1-1 [10.3 kB] Get: 132 http://deb.debian.org/debian trixie/main armhf ruby-terminal-table all 3.0.2-1 [17.7 kB] Get: 133 http://deb.debian.org/debian trixie/main armhf ruby-webmock all 3.25.1-1 [68.8 kB] -Fetched 33.9 MB in 4s (7721 kB/s) +Fetched 33.9 MB in 1s (54.8 MB/s) Preconfiguring packages ... Selecting previously unselected package libpython3.13-minimal:armhf. (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 ... 19566 files and directories currently installed.) @@ -694,8 +726,8 @@ Setting up tzdata (2025b-2) ... Current default time zone: 'Etc/UTC' -Local time is now: Fri Apr 18 04:44:12 UTC 2025. -Universal Time is now: Fri Apr 18 04:44:12 UTC 2025. +Local time is now: Fri Apr 18 04:46:10 UTC 2025. +Universal Time is now: Fri Apr 18 04:46:10 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up ruby-minitest (5.25.4-2) ... @@ -819,7 +851,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/31307/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/31307/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 @@ -855,7 +891,7 @@ │ ruby-gitlab: Installing files and building extensions for ruby3.3 │ └──────────────────────────────────────────────────────────────────────────────┘ -/usr/bin/ruby3.3 -S gem build --config-file /dev/null --verbose /tmp/d20250417-13051-11k9lj/gemspec +/usr/bin/ruby3.3 -S gem build --config-file /dev/null --verbose /tmp/d20250418-3964-ao28sm/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" @@ -876,7 +912,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/d20250417-13051-11k9lj/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/d20250418-3964-ao28sm/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 @@ -995,142 +1031,100 @@ 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/arm-linux-gnueabihf/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/arm-linux-gnueabihf/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 17974 +Randomized with seed 27736 -Gitlab::Request - is expected to respond to #put - is expected to respond to #delete - is expected to respond to #get - is expected to respond to #post - 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 - .parse - returns ObjectifiedHash - #authorization_header - sets the correct header when setting an auth_token via the private_token config option - raises MissingCredentials when auth_token and private_token are not set - sets the correct header when given a private_token - redirection - redirect GET - redirect PUT - .default_options - has default values - ratelimiting - survives a 429 with no Retry-After header - handles one retry then success - tries 3 times when ratelimited by default - tries 4 times when ratelimited with option - errors - raises error for 5xx status code without special error class - raises error for 4xx status code without special error class - -Gitlab::Headers::Total - .extract_total - extracts total header appropriately - -Gitlab::Client - #inspect - with a known private token - is expected to include "@endpoint=" - is expected to include "@private_token=\"****oint\"" - 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=\"****\"" - with a some lengthy private token - is expected to include "@private_token=\"******oken\"" - -Gitlab::FileResponse - .empty? - returns false - .to_hash - has `filename` key and `data` key +Gitlab::PaginatedResponse + responds to total, *_page and has_*_page methods + .paginate_with_limit + iterates the first page plus one + returns exactly the first page + iterates items with limit + returns a limited array + iterates exactly the first page + returns a page plus one + .each_page + iterates pages .parse_headers! - handles quoted filenames 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 + .auto_paginate + returns an array if block is not given + .client_relative_path + removes the prefix and api version from the link -Gitlab::Headers::PageLinks - .extract_links - extracts link header appropriately +Gitlab::Help + .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 + .change_help_output! + returns a String of modified output + formats options hash and return a String of modified output -Gitlab - .user_agent - returns default user_agent - .sudo= - sets sudo - .http_proxy - delegates the method to Gitlab::Request - .endpoint= - sets endpoint - .private_token= - sets private_token - .configure - sets user_agent - sets sudo - sets httparty - sets pat_prefix - sets private_token - sets endpoint - .actions - returns an array of client methods - .client - does not override each other - sets private_token to the auth_token when provided - is a Gitlab::Client - .auth_token= - sets auth_token - .user_agent= - sets user_agent +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::CLI::Helpers - .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 - .method_owners - returns Array of Hashes containing method names and owners + .yaml_load + when input is NOT valid YAML + raises a TypeError + when argument is a YAML string + returns Ruby objects .symbolize_keys when input is a Hash returns a Hash with symbols for keys when input is NOT a Hash returns input untouched + .method_owners + returns Array of Hashes containing method names and owners -Gitlab::PaginatedResponse - responds to total, *_page and has_*_page methods - .each_page - iterates pages - .auto_paginate - returns an array if block is not given - .paginate_with_limit - returns a page plus one - returns exactly the first page - iterates the first page plus one - returns a limited array - iterates exactly the first page - iterates items with limit - .lazy_paginate - returns a lazy enumerator - only requests needed pages - .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 +Gitlab::Headers::PageLinks + .extract_links + extracts link header appropriately + +Gitlab::ObjectifiedHash + objectifies a hash contained in an array + objectifies a hash + supports legacy addressing mode + #to_hash + has an alias #to_h + returns an original hash + Hash behavior +WARNING: Please convert ObjectifiedHash object to hash before calling Hash methods on it. + allows to call Hash methods + warns about calling Hash methods + #respond_to + returns true for methods object responds to through method_missing + allows to use a symbol to reference a method + allows to use a string to reference a method + #inspect + returns a formatted string + +Gitlab::API + .default_options[:headers] + has 'User-Agent' Gitlab::Shell + .history + returns a Gitlab::Shell::History instance + responds to :save + responds to :load + responds to :<< .execute when invalid command raises RuntimeError @@ -1139,80 +1133,122 @@ sets command & empty arguments with arguments sets command & arguments + .setup + sets the Readline completion_proc + sets the Readline completion_append_character .completion returns a Proc object when called with an argument returns an Array of matching commands - .history - responds to :load - responds to :save - returns a Gitlab::Shell::History instance - responds to :<< - .setup - sets the Readline completion_append_character - sets the Readline completion_proc - -Gitlab::Help - .ri_cmd - when ri command NOT found - raises RuntimeError - when ri command found - returns the path to RI - .namespace - returns the full namespace for a command - .change_help_output! - formats options hash and return a String of modified output - returns a String of modified output Gitlab::Error::ResponseError - builds an error message from parsed json returns the expected message + builds an error message from text returns the expected message returns the expected message returns the expected message returns the expected message - builds an error message from text returns the expected message + builds an error message from parsed json parsing errors builds an error message from text #error_code - returns the value when available returns nothing when unavailable + returns the value when available -Gitlab::API - .default_options[:headers] - has 'User-Agent' - -Gitlab::ObjectifiedHash - supports legacy addressing mode - objectifies a hash - objectifies a hash contained in an array - #to_hash - has an alias #to_h - returns an original hash +Gitlab::Client #inspect - returns a formatted string - #respond_to - returns true for methods object responds to through method_missing - allows to use a symbol to reference a method - 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 + with short private token + is expected to include "@private_token=\"****\"" + with a known private token + is expected to include "@private_token=\"****oint\"" + is expected to include "@endpoint=" + with a some lengthy private token + is expected to include "@private_token=\"******oken\"" + without private token + is expected not to include "@private_token=" + with empty private token + is expected to include "@private_token=\"****\"" -Gitlab::Shell::History - when saving to a file - saves the lines - limits the lines to GITLAB_HISTFILESIZE - has the lines - when loading a file - has the lines +Gitlab::FileResponse + .to_hash + has `filename` key and `data` key + .empty? + returns false + .parse_headers! + parses headers + handles quoted filenames + +Gitlab + .http_proxy + delegates the method to Gitlab::Request + .user_agent + returns default user_agent + .private_token= + sets private_token + .auth_token= + sets auth_token + .endpoint= + sets endpoint + .client + is a Gitlab::Client + sets private_token to the auth_token when provided + does not override each other + .actions + returns an array of client methods + .user_agent= + sets user_agent + .configure + sets user_agent + sets sudo + sets private_token + sets pat_prefix + sets endpoint + sets httparty + .sudo= + sets sudo + +Gitlab::Headers::Total + .extract_total + extracts total header appropriately + +Gitlab::Request + is expected to respond to #put + is expected to respond to #post + is expected to respond to #delete + is expected to respond to #get + errors + raises error for 5xx status code without special error class + raises error for 4xx status code without special error class + #request_defaults + when endpoint is not set + raises Error::MissingCredentials + when endpoint is set + sets default_params + redirection + redirect PUT + redirect GET + #authorization_header + raises MissingCredentials when auth_token and private_token are not set + sets the correct header when setting an auth_token via the private_token config option + sets the correct header when given a private_token + .parse + returns ObjectifiedHash + HTTP request methods + does not overwrite headers set via HTTParty configuration + does not modify options in-place + ratelimiting + survives a 429 with no Retry-After header + tries 3 times when ratelimited by default + tries 4 times when ratelimited with option + handles one retry then success + .default_options + has default values -Finished in 10.67 seconds (files took 3.12 seconds to load) +Finished in 10.55 seconds (files took 1.82 seconds to load) 114 examples, 0 failures -Randomized with seed 17974 +Randomized with seed 27736 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1247,12 +1283,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/31307/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/31307/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/6110 and its subdirectories -I: Current time: Thu Apr 17 16:45:06 -12 2025 -I: pbuilder-time-stamp: 1744951506 +I: removing directory /srv/workspace/pbuilder/31307 and its subdirectories +I: Current time: Fri Apr 18 18:46:59 +14 2025 +I: pbuilder-time-stamp: 1744951619