[DRE-maint] Bug#1030406: ruby-typhoeus: FTBFS: ERROR: Test "ruby3.1" failed: [31mFailure/Error: request.on_complete { |response| expect(response).not_to be_nil ; expect(response.headers).to eq(headers) ; expect(response.body).to be_empty }[0m
Lucas Nussbaum
lucas at debian.org
Sat Feb 4 07:28:09 GMT 2023
Source: ruby-typhoeus
Version: 1.4.0-2.1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230203 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> [31mFailure/Error: request.on_complete { |response| expect(response).not_to be_nil ; expect(response.headers).to eq(headers) ; expect(response.body).to be_empty }[0m
> [31m[0m
> [31m expected: #<Typhoeus::Response::Header({})>[0m
> [31m got: #<Typhoeus::Response::Header({"Connection"=>"Keep-Alive", "Content-Length"=>"1025", "Content-Type"=>"...nt-Type-Options"=>"nosniff", "X-Frame-Options"=>"SAMEORIGIN", "X-Xss-Protection"=>"1; mode=block"})>[0m
> [31m[0m
> [31m (compared using ==)[0m
> [31m[0m
> [31m Diff:[0m[0m
> [31m [0m[34m@@ -1,8 +1,15 @@[0m
> [31m [0m[31m-{}[0m
> [31m [0m[32m+{"Content-Type"=>"text/html;charset=utf-8",[0m
> [31m [0m[32m+ "Content-Length"=>"1025",[0m
> [31m [0m[32m+ "X-Xss-Protection"=>"1; mode=block",[0m
> [31m [0m[32m+ "X-Content-Type-Options"=>"nosniff",[0m
> [31m [0m[32m+ "X-Frame-Options"=>"SAMEORIGIN",[0m
> [31m [0m[32m+ "Server"=>"WEBrick/1.7.0 (Ruby/3.1.2/2022-04-12)",[0m
> [31m [0m[32m+ "Date"=>"Sat, 04 Feb 2023 02:48:33 GMT",[0m
> [31m [0m[32m+ "Connection"=>"Keep-Alive"}[0m
> [31m [0m[0m
> [36m# /usr/share/rubygems-integration/all/gems/rspec-support-3.12.0/lib/rspec/support.rb:102:in `block in <module:Support>'[0m
> [36m# /usr/share/rubygems-integration/all/gems/rspec-support-3.12.0/lib/rspec/support.rb:111:in `notify_failure'[0m
> [36m# /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/fail_with.rb:35:in `fail_with'[0m
> [36m# /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/handler.rb:38:in `handle_failure'[0m
> [36m# /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/handler.rb:56:in `block in handle_matcher'[0m
> [36m# /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/handler.rb:27:in `with_matcher'[0m
> [36m# /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/handler.rb:48:in `handle_matcher'[0m
> [36m# /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/expectation_target.rb:65:in `to'[0m
> [36m# /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/expectation_target.rb:101:in `to'[0m
> [36m# ./spec/typhoeus/request/operations_spec.rb:56:in `block (4 levels) in <top (required)>'[0m
> [36m# ./lib/typhoeus/request/callbacks.rb:146:in `block in execute_callbacks'[0m
> [36m# ./lib/typhoeus/request/callbacks.rb:145:in `each'[0m
> [36m# ./lib/typhoeus/request/callbacks.rb:145:in `execute_callbacks'[0m
> [36m# ./lib/typhoeus/request/operations.rb:35:in `finish'[0m
> [36m# ./lib/typhoeus/easy_factory.rb:164:in `block in set_callback'[0m
> [36m# /usr/share/rubygems-integration/all/gems/ethon-0.16.0/lib/ethon/easy/response_callbacks.rb:74:in `block in complete'[0m
> [36m# /usr/share/rubygems-integration/all/gems/ethon-0.16.0/lib/ethon/easy/response_callbacks.rb:74:in `each'[0m
> [36m# /usr/share/rubygems-integration/all/gems/ethon-0.16.0/lib/ethon/easy/response_callbacks.rb:74:in `complete'[0m
> [36m# /usr/share/rubygems-integration/all/gems/ethon-0.16.0/lib/ethon/easy/operations.rb:34:in `perform'[0m
> [36m# ./lib/typhoeus/request/operations.rb:16:in `run'[0m
> [36m# ./lib/typhoeus/request/cacheable.rb:18:in `run'[0m
> [36m# ./lib/typhoeus/request/block_connection.rb:31:in `run'[0m
> [36m# ./lib/typhoeus/request/stubbable.rb:25:in `run'[0m
> [36m# ./lib/typhoeus/request/before.rb:26:in `run'[0m
> [36m# ./spec/typhoeus/request/operations_spec.rb:57:in `block (3 levels) in <top (required)>'[0m
> [36m# /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:263:in `instance_exec'[0m
> [36m# /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:263:in `block in run'[0m
> [36m# /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'[0m
> [36m# /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'[0m
> [36m# /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/hooks.rb:486:in `block in run'[0m
> [36m# /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/hooks.rb:624:in `run_around_example_hooks_for'[0m
> [36m# /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/hooks.rb:486:in `run'[0m
> [36m# /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:468:in `with_around_example_hooks'[0m
> [36m# /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'[0m
> [36m# /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:259:in `run'[0m
> [36m# /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:646:in `block in run_examples'[0m
> [36m# /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:642:in `map'[0m
> [36m# /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:642:in `run_examples'[0m
> [36m# /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:607:in `run'[0m
> [36m# /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:608:in `block in run'[0m
> [36m# /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:608:in `map'[0m
> [36m# /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:608:in `run'[0m
> [36m# /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'[0m
> [36m# /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:121:in `map'[0m
> [36m# /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'[0m
> [36m# /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/configuration.rb:2070:in `with_suite_hooks'[0m
> [36m# /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:116:in `block in run_specs'[0m
> [36m# /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/reporter.rb:74:in `report'[0m
> [36m# /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:115:in `run_specs'[0m
> [36m# /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:89:in `run'[0m
> [36m# /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:71:in `run'[0m
> [36m# /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:45:in `invoke'[0m
> [36m# /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec:4:in `<main>'[0m
>
> Finished in 0.89876 seconds (files took 1.11 seconds to load)
> [31m450 examples, 2 failures, 1 pending[0m
>
> Failed examples:
>
> [31mrspec ./spec/typhoeus/request/operations_spec.rb:60[0m [36m# Typhoeus::Request::Operations#run calls on_headers and on_complete[0m
> [31mrspec ./spec/typhoeus/request/operations_spec.rb:52[0m [36m# Typhoeus::Request::Operations#run calls on_headers and on_body[0m
>
> Randomized with seed 46209
>
> /usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.12.0/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb failed
> ERROR: Test "ruby3.1" failed:
The full build log is available from:
http://qa-logs.debian.net/2023/02/03/ruby-typhoeus_1.4.0-2.1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230203;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230203&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the Pkg-ruby-extras-maintainers
mailing list