Diff of the two buildlogs: -- --- b1/build.log 2025-02-01 08:07:53.501894156 +0000 +++ b2/build.log 2025-02-01 08:10:38.826422941 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Jan 31 20:03:35 -12 2025 -I: pbuilder-time-stamp: 1738397015 +I: Current time: Sat Feb 1 22:08:02 +14 2025 +I: pbuilder-time-stamp: 1738397282 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 use-rackup.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/22168/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/24713/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 1 08:08 /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/24713/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/24713/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='5beb27f62ad14ea2a55b6121e55a52a6' - 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='22168' - PS1='# ' - PS2='> ' + INVOCATION_ID=758e67327e3a4868be2487ef85a16c73 + 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=24713 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.uyxtueoE/pbuilderrc_jS1F --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.uyxtueoE/b1 --logfile b1/build.log ruby-typhoeus_1.4.0-5.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.uyxtueoE/pbuilderrc_SQA4 --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.uyxtueoE/b2 --logfile b2/build.log ruby-typhoeus_1.4.0-5.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-30-armmp-lpae #1 SMP Debian 6.1.124-1 (2025-01-12) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-30-arm64 #1 SMP Debian 6.1.124-1 (2025-01-12) 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/22168/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/24713/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -313,7 +345,7 @@ Get: 173 http://deb.debian.org/debian unstable/main armhf ruby-rspec all 3.13.0c0e0m0s1-2 [5184 B] Get: 174 http://deb.debian.org/debian unstable/main armhf ruby-tilt all 2.4.0-3 [32.2 kB] Get: 175 http://deb.debian.org/debian unstable/main armhf ruby-sinatra all 4.1.1-5 [122 kB] -Fetched 55.7 MB in 7s (7860 kB/s) +Fetched 55.7 MB in 10s (5674 kB/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 ... 19565 files and directories currently installed.) @@ -891,8 +923,8 @@ Setting up tzdata (2025a-1) ... Current default time zone: 'Etc/UTC' -Local time is now: Sat Feb 1 08:06:28 UTC 2025. -Universal Time is now: Sat Feb 1 08:06:28 UTC 2025. +Local time is now: Sat Feb 1 08:09:36 UTC 2025. +Universal Time is now: Sat Feb 1 08:09:36 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up ruby-minitest (5.25.4-1) ... @@ -1048,7 +1080,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/ruby-typhoeus-1.4.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-typhoeus_1.4.0-5_source.changes +I: user script /srv/workspace/pbuilder/24713/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/24713/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ruby-typhoeus-1.4.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-typhoeus_1.4.0-5_source.changes dpkg-buildpackage: info: source package ruby-typhoeus dpkg-buildpackage: info: source version 1.4.0-5 dpkg-buildpackage: info: source distribution unstable @@ -1082,7 +1118,7 @@ │ ruby-typhoeus: Installing files and building extensions for ruby3.3 │ └──────────────────────────────────────────────────────────────────────────────┘ -/usr/bin/ruby3.3 -S gem build --config-file /dev/null --verbose /tmp/d20250131-28360-d128wd/gemspec +/usr/bin/ruby3.3 -S gem build --config-file /dev/null --verbose /tmp/d20250201-4513-muy8s2/gemspec WARNING: open-ended dependency on ethon (>= 0.9.0) is not recommended if ethon is semantically versioned, use: add_runtime_dependency "ethon", "~> 0.9", ">= 0.9.0" @@ -1092,7 +1128,7 @@ Name: typhoeus Version: 1.4.0 File: typhoeus-1.4.0.gem -/usr/bin/ruby3.3 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-typhoeus/usr/share/rubygems-integration/all /tmp/d20250131-28360-d128wd/typhoeus-1.4.0.gem +/usr/bin/ruby3.3 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-typhoeus/usr/share/rubygems-integration/all /tmp/d20250201-4513-muy8s2/typhoeus-1.4.0.gem /build/reproducible-path/ruby-typhoeus-1.4.0/debian/ruby-typhoeus/usr/share/rubygems-integration/all/gems/typhoeus-1.4.0/lib/rack/typhoeus.rb /build/reproducible-path/ruby-typhoeus-1.4.0/debian/ruby-typhoeus/usr/share/rubygems-integration/all/gems/typhoeus-1.4.0/lib/rack/typhoeus/middleware/params_decoder.rb /build/reproducible-path/ruby-typhoeus-1.4.0/debian/ruby-typhoeus/usr/share/rubygems-integration/all/gems/typhoeus-1.4.0/lib/rack/typhoeus/middleware/params_decoder/helper.rb @@ -1170,100 +1206,89 @@ /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 Rack::Handler is deprecated and replaced by Rackup::Handler -Randomized with seed 26682 +Randomized with seed 34629 -Typhoeus::Request::Responseable - #response= - stores response - -Typhoeus::Hydra::Memoizable - add - when memoization activated - when request new - sets no response - doesn't call complete - when request in memory - finishes request - when queued request - dequeues - #run - clears memory before starting - -Typhoeus - .with_connection - executes block with block connection is false - returns result of block - sets block connection back to previous value - .stub - when no similar expectation exists - returns expectation - adds expectation - calls the block to construct a response when a request matches the stub - when similar expectation exists - calls the block to construct a response when a request matches the stub - returns expectation - doesn't add expectation - .patch - makes PATCH requests - returns ok - .delete - returns ok - makes DELETE requests - .before - adds callback - .put - makes PUT requests - returns ok - .configure - yields config - sets values config - .options - returns ok - makes OPTIONS requests - .post - returns ok - makes POST requests - .head - returns ok - .get - makes GET requests - returns ok - -Typhoeus::EasyFactory - #get - timeouts - sets nosignal to true by default - when timeout is not a whole number and timeout_ms is not set - ceils timeout and sets timeout_ms - when timeout is not a whole number and timeout_ms is set - ceils timeout and does not change timeout_ms - when connecttimeout is not a whole number and connecttimeout_ms is not set - ceils connecttimeout and sets connecttimeout_ms - when connecttimeout is not a whole number and connecttimeout_ms is set - ceils connecttimeout and does not change connecttimeout_ms - when invalid option - reraises - when removed option - reraises with help - when option[:cache_ttl] - creates Ethon::Easy - when renamed option - passes correct option - warns - when changed option - reraises with help - #set_callback - adds next request - pushes easy back into the pool - resets easy - sets easy.on_complete callback - finishes request - sets easy.on_progress callback when an on_progress callback is provided +Faraday::Adapter::Typhoeus + #request + sets http method + returns request + sets url + sets body + sets on_complete callback + sets headers + #initialize + when typhoeus request options specified + should set option for request + when a response is stubbed + stubs the response body + stubs the status code + stubs the headers + when not parallel + succeeds + returns a faraday response + #configure_proxy + when proxy + sets proxy + when username and password + sets proxyuserpwd + #perform_request + when body + reads body + parallel_manager + when not given + falls back to single + when given + uses + #configure_socket + when host + sets interface + when parallel + returns a faraday response + succeeds + #configure_timeout + when timeout + sets timeout_ms + when open_timeout + sets connecttimeout_ms + when the connection failed + when parallel + translates the response code into an error message + isn't successful + when not parallel + raises an error + #parallel? + when no parallel_manager + returns false + when parallel_manager + returns true + #configure_ssl + when client_cert_passwd + sets keypasswd to the value of client_cert_passwd + when ca_path + sets capath + when version + sets sslversion + when client_key + sets sslkey + when client_cert + sets sslcert + when no client_cert_passwd + does not set keypasswd on options + when ca_file + sets cainfo + when client_certificate_password + sets keypasswd to the value of client_cert_passwd + when verify is false + sets ssl_verifyhost to 0 + sets ssl_verifypeer to false + when verify is true + sets ssl_verifyhost to 2 + sets ssl_verifypeer to true Typhoeus::Hydra::Runnable #run - runs multi#perform  runs multi#dequeue_many + runs multi#perform when request queued in callback when no real request when before hook returns and finishes response @@ -1272,298 +1297,424 @@ when max_concurrency default  calls on_complete callback once for every response when really queued request - sends second  sends third + sends second  sends first when three request queued - sends thirds last  sends second - sends first first  sends second second  sends third + sends first first + sends thirds last  sends first when request queued  sends -Typhoeus::Request::Cacheable +Typhoeus::Request::Operations + #finish + executes callbacks + returns response + assigns request to response + assigns response #run - when cache activated - when request in memory - finishes request - when cache is specified on a request - when cache is defined - finishes request - when cache is false - finishes request - when request new - fetches response - #cache_ttl - when option[:cache_ttl] - returns + releases easy + calls on_complete + returns a response + grabs an easy + calls on_headers and on_body (PENDING: Temporarily skipped with xit) + generates settings + calls on_headers and on_complete (PENDING: Temporarily skipped with xit) + calls on_body + makes response headers available to on_body + performs + sets response + +Rack::Typhoeus::Middleware::ParamsDecoder + when requesting + transforms parameters + +Typhoeus::Request::BlockConnection + #blocked? + when local block_connection + when false + returns false + when true + returns true + when global and local block_connection + takes local + when global block_connection + when true + returns true + when false + returns false + run + when blocked + raises + when not blocked + doesn't raise + +Typhoeus::Request::Memoizable #response= - when cache activated - when request in memory - finishes request - sets cached to true for response - when request new - doesn't set cached on response - caches response + when memoization activated + when no GET request + doesn't store response in memory + when GET request + stores response in memory -Typhoeus::Errors::NoStub - displays the request url +Typhoeus::Pool + #easies + returns array + #get + when no easy in pool + creates + when threaded access + creates correct number of easies + when easy in pool + takes + when forked + creates + #release + flush cookies to disk + puts easy back into pool + writes cookies to disk + resets easy + when threaded access + releases correct number of easies + #with + is re-entrant -Typhoeus::Request::Callbacks - #on_progress - responds - when multiple blocks given - stores - when no block given - returns @on_progress - when block given - stores - #on_success - responds - when block given - stores - when no block given - returns @on_success - when multiple blocks given - stores - #execute_callbacks - when local on_complete and gobal on_success - runs all global callbacks first (PENDING: No reason given) - when on_progress - when global callback - executes blocks and passes response - when local callback - sets handled_response - executes blocks and passes response - when global and local callbacks - runs global first - when on_success - when global callback - executes blocks and passes response - when local callback - executes blocks and passes response - sets handled_response - when global and local callbacks - runs global first - when on_complete - when global callback - executes blocks and passes response - when global and local callbacks - runs global first - when local callback - executes blocks and passes response - sets handled_response - when on_failure - when global and local callbacks - runs global first - when global callback - executes blocks and passes response - when local callback - sets handled_response - executes blocks and passes response - #on_complete - responds - when multiple blocks given - stores - when no block given - returns @on_complete - when block given - stores - #on_failure - responds - when multiple blocks given - stores - when block given - stores - when no block given - returns @on_failure +Typhoeus::Cache::Redis + #get + returns nil when the key is not in Redis + returns the cached response when the key is in Redis + #set + sends the serialized request to Redis + +Typhoeus::Hydra::Addable + adds easy to multi + asks easy factory for an easy + +Typhoeus::Hydra::BlockConnection + add + when block_connection activated + raises + +Typhoeus::Request::Stubbable + #run + checks expectations + when expectation found + calls on_headers callbacks + finishes request + calls on_body callbacks + sets mock on response + +Typhoeus::EasyFactory + #get + when changed option + reraises with help + timeouts + sets nosignal to true by default + when connecttimeout is not a whole number and connecttimeout_ms is set + ceils connecttimeout and does not change connecttimeout_ms + when timeout is not a whole number and timeout_ms is not set + ceils timeout and sets timeout_ms + when connecttimeout is not a whole number and connecttimeout_ms is not set + ceils connecttimeout and sets connecttimeout_ms + when timeout is not a whole number and timeout_ms is set + ceils timeout and does not change timeout_ms + when renamed option + warns + passes correct option + when invalid option + reraises + when option[:cache_ttl] + creates Ethon::Easy + when removed option + reraises with help + #set_callback + resets easy + sets easy.on_progress callback when an on_progress callback is provided + adds next request + finishes request + sets easy.on_complete callback + pushes easy back into the pool Typhoeus::Hydra::Before #add - when no before - calls super when before when one  executes when falsy - when response - doesn't call super when queue requests  dequeues when false  doesn't call super + when response + doesn't call super when true  calls super when multi - when middle false - executes only two - doesn't call super when all true - calls super  executes all - -Typhoeus::Hydra::BlockConnection - add - when block_connection activated - raises - -Typhoeus::Response - .new - when options - when return_code - stores - when headers - has key - sets @headers to a Typhoeus::Response::Header - stores unmodified - #cached - when @cached - returns cached status - when @cached is nil - returns false - #handled_response - when @handled_response is nil - returns response - when @handled_response - returns @handled_response - #mock - when @mock and options[:mock] - returns @mock - when options[:mock] - returns options[:mock] - when @mock - returns @mock + calls super + when middle false + doesn't call super + executes only two + when no before + calls super Rack::Typhoeus::Middleware::ParamsDecoder::Helper + #decode + doesn't modify + decodes #decode! + when no hash + returns self when hash when encoded - when longer and more complex - decodes ensuring arrays maintain their original order when nested  decodes  modifies when simple - modifies  decodes + modifies + when longer and more complex + decodes ensuring arrays maintain their original order when not encoded  doesn't modify - when no hash - returns self #encoded? - when keys are not ascending numbers starting with zero - returns false + when keys are ascending numbers starting with zero + returns true when there is only one key and its 0  returns true and its not 0  returns false - when keys are ascending numbers starting with zero - returns true - #decode - doesn't modify - decodes + when keys are not ascending numbers starting with zero + returns false #convert - when encoded - returns values when not encoded  returns unmodified + when encoded + returns values -Typhoeus::Request - set_defaults - when Config.proxy set - respects - when option proxy set - does not override - when Config.verbose set - respects - when header without user agent - add user agent - when header with user agent - doesn't modify user agent - when Config.user_agent set - with headers - uses the request options' user agent - without headers - uses the global options' user agent - when maxredirs - when not set - defaults to 50 - when set - respects - #eql? - when same class - when same base_url and options - when different order +Typhoeus::Config + responds to cache= + responds to block_connection= + responds to memoize + responds to cache + responds to user_agent= + responds to memoize= + responds to verbose + responds to verbose= + responds to proxy + responds to proxy= + responds to block_connection + responds to user_agent + +Typhoeus::Response::Informations + #redirect_time + returns redirect_time from options + #effective_url + returns effective_url from options + #namelookup_time + returns namelookup_time from options + #total_time + returns total_time from options + #return_message + returns a message + with nil return_code + returns nil + #redirections + when no response_headers + returns empty array + when multiple headers + returns response from all but last headers + when headers + returns empty array + #connect_time + returns connect_time from options + #primary_ip + returns primary_ip from options + #pretransfer_time + returns pretransfer_time from options + #request_size + returns request_size from options + #redirect_count + returns redirect_count from options + #response_code + when code + returns code from options + when response_code + returns response_code from options + #debug_info + returns debug_info from options + #appconnect_time + returns appconnect_time from options + #httpauth_avail + returns httpauth_avail from options + #response_body + when response_body + returns response_body from options + when body + returns body from options + #starttransfer_time + returns starttransfer_time from options + #return_code + returns return_code from options + #response_headers + when mock + when no response_headers + when multiple values for a header + constructs response_headers + when headers + constructs response_headers + when no mock + returns response_headers from options + #headers + when no response_headers + returns nil + when response_headers + has Server + has Expire + returns nonempty headers + when mock + when headers + returns Typhoeus::Response::Header + returns headers + when multiple headers + returns the last + when requesting + returns headers + +Typhoeus::Hydra + #hydra + returns a hydra + #new + passes options to multi + +Typhoeus::Request::Before + #queue + when no before + calls super + when before + when multi + when middle false + executes only two + doesn't call super + when all true + executes all + calls super + when one + executes + when true + calls super + when false + returns response + doesn't call super + when a response + doesn't call super + returns response + +Typhoeus::Hydra::Cacheable + add + when cache activated + when request in memory + returns response with cached status + when no queued requests + finishes request + when queued requests + finishes both requests + when cache is specified on a request + when cache is defined + uses the cache instead of making a new request + when cache is false + initiates an HTTP call + when request new + doesn't call complete + sets no response + +Typhoeus::Response::Status + timed_out? + when return code is operation_timedout + return true + #http_version + when no header + returns nil + when header + when no http version + returns nil + when valid http_version + returns http_version + when invalid http_version + returns nil + #status_message + when no header + returns nil + when header + when no message + returns nil + when messsage + returns message + #success? + when response code is not 200-299 + returns false + when response code 200-299 + when no mock + when return_code nil + returns false + when return_code :ok  returns true - when same order + when mock + when return_code :ok  returns true - when other base_url - returns false - when same base_url and other options - returns false - when another class + when return_code nil + returns true + #modified? + when response code 304 + when mock + when return_code nil + returns false + when return_code :ok + returns false + when no mock + when return_code :ok + returns false + when return_code nil + returns true + when response code is not 304 + returns true + #failure? + when response code is not 300-526  returns false - #encoded_body - returns encoded body - #hash - when not request.eql?(other) - has different hashes - when request.eql?(other) - when same order - has same hashes - when hashes with different orders are contained in arrays - has different hashes - when different order - has same hashes - .new - sets defaults - stores original options - stores options - stores base_url - .url - pushes an easy back into the pool - when no parameters - returns base_url - when parameters - returns full url - -Typhoeus::Pool - #easies - returns array - #release - resets easy - puts easy back into pool - writes cookies to disk - flush cookies to disk - when threaded access - releases correct number of easies - #with - is re-entrant - #get - when no easy in pool - creates - when threaded access - creates correct number of easies - when easy in pool - takes - when forked - creates + when response code between 300-526 and 100-300 + when mock + when return_code nil + returns true + when return_code :internal_server_error + returns true + when no mock + when return_code :internal_server_error + returns true + when return_code nil + returns false + #first_header_line + when single header + returns first line + when multiple header + returns first line of last block Typhoeus::Expectation - #matches? - calls url_match? - calls options_match? #stubbed_from  returns self  sets value + #matches? + calls options_match? + calls url_match? .new - sets options  sets base_url  initializes response_counter + sets options #responses  returns responses .all @@ -1572,15 +1723,26 @@ when @expectations not nil  returns @expectations #and_return + when array + adds to responses when block  adds to responses when value  adds to responses - when array - adds to responses .response_for  returns nil if no matching expectation is found  finds a matching expectation and returns its next response + options_match? + when options are a subset from request_options + returns true + when options contains an array + returns true + when match + returns true + when no match + returns false + when options are nested + returns true #url_match? when string when no match @@ -1588,16 +1750,18 @@ when match  returns true when regexp + when match + returns true when no match  returns false with nil request_url  returns false - when match - returns true - when nil - returns true when not string, regexp, nil  returns false + when nil + returns true + .clear + clears all #response when multiple responses  returns one by one @@ -1606,158 +1770,164 @@  returns response is pre-constructed  returns response - options_match? - when no match - returns false - when options contains an array - returns true - when options are a subset from request_options - returns true - when match - returns true - when options are nested - returns true - .clear - clears all -Typhoeus::Response::Header - can be Marshal'd - .new - when string - sets Date - provides symbol access - provides case insensitive access - when hash - provides case insensitive access - sets Date - #parse - when header - sets Cookie#1 - sets Cookie#2 - sets Server - sets Cookie#0 - sets raw - sets Set-Cookie - sets Content-Type - sets Date - sets X-XSS-Protection - sets Cache-Control - sets Transfer-Encoding - sets P3P - sets X-Frame-Options - sets Expires - provides case insensitive access - includes a multi-line header - joins header parts - with broken headers - returns empty string for invalid headers - includes line with only whitespace - ignores it - when no header - returns nil +Typhoeus::Request::Callbacks + #on_success + responds + when multiple blocks given + stores + when block given + stores + when no block given + returns @on_success + #execute_callbacks + when on_progress + when global callback + executes blocks and passes response + when global and local callbacks + runs global first + when local callback + executes blocks and passes response + sets handled_response + when on_success + when local callback + sets handled_response + executes blocks and passes response + when global callback + executes blocks and passes response + when global and local callbacks + runs global first + when on_failure + when global and local callbacks + runs global first + when local callback + sets handled_response + executes blocks and passes response + when global callback + executes blocks and passes response + when local on_complete and gobal on_success + runs all global callbacks first (PENDING: No reason given) + when on_complete + when global and local callbacks + runs global first + when global callback + executes blocks and passes response + when local callback + executes blocks and passes response + sets handled_response + #on_progress + responds + when multiple blocks given + stores + when block given + stores + when no block given + returns @on_progress + #on_failure + responds + when no block given + returns @on_failure + when block given + stores + when multiple blocks given + stores + #on_complete + responds + when multiple blocks given + stores + when no block given + returns @on_complete + when block given + stores -Typhoeus::Request::Stubbable +Typhoeus::Hydra::Memoizable + add + when memoization activated + when request new + sets no response + doesn't call complete + when request in memory + finishes request + when queued request + dequeues #run - checks expectations - when expectation found - finishes request - calls on_headers callbacks - sets mock on response - calls on_body callbacks + clears memory before starting -Typhoeus::Config - responds to user_agent= - responds to proxy - responds to user_agent - responds to cache - responds to memoize - responds to proxy= - responds to verbose= - responds to cache= - responds to block_connection= - responds to verbose - responds to memoize= - responds to block_connection +Typhoeus::Request::Cacheable + #response= + when cache activated + when request new + doesn't set cached on response + caches response + when request in memory + finishes request + sets cached to true for response + #cache_ttl + when option[:cache_ttl] + returns + #run + when cache activated + when request new + fetches response + when cache is specified on a request + when cache is defined + finishes request + when cache is false + finishes request + when request in memory + finishes request -Typhoeus::Response::Status - #modified? - when response code is not 304 - returns true - when response code 304 - when no mock - when return_code nil - returns true - when return_code :ok - returns false - when mock - when return_code nil - returns false - when return_code :ok - returns false - timed_out? - when return code is operation_timedout - return true - #first_header_line - when single header - returns first line - when multiple header - returns first line of last block - #status_message - when no header - returns nil - when header - when no message - returns nil - when messsage - returns message - #http_version - when no header - returns nil - when header - when no http version - returns nil - when invalid http_version - returns nil - when valid http_version - returns http_version - #success? - when response code 200-299 - when no mock - when return_code :ok - returns true - when return_code nil - returns false - when mock - when return_code :ok - returns true - when return_code nil - returns true - when response code is not 200-299 - returns false - #failure? - when response code between 300-526 and 100-300 - when no mock - when return_code :internal_server_error - returns true - when return_code nil - returns false - when mock - when return_code :internal_server_error - returns true - when return_code nil - returns true - when response code is not 300-526 - returns false +Typhoeus + .put + returns ok + makes PUT requests + .configure + yields config + sets values config + .with_connection + returns result of block + sets block connection back to previous value + executes block with block connection is false + .options + returns ok + makes OPTIONS requests + .before + adds callback + .get + makes GET requests + returns ok + .delete + makes DELETE requests + returns ok + .stub + when no similar expectation exists + calls the block to construct a response when a request matches the stub + adds expectation + returns expectation + when similar expectation exists + calls the block to construct a response when a request matches the stub + doesn't add expectation + returns expectation + .post + makes POST requests + returns ok + .head + returns ok + .patch + returns ok + makes PATCH requests Typhoeus::Hydra::Queueable #queue - adds to queued requests  adds to front of queued requests  accepts requests + adds to queued requests  sets hydra on request #abort  clears queue #dequeue_many + when no request queued + does nothing when three request queued  adds requests from queue to multi when max_concurrency is two @@ -1766,359 +1936,225 @@  adds requests from queue to multi when request queued  adds request from queue to multi - when no request queued - does nothing - -Typhoeus::Hydra::Stubbable - #add - checks expectations - when expectation found - finishes response - calls on_body callbacks - is a mock - calls on_headers callbacks - -Typhoeus::Hydra::Addable - adds easy to multi - asks easy factory for an easy - -Typhoeus::Response::Informations - #primary_ip - returns primary_ip from options - #response_headers - when no mock - returns response_headers from options - when mock - when no response_headers - when headers - constructs response_headers - when multiple values for a header - constructs response_headers - #connect_time - returns connect_time from options - #redirections - when headers - returns empty array - when no response_headers - returns empty array - when multiple headers - returns response from all but last headers - #return_message - returns a message - with nil return_code - returns nil - #headers - when multiple headers - returns the last - when requesting - returns headers - when no response_headers - returns nil - when mock - when headers - returns headers - returns Typhoeus::Response::Header - when response_headers - has Server - has Expire - returns nonempty headers - #response_code - when code - returns code from options - when response_code - returns response_code from options - #total_time - returns total_time from options - #httpauth_avail - returns httpauth_avail from options - #request_size - returns request_size from options - #starttransfer_time - returns starttransfer_time from options - #redirect_count - returns redirect_count from options - #return_code - returns return_code from options - #redirect_time - returns redirect_time from options - #namelookup_time - returns namelookup_time from options - #debug_info - returns debug_info from options - #effective_url - returns effective_url from options - #pretransfer_time - returns pretransfer_time from options - #appconnect_time - returns appconnect_time from options - #response_body - when body - returns body from options - when response_body - returns response_body from options - -Typhoeus::Request::Memoizable - #response= - when memoization activated - when GET request - stores response in memory - when no GET request - doesn't store response in memory - -Typhoeus::Request::BlockConnection - run - when blocked - raises - when not blocked - doesn't raise - #blocked? - when local block_connection - when false - returns false - when true - returns true - when global and local block_connection - takes local - when global block_connection - when false - returns false - when true - returns true - -Typhoeus::Cache::Dalli - #get - returns the cached response when the key is in cache - returns nil when the key is not in the cache - #set - sends the request to Dalli - -Typhoeus::Request::Operations - #run - grabs an easy - calls on_headers and on_body (PENDING: Temporarily skipped with xit) - makes response headers available to on_body - calls on_complete - performs - releases easy - sets response - calls on_body - calls on_headers and on_complete (PENDING: Temporarily skipped with xit) - generates settings - returns a response - #finish - returns response - assigns request to response - assigns response - executes callbacks Typhoeus::Request::Actions .delete - returns ok  makes DELETE Request - .put  returns ok + .put  makes PUT Request + returns ok .options + returns ok  makes OPTIONS Request + .head  returns ok .get  returns ok  makes GET Request - .head - returns ok .patch - makes PATCH Request  returns ok + makes PATCH Request .post  makes POST Request  returns ok -Typhoeus::Cache::Redis - #get - returns nil when the key is not in Redis - returns the cached response when the key is in Redis - #set - sends the serialized request to Redis +Typhoeus::Response + #mock + when options[:mock] + returns options[:mock] + when @mock + returns @mock + when @mock and options[:mock] + returns @mock + .new + when options + when return_code + stores + when headers + sets @headers to a Typhoeus::Response::Header + has key + stores unmodified + #cached + when @cached is nil + returns false + when @cached + returns cached status + #handled_response + when @handled_response + returns @handled_response + when @handled_response is nil + returns response -Typhoeus::Hydra - #hydra - returns a hydra - #new - passes options to multi +Typhoeus::Hydra::Stubbable + #add + checks expectations + when expectation found + calls on_body callbacks + is a mock + calls on_headers callbacks + finishes response -Rack::Typhoeus::Middleware::ParamsDecoder - when requesting - transforms parameters +Typhoeus::Request::Responseable + #response= + stores response -Typhoeus::Request::Before - #queue - when no before - calls super - when before - when one - executes - when true - calls super - when a response - returns response - doesn't call super - when false - returns response - doesn't call super - when multi - when middle false - doesn't call super - executes only two - when all true - executes all - calls super +Typhoeus::Request + set_defaults + when header with user agent + doesn't modify user agent + when Config.proxy set + respects + when option proxy set + does not override + when Config.user_agent set + without headers + uses the global options' user agent + with headers + uses the request options' user agent + when Config.verbose set + respects + when header without user agent + add user agent + when maxredirs + when not set + defaults to 50 + when set + respects + #encoded_body + returns encoded body + .url + pushes an easy back into the pool + when parameters + returns full url + when no parameters + returns base_url + #eql? + when another class + returns false + when same class + when same base_url and options + when different order + returns true + when same order + returns true + when same base_url and other options + returns false + when other base_url + returns false + .new + stores options + stores original options + stores base_url + sets defaults + #hash + when request.eql?(other) + when same order + has same hashes + when different order + has same hashes + when hashes with different orders are contained in arrays + has different hashes + when not request.eql?(other) + has different hashes + +Typhoeus::Response::Header + can be Marshal'd + .new + when string + sets Date + provides symbol access + provides case insensitive access + when hash + sets Date + provides case insensitive access + #parse + when header + provides case insensitive access + sets Expires + sets Server + sets X-Frame-Options + sets X-XSS-Protection + sets P3P + sets Cookie#2 + sets Cookie#0 + sets Set-Cookie + sets Content-Type + sets raw + sets Cache-Control + sets Transfer-Encoding + sets Cookie#1 + sets Date + includes line with only whitespace + ignores it + includes a multi-line header + joins header parts + with broken headers + returns empty string for invalid headers + when no header + returns nil Typhoeus::Request::Marshal #marshal_dump - when on_complete handler - doesn't include @on_complete + when on_failure handler  doesn't raise when dumped + doesn't include @on_failure when loading + doesn't include on_failure  includes base_url - doesn't include on_complete - when on_success handler - doesn't include @on_success + when on_progress handler  doesn't raise when dumped + doesn't include @on_progress when loading - doesn't include on_success + doesn't include on_progress  includes base_url - when on_failure handler - doesn't include @on_failure + when on_complete handler + doesn't include @on_complete  doesn't raise when dumped when loading - doesn't include on_failure + doesn't include on_complete  includes base_url - when on_progress handler - doesn't include @on_progress + when on_success handler  doesn't raise when dumped + doesn't include @on_success when loading - doesn't include on_progress + doesn't include on_success  includes base_url when run through hydra  doesn't include @hydra when loading - includes base_url  doesn't include RSpec::ExampleGroups::TyphoeusRequestMarshal::MarshalDump::WhenRunThroughHydra::WhenLoading + includes base_url -Typhoeus::Hydra::Cacheable - add - when cache activated - when request new - doesn't call complete - sets no response - when request in memory - returns response with cached status - when queued requests - finishes both requests - when no queued requests - finishes request - when cache is specified on a request - when cache is defined - uses the cache instead of making a new request - when cache is false - initiates an HTTP call +Typhoeus::Cache::Dalli + #set + sends the request to Dalli + #get + returns nil when the key is not in the cache + returns the cached response when the key is in cache -Faraday::Adapter::Typhoeus - #parallel? - when no parallel_manager - returns false - when parallel_manager - returns true - #configure_socket - when host - sets interface - when not parallel - returns a faraday response - succeeds - #configure_proxy - when proxy - sets proxy - when username and password - sets proxyuserpwd - when the connection failed - when not parallel - raises an error - when parallel - translates the response code into an error message - isn't successful - #request - sets on_complete callback - sets headers - returns request - sets url - sets http method - sets body - #perform_request - when body - reads body - parallel_manager - when given - uses - when not given - falls back to single - #configure_ssl - when client_cert_passwd - sets keypasswd to the value of client_cert_passwd - when version - sets sslversion - when client_certificate_password - sets keypasswd to the value of client_cert_passwd - when verify is false - sets ssl_verifypeer to false - sets ssl_verifyhost to 0 - when ca_file - sets cainfo - when ca_path - sets capath - when no client_cert_passwd - does not set keypasswd on options - when client_key - sets sslkey - when verify is true - sets ssl_verifyhost to 2 - sets ssl_verifypeer to true - when client_cert - sets sslcert - #configure_timeout - when open_timeout - sets connecttimeout_ms - when timeout - sets timeout_ms - #initialize - when typhoeus request options specified - should set option for request - when a response is stubbed - stubs the response body - stubs the headers - stubs the status code - when parallel - succeeds - returns a faraday response +Typhoeus::Errors::NoStub + displays the request url Pending: (Failures listed here are expected and do not affect your suite's status)  - 1) Typhoeus::Request::Callbacks#execute_callbacks when local on_complete and gobal on_success runs all global callbacks first - # No reason given - # ./spec/typhoeus/request/callbacks_spec.rb:86 - - 2) Typhoeus::Request::Operations#run calls on_headers and on_body + 1) Typhoeus::Request::Operations#run calls on_headers and on_body # Temporarily skipped with xit  # ./spec/typhoeus/request/operations_spec.rb:52  - 3) Typhoeus::Request::Operations#run calls on_headers and on_complete + 2) Typhoeus::Request::Operations#run calls on_headers and on_complete # Temporarily skipped with xit  # ./spec/typhoeus/request/operations_spec.rb:60 + + 3) Typhoeus::Request::Callbacks#execute_callbacks when local on_complete and gobal on_success runs all global callbacks first + # No reason given + # ./spec/typhoeus/request/callbacks_spec.rb:86  -Finished in 2.76 seconds (files took 3.24 seconds to load) +Finished in 5.93 seconds (files took 2.19 seconds to load) 450 examples, 0 failures, 3 pending -Randomized with seed 26682 +Randomized with seed 34629 /usr/bin/ruby3.1 /usr/bin/gem2deb-test-runner @@ -2136,68 +2172,120 @@ /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 Rack::Handler is deprecated and replaced by Rackup::Handler -Randomized with seed 46931 +Randomized with seed 61991 -Typhoeus::Config - responds to user_agent - responds to cache= - responds to block_connection - responds to proxy= - responds to verbose - responds to block_connection= - responds to proxy - responds to user_agent= - responds to memoize= - responds to verbose= - responds to cache - responds to memoize +Typhoeus::Hydra::Addable + asks easy factory for an easy + adds easy to multi -Typhoeus::Hydra::Cacheable +Typhoeus::Request + #eql? + when same class + when same base_url and options + when different order + returns true + when same order + returns true + when same base_url and other options + returns false + when other base_url + returns false + when another class + returns false + #hash + when not request.eql?(other) + has different hashes + when request.eql?(other) + when different order + has same hashes + when same order + has same hashes + when hashes with different orders are contained in arrays + has different hashes + .new + stores original options + stores options + sets defaults + stores base_url + .url + pushes an easy back into the pool + when parameters + returns full url + when no parameters + returns base_url + #encoded_body + returns encoded body + set_defaults + when Config.verbose set + respects + when maxredirs + when not set + defaults to 50 + when set + respects + when Config.proxy set + respects + when option proxy set + does not override + when Config.user_agent set + without headers + uses the global options' user agent + with headers + uses the request options' user agent + when header with user agent + doesn't modify user agent + when header without user agent + add user agent + +Typhoeus::Hydra::BlockConnection add - when cache activated - when request new - doesn't call complete - sets no response - when cache is specified on a request - when cache is false - initiates an HTTP call - when cache is defined - uses the cache instead of making a new request - when request in memory - returns response with cached status - when no queued requests - finishes request - when queued requests - finishes both requests + when block_connection activated + raises -Typhoeus::Request::Stubbable +Typhoeus::Hydra::Runnable #run - checks expectations - when expectation found - calls on_headers callbacks - finishes request - calls on_body callbacks - sets mock on response + runs multi#perform + runs multi#dequeue_many + when request queued in callback + when real request + when max_concurrency default + calls on_complete callback once for every response + when no real request + when before hook returns and finishes response + simulates real multi run and adds and finishes both requests + when really queued request + sends third + sends second + sends first + when three request queued + sends third + sends second + sends thirds last + sends second second + sends first + sends first first + when request queued + sends Typhoeus::Request::Callbacks - #on_failure + #on_success  responds - when no block given - returns @on_failure when multiple blocks given  stores when block given  stores + when no block given + returns @on_success #execute_callbacks - when on_success + when on_complete when global callback  executes blocks and passes response when global and local callbacks  runs global first when local callback - executes blocks and passes response  sets handled_response - when on_progress + executes blocks and passes response + when on_failure when global and local callbacks  runs global first when global callback @@ -2205,866 +2293,814 @@ when local callback  sets handled_response  executes blocks and passes response - when on_failure - when local callback + when local on_complete and gobal on_success + runs all global callbacks first (PENDING: No reason given) + when on_progress + when global callback  executes blocks and passes response - sets handled_response when global and local callbacks  runs global first + when local callback + executes blocks and passes response + sets handled_response + when on_success when global callback  executes blocks and passes response - when on_complete when global and local callbacks  runs global first - when global callback - executes blocks and passes response when local callback - executes blocks and passes response  sets handled_response - when local on_complete and gobal on_success - runs all global callbacks first (PENDING: No reason given) - #on_progress + executes blocks and passes response + #on_complete  responds - when no block given - returns @on_progress when block given  stores when multiple blocks given  stores - #on_complete + when no block given + returns @on_complete + #on_failure  responds when multiple blocks given  stores when no block given - returns @on_complete + returns @on_failure when block given  stores - #on_success + #on_progress  responds + when block given + stores when multiple blocks given  stores when no block given - returns @on_success - when block given - stores - -Typhoeus::Hydra::Stubbable - #add - checks expectations - when expectation found - is a mock - finishes response - calls on_headers callbacks - calls on_body callbacks - -Rack::Typhoeus::Middleware::ParamsDecoder::Helper - #decode - decodes - doesn't modify - #convert - when not encoded - returns unmodified - when encoded - returns values - #encoded? - when keys are ascending numbers starting with zero - returns true - when there is only one key - and its not 0 - returns false - and its 0 - returns true - when keys are not ascending numbers starting with zero - returns false - #decode! - when hash - when encoded - when longer and more complex - decodes ensuring arrays maintain their original order - when simple - modifies - decodes - when nested - modifies - decodes - when not encoded - doesn't modify - when no hash - returns self - -Typhoeus::Request::Responseable - #response= - stores response - -Rack::Typhoeus::Middleware::ParamsDecoder - when requesting - transforms parameters - -Typhoeus::Request::BlockConnection - #blocked? - when global and local block_connection - takes local - when global block_connection - when true - returns true - when false - returns false - when local block_connection - when true - returns true - when false - returns false - run - when blocked - raises - when not blocked - doesn't raise - -Typhoeus::Response::Informations - #headers - when requesting - returns headers - when multiple headers - returns the last - when no response_headers - returns nil - when response_headers - has Server - returns nonempty headers - has Expire - when mock - when headers - returns Typhoeus::Response::Header - returns headers - #request_size - returns request_size from options - #connect_time - returns connect_time from options - #effective_url - returns effective_url from options - #primary_ip - returns primary_ip from options - #redirect_count - returns redirect_count from options - #response_body - when response_body - returns response_body from options - when body - returns body from options - #response_headers - when no mock - returns response_headers from options - when mock - when no response_headers - when multiple values for a header - constructs response_headers - when headers - constructs response_headers - #appconnect_time - returns appconnect_time from options - #return_code - returns return_code from options - #redirections - when headers - returns empty array - when no response_headers - returns empty array - when multiple headers - returns response from all but last headers - #return_message - returns a message - with nil return_code - returns nil - #starttransfer_time - returns starttransfer_time from options - #debug_info - returns debug_info from options - #httpauth_avail - returns httpauth_avail from options - #namelookup_time - returns namelookup_time from options - #pretransfer_time - returns pretransfer_time from options - #response_code - when response_code - returns response_code from options - when code - returns code from options - #redirect_time - returns redirect_time from options - #total_time - returns total_time from options - -Typhoeus::Response::Status - #failure? - when response code is not 300-526 - returns false - when response code between 300-526 and 100-300 - when no mock - when return_code :internal_server_error - returns true - when return_code nil - returns false - when mock - when return_code nil - returns true - when return_code :internal_server_error - returns true - #success? - when response code 200-299 - when no mock - when return_code :ok - returns true - when return_code nil - returns false - when mock - when return_code :ok - returns true - when return_code nil - returns true - when response code is not 200-299 - returns false - #http_version - when header - when invalid http_version - returns nil - when valid http_version - returns http_version - when no http version - returns nil - when no header - returns nil - #modified? - when response code 304 - when mock - when return_code :ok - returns false - when return_code nil - returns false - when no mock - when return_code nil - returns true - when return_code :ok - returns false - when response code is not 304 - returns true - #first_header_line - when single header - returns first line - when multiple header - returns first line of last block - #status_message - when no header - returns nil - when header - when no message - returns nil - when messsage - returns message - timed_out? - when return code is operation_timedout - return true - -Typhoeus::Expectation - options_match? - when options are nested - returns true - when no match - returns false - when match - returns true - when options contains an array - returns true - when options are a subset from request_options - returns true - #responses - returns responses - .clear - clears all - #url_match? - when regexp - when no match - returns false - with nil request_url - returns false - when match - returns true - when string - when no match - returns false - when match - returns true - when nil - returns true - when not string, regexp, nil - returns false - #and_return - when block - adds to responses - when value - adds to responses - when array - adds to responses - #response - when one response - is pre-constructed - returns response - is lazily-constructed - returns response - when multiple responses - returns one by one - .all - when @expectations not nil - returns @expectations - when @expectations nil - returns empty array - .new - sets base_url - sets options - initializes response_counter - #stubbed_from - returns self - sets value - .response_for - finds a matching expectation and returns its next response - returns nil if no matching expectation is found - #matches? - calls url_match? - calls options_match? - -Typhoeus::Hydra::Memoizable - add - when memoization activated - when request in memory - finishes request - when queued request - dequeues - when request new - doesn't call complete - sets no response - #run - clears memory before starting - -Typhoeus::Hydra::Before - #add - when before - when one - executes - when true - calls super - when falsy - when response - doesn't call super - when false - doesn't call super - when queue requests - dequeues - when multi - when all true - executes all - calls super - when middle false - doesn't call super - executes only two - when no before - calls super + returns @on_progress Typhoeus - .head + .delete + makes DELETE requests + returns ok + .options + returns ok + makes OPTIONS requests + .put  returns ok + makes PUT requests + .patch + returns ok + makes PATCH requests + .before + adds callback .stub + when no similar expectation exists + adds expectation + returns expectation + calls the block to construct a response when a request matches the stub when similar expectation exists  doesn't add expectation  calls the block to construct a response when a request matches the stub  returns expectation - when no similar expectation exists - calls the block to construct a response when a request matches the stub - returns expectation - adds expectation - .before - adds callback - .delete - returns ok - makes DELETE requests - .put - makes PUT requests + .head  returns ok + .with_connection + returns result of block + sets block connection back to previous value + executes block with block connection is false .configure  sets values config  yields config .post - returns ok  makes POST requests + returns ok .get  makes GET requests  returns ok - .with_connection - sets block connection back to previous value - returns result of block - executes block with block connection is false - .patch - makes PATCH requests - returns ok - .options - makes OPTIONS requests - returns ok - -Typhoeus::Request::Before - #queue - when no before - calls super - when before - when multi - when all true - executes all - calls super - when middle false - doesn't call super - executes only two - when one - executes - when a response - doesn't call super - returns response - when false - doesn't call super - returns response - when true - calls super - -Typhoeus::Cache::Dalli - #set - sends the request to Dalli - #get - returns nil when the key is not in the cache - returns the cached response when the key is in cache - -Typhoeus::Request::Memoizable - #response= - when memoization activated - when no GET request - doesn't store response in memory - when GET request - stores response in memory Typhoeus::Request::Operations #run - calls on_headers and on_body (PENDING: Temporarily skipped with xit) - grabs an easy - performs - calls on_headers and on_complete (PENDING: Temporarily skipped with xit)  returns a response - makes response headers available to on_body - calls on_body - releases easy  sets response + performs + grabs an easy  calls on_complete + releases easy + makes response headers available to on_body + calls on_headers and on_complete (PENDING: Temporarily skipped with xit)  generates settings + calls on_headers and on_body (PENDING: Temporarily skipped with xit) + calls on_body #finish  executes callbacks  assigns request to response - returns response  assigns response + returns response -Typhoeus::Response::Header - can be Marshal'd - .new - when string - sets Date - provides symbol access - provides case insensitive access - when hash - sets Date - provides case insensitive access - #parse - when header - sets Cookie#1 - sets Expires - sets Transfer-Encoding - sets Cache-Control - sets Content-Type - sets X-Frame-Options - sets Set-Cookie - provides case insensitive access - sets Cookie#2 - sets Server - sets Date - sets raw - sets Cookie#0 - sets P3P - sets X-XSS-Protection - with broken headers - returns empty string for invalid headers - includes line with only whitespace - ignores it - includes a multi-line header - joins header parts - when no header - returns nil - -Typhoeus::Cache::Redis - #get - returns the cached response when the key is in Redis - returns nil when the key is not in Redis - #set - sends the serialized request to Redis - -Typhoeus::Request::Cacheable - #run - when cache activated +Typhoeus::Hydra::Memoizable + add + when memoization activated when request in memory  finishes request + when queued request + dequeues when request new - fetches response - when cache is specified on a request - when cache is false - finishes request - when cache is defined - finishes request + sets no response + doesn't call complete + #run + clears memory before starting + +Typhoeus::Request::Cacheable #response= when cache activated + when request in memory + sets cached to true for response + finishes request when request new  caches response  doesn't set cached on response - when request in memory - finishes request - sets cached to true for response #cache_ttl when option[:cache_ttl]  returns - -Typhoeus::Hydra::Runnable #run - runs multi#dequeue_many - runs multi#perform - when request queued - sends - when three request queued - sends first first - sends second - sends third - sends first - sends second second - sends thirds last - when really queued request - sends first - sends third - sends second - when request queued in callback - when real request - when max_concurrency default - calls on_complete callback once for every response - when no real request - when before hook returns and finishes response - simulates real multi run and adds and finishes both requests - -Typhoeus::Hydra::BlockConnection - add - when block_connection activated - raises - -Typhoeus::Hydra - #hydra - returns a hydra - #new - passes options to multi - -Typhoeus::Response - .new - when options - when return_code - stores - when headers - has key - stores unmodified - sets @headers to a Typhoeus::Response::Header - #handled_response - when @handled_response is nil - returns response - when @handled_response - returns @handled_response - #cached - when @cached is nil - returns false - when @cached - returns cached status - #mock - when @mock and options[:mock] - returns @mock - when options[:mock] - returns options[:mock] - when @mock - returns @mock - -Typhoeus::Hydra::Addable - adds easy to multi - asks easy factory for an easy + when cache activated + when cache is specified on a request + when cache is defined + finishes request + when cache is false + finishes request + when request in memory + finishes request + when request new + fetches response Typhoeus::Request::Marshal #marshal_dump - when on_failure handler - doesn't raise when dumped - doesn't include @on_failure - when loading - includes base_url - doesn't include on_failure - when on_complete handler + when on_progress handler + doesn't include @on_progress  doesn't raise when dumped - doesn't include @on_complete when loading - doesn't include on_complete  includes base_url + doesn't include on_progress when run through hydra  doesn't include @hydra when loading  doesn't include RSpec::ExampleGroups::TyphoeusRequestMarshal::MarshalDump::WhenRunThroughHydra::WhenLoading  includes base_url - when on_progress handler - doesn't include @on_progress + when on_success handler  doesn't raise when dumped + doesn't include @on_success when loading - doesn't include on_progress + doesn't include on_success  includes base_url - when on_success handler - doesn't include @on_success + when on_failure handler + doesn't raise when dumped + doesn't include @on_failure + when loading + includes base_url + doesn't include on_failure + when on_complete handler + doesn't include @on_complete  doesn't raise when dumped when loading - doesn't include on_success  includes base_url + doesn't include on_complete + +Typhoeus::Request::Memoizable + #response= + when memoization activated + when GET request + stores response in memory + when no GET request + doesn't store response in memory + +Typhoeus::Config + responds to memoize + responds to user_agent + responds to memoize= + responds to proxy + responds to cache + responds to cache= + responds to verbose= + responds to user_agent= + responds to block_connection= + responds to verbose + responds to block_connection + responds to proxy= + +Typhoeus::Response::Header + can be Marshal'd + #parse + when header + sets Cache-Control + sets P3P + sets Expires + sets Server + sets X-Frame-Options + sets Transfer-Encoding + provides case insensitive access + sets Date + sets Set-Cookie + sets Cookie#2 + sets Cookie#0 + sets X-XSS-Protection + sets Content-Type + sets raw + sets Cookie#1 + with broken headers + returns empty string for invalid headers + includes line with only whitespace + ignores it + includes a multi-line header + joins header parts + when no header + returns nil + .new + when hash + provides case insensitive access + sets Date + when string + sets Date + provides symbol access + provides case insensitive access + +Typhoeus::Cache::Redis + #set + sends the serialized request to Redis + #get + returns nil when the key is not in Redis + returns the cached response when the key is in Redis + +Typhoeus::Hydra::Queueable + #dequeue_many + when three request queued + adds requests from queue to multi + when max_concurrency is a string + adds requests from queue to multi + when max_concurrency is two + adds requests from queue to multi + when request queued + adds request from queue to multi + when no request queued + does nothing + #queue + sets hydra on request + accepts requests + adds to queued requests + adds to front of queued requests + #abort + clears queue + +Typhoeus::Expectation + #responses + returns responses + .all + when @expectations nil + returns empty array + when @expectations not nil + returns @expectations + #and_return + when value + adds to responses + when array + adds to responses + when block + adds to responses + .clear + clears all + #matches? + calls url_match? + calls options_match? + options_match? + when options are nested + returns true + when options contains an array + returns true + when no match + returns false + when options are a subset from request_options + returns true + when match + returns true + #response + when one response + is pre-constructed + returns response + is lazily-constructed + returns response + when multiple responses + returns one by one + #stubbed_from + sets value + returns self + .new + initializes response_counter + sets options + sets base_url + .response_for + finds a matching expectation and returns its next response + returns nil if no matching expectation is found + #url_match? + when nil + returns true + when not string, regexp, nil + returns false + when regexp + when no match + returns false + with nil request_url + returns false + when match + returns true + when string + when no match + returns false + when match + returns true Faraday::Adapter::Typhoeus - when not parallel - succeeds - returns a faraday response + #configure_socket + when host + sets interface + when the connection failed + when not parallel + raises an error + when parallel + translates the response code into an error message + isn't successful #parallel? when no parallel_manager  returns false when parallel_manager  returns true + when not parallel + succeeds + returns a faraday response + #request + returns request + sets headers + sets body + sets on_complete callback + sets url + sets http method + #configure_timeout + when open_timeout + sets connecttimeout_ms + when timeout + sets timeout_ms #configure_ssl - when client_cert - sets sslcert - when client_certificate_password - sets keypasswd to the value of client_cert_passwd - when no client_cert_passwd - does not set keypasswd on options - when ca_path - sets capath - when client_cert_passwd - sets keypasswd to the value of client_cert_passwd when ca_file  sets cainfo + when ca_path + sets capath + when client_cert + sets sslcert when client_key  sets sslkey when verify is false  sets ssl_verifyhost to 0  sets ssl_verifypeer to false + when version + sets sslversion + when no client_cert_passwd + does not set keypasswd on options when verify is true  sets ssl_verifypeer to true  sets ssl_verifyhost to 2 - when version - sets sslversion - #initialize - when typhoeus request options specified - should set option for request - #request - sets url - sets body - sets on_complete callback - sets http method - sets headers - returns request + when client_cert_passwd + sets keypasswd to the value of client_cert_passwd + when client_certificate_password + sets keypasswd to the value of client_cert_passwd + when a response is stubbed + stubs the response body + stubs the status code + stubs the headers #perform_request parallel_manager - when given - uses when not given  falls back to single + when given + uses when body  reads body - #configure_timeout - when open_timeout - sets connecttimeout_ms - when timeout - sets timeout_ms + #initialize + when typhoeus request options specified + should set option for request when parallel - returns a faraday response  succeeds - when a response is stubbed - stubs the headers - stubs the status code - stubs the response body + returns a faraday response #configure_proxy when proxy  sets proxy when username and password  sets proxyuserpwd - when the connection failed - when not parallel - raises an error - when parallel - translates the response code into an error message - isn't successful - #configure_socket - when host - sets interface + +Rack::Typhoeus::Middleware::ParamsDecoder + when requesting + transforms parameters + +Typhoeus::Response::Status + #modified? + when response code 304 + when mock + when return_code :ok + returns false + when return_code nil + returns false + when no mock + when return_code nil + returns true + when return_code :ok + returns false + when response code is not 304 + returns true + #failure? + when response code is not 300-526 + returns false + when response code between 300-526 and 100-300 + when mock + when return_code :internal_server_error + returns true + when return_code nil + returns true + when no mock + when return_code nil + returns false + when return_code :internal_server_error + returns true + #success? + when response code is not 200-299 + returns false + when response code 200-299 + when mock + when return_code :ok + returns true + when return_code nil + returns true + when no mock + when return_code nil + returns false + when return_code :ok + returns true + #first_header_line + when multiple header + returns first line of last block + when single header + returns first line + timed_out? + when return code is operation_timedout + return true + #status_message + when no header + returns nil + when header + when messsage + returns message + when no message + returns nil + #http_version + when no header + returns nil + when header + when invalid http_version + returns nil + when valid http_version + returns http_version + when no http version + returns nil + +Typhoeus::Hydra + #hydra + returns a hydra + #new + passes options to multi + +Typhoeus::Hydra::Before + #add + when before + when multi + when middle false + executes only two + doesn't call super + when all true + executes all + calls super + when one + executes + when true + calls super + when falsy + when response + doesn't call super + when false + doesn't call super + when queue requests + dequeues + when no before + calls super + +Typhoeus::Request::Before + #queue + when no before + calls super + when before + when one + executes + when true + calls super + when a response + doesn't call super + returns response + when false + doesn't call super + returns response + when multi + when middle false + doesn't call super + executes only two + when all true + calls super + executes all + +Typhoeus::Request::Stubbable + #run + checks expectations + when expectation found + sets mock on response + calls on_body callbacks + calls on_headers callbacks + finishes request + +Typhoeus::Response::Informations + #appconnect_time + returns appconnect_time from options + #response_code + when code + returns code from options + when response_code + returns response_code from options + #redirections + when headers + returns empty array + when no response_headers + returns empty array + when multiple headers + returns response from all but last headers + #httpauth_avail + returns httpauth_avail from options + #redirect_count + returns redirect_count from options + #starttransfer_time + returns starttransfer_time from options + #response_headers + when mock + when no response_headers + when multiple values for a header + constructs response_headers + when headers + constructs response_headers + when no mock + returns response_headers from options + #pretransfer_time + returns pretransfer_time from options + #return_code + returns return_code from options + #namelookup_time + returns namelookup_time from options + #primary_ip + returns primary_ip from options + #connect_time + returns connect_time from options + #request_size + returns request_size from options + #return_message + returns a message + with nil return_code + returns nil + #redirect_time + returns redirect_time from options + #total_time + returns total_time from options + #debug_info + returns debug_info from options + #headers + when multiple headers + returns the last + when mock + when headers + returns Typhoeus::Response::Header + returns headers + when response_headers + has Expire + has Server + returns nonempty headers + when requesting + returns headers + when no response_headers + returns nil + #effective_url + returns effective_url from options + #response_body + when response_body + returns response_body from options + when body + returns body from options Typhoeus::Pool + #with + is re-entrant #release + writes cookies to disk  puts easy back into pool  resets easy  flush cookies to disk - writes cookies to disk when threaded access  releases correct number of easies - #easies - returns array - #with - is re-entrant #get + when easy in pool + takes when no easy in pool  creates when threaded access  creates correct number of easies when forked  creates - when easy in pool - takes + #easies + returns array -Typhoeus::Errors::NoStub - displays the request url +Typhoeus::Request::Responseable + #response= + stores response + +Typhoeus::Hydra::Cacheable + add + when cache activated + when request new + sets no response + doesn't call complete + when cache is specified on a request + when cache is false + initiates an HTTP call + when cache is defined + uses the cache instead of making a new request + when request in memory + returns response with cached status + when no queued requests + finishes request + when queued requests + finishes both requests + +Typhoeus::EasyFactory + #get + when option[:cache_ttl] + creates Ethon::Easy + timeouts + sets nosignal to true by default + when connecttimeout is not a whole number and connecttimeout_ms is set + ceils connecttimeout and does not change connecttimeout_ms + when connecttimeout is not a whole number and connecttimeout_ms is not set + ceils connecttimeout and sets connecttimeout_ms + when timeout is not a whole number and timeout_ms is set + ceils timeout and does not change timeout_ms + when timeout is not a whole number and timeout_ms is not set + ceils timeout and sets timeout_ms + when invalid option + reraises + when removed option + reraises with help + when changed option + reraises with help + when renamed option + warns + passes correct option + #set_callback + resets easy + adds next request + sets easy.on_progress callback when an on_progress callback is provided + sets easy.on_complete callback + pushes easy back into the pool + finishes request + +Typhoeus::Cache::Dalli + #set + sends the request to Dalli + #get + returns nil when the key is not in the cache + returns the cached response when the key is in cache + +Rack::Typhoeus::Middleware::ParamsDecoder::Helper + #convert + when not encoded + returns unmodified + when encoded + returns values + #encoded? + when there is only one key + and its not 0 + returns false + and its 0 + returns true + when keys are not ascending numbers starting with zero + returns false + when keys are ascending numbers starting with zero + returns true + #decode + doesn't modify + decodes + #decode! + when hash + when not encoded + doesn't modify + when encoded + when nested + decodes + modifies + when simple + decodes + modifies + when longer and more complex + decodes ensuring arrays maintain their original order + when no hash + returns self Typhoeus::Request::Actions - .options - makes OPTIONS Request - returns ok .delete + returns ok  makes DELETE Request + .get + makes GET Request  returns ok .patch  makes PATCH Request  returns ok - .put + .post  returns ok - makes PUT Request + makes POST Request .head  returns ok - .get - makes GET Request + .options  returns ok - .post + makes OPTIONS Request + .put + makes PUT Request  returns ok - makes POST Request -Typhoeus::Request - set_defaults - when header without user agent - add user agent - when Config.verbose set - respects - when header with user agent - doesn't modify user agent - when Config.user_agent set - with headers - uses the request options' user agent - without headers - uses the global options' user agent - when maxredirs - when not set - defaults to 50 - when set - respects - when Config.proxy set - respects - when option proxy set - does not override - #encoded_body - returns encoded body - #eql? - when same class - when other base_url +Typhoeus::Errors::NoStub + displays the request url + +Typhoeus::Hydra::Stubbable + #add + checks expectations + when expectation found + is a mock + finishes response + calls on_headers callbacks + calls on_body callbacks + +Typhoeus::Request::BlockConnection + #blocked? + when local block_connection + when false  returns false - when same base_url and other options + when true + returns true + when global block_connection + when true + returns true + when false  returns false - when same base_url and options - when different order - returns true - when same order - returns true - when another class - returns false - .url - pushes an easy back into the pool - when no parameters - returns base_url - when parameters - returns full url - #hash - when not request.eql?(other) - has different hashes - when request.eql?(other) - when different order - has same hashes - when hashes with different orders are contained in arrays - has different hashes - when same order - has same hashes - .new - sets defaults - stores base_url - stores original options - stores options - -Typhoeus::EasyFactory - #set_callback - sets easy.on_complete callback - sets easy.on_progress callback when an on_progress callback is provided - finishes request - adds next request - resets easy - pushes easy back into the pool - #get - when removed option - reraises with help - when invalid option - reraises - when renamed option - passes correct option - warns - when changed option - reraises with help - when option[:cache_ttl] - creates Ethon::Easy - timeouts - sets nosignal to true by default - when timeout is not a whole number and timeout_ms is not set - ceils timeout and sets timeout_ms - when connecttimeout is not a whole number and connecttimeout_ms is not set - ceils connecttimeout and sets connecttimeout_ms - when connecttimeout is not a whole number and connecttimeout_ms is set - ceils connecttimeout and does not change connecttimeout_ms - when timeout is not a whole number and timeout_ms is set - ceils timeout and does not change timeout_ms + when global and local block_connection + takes local + run + when not blocked + doesn't raise + when blocked + raises -Typhoeus::Hydra::Queueable - #dequeue_many - when request queued - adds request from queue to multi - when three request queued - adds requests from queue to multi - when max_concurrency is two - adds requests from queue to multi - when max_concurrency is a string - adds requests from queue to multi - when no request queued - does nothing - #abort - clears queue - #queue - sets hydra on request - adds to front of queued requests - accepts requests - adds to queued requests +Typhoeus::Response + .new + when options + when return_code + stores + when headers + stores unmodified + sets @headers to a Typhoeus::Response::Header + has key + #mock + when @mock and options[:mock] + returns @mock + when @mock + returns @mock + when options[:mock] + returns options[:mock] + #cached + when @cached + returns cached status + when @cached is nil + returns false + #handled_response + when @handled_response is nil + returns response + when @handled_response + returns @handled_response Pending: (Failures listed here are expected and do not affect your suite's status)  @@ -3072,19 +3108,19 @@ # No reason given  # ./spec/typhoeus/request/callbacks_spec.rb:86  - 2) Typhoeus::Request::Operations#run calls on_headers and on_body + 2) Typhoeus::Request::Operations#run calls on_headers and on_complete # Temporarily skipped with xit - # ./spec/typhoeus/request/operations_spec.rb:52 + # ./spec/typhoeus/request/operations_spec.rb:60  - 3) Typhoeus::Request::Operations#run calls on_headers and on_complete + 3) Typhoeus::Request::Operations#run calls on_headers and on_body # Temporarily skipped with xit - # ./spec/typhoeus/request/operations_spec.rb:60 + # ./spec/typhoeus/request/operations_spec.rb:52  -Finished in 2.73 seconds (files took 3.16 seconds to load) +Finished in 2.58 seconds (files took 2.05 seconds to load) 450 examples, 0 failures, 3 pending -Randomized with seed 46931 +Randomized with seed 61991 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -3119,12 +3155,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/24713/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/24713/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/22168 and its subdirectories -I: Current time: Fri Jan 31 20:07:49 -12 2025 -I: pbuilder-time-stamp: 1738397269 +I: removing directory /srv/workspace/pbuilder/24713 and its subdirectories +I: Current time: Sat Feb 1 22:10:34 +14 2025 +I: pbuilder-time-stamp: 1738397434