[DRE-maint] Bug#1027091: ruby-slack-notifier: FTBFS with ruby-rspec 3.12: ERROR: Test "ruby3.1" failed: Failure/Error: client.post endpoint, params

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


Source: ruby-slack-notifier
Version: 1.5.1-2
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-slack-notifier failed to build.

Relevant part of the build log (hopefully):
>      Failure/Error: client.post endpoint, params
> 
>        #<Double "CustomClient"> received :post with unexpected arguments
>          expected: (#<InstanceDouble(URI::HTTP) (anonymous)>, {:payload=>"{\"text\":\"the message\"}"}) (keyword arguments)
>               got: (#<InstanceDouble(URI::HTTP) (anonymous)>, {:payload=>"{\"text\":\"the message\"}"}) (options hash)
>      # ./lib/slack-notifier.rb:41:in `ping'
>      # ./spec/lib/slack-notifier_spec.rb:137:in `block (4 levels) in <top (required)>'
> 
> Finished in 0.03858 seconds (files took 0.14786 seconds to load)
> 29 examples, 5 failures
> 
> Failed examples:
> 
> rspec ./spec/lib/slack-notifier_spec.rb:49 # Slack::Notifier#ping allows sending only an attachment
> rspec ./spec/lib/slack-notifier_spec.rb:93 # Slack::Notifier#ping with a default channel set uses default channel
> rspec ./spec/lib/slack-notifier_spec.rb:101 # Slack::Notifier#ping with a default channel set allows override channel to be set
> rspec ./spec/lib/slack-notifier_spec.rb:112 # Slack::Notifier#ping with default webhook posts with the correct endpoint & data
> rspec ./spec/lib/slack-notifier_spec.rb:127 # Slack::Notifier#ping with a custom http_client set uses it
> 
> /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-slack-notifier.log.gz
Type: application/gzip
Size: 15383 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20221227/5e46da53/attachment.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/5e46da53/attachment.sig>


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