[DRE-maint] Bug#1027078: ruby-jira: FTBFS with ruby-rspec 3.12: ERROR: Test "ruby3.1" failed: Failure/Error: result.push(client.Issue.build(issue))
Antonio Terceiro
terceiro at debian.org
Tue Dec 27 15:33:52 GMT 2022
Source: ruby-jira
Version: 2.1.5-3
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-jira failed to build.
Relevant part of the build log (hopefully):
> Failure/Error: result.push(client.Issue.build(issue))
>
> #<Double (anonymous)> received :build with unexpected arguments
> expected: ({"id"=>"1", "summary"=>"Bugs Everywhere"}) (keyword arguments)
> got: ({"id"=>"1", "summary"=>"Bugs Everywhere"}) (options hash)
> # ./lib/jira/resource/issue.rb:59:in `block (2 levels) in all'
> # ./lib/jira/resource/issue.rb:58:in `map'
> # ./lib/jira/resource/issue.rb:58:in `block in all'
> # ./lib/jira/resource/issue.rb:53:in `loop'
> # ./lib/jira/resource/issue.rb:53:in `all'
> # ./spec/jira/resource/issue_spec.rb:52:in `block (2 levels) in <top (required)>'
>
> Deprecation Warnings:
>
> The implicit block expectation syntax is deprecated, you should pass a block rather than an argument to `expect` to use the provided block expectation matcher or the matcher must implement `supports_value_expectations?`. e.g `expect { value }.to raise ArgumentError with "Required option :deadbeef missing"` not `expect(value).to raise ArgumentError with "Required option :deadbeef missing"`
>
> The implicit block expectation syntax is deprecated, you should pass a block rather than an argument to `expect` to use the provided block expectation matcher or the matcher must implement `supports_value_expectations?`. e.g `expect { value }.to raise JIRA::HTTPError` not `expect(value).to raise JIRA::HTTPError`
>
>
> If you need more of the backtrace for any of these deprecations to
> identify where to make the necessary changes, you can configure
> `config.raise_errors_for_deprecations!`, and it will turn the
> deprecation warnings into errors, giving you the full backtrace.
>
> 2 deprecation warnings total
>
> Finished in 0.14389 seconds (files took 0.80057 seconds to load)
> 221 examples, 2 failures
>
> Failed examples:
>
> rspec ./spec/jira/oauth_client_spec.rb:57 # JIRA::OauthClient authenticating with oauth the access token initializes
> rspec ./spec/jira/resource/issue_spec.rb:37 # JIRA::Resource::Issue should find all issues
>
> /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/jira/base_factory_spec.rb ./spec/jira/base_spec.rb ./spec/jira/has_many_proxy_spec.rb ./spec/jira/http_client_spec.rb ./spec/jira/http_error_spec.rb ./spec/jira/jwt_uri_builder_spec.rb ./spec/jira/oauth_client_spec.rb ./spec/jira/request_client_spec.rb ./spec/jira/resource/agile_spec.rb ./spec/jira/resource/attachment_spec.rb ./spec/jira/resource/board_spec.rb ./spec/jira/resource/createmeta_spec.rb ./spec/jira/resource/field_spec.rb ./spec/jira/resource/filter_spec.rb ./spec/jira/resource/issue_spec.rb ./spec/jira/resource/issuelink_spec.rb ./spec/jira/resource/project_factory_spec.rb ./spec/jira/resource/project_spec.rb ./spec/jira/resource/sprint_spec.rb ./spec/jira/resource/user_factory_spec.rb ./spec/jira/resource/worklog_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-jira.log.gz
Type: application/gzip
Size: 21878 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20221227/a3011424/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/a3011424/attachment-0001.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list