Diff of the two buildlogs: -- --- b1/build.log 2025-03-17 09:18:59.749243192 +0000 +++ b2/build.log 2025-03-17 09:21:18.275054786 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Mar 16 21:17:30 -12 2025 -I: pbuilder-time-stamp: 1742203050 +I: Current time: Mon Mar 17 23:19:08 +14 2025 +I: pbuilder-time-stamp: 1742203148 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/7617/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/16078/tmp/hooks/D01_modify_environment starting +debug: Running on virt32a. +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 Mar 17 09:19 /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/16078/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/16078/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='unstable' - 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=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='e1ba3509cccf4c57bd374b0ede94386a' - 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='7617' - PS1='# ' - PS2='> ' + INVOCATION_ID=43169808798e4988a623d4f250cd7d8c + 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=16078 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.RDVQBKWG/pbuilderrc_J22i --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.RDVQBKWG/b1 --logfile b1/build.log ruby-gitlab_5.1.0-1.dsc' - SUDO_GID='110' - SUDO_UID='103' - 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.RDVQBKWG/pbuilderrc_NDeX --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.RDVQBKWG/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 virt64z 6.1.0-32-arm64 #1 SMP Debian 6.1.129-1 (2025-03-06) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-32-armmp-lpae #1 SMP Debian 6.1.129-1 (2025-03-06) armv7l GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/7617/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/16078/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -82,7 +114,7 @@ Depends: debhelper-compat (= 13), gem2deb, rake, ruby, ruby-httparty (>= 0.18), ruby-rspec, ruby-terminal-table, ruby-webmock dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. -(Reading database ... 19509 files and directories currently installed.) +(Reading database ... 19559 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: @@ -267,10 +299,10 @@ Get: 146 http://deb.debian.org/debian unstable/main armhf ruby-unicode-display-width all 1.6.1-1 [10.3 kB] Get: 147 http://deb.debian.org/debian unstable/main armhf ruby-terminal-table all 3.0.2-1 [17.7 kB] Get: 148 http://deb.debian.org/debian unstable/main armhf ruby-webmock all 3.25.1-1 [68.8 kB] -Fetched 47.2 MB in 6s (7617 kB/s) +Fetched 47.2 MB in 1s (57.2 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 ... 19509 files and directories currently installed.) +(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 ... 19559 files and directories currently installed.) Preparing to unpack .../libpython3.13-minimal_3.13.2-2_armhf.deb ... Unpacking libpython3.13-minimal:armhf (3.13.2-2) ... Selecting previously unselected package libexpat1:armhf. @@ -283,7 +315,7 @@ Setting up libexpat1:armhf (2.7.0-1) ... Setting up python3.13-minimal (3.13.2-2) ... Selecting previously unselected package python3-minimal. -(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 ... 19843 files and directories currently installed.) +(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 ... 19893 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.13.2-2_armhf.deb ... Unpacking python3-minimal (3.13.2-2) ... Selecting previously unselected package media-types. @@ -319,7 +351,7 @@ Unpacking libpython3-stdlib:armhf (3.13.2-2) ... Setting up python3-minimal (3.13.2-2) ... Selecting previously unselected package python3. -(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 ... 20853 files and directories currently installed.) +(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 ... 20903 files and directories currently installed.) Preparing to unpack .../000-python3_3.13.2-2_armhf.deb ... Unpacking python3 (3.13.2-2) ... Selecting previously unselected package sensible-utils. @@ -756,8 +788,8 @@ Setting up tzdata (2025a-2) ... Current default time zone: 'Etc/UTC' -Local time is now: Mon Mar 17 09:18:18 UTC 2025. -Universal Time is now: Mon Mar 17 09:18:18 UTC 2025. +Local time is now: Mon Mar 17 09:20:03 UTC 2025. +Universal Time is now: Mon Mar 17 09:20:03 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/16078/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/16078/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/d20250316-12598-1qjtf7/gemspec +/usr/bin/ruby3.3 -S gem build --config-file /dev/null --verbose /tmp/d20250317-21439-q81wa4/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/d20250316-12598-1qjtf7/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/d20250317-21439-q81wa4/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,224 +1106,224 @@ 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 45887 - -Gitlab::Request - is expected to respond to #delete - is expected to respond to #post - is expected to respond to #get - is expected to respond to #put - .parse - returns ObjectifiedHash - 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 - #authorization_header - raises MissingCredentials when auth_token and private_token are not set - sets the correct header when given a private_token - sets the correct header when setting an auth_token via the private_token config option - HTTP request methods - does not modify options in-place - does not overwrite headers set via HTTParty configuration - #request_defaults - when endpoint is set - sets default_params - when endpoint is not set - raises Error::MissingCredentials - .default_options - has default values - errors - raises error for 4xx status code without special error class - raises error for 5xx status code without special error class - redirection - redirect PUT - redirect GET +Randomized with seed 61940 Gitlab::Headers::Total .extract_total extracts total header appropriately +Gitlab::API + .default_options[:headers] + has 'User-Agent' + +Gitlab::Help + .change_help_output! + formats options hash and return a String of modified output + returns a String of modified output + .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 + Gitlab::ObjectifiedHash - objectifies a hash objectifies a hash contained in an array + objectifies a hash supports legacy addressing mode + #inspect + returns a formatted string 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 #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 - #inspect - returns a formatted string #to_hash returns an original hash has an alias #to_h -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 - .symbolize_keys - when input is NOT a Hash - returns input untouched - when input is a Hash - returns a Hash with symbols for keys - -Gitlab::FileResponse - .parse_headers! - handles quoted filenames - parses headers - .empty? - returns false - .to_hash - has `filename` key and `data` key - -Gitlab::Help - .ri_cmd - when ri command found - returns the path to RI - when ri command NOT found - raises RuntimeError - .change_help_output! - formats options hash and return a String of modified output - returns a String of modified output - .namespace - returns the full namespace for a command - -Gitlab::API - .default_options[:headers] - has 'User-Agent' - -Gitlab::PaginatedResponse - responds to total, *_page and has_*_page methods - .client_relative_path - removes the prefix and api version from the link - .paginate_with_limit - returns a page plus one - returns exactly the first page - iterates exactly the first page - returns a limited array - iterates the first page plus one - iterates items with limit - .parse_headers! - parses headers - when the Link header endpoint does not match the configured endpoint - removes the apprpriate prefix from the pagination link - .each_page - iterates pages - .lazy_paginate - returns a lazy enumerator - only requests needed pages - .auto_paginate - returns an array if block is not given - 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 returns the expected message - #error_code - returns nothing when unavailable - returns the value when available + 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 -Gitlab::Headers::PageLinks - .extract_links - extracts link header appropriately +Gitlab::Shell::History + when loading a file + has the lines + when saving to a file + saves the lines + limits the lines to GITLAB_HISTFILESIZE + has the lines Gitlab::Shell - .setup - sets the Readline completion_proc - sets the Readline completion_append_character .execute when invalid command raises RuntimeError - .completion - returns a Proc object - when called with an argument - returns an Array of matching commands .history returns a Gitlab::Shell::History instance - responds to :save responds to :load + responds to :save responds to :<< + .completion + returns a Proc object + when called with an argument + returns an Array of matching commands .parse_input with arguments sets command & arguments without arguments sets command & empty arguments + .setup + sets the Readline completion_proc + sets the Readline completion_append_character + +Gitlab::CLI::Helpers + .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 false when command is NOT valid + returns true when command is valid + .symbolize_keys + when input is NOT a Hash + returns input untouched + when input is a Hash + returns a Hash with symbols for keys + +Gitlab::FileResponse + .empty? + returns false + .parse_headers! + parses headers + handles quoted filenames + .to_hash + has `filename` key and `data` key + +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 + HTTP request methods + does not modify options in-place + does not overwrite headers set via HTTParty configuration + .parse + returns ObjectifiedHash + errors + raises error for 4xx status code without special error class + raises error for 5xx status code without special error class + #authorization_header + raises MissingCredentials when auth_token and private_token are not set + sets the correct header when given a private_token + sets the correct header when setting an auth_token via the private_token config option + redirection + redirect GET + redirect PUT + ratelimiting + tries 4 times when ratelimited with option + handles one retry then success + tries 3 times when ratelimited by default + survives a 429 with no Retry-After header + .default_options + has default values + #request_defaults + when endpoint is set + sets default_params + when endpoint is not set + raises Error::MissingCredentials Gitlab .private_token= sets private_token - .user_agent= - sets user_agent + .sudo= + sets sudo + .actions + returns an array of client methods .endpoint= sets endpoint - .http_proxy - delegates the method to Gitlab::Request .auth_token= sets auth_token - .actions - returns an array of client methods .configure - sets user_agent - sets private_token - sets httparty - sets pat_prefix sets sudo sets endpoint + sets private_token + sets pat_prefix + sets user_agent + sets httparty .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 - is a Gitlab::Client - .sudo= - sets sudo - -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 + .http_proxy + delegates the method to Gitlab::Request + .user_agent= + sets user_agent Gitlab::Client #inspect with a known private token - is expected to include "@endpoint=" is expected to include "@private_token=\"****oint\"" - with empty private token - is expected to include "@private_token=\"****\"" + is expected to include "@endpoint=" without private token is expected not to include "@private_token=" + with empty private token + is expected to include "@private_token=\"****\"" with short private token is expected to include "@private_token=\"****\"" with a some lengthy private token is expected to include "@private_token=\"******oken\"" -Finished in 10.4 seconds (files took 1.2 seconds to load) +Gitlab::Headers::PageLinks + .extract_links + extracts link header appropriately + +Gitlab::PaginatedResponse + responds to total, *_page and has_*_page methods + .each_page + iterates pages + .lazy_paginate + only requests needed pages + returns a lazy enumerator + .auto_paginate + returns an array if block is not given + .paginate_with_limit + returns a page plus one + returns exactly the first page + returns a limited array + iterates items with limit + iterates exactly the first page + iterates the first page plus one + .parse_headers! + parses headers + when the Link header endpoint does not match the configured endpoint + removes the apprpriate prefix from the pagination link + .client_relative_path + removes the prefix and api version from the link + +Finished in 13.31 seconds (files took 4.64 seconds to load) 114 examples, 0 failures -Randomized with seed 45887 +Randomized with seed 61940 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -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/16078/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/16078/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/7617 and its subdirectories -I: Current time: Sun Mar 16 21:18:56 -12 2025 -I: pbuilder-time-stamp: 1742203136 +I: removing directory /srv/workspace/pbuilder/16078 and its subdirectories +I: Current time: Mon Mar 17 23:21:14 +14 2025 +I: pbuilder-time-stamp: 1742203274