[DRE-maint] Bug#1027089: ruby-simplecov: FTBFS with ruby-rspec 3.12: ERROR: Test "ruby3.1" failed: Failure/Error: Coverage.start(start_arguments)

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


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

Relevant part of the build log (hopefully):
>      Failure/Error: Coverage.start(start_arguments)
> 
>        Coverage received :start with unexpected arguments
>          expected: ({:branches=>true, :lines=>true}) (keyword arguments)
>               got: ({:branches=>true, :lines=>true}) (options hash)
>      # ./lib/simplecov.rb:354:in `start_coverage_with_criteria'
>      # ./lib/simplecov.rb:343:in `start_coverage_measurement'
>      # ./spec/simplecov_spec.rb:340:in `block (3 levels) in <top (required)>'
> 
> Finished in 4.22 seconds (files took 0.19229 seconds to load)
> 385 examples, 2 failures
> 
> Failed examples:
> 
> rspec ./spec/simplecov_spec.rb:329 # SimpleCov.start_coverage_measurement starts coverage in lines mode by default
> rspec ./spec/simplecov_spec.rb:335 # SimpleCov.start_coverage_measurement starts coverage with lines and branches if branches is activated
> 
> Randomized with seed 22418
> 
> /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  --exclude-pattern ./spec/default_formatter_spec.rb,./spec/gemspec_spec.rb --format documentation failed
> mv ./.gem2deb.Gemfile.lock Gemfile.lock
> mv test_projects/monorepo/.gem2deb.Gemfile.lock test_projects/monorepo/Gemfile.lock
> mv test_projects/parallel_tests/.gem2deb.Gemfile.lock test_projects/parallel_tests/Gemfile.lock
> mv test_projects/rails/rspec_rails/.gem2deb.Gemfile.lock test_projects/rails/rspec_rails/Gemfile.lock
> 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-simplecov.log.gz
Type: application/gzip
Size: 20688 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20221227/9e4a99db/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/9e4a99db/attachment-0001.sig>


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