Diff of the two buildlogs: -- --- b1/build.log 2024-05-01 17:38:35.877421640 +0000 +++ b2/build.log 2024-05-01 17:40:03.337691202 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed May 1 05:36:03 -12 2024 -I: pbuilder-time-stamp: 1714584963 +I: Current time: Wed Jun 4 14:01:38 +14 2025 +I: pbuilder-time-stamp: 1748995298 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -29,52 +29,84 @@ dpkg-source: info: applying 0003-spec-helper.rb-drop-rack-freeze-usage.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/87844/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/266351/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 4 00:01 /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/266351/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/266351/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='5ccaea1796ad4f3ca85e699cb94e7b4b' - 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='87844' - PS1='# ' - PS2='> ' + INVOCATION_ID=2d3616d8cbc24ad4a4837d0664a61ba1 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=266351 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.QpFn0Cfs/pbuilderrc_DHCc --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.QpFn0Cfs/b1 --logfile b1/build.log ruby-omniauth_2.1.1-1.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.QpFn0Cfs/pbuilderrc_PEIe --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.QpFn0Cfs/b2 --logfile b2/build.log ruby-omniauth_2.1.1-1.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos11-amd64 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 1 07:43 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/87844/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 31 14:05 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/266351/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -286,7 +318,7 @@ Get: 156 http://deb.debian.org/debian unstable/main amd64 ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [90.2 kB] Get: 157 http://deb.debian.org/debian unstable/main amd64 ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.3 kB] Get: 158 http://deb.debian.org/debian unstable/main amd64 ruby-rspec all 3.13.0c0e0m0s1-2 [5184 B] -Fetched 49.0 MB in 10s (4987 kB/s) +Fetched 49.0 MB in 1s (40.2 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19694 files and directories currently installed.) @@ -808,8 +840,8 @@ Setting up tzdata (2024a-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Wed May 1 17:38:00 UTC 2024. -Universal Time is now: Wed May 1 17:38:00 UTC 2024. +Local time is now: Wed Jun 4 00:02:43 UTC 2025. +Universal Time is now: Wed Jun 4 00:02:43 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -952,7 +984,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-1_source.changes +I: user script /srv/workspace/pbuilder/266351/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/266351/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-1_source.changes dpkg-buildpackage: info: source package ruby-omniauth dpkg-buildpackage: info: source version 2.1.1-1 dpkg-buildpackage: info: source distribution unstable @@ -985,7 +1021,7 @@ dh_prep -O--buildsystem=ruby dh_auto_install --destdir=debian/ruby-omniauth/ -O--buildsystem=ruby dh_ruby --install /build/reproducible-path/ruby-omniauth-2.1.1/debian/ruby-omniauth -/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20240501-122294-dqj6zf/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20250604-296116-fcoxwk/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash WARNING: description and summary are identical WARNING: open-ended dependency on hashie (>= 3.4.6) is not recommended @@ -1001,7 +1037,7 @@ Name: omniauth Version: 2.1.1 File: omniauth-2.1.1.gem -/usr/bin/ruby3.1 -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/d20240501-122294-dqj6zf/omniauth-2.1.1.gem +/usr/bin/ruby3.1 -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/d20250604-296116-fcoxwk/omniauth-2.1.1.gem Failed to load /dev/null because it doesn't contain valid YAML hash /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 @@ -1048,86 +1084,136 @@ 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.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake /usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation -Randomized with seed 64153 +Randomized with seed 9862 OmniAuth + ::Utils + .deep_merge + combines hashes + .camelize + works in special cases that have been added + works on normal cases + doesn't uppercase the first letter when passed false + replaces / with :: + form_css + returns a style tag with the configured form_css .logger calls through to the configured logger - .strategies - increases when a new strategy is made configuration is able to set hook on request_call - is able to set the path - is able to set request_validation_phase + is able to set hook on option_call is able to set the on_failure rack app + is able to set request_validation_phase 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 - .defaults - is a hash of default configuration mock auth - default is AuthHash - does not mutate given auth hash facebook is AuthHash sets facebook attributes - ::Utils - form_css - returns a style tag with the configured form_css - .camelize - works in special cases that have been added - doesn't uppercase the first letter when passed false - replaces / with :: - works on normal cases - .deep_merge - combines hashes + does not mutate given auth hash + default is AuthHash + .defaults + is a hash of default configuration + .strategies + increases when a new strategy is made -OmniAuth::FailureEndpoint - non-raise-out environment - respects the globally configured path prefix - includes the SCRIPT_NAME - is a redirect - escapes the message key - includes the origin (escaped) if one is provided - respects the custom path prefix configured on the strategy - raise-out environment - raises out an OmniAuth::Error if no omniauth.error is set - raises out the error +OmniAuth::Strategies::Developer + 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 + request phase + has a text field for each of the fields + displays a form + has the callback as the action for the form -OmniAuth::KeyStore - on Hashie 3.5.0 and 3.5.1 - does not log anything to the console - on Hashie < 3.5.0 - does not log anything to the console - on Hashie 3.5.2+ - does not log anything to the console +OmniAuth::Builder + #before_options_phase + passes the block to the config + #provider + doesn't translate a symbol to a top-level constant + accepts a class + raises a helpful LoadError message if it can't find the class + translates a symbol to a constant + #before_callback_phase + passes the block to the config + #on_failure + passes the block to the config + #configure + passes the block to the config + #call + passes env to to_app.call + #before_request_phase + passes the block to the config + #options + merges provided options in + adds an argument if no options are provided OmniAuth::AuthHash - has a subkey_class does not try to parse `string` as InfoHash converts a supplied info key into an InfoHash object - #valid? - requires a provider - requires a uid - requires a name in the user info hash - is valid with the right parameters - #to_hash - does not pollute the URL hash with 'name' etc - is a plain old hash - has string keys - converts an info hash as well - supplies the calculated name in the converted hash + has a subkey_class #name - displays the nickname if no name, first, or last is available - falls back to go to first_name last_name concatenation defaults to the name key - displays the email if no name, first, last, or nick is available 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 + displays the email if no name, first, last, or nick is available + #to_hash + supplies the calculated name in the converted hash + is a plain old hash + converts an info hash as well + does not pollute the URL hash with 'name' etc + has string keys OmniAuth::AuthHash::InfoHash has a subkey_class with Hashie 3.5.1+ does not log anything in Hashie 3.5.1+ #valid? is valid if there is a name + #valid? + requires a name in the user info hash + requires a provider + requires a uid + is valid with the right parameters + +OmniAuth::Form + #password_field + adds a labeled input field + #initialize + sets the form action to the passed :url option + sets an H1 tag from the passed :title option + fieldset + creates a fieldset with options + .build + 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 + +OmniAuth::FailureEndpoint + raise-out environment + raises out an OmniAuth::Error if no omniauth.error is set + raises out the error + non-raise-out environment + includes the SCRIPT_NAME + includes the origin (escaped) if one is provided + respects the custom path prefix configured on the strategy + escapes the message key + is a redirect + respects the globally configured path prefix + +OmniAuth::KeyStore + on Hashie < 3.5.0 + does not log anything to the console + on Hashie 3.5.0 and 3.5.1 + does not log anything to the console + on Hashie 3.5.2+ + does not log anything to the console OmniAuth::Strategy is the current class's proc call if one exists @@ -1136,257 +1222,207 @@ inherits by merging with preference for the latest class is the current class's proc call if one exists is the current class's proc call if one exists - .option - sets a default value - sets the default value to nil if none is provided - user_info - should default to an empty hash - request_phase - raises a NotImplementedError - #redirect - uses javascript if :iframe is true (PENDING: Temporarily skipped with xit) - #call - duplicates and calls - raises NoSessionError if rack.session isn't set - 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 - does not call the app on a non-omniauth endpoint - calls the rack app - #inspect - returns the class name + #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 + fetcher procs + .info + sets and retrieve a proc + .uid + sets and retrieve a proc + .credentials + sets and retrieve a proc + .extra + sets and retrieve a proc + #uid + is the current class's uid if one exists + inherits if it can #skip_info? - is true if options.skip_info is true - is false if options.skip_info is false is false by default + is false if options.skip_info is false is true if options.skip_info is a callable that evaluates to truthy - .default_options - is inherited from a parent class - #auth_hash - calls through to uid, info, credentials, and extra - returns an AuthHash + is true if options.skip_info is true + #fail! + provides exception information when one is provided + provides a generic message when not provided an exception #call calls fail! when encountering an unhandled exception redirects to the fail! result when encountering an unhandled exception - :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 + 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 + runs the callback phase if the custom callback path evaluator is truthy + provides a custom callback path if request_path evals to a string custom prefix - uses a custom prefix for request uses a custom prefix for callback + uses a custom prefix for request callback_url uses a custom prefix preserves the query parameters - dynamic paths - provides a custom callback path if request_path evals to a string - runs the callback phase if the custom callback path evaluator is truthy - correctly reports the callback path when the custom callback path evaluator is truthy - runs the request phase if the custom request path evaluator is truthy + test mode + turns omniauth.params into an env variable on the callback phase + sets omniauth.params with query params on the request phase + redirects on failure + is case insensitive on callback path + doesn't short circuit the request if request method is not allowed + does not set body parameters of POST request on the request phase + responds with a provider-specific hash if one is set + responds with the default hash if none is set + maintains host and port + respects SCRIPT_NAME (a.k.a. BaseURI) on failure + maintains query string parameters + rescues errors in request_call + executes callback hook on the callback phase + short circuits the request phase entirely + simulates login failure if mocked data is set as a symbol + turns omniauth.origin into an env variable on the callback phase + executes request hook on the request phase + respects SCRIPT_NAME (a.k.a. BaseURI) + is case insensitive on request path + does not short circuit requests outside of authentication + omniauth.origin + custom + sets omniauth.origin from a custom param + default flow + sets omniauth.origin to the HTTP_REFERER on the request phase by default + sets omniauth.origin from the params if provided + 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 - when in test mode and path not on request path - does not verify token - omniauth.origin - default flow - is set on the request phase - sets from the params if provided - is turned into an env variable on the callback phase - is set on the failure env - with script_name - is set on the request phase, containing full path - is turned into an env variable on the callback phase, containing full path - custom - sets from a custom param - disabled - does not set omniauth.origin - receiving an OPTIONS request - to the request path - behaves like an OPTIONS request - sets the Allow header properly - responds with 200 - 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 + does not allow a request method of the wrong type + authenticity validation + with custom allow_if proc + allows a valid request + with allowed GET + allows a request without authenticity token + warning message logging + logs warning message + 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 + :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 default paths strips trailing spaces on callback - is case insensitive on request path - uses the default request path strips trailing spaces on request + is case insensitive on request path uses the default callback path + uses the default request path is case insensitive on callback path callback_url - consider script name + preserves the query parameters uses the default callback_path + consider script name + custom paths + uses a custom request_path if one is provided + uses a custom callback_path if one is provided + callback_url + uses a custom callback_path if one is provided preserves the query parameters + when in test mode and path not on request path + does not verify token with relative url root - accepts the callback accepts the request - error during call_app! - raises the application error + accepts the callback custom request does not prefix a custom request path - callback_url - redirects to the correctly prefixed callback error during auth phase passes the error to fail!() - custom paths - uses a custom request_path if one is provided - uses a custom callback_path if one is provided + error during call_app! + raises the application error callback_url - preserves the query parameters - uses a custom callback_path if one is provided - authenticity validation - with default POST only request methods - does not allow a request without a matching authenticity token - allows a request with matching authenticity_token - with custom allow_if proc - allows a valid request - with allowed GET - allows a request without authenticity token - warning message logging - logs warning message - when not login path is requested - does not log warning message + redirects to the correctly prefixed callback custom full_host - honors HTTP_X_FORWARDED_PROTO if present - is the string when a string is there is based on the request if it's not a string nor a proc runs the proc with the env when it is a proc + honors HTTP_X_FORWARDED_PROTO if present + is the string when a string is there + receiving an OPTIONS 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 + to the request path + behaves like an OPTIONS request + sets the Allow header properly + responds with 200 options mutation - in request phase - does not affect deep options - does not affect original options in callback phase + does not affect original options does not affect deep options + in request phase does not affect original options - test mode - rescues errors in request_call - respects SCRIPT_NAME (a.k.a. BaseURI) on failure - responds with a provider-specific hash if one is set - does not short circuit requests outside of authentication - 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 - maintains query string parameters - turns omniauth.params into an env variable on the callback phase - maintains host and port - simulates login failure if mocked data is set as a symbol - is case insensitive on callback path - executes callback hook on the callback phase - turns omniauth.origin into an env variable on the callback phase - sets omniauth.params with query params on the request phase - responds with the default hash if none is set - short circuits the request phase entirely - respects SCRIPT_NAME (a.k.a. BaseURI) - redirects on failure - does not set body parameters of POST request on the request phase - 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 - custom - sets omniauth.origin from a custom param - disabled - does not set omniauth.origin + does not affect deep options + omniauth.origin + custom + sets from a custom param + default flow + is turned into an env variable on the callback phase + is set on the failure env + sets from the params if provided + is set on the request phase + 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 + disabled + does not set omniauth.origin + .default_options + is inherited from a parent class + user_info + should default to an empty hash + .option + sets the default value to nil if none is provided + sets a default value + #auth_hash + calls through to uid, info, credentials, and extra + returns an AuthHash #full_host remains calm when there is a pipe in the URL - #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 - #fail! - provides exception information when one is provided - provides a generic message when not provided an exception - fetcher stacks - .uid_stack - is an array of called ancestral procs - .info_stack - is an array of called ancestral procs - .extra_stack - is an array of called ancestral procs - .credentials_stack - is an array of called ancestral procs - fetcher procs - .credentials - sets and retrieve a proc - .info - sets and retrieve a proc - .extra - sets and retrieve a proc - .uid - sets and retrieve a proc - .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 + setup phase + when options[:setup] = true + calls through to /auth/:provider/setup + does not call through on a non-omniauth endpoint + when options[:setup] is an app + calls the rack app + does not call the app on a non-omniauth endpoint + #redirect + uses javascript if :iframe is true (PENDING: Temporarily skipped with xit) .args - sets args to the specified argument if there is one is inheritable + sets args to the specified argument if there is one accepts corresponding options as default arg values #callback_phase sets the auth hash - #uid - inherits if it can - is the current class's uid if one exists - -OmniAuth::Form - #password_field - adds a labeled input field - #initialize - sets the form action to the passed :url option - sets an H1 tag from the passed :title option - #html - appends to the html body - fieldset - creates a fieldset with options - .build - yields the instance when called with a block and argument - evaluates in the instance when called with a block and no argument - -OmniAuth::Strategies::Developer - request phase - has the callback as the action for the form - has a text field for each of the fields - displays a form - callback phase - with default options - sets the email in the auth hash - sets the uid to the email - sets the name in the auth hash - with custom options - sets info fields properly - sets the uid properly - -OmniAuth::Builder - #before_request_phase - passes the block to the config - #before_options_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 - #provider - raises a helpful LoadError message if it can't find the class - doesn't translate a symbol to a top-level constant - accepts a class - translates a symbol to a constant - #before_callback_phase - passes the block to the config + .configure + takes a hash and deep merge it + when block is passed + allows for default options setting + works when block doesn't evaluate to true + request_phase + raises a NotImplementedError #call - passes env to to_app.call - #configure - passes the block to the config + duplicates and calls + raises NoSessionError if rack.session isn't set + #inspect + returns the class name + fetcher stacks + .credentials_stack + is an array of called ancestral procs + .extra_stack + is an array of called ancestral procs + .info_stack + is an array of called ancestral procs + .uid_stack + is an array of called ancestral procs Pending: (Failures listed here are expected and do not affect your suite's status) @@ -1394,10 +1430,10 @@ # Temporarily skipped with xit # ./spec/omniauth/strategy_spec.rb:278 -Finished in 0.27418 seconds (files took 0.40083 seconds to load) +Finished in 0.18832 seconds (files took 0.26464 seconds to load) 211 examples, 0 failures, 1 pending -Randomized with seed 64153 +Randomized with seed 9862 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1429,12 +1465,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/266351/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/266351/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/87844 and its subdirectories -I: Current time: Wed May 1 05:38:35 -12 2024 -I: pbuilder-time-stamp: 1714585115 +I: removing directory /srv/workspace/pbuilder/266351 and its subdirectories +I: Current time: Wed Jun 4 14:03:02 +14 2025 +I: pbuilder-time-stamp: 1748995382