[DRE-maint] Bug#1027092: ruby-stomp: FTBFS with ruby-rspec 3.12: ERROR: Test "ruby3.1" failed: Failure/Error:

Antonio Terceiro terceiro at debian.org
Tue Dec 27 17:11:41 GMT 2022


Source: ruby-stomp
Version: 1.4.10-1
Severity: important
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-stomp failed to build.

Relevant part of the build log (hopefully):
>      Failure/Error:
>            expect(Stomp::Connection).to receive(:new).with(:hosts => [{:login => 'testlogin',
>                                                                    :passcode => 'testpasscode',
>                                                                    :host => 'host.foobar.com',
>                                                                    :port => 12345}],
>                                                        :logger => null_logger,
>                                                        :reliable => false,
>        :client_main => @cli_thread)
> 
>        #<Stomp::Connection (class)> received :new with unexpected arguments
>          expected: ({:client_main=>#<Thread:0x00007fa59b0c3c60 run>, :hosts=>[{:host=>"host.foobar.com", :login=>"testlog...code=>"testpasscode", :port=>12345}], :logger=>#<Double "mock Stomp::NullLogger">, :reliable=>false}) (keyword arguments)
>               got: ({:client_main=>#<Thread:0x00007fa59b0c3c60 run>, :hosts=>[{:host=>"host.foobar.com", :login=>"testlog...code=>"testpasscode", :port=>12345}], :logger=>#<Double "mock Stomp::NullLogger">, :reliable=>false}) (options hash)
>      # ./spec/client_spec.rb:273:in `block (3 levels) in <top (required)>'
> 
> Finished in 0.19699 seconds (files took 0.14394 seconds to load)
> 150 examples, 7 failures
> 
> Failed examples:
> 
> rspec ./spec/client_spec.rb:138 # Stomp::Client (created with positional params) should properly parse the URL provided
> rspec ./spec/client_spec.rb:159 # Stomp::Client (created with non-authenticating stomp:// URL and non-TLD host) should properly parse the URL provided
> rspec ./spec/client_spec.rb:181 # Stomp::Client (created with non-authenticating stomp:// URL and a host with a '-') should properly parse the URL provided
> rspec ./spec/client_spec.rb:203 # Stomp::Client (created with authenticating stomp:// URL and non-TLD host) should properly parse the URL provided
> rspec ./spec/client_spec.rb:225 # Stomp::Client (created with authenticating stomp:// URL and a host with a '-') should properly parse the URL provided
> rspec ./spec/client_spec.rb:250 # Stomp::Client (created with non-authenticating stomp:// URL and TLD host) should properly parse the URL provided
> rspec ./spec/client_spec.rb:272 # Stomp::Client (created with authenticating stomp:// URL and non-TLD host) should properly parse the URL provided
> 
> 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-stomp.log.gz
Type: application/gzip
Size: 18109 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20221227/ab3d2557/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/ab3d2557/attachment-0001.sig>


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