[DRE-maint] Bug#1030406: ruby-typhoeus: FTBFS: ERROR: Test "ruby3.1" failed: Failure/Error: request.on_complete { |response| expect(response).not_to be_nil ; expect(response.headers).to eq(headers) ; expect(response.body).to be_empty }

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):
>      Failure/Error: request.on_complete { |response| expect(response).not_to be_nil ; expect(response.headers).to eq(headers) ; expect(response.body).to be_empty }
>      
>        expected: #<Typhoeus::Response::Header({})>
>             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"})>
>      
>        (compared using ==)
>      
>        Diff:
>        @@ -1,8 +1,15 @@
>        -{}
>        +{"Content-Type"=>"text/html;charset=utf-8",
>        + "Content-Length"=>"1025",
>        + "X-Xss-Protection"=>"1; mode=block",
>        + "X-Content-Type-Options"=>"nosniff",
>        + "X-Frame-Options"=>"SAMEORIGIN",
>        + "Server"=>"WEBrick/1.7.0 (Ruby/3.1.2/2022-04-12)",
>        + "Date"=>"Sat, 04 Feb 2023 02:48:33 GMT",
>        + "Connection"=>"Keep-Alive"}
>        
>      # /usr/share/rubygems-integration/all/gems/rspec-support-3.12.0/lib/rspec/support.rb:102:in `block in <module:Support>'
>      # /usr/share/rubygems-integration/all/gems/rspec-support-3.12.0/lib/rspec/support.rb:111:in `notify_failure'
>      # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/fail_with.rb:35:in `fail_with'
>      # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/handler.rb:38:in `handle_failure'
>      # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/handler.rb:56:in `block in handle_matcher'
>      # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/handler.rb:27:in `with_matcher'
>      # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/handler.rb:48:in `handle_matcher'
>      # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/expectation_target.rb:65:in `to'
>      # /usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/expectation_target.rb:101:in `to'
>      # ./spec/typhoeus/request/operations_spec.rb:56:in `block (4 levels) in <top (required)>'
>      # ./lib/typhoeus/request/callbacks.rb:146:in `block in execute_callbacks'
>      # ./lib/typhoeus/request/callbacks.rb:145:in `each'
>      # ./lib/typhoeus/request/callbacks.rb:145:in `execute_callbacks'
>      # ./lib/typhoeus/request/operations.rb:35:in `finish'
>      # ./lib/typhoeus/easy_factory.rb:164:in `block in set_callback'
>      # /usr/share/rubygems-integration/all/gems/ethon-0.16.0/lib/ethon/easy/response_callbacks.rb:74:in `block in complete'
>      # /usr/share/rubygems-integration/all/gems/ethon-0.16.0/lib/ethon/easy/response_callbacks.rb:74:in `each'
>      # /usr/share/rubygems-integration/all/gems/ethon-0.16.0/lib/ethon/easy/response_callbacks.rb:74:in `complete'
>      # /usr/share/rubygems-integration/all/gems/ethon-0.16.0/lib/ethon/easy/operations.rb:34:in `perform'
>      # ./lib/typhoeus/request/operations.rb:16:in `run'
>      # ./lib/typhoeus/request/cacheable.rb:18:in `run'
>      # ./lib/typhoeus/request/block_connection.rb:31:in `run'
>      # ./lib/typhoeus/request/stubbable.rb:25:in `run'
>      # ./lib/typhoeus/request/before.rb:26:in `run'
>      # ./spec/typhoeus/request/operations_spec.rb:57:in `block (3 levels) in <top (required)>'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:263:in `instance_exec'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:263:in `block in run'
>      # /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'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/hooks.rb:486:in `block in run'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/hooks.rb:624:in `run_around_example_hooks_for'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/hooks.rb:486:in `run'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:468:in `with_around_example_hooks'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example.rb:259:in `run'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:646:in `block in run_examples'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:642:in `map'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:642:in `run_examples'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:607:in `run'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:608:in `block in run'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:608:in `map'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/example_group.rb:608:in `run'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:121:in `map'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/configuration.rb:2070:in `with_suite_hooks'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:116:in `block in run_specs'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/reporter.rb:74:in `report'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:115:in `run_specs'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:89:in `run'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:71:in `run'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/core/runner.rb:45:in `invoke'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec:4:in `<main>'
> 
> Finished in 0.89876 seconds (files took 1.11 seconds to load)
> 450 examples, 2 failures, 1 pending
> 
> Failed examples:
> 
> rspec ./spec/typhoeus/request/operations_spec.rb:60 # Typhoeus::Request::Operations#run calls on_headers and on_complete
> rspec ./spec/typhoeus/request/operations_spec.rb:52 # Typhoeus::Request::Operations#run calls on_headers and on_body
> 
> 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