[DRE-maint] Bug#1027066: atig: FTBFS with ruby-rspec 3.12: ERROR: Test "ruby3.1" failed: Failure/Error: user = t.get("users/show", { screen_name: nick})
Antonio Terceiro
terceiro at debian.org
Tue Dec 27 13:27:32 GMT 2022
Source: atig
Version: 0.6.1-7
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,
atig failed to build.
Relevant part of the build log (hopefully):
> Failure/Error: user = t.get("users/show", { screen_name: nick})
>
> #<Double "api"> received :get with unexpected arguments
> expected: ("users/show", {:screen_name=>"mzp"}) (keyword arguments)
> got: ("users/show", {:screen_name=>"mzp"}) (options hash)
> # ./lib/atig/command/version.rb:27:in `block in action'
> # ./spec/command_helper.rb:33:in `delay'
> # ./lib/atig/command/version.rb:25:in `action'
> # ./lib/atig/command/command.rb:13:in `block in initialize'
> # ./spec/command_helper.rb:87:in `call'
> # ./spec/command/version_spec.rb:60:in `block (2 levels) in <top (required)>'
>
> Top 10 slowest examples (7.71 seconds, 76.3% of total time):
> Atig::Db::Statuses should cleanup
> 6.21 seconds ./spec/db/statuses_spec.rb:174
> Atig::Db::Statuses should call listeners
> 0.19883 seconds ./spec/db/statuses_spec.rb:41
> Atig::Db::Statuses should have unique tid
> 0.18957 seconds ./spec/db/statuses_spec.rb:73
> Atig::Db::Statuses should be found by id
> 0.17471 seconds ./spec/db/statuses_spec.rb:64
> Atig::Db::Statuses should be re-openable
> 0.16964 seconds ./spec/db/statuses_spec.rb:37
> Atig::Db::Statuses should be found by sid
> 0.16772 seconds ./spec/db/statuses_spec.rb:109
> Atig::Db::Statuses should be found by tid
> 0.16677 seconds ./spec/db/statuses_spec.rb:104
> Atig::Db::Statuses should have uniq tid/sid when removed
> 0.14759 seconds ./spec/db/statuses_spec.rb:164
> Atig::Db::Statuses should be found by tid
> 0.14624 seconds ./spec/db/statuses_spec.rb:114
> Atig::Db::Statuses should be found all
> 0.14196 seconds ./spec/db/statuses_spec.rb:83
>
> Top 10 slowest example groups:
> Atig::Db::Statuses
> 0.5593 seconds average (8.39 seconds / 15 examples) ./spec/db/statuses_spec.rb:6
> Atig::Db::Lists
> 0.05101 seconds average (0.51009 seconds / 10 examples) ./spec/db/lists_spec.rb:5
> Atig::Db::Followings when updated users
> 0.05079 seconds average (0.50794 seconds / 10 examples) ./spec/db/followings_spec.rb:20
> Atig::IFilter::ExpandUrl when enable whole url
> 0.03999 seconds average (0.07999 seconds / 2 examples) ./spec/ifilter/expand_url_spec.rb:39
> Atig::IFilter::ExpandUrl when disable whole url
> 0.03797 seconds average (0.18986 seconds / 5 examples) ./spec/ifilter/expand_url_spec.rb:10
> Atig::IFilter::ExpandUrl when has urls entities
> 0.03731 seconds average (0.07461 seconds / 2 examples) ./spec/ifilter/expand_url_spec.rb:58
> Atig::Db::Followings when it is empty
> 0.02807 seconds average (0.02807 seconds / 1 example) ./spec/db/followings_spec.rb:5
> Atig::OFilter::ShortUrl when no-login bitly
> 0.02606 seconds average (0.02606 seconds / 1 example) ./spec/ofilter/short_url_spec.rb:6
> Atig::OFilter::ShortUrl when login bitly
> 0.02599 seconds average (0.02599 seconds / 1 example) ./spec/ofilter/short_url_spec.rb:42
> Atig::OFilter::ShortUrl when nop
> 0.02538 seconds average (0.02538 seconds / 1 example) ./spec/ofilter/short_url_spec.rb:78
>
> Finished in 10.11 seconds (files took 0.32628 seconds to load)
> 182 examples, 6 failures
>
> Failed examples:
>
> rspec ./spec/command/retweet_spec.rb:47 # Atig::Command::Retweet should post un-official retweet with comment
> rspec ./spec/command/retweet_spec.rb:53 # Atig::Command::Retweet should post un-official retweet with comment by screen name
> rspec ./spec/command/retweet_spec.rb:59 # Atig::Command::Retweet should post un-official retweet with long comment
> rspec ./spec/command/user_spec.rb:15 # Atig::Command::User should
> rspec ./spec/command/user_spec.rb:32 # Atig::Command::User should get specified statuses
> rspec ./spec/command/version_spec.rb:48 # Atig::Command::Version should show the source via API
>
> /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 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: atig.log.gz
Type: application/gzip
Size: 20229 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20221227/064f60b3/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/064f60b3/attachment-0001.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list