[DRE-maint] Bug#1005427: ruby-rack-test: FTBFS: ERROR: Test "ruby2.7" failed: Failure/Error: expect(body).to receive(:close)

Lucas Nussbaum lucas at debian.org
Sun Feb 13 07:07:25 GMT 2022


Source: ruby-rack-test
Version: 0.7.0-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220212 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>      Failure/Error: expect(body).to receive(:close)
> 
>        (#<CloseableBody:0x000055922c37f578 @closed=false>).close(*(any args))
>            expected: 1 time with any arguments
>            received: 2 times with any arguments
>      # ./spec/rack/test_spec.rb:168:in `block (4 levels) in <top (required)>'
> 
> Deprecation Warnings:
> 
> Using `should` from rspec-expectations' old `:should` syntax without explicitly enabling the syntax is deprecated. Use the new `:expect` syntax or explicitly enable `:should` with `config.expect_with(:rspec) { |c| c.syntax = :should }` instead. Called from /<<PKGBUILDDIR>>/spec/rack/test/cookie_spec.rb:49:in `block (3 levels) in <top (required)>'.
> 
> 
> If you need more of the backtrace for any of these deprecations to
> identify where to make the necessary changes, you can configure
> `config.raise_errors_for_deprecations!`, and it will turn the
> deprecation warnings into errors, giving you the full backtrace.
> 
> 1 deprecation warning total
> 
> Finished in 0.17521 seconds (files took 0.627 seconds to load)
> 204 examples, 1 failure, 2 pending
> 
> Failed examples:
> 
> rspec ./spec/rack/test_spec.rb:166 # Rack::Test::Session#request when the response body responds_to?(:close) closes response's body
> 
> /usr/bin/ruby2.7 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.10.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/exe/rspec --pattern ./\*\*/\*_spec.rb failed
> ERROR: Test "ruby2.7" failed: 


The full build log is available from:
http://qa-logs.debian.net/2022/02/12/ruby-rack-test_0.7.0-2_unstable.log

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 marking 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