Diff of the two buildlogs: -- --- b1/build.log 2025-02-14 23:24:23.931511875 +0000 +++ b2/build.log 2025-02-14 23:25:56.919316439 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Feb 14 11:21:31 -12 2025 -I: pbuilder-time-stamp: 1739575291 +I: Current time: Sat Feb 15 13:24:32 +14 2025 +I: pbuilder-time-stamp: 1739575472 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -27,52 +27,84 @@ dpkg-source: info: applying rack3.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3004/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/10973/tmp/hooks/D01_modify_environment starting +debug: Running on virt64z. +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 14 23:24 /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/10973/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/10973/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='53890ee6e76349fba84bc215a8239ffe' - 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='3004' - PS1='# ' - PS2='> ' + INVOCATION_ID=e9cdc6e8345a45d082d7a2fd40aebaf8 + 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=10973 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.xfkao1sY/pbuilderrc_SASp --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.xfkao1sY/b1 --logfile b1/build.log ruby-omniauth_2.1.1-4.dsc' - SUDO_GID='112' - SUDO_UID='106' - 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.xfkao1sY/pbuilderrc_6F8C --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.xfkao1sY/b2 --logfile b2/build.log ruby-omniauth_2.1.1-4.dsc' + SUDO_GID=110 + SUDO_UID=103 + 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 virt32b 6.1.0-31-armmp-lpae #1 SMP Debian 6.1.128-1 (2025-02-07) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-31-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 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3004/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/10973/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -295,7 +327,7 @@ Get: 165 http://deb.debian.org/debian trixie/main armhf ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [90.2 kB] Get: 166 http://deb.debian.org/debian trixie/main armhf ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.3 kB] Get: 167 http://deb.debian.org/debian trixie/main armhf ruby-rspec all 3.13.0c0e0m0s1-2 [5184 B] -Fetched 48.3 MB in 3s (15.7 MB/s) +Fetched 48.3 MB in 4s (11.4 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 ... 19533 files and directories currently installed.) @@ -845,8 +877,8 @@ Setting up tzdata (2024b-6) ... Current default time zone: 'Etc/UTC' -Local time is now: Fri Feb 14 23:23:04 UTC 2025. -Universal Time is now: Fri Feb 14 23:23:04 UTC 2025. +Local time is now: Fri Feb 14 23:25:21 UTC 2025. +Universal Time is now: Fri Feb 14 23:25:21 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up ruby-minitest (5.25.4-2) ... @@ -998,7 +1030,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/ruby-omniauth-2.1.1/ && 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-omniauth_2.1.1-4_source.changes +I: user script /srv/workspace/pbuilder/10973/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/10973/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ruby-omniauth-2.1.1/ && 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-omniauth_2.1.1-4_source.changes dpkg-buildpackage: info: source package ruby-omniauth dpkg-buildpackage: info: source version 2.1.1-4 dpkg-buildpackage: info: source distribution unstable @@ -1035,7 +1071,7 @@ │ ruby-omniauth: Installing files and building extensions for ruby3.3 │ └──────────────────────────────────────────────────────────────────────────────┘ -/usr/bin/ruby3.3 -S gem build --config-file /dev/null --verbose /tmp/d20250214-8257-1lul55/gemspec +/usr/bin/ruby3.3 -S gem build --config-file /dev/null --verbose /tmp/d20250215-16405-pdaw5j/gemspec WARNING: description and summary are identical WARNING: open-ended dependency on hashie (>= 3.4.6) is not recommended if hashie is semantically versioned, use: @@ -1050,7 +1086,7 @@ Name: omniauth Version: 2.1.1 File: omniauth-2.1.1.gem -/usr/bin/ruby3.3 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-omniauth/usr/share/rubygems-integration/all /tmp/d20250214-8257-1lul55/omniauth-2.1.1.gem +/usr/bin/ruby3.3 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-omniauth/usr/share/rubygems-integration/all /tmp/d20250215-16405-pdaw5j/omniauth-2.1.1.gem /build/reproducible-path/ruby-omniauth-2.1.1/debian/ruby-omniauth/usr/share/rubygems-integration/all/gems/omniauth-2.1.1/lib/omniauth.rb /build/reproducible-path/ruby-omniauth-2.1.1/debian/ruby-omniauth/usr/share/rubygems-integration/all/gems/omniauth-2.1.1/lib/omniauth/auth_hash.rb /build/reproducible-path/ruby-omniauth-2.1.1/debian/ruby-omniauth/usr/share/rubygems-integration/all/gems/omniauth-2.1.1/lib/omniauth/authenticity_token_protection.rb @@ -1096,242 +1132,185 @@ RUBYLIB=. GEM_PATH=/build/reproducible-path/ruby-omniauth-2.1.1/debian/ruby-omniauth/usr/share/rubygems-integration/all:/build/reproducible-path/ruby-omniauth-2.1.1/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 --pattern ./spec/\*\*/\*_spec.rb --format documentation -Randomized with seed 28666 - -OmniAuth::Builder - #provider - raises a helpful LoadError message if it can't find the class - accepts a class - doesn't translate a symbol to a top-level constant - translates a symbol to a constant - #on_failure - passes the block to the config - #before_callback_phase - passes the block to the config - #call - passes env to to_app.call - #options - adds an argument if no options are provided - merges provided options in - #configure - passes the block to the config - #before_request_phase - passes the block to the config - #before_options_phase - passes the block to the config - -OmniAuth::KeyStore - on Hashie < 3.5.0 - does not log anything to the console - on Hashie 3.5.2+ - does not log anything to the console - on Hashie 3.5.0 and 3.5.1 - does not log anything to the console +Randomized with seed 38990 OmniAuth - ::Utils - .camelize - replaces / with :: - works in special cases that have been added - works on normal cases - doesn't uppercase the first letter when passed false - form_css - returns a style tag with the configured form_css - .deep_merge - combines hashes - .logger - calls through to the configured logger - .strategies - increases when a new strategy is made configuration - is callable from .configure + is able to set hook on option_call + is able to set the path + is able to set hook on callback_call is able to set the on_failure rack app is able to set request_validation_phase - is able to set the path - is able to set hook on option_call + is callable from .configure is able to set hook on request_call - is able to set hook on callback_call mock auth + default is AuthHash sets facebook attributes facebook is AuthHash does not mutate given auth hash - default is AuthHash .defaults is a hash of default configuration + .logger + calls through to the configured logger + .strategies + increases when a new strategy is made + ::Utils + .camelize + works on normal cases + doesn't uppercase the first letter when passed false + works in special cases that have been added + replaces / with :: + .deep_merge + combines hashes + form_css + returns a style tag with the configured form_css -OmniAuth::FailureEndpoint - non-raise-out environment - includes the SCRIPT_NAME - escapes the message key - respects the custom path prefix configured on the strategy - respects the globally configured path prefix - includes the origin (escaped) if one is provided - is a redirect - raise-out environment - raises out an OmniAuth::Error if no omniauth.error is set - raises out the error +OmniAuth::KeyStore + on Hashie < 3.5.0 + does not log anything to the console + on Hashie 3.5.2+ + does not log anything to the console + on Hashie 3.5.0 and 3.5.1 + does not log anything to the console OmniAuth::AuthHash - has a subkey_class converts a supplied info key into an InfoHash object does not try to parse `string` as InfoHash - #valid? - requires a uid - requires a provider - requires a name in the user info hash - is valid with the right parameters + has a subkey_class + #name + displays only a first or last name if only that is available + falls back to go to first_name last_name concatenation + displays the nickname if no name, first, or last is available + defaults to the name key + displays the email if no name, first, last, or nick is available #to_hash + converts an info hash as well has string keys + supplies the calculated name in the converted hash is a plain old hash does not pollute the URL hash with 'name' etc - supplies the calculated name in the converted hash - converts an info hash as well + #valid? + requires a uid + requires a name in the user info hash + is valid with the right parameters + requires a provider OmniAuth::AuthHash::InfoHash has a subkey_class #valid? is valid if there is a name with Hashie 3.5.1+ does not log anything in Hashie 3.5.1+ - #name - defaults to the name key - displays only a first or last name if only that is available - falls back to go to first_name last_name concatenation - displays the email if no name, first, last, or nick is available - displays the nickname if no name, first, or last is available OmniAuth::Strategy is the current class's proc call if one exists inherits by merging with preference for the latest class - is the current class's proc call if one exists inherits by merging with preference for the latest class + is the current class's proc call if one exists inherits by merging with preference for the latest class is the current class's proc call if one exists + #full_host + remains calm when there is a pipe in the URL + #auth_hash + returns an AuthHash + calls through to uid, info, credentials, and extra + request_phase + raises a NotImplementedError + #skip_info? + is false by default + is true if options.skip_info is true + is false if options.skip_info is false + is true if options.skip_info is a callable that evaluates to truthy + .args + accepts corresponding options as default arg values + sets args to the specified argument if there is one + is inheritable fetcher procs .uid sets and retrieve a proc - .info - sets and retrieve a proc .credentials sets and retrieve a proc + .info + sets and retrieve a proc .extra sets and retrieve a proc - #inspect - returns the class name + .option + sets the default value to nil if none is provided + sets a default value + #redirect + uses javascript if :iframe is true (PENDING: Temporarily skipped with xit) + #call + duplicates and calls + raises NoSessionError if rack.session isn't set + #fail! + provides a generic message when not provided an exception + provides exception information when one is provided #call - redirects to the fail! result when encountering an unhandled exception calls fail! when encountering an unhandled exception + redirects to the fail! result when encountering an unhandled exception + custom prefix + uses a custom prefix for callback + uses a custom prefix for request + callback_url + uses a custom prefix + preserves the query parameters options mutation - in callback phase - does not affect deep options - does not affect original options in request phase + does not affect original options + does not affect deep options + in callback phase does not affect deep options does not affect original options - dynamic paths - runs the request phase if the custom request path evaluator is truthy - correctly reports the callback path when the custom callback path evaluator is truthy - provides a custom callback path if request_path evals to a string - runs the callback phase if the custom callback path evaluator is truthy - test mode - sets omniauth.params with query params on the request phase - executes request hook on the request phase - does not set body parameters of POST request on the request phase - maintains query string parameters - rescues errors in request_call - short circuits the request phase entirely - responds with a provider-specific hash if one is set - turns omniauth.params into an env variable on the callback phase - doesn't short circuit the request if request method is not allowed - simulates login failure if mocked data is set as a symbol - does not short circuit requests outside of authentication - respects SCRIPT_NAME (a.k.a. BaseURI) - is case insensitive on request path - responds with the default hash if none is set - executes callback hook on the callback phase - is case insensitive on callback path - respects SCRIPT_NAME (a.k.a. BaseURI) on failure - maintains host and port - turns omniauth.origin into an env variable on the callback phase - redirects on failure - omniauth.origin - custom - sets omniauth.origin from a custom param - disabled - does not set omniauth.origin - default flow - sets omniauth.origin to the HTTP_REFERER on the request phase by default - sets omniauth.origin from the params if provided omniauth.origin + custom + sets from a custom param + disabled + does not set omniauth.origin default flow - is set on the failure env - is set on the request phase is turned into an env variable on the callback phase sets from the params if provided + is set on the request phase + is set on the failure env with script_name - is turned into an env variable on the callback phase, containing full path is set on the request phase, containing full path - custom - sets from a custom param - disabled - does not set omniauth.origin - request method restriction - does not allow a request method of the wrong type - allows a request method of the correct type + is turned into an env variable on the callback phase, containing full path + custom paths + uses a custom callback_path if one is provided + uses a custom request_path if one is provided + callback_url + preserves the query parameters + uses a custom callback_path if one is provided with relative url root accepts the request accepts the callback - error during auth phase - passes the error to fail!() callback_url redirects to the correctly prefixed callback - error during call_app! - raises the application error + error during auth phase + passes the error to fail!() custom request does not prefix a custom request path - :form option - calls through to the app if :form => true is set as an option - calls through to the supplied form option if one exists - custom prefix - uses a custom prefix for callback - uses a custom prefix for request - callback_url - preserves the query parameters - uses a custom prefix - custom paths - uses a custom callback_path if one is provided - uses a custom request_path if one is provided - callback_url - preserves the query parameters - uses a custom callback_path if one is provided - custom full_host - runs the proc with the env when it is a proc - is based on the request if it's not a string nor a proc - honors HTTP_X_FORWARDED_PROTO if present - is the string when a string is there + error during call_app! + raises the application error + dynamic paths + correctly reports the callback path when the custom callback path evaluator is truthy + provides a custom callback path if request_path evals to a string + runs the callback phase if the custom callback path evaluator is truthy + runs the request phase if the custom request path evaluator is truthy + when in test mode and path not on request path + does not verify token receiving an OPTIONS request + to some other path + does not short-circuit the request to the request path behaves like an OPTIONS request - sets the Allow header properly responds with 200 - to some other path - does not short-circuit the request + sets the Allow header properly to the request path behaves like an OPTIONS request sets the Allow header properly responds with 200 - when in test mode and path not on request path - does not verify token - default paths - uses the default request path - strips trailing spaces on callback - uses the default callback path - is case insensitive on callback path - strips trailing spaces on request - is case insensitive on request path - callback_url - preserves the query parameters - uses the default callback_path - consider script name + :form option + calls through to the supplied form option if one exists + calls through to the app if :form => true is set as an option authenticity validation with custom allow_if proc allows a valid request @@ -1342,110 +1321,167 @@ when not login path is requested does not log warning message with default POST only request methods - does not allow a request without a matching authenticity token allows a request with matching authenticity_token - #skip_info? - is true if options.skip_info is true - is false if options.skip_info is false - is true if options.skip_info is a callable that evaluates to truthy - is false by default - #full_host - remains calm when there is a pipe in the URL - #fail! - provides a generic message when not provided an exception - provides exception information when one is provided - #redirect - uses javascript if :iframe is true (PENDING: Temporarily skipped with xit) - setup phase - when options[:setup] = true - does not call through on a non-omniauth endpoint - calls through to /auth/:provider/setup - when options[:setup] is an app - calls the rack app - does not call the app on a non-omniauth endpoint - #uid - inherits if it can - is the current class's uid if one exists - .default_options - is inherited from a parent class + does not allow a request without a matching authenticity token + custom full_host + honors HTTP_X_FORWARDED_PROTO if present + runs the proc with the env when it is a proc + is based on the request if it's not a string nor a proc + is the string when a string is there + default paths + is case insensitive on callback path + is case insensitive on request path + uses the default request path + uses the default callback path + strips trailing spaces on request + strips trailing spaces on callback + callback_url + consider script name + uses the default callback_path + preserves the query parameters + test mode + redirects on failure + respects SCRIPT_NAME (a.k.a. BaseURI) on failure + responds with the default hash if none is set + short circuits the request phase entirely + respects SCRIPT_NAME (a.k.a. BaseURI) + turns omniauth.params into an env variable on the callback phase + executes callback hook on the callback phase + responds with a provider-specific hash if one is set + maintains query string parameters + rescues errors in request_call + doesn't short circuit the request if request method is not allowed + is case insensitive on request path + executes request hook on the request phase + is case insensitive on callback path + simulates login failure if mocked data is set as a symbol + does not set body parameters of POST request on the request phase + sets omniauth.params with query params on the request phase + maintains host and port + does not short circuit requests outside of authentication + turns omniauth.origin into an env variable on the callback phase + omniauth.origin + custom + sets omniauth.origin from a custom param + disabled + does not set omniauth.origin + default flow + sets omniauth.origin from the params if provided + sets omniauth.origin to the HTTP_REFERER on the request phase by default + request method restriction + allows a request method of the correct type + does not allow a request method of the wrong type + #inspect + returns the class name #callback_phase sets the auth hash - .option - sets a default value - sets the default value to nil if none is provided - request_phase - raises a NotImplementedError .configure takes a hash and deep merge it when block is passed works when block doesn't evaluate to true allows for default options setting + #initialize + custom args + sets options based on the arguments if they are supplied + options extraction + is the default options if any are provided + is the last argument if the last argument is a Hash + #uid + inherits if it can + is the current class's uid if one exists user_info should default to an empty hash - .args - accepts corresponding options as default arg values - is inheritable - sets args to the specified argument if there is one + .default_options + is inherited from a parent class fetcher stacks - .extra_stack - is an array of called ancestral procs .uid_stack is an array of called ancestral procs + .info_stack + is an array of called ancestral procs .credentials_stack is an array of called ancestral procs - .info_stack + .extra_stack is an array of called ancestral procs - #initialize - custom args - sets options based on the arguments if they are supplied - options extraction - is the default options if any are provided - is the last argument if the last argument is a Hash - #call - raises NoSessionError if rack.session isn't set - duplicates and calls - #auth_hash - calls through to uid, info, credentials, and extra - returns an AuthHash - -OmniAuth::Strategies::Developer - request phase - has the callback as the action for the form - displays a form - has a text field for each of the fields - callback phase - with custom options - sets info fields properly - sets the uid properly - with default options - sets the uid to the email - sets the name in the auth hash - sets the email in the auth hash + setup phase + when options[:setup] is an app + does not call the app on a non-omniauth endpoint + calls the rack app + when options[:setup] = true + does not call through on a non-omniauth endpoint + calls through to /auth/:provider/setup OmniAuth::Form #initialize sets an H1 tag from the passed :title option sets the form action to the passed :url option - #html - appends to the html body .build - yields the instance when called with a block and argument evaluates in the instance when called with a block and no argument + yields the instance when called with a block and argument + #html + appends to the html body #password_field adds a labeled input field fieldset creates a fieldset with options +OmniAuth::FailureEndpoint + non-raise-out environment + includes the origin (escaped) if one is provided + escapes the message key + is a redirect + respects the custom path prefix configured on the strategy + respects the globally configured path prefix + includes the SCRIPT_NAME + raise-out environment + raises out the error + raises out an OmniAuth::Error if no omniauth.error is set + +OmniAuth::Strategies::Developer + callback phase + with custom options + sets the uid properly + sets info fields properly + with default options + sets the name in the auth hash + sets the uid to the email + sets the email in the auth hash + request phase + has the callback as the action for the form + displays a form + has a text field for each of the fields + +OmniAuth::Builder + #before_options_phase + passes the block to the config + #call + passes env to to_app.call + #provider + accepts a class + raises a helpful LoadError message if it can't find the class + translates a symbol to a constant + doesn't translate a symbol to a top-level constant + #before_request_phase + passes the block to the config + #configure + passes the block to the config + #before_callback_phase + passes the block to the config + #on_failure + passes the block to the config + #options + merges provided options in + adds an argument if no options are provided + Pending: (Failures listed here are expected and do not affect your suite's status) 1) OmniAuth::Strategy#redirect uses javascript if :iframe is true # Temporarily skipped with xit # ./spec/omniauth/strategy_spec.rb:278 -Finished in 0.55392 seconds (files took 1.04 seconds to load) +Finished in 0.42951 seconds (files took 0.77321 seconds to load) 211 examples, 0 failures, 1 pending -Randomized with seed 28666 +Randomized with seed 38990 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1476,12 +1512,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/10973/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/10973/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/3004 and its subdirectories -I: Current time: Fri Feb 14 11:24:19 -12 2025 -I: pbuilder-time-stamp: 1739575459 +I: removing directory /srv/workspace/pbuilder/10973 and its subdirectories +I: Current time: Sat Feb 15 13:25:53 +14 2025 +I: pbuilder-time-stamp: 1739575553