[DRE-maint] Bug#996378: ruby-rspec-retry: FTBFS with ruby3.0: ERROR: Test "ruby3.0" failed: Failure/Error:

Antonio Terceiro terceiro at debian.org
Wed Oct 13 15:26:23 BST 2021


Source: ruby-rspec-retry
Version: 0.6.2-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby3.0

Hi,

We are about to enable building against ruby3.0 on unstable. During a test
rebuild, ruby-rspec-retry was found to fail to build in that situation.

To reproduce this locally, you need to install ruby-all-dev from experimental
on an unstable system or build chroot.

Relevant part (hopefully):
>      Failure/Error:
>        expect(example_group.class_variable_get(:@@results)).to eq({
>          'without retry option' => [true, 1],
>          'with retry option' => [false, 3]
>        })
> 
>      NameError:
>        uninitialized class variable @@results in RSpec::ExampleGroups::Anonymous
>      # ./spec/lib/rspec/retry_spec.rb:359:in `class_variable_get'
>      # ./spec/lib/rspec/retry_spec.rb:359:in `block (3 levels) in <top (required)>'
>      # ./spec/spec_helper.rb:13:in `block (3 levels) in <top (required)>'
>      # ./spec/spec_helper.rb:11:in `block (2 levels) in <top (required)>'
>      # ./lib/rspec/retry.rb:124:in `block in run'
>      # ./lib/rspec/retry.rb:110:in `loop'
>      # ./lib/rspec/retry.rb:110:in `run'
>      # ./lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
>      # ./lib/rspec/retry.rb:37:in `block (2 levels) in setup'
> 
> Finished in 0.259 seconds (files took 0.35161 seconds to load)
> 29 examples, 3 failures, 5 pending, 1 error occurred outside of examples
> 
> Failed examples:
> 
> rspec ./spec/lib/rspec/retry_spec.rb:70 # RSpec::Retry with retry option with :retry => 0 should still run once
> rspec ./spec/lib/rspec/retry_spec.rb:74 # RSpec::Retry with retry option with :retry => 0 should run have run once
> rspec ./spec/lib/rspec/retry_spec.rb:357 # RSpec::Retry Example::Procsy#attempts should be exposed
> 
> /usr/bin/ruby3.0 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
> ERROR: Test "ruby3.0" failed: 


The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-rspec-retry/ruby-rspec-retry_0.6.2-1+rebuild1633394189_amd64.build.txt
-------------- 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/20211013/52301c9f/attachment-0001.sig>


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