[DRE-maint] Bug#1027067: ruby-bunny: FTBFS with ruby-rspec 3.12: ERROR: Test "ruby3.1" failed: Failure/Error: expect(ch).to receive(:exchange_bind).with(src1, dst, routing_key: "abc")

Antonio Terceiro terceiro at debian.org
Tue Dec 27 13:35:48 GMT 2022


Source: ruby-bunny
Version: 2.19.0-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-bunny failed to build.

Relevant part of the build log (hopefully):
>      Failure/Error: expect(ch).to receive(:exchange_bind).with(src1, dst, routing_key: "abc")
> 
>        #<InstanceDouble(Bunny::Channel) (anonymous)> received :exchange_bind with unexpected arguments
>          expected: (#<Bunny::Exchange:0x00007f6e848ee488 @channel=#<InstanceDouble(Bunny::Channel) (anonymous)>, @name="s...nowait=>false}, @durable=nil, @auto_delete=nil, @internal=nil, @arguments=nil, @bindings=#<Set: {}>>, #<Bunny::Exchange:0x00007f6e848f1840 @channel=#<InstanceDouble(Bunny::Channel) (anonymous)>, @name="d...o_delete=nil, @internal=nil, @arguments=nil, @bindings=#<Set: {}>>, :opts=>{:routing_key=>"jkl"}}}>>, {:routing_key=>"abc"}) (keyword arguments)
>               got: (#<Bunny::Exchange:0x00007f6e848ee488 @channel=#<InstanceDouble(Bunny::Channel) (anonymous)>, @name="s...nowait=>false}, @durable=nil, @auto_delete=nil, @internal=nil, @arguments=nil, @bindings=#<Set: {}>>, #<Bunny::Exchange:0x00007f6e848f1840 @channel=#<InstanceDouble(Bunny::Channel) (anonymous)>, @name="d...o_delete=nil, @internal=nil, @arguments=nil, @bindings=#<Set: {}>>, :opts=>{:routing_key=>"jkl"}}}>>, {:routing_key=>"abc"}) (1 time)
>                    (#<Bunny::Exchange:0x00007f6e848f3ed8 @channel=#<InstanceDouble(Bunny::Channel) (anonymous)>, @name="s...nowait=>false}, @durable=nil, @auto_delete=nil, @internal=nil, @arguments=nil, @bindings=#<Set: {}>>, #<Bunny::Exchange:0x00007f6e848f1840 @channel=#<InstanceDouble(Bunny::Channel) (anonymous)>, @name="d...o_delete=nil, @internal=nil, @arguments=nil, @bindings=#<Set: {}>>, :opts=>{:routing_key=>"jkl"}}}>>, {:routing_key=>"ghi"}) (1 time)
>                    (#<Bunny::Exchange:0x00007f6e848f2b78 @channel=#<InstanceDouble(Bunny::Channel) (anonymous)>, @name="s...nowait=>false}, @durable=nil, @auto_delete=nil, @internal=nil, @arguments=nil, @bindings=#<Set: {}>>, #<Bunny::Exchange:0x00007f6e848f1840 @channel=#<InstanceDouble(Bunny::Channel) (anonymous)>, @name="d...o_delete=nil, @internal=nil, @arguments=nil, @bindings=#<Set: {}>>, :opts=>{:routing_key=>"jkl"}}}>>, {:routing_key=>"jkl"}) (1 time) (options hash)
>      # ./spec/unit/exchange_recovery_spec.rb:31:in `block (3 levels) in <module:Bunny>'
> 
> Finished in 4 minutes 0.2 seconds (files took 0.24523 seconds to load)
> 324 examples, 1 failure
> 
> Failed examples:
> 
> rspec ./spec/unit/exchange_recovery_spec.rb:7 # Bunny::Exchange recovery recovers exchange bindings, unless already unbound
> 
> /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 spec/higher_level_api/integration/basic_ack_spec.rb spec/higher_level_api/integration/basic_cancel_spec.rb spec/higher_level_api/integration/basic_consume_spec.rb spec/higher_level_api/integration/basic_consume_with_objects_spec.rb spec/higher_level_api/integration/basic_get_spec.rb spec/higher_level_api/integration/basic_nack_spec.rb spec/higher_level_api/integration/basic_publish_spec.rb spec/higher_level_api/integration/basic_qos_spec.rb spec/higher_level_api/integration/basic_reject_spec.rb spec/higher_level_api/integration/basic_return_spec.rb spec/higher_level_api/integration/channel_close_spec.rb spec/higher_level_api/integration/channel_open_spec.rb spec/higher_level_api/integration/consumer_cancellation_notification_spec.rb spec/higher_level_api/integration/dead_lettering_spec.rb spec/higher_level_api/integration/exchange_bind_spec.rb spec/higher_level_api/integration/exchange_declare_spec.rb spec/higher_level_api/integration/exchange_delete_spec.rb spec/higher_level_api/integration/exchange_unbind_spec.rb spec/higher_level_api/integration/exclusive_queue_spec.rb spec/higher_level_api/integration/heartbeat_spec.rb spec/higher_level_api/integration/predeclared_exchanges_spec.rb spec/higher_level_api/integration/publisher_confirms_spec.rb spec/higher_level_api/integration/publishing_edge_cases_spec.rb spec/higher_level_api/integration/queue_bind_spec.rb spec/higher_level_api/integration/queue_delete_spec.rb spec/higher_level_api/integration/queue_purge_spec.rb spec/higher_level_api/integration/queue_unbind_spec.rb spec/higher_level_api/integration/read_only_consumer_spec.rb spec/higher_level_api/integration/sender_selected_distribution_spec.rb spec/higher_level_api/integration/tx_commit_spec.rb spec/higher_level_api/integration/tx_rollback_spec.rb spec/higher_level_api/integration/with_channel_spec.rb spec/issues/issue100_spec.rb spec/issues/issue141_spec.rb spec/issues/issue202_spec.rb spec/issues/issue224_spec.rb spec/issues/issue465_spec.rb spec/issues/issue609_spec.rb spec/issues/issue78_spec.rb spec/issues/issue83_spec.rb spec/issues/issue97_spec.rb spec/lower_level_api/integration/basic_cancel_spec.rb spec/lower_level_api/integration/basic_consume_spec.rb spec/unit/bunny_spec.rb spec/unit/concurrent/atomic_fixnum_spec.rb spec/unit/concurrent/condition_spec.rb spec/unit/concurrent/linked_continuation_queue_spec.rb spec/unit/exchange_recovery_spec.rb spec/unit/version_delivery_tag_spec.rb --format documentation failed
> Stopping and halting node bunny at lemur ...
> Gracefully halting Erlang VM
> pkill: killing pid 1616 failed: Operation not permitted
> ERROR: Test "ruby3.1" failed: 

The ull 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-bunny.log.gz
Type: application/gzip
Size: 25094 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20221227/79be9b5b/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/79be9b5b/attachment-0001.sig>


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