[DRE-maint] Bug#1027080: ruby-localhost: FTBFS: tests fail randomly

Antonio Terceiro terceiro at debian.org
Tue Dec 27 15:41:37 GMT 2022


Source: ruby-localhost
Version: 1.1.9-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby-rspec-3.12

Hi,

I'm about to upload ruby-rspec 3.12. During a test rebuild with that version,
ruby-localhost failed to build. I retried it with ruby-rspec 3.10 from
the archive, and I got one successfull build, and one failure exactly
like the one below. So this means the test suite fails randomly, and
that is a problem.

Relevant part of the build log (hopefully):
>      2.2) Failure/Error: expect(status).to be_success
>             expected `#<Process::Status: pid 122520 exit 56>.success?` to be truthy, got false
>           # ./spec/localhost/protocol_spec.rb:42:in `block (2 levels) in <top (required)>'
>           # /usr/share/rubygems-integration/all/gems/async-rspec-1.16.1/lib/async/rspec/reactor.rb:93:in `block (4 levels) in <module:RSpec>'
>           # /usr/share/rubygems-integration/all/gems/async-rspec-1.16.1/lib/async/rspec/reactor.rb:57:in `block in run_in_reactor'
>           # /usr/share/rubygems-integration/all/gems/async-1.30.3/lib/async/task.rb:261:in `block in make_fiber'
> 
> Finished in 2.71 seconds (files took 0.22921 seconds to load)
> 10 examples, 2 failures
> 
> Failed examples:
> 
> rspec './spec/localhost/protocol_spec.rb[1:1:2]' # Localhost::Authority behaves like valid protocol can connect using HTTP over TLSv1.2
> rspec './spec/localhost/protocol_spec.rb[1:2:2]' # Localhost::Authority behaves like valid protocol can connect using HTTP over default
> 
> /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 --format documentation failed
> ERROR: Test "ruby3.1" failed: 

The full build log is attached.

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruby-localhost.log.gz
Type: application/gzip
Size: 20056 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20221227/223b736c/attachment-0001.gz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20221227/223b736c/attachment-0001.sig>


More information about the Pkg-ruby-extras-maintainers mailing list