Source: ruby-clean-test
Version: 1.0.0-1.1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-r...@lists.debian.org
Usertags: ruby3.0

Hi,

We are about to enable building against ruby3.0 on unstable. During a test
rebuild, ruby-clean-test 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):
> Error: test_any_symbol_works(TestAny): ArgumentError: wrong number of 
> arguments (given 2, expected 0..1)
> /usr/share/rubygems-integration/all/gems/i18n-1.8.10/lib/i18n.rb:196:in 
> `translate'
> /usr/share/rubygems-integration/all/gems/faker-1.9.1/lib/faker.rb:153:in 
> `translate'
> /usr/share/rubygems-integration/all/gems/faker-1.9.1/lib/faker/lorem.rb:14:in 
> `words'
> /<<PKGBUILDDIR>>/debian/ruby-clean-test/usr/lib/ruby/vendor_ruby/clean_test/any.rb:110:in
>  `any_string'
> /<<PKGBUILDDIR>>/debian/ruby-clean-test/usr/lib/ruby/vendor_ruby/clean_test/any.rb:122:in
>  `any_symbol'
> /<<PKGBUILDDIR>>/test/test_any.rb:111:in `block (2 levels) in <class:TestAny>'
> /<<PKGBUILDDIR>>/debian/ruby-clean-test/usr/lib/ruby/vendor_ruby/clean_test/given_when_then.rb:96:in
>  `Given'
> /<<PKGBUILDDIR>>/test/test_any.rb:110:in `block in <class:TestAny>'
> ===============================================================================
> : (0.000564)
>     test_both_min_and_max_must_be_positive_(-10,1):   .: (0.000335)
>     test_both_min_and_max_must_be_positive_(0,-10):   .: (0.000115)
>     test_both_min_and_max_must_be_positive_(0,0):     .: (0.000104)
>     test_both_min_and_max_must_be_positive_(0,1):     .: (0.000101)
>     test_min_and_max_must_agree:                      .: (0.000107)
>   TestCircle: 
>     
> test_anonymous_test_at_/<<PKGBUILDDIR>>/test/test_circle.rb,_line_12_passes:  
>     .: (0.006066)
>   TestGivenWhenThen: 
>     test_basics:                                      .: (0.000210)
>     test_can_pass_params_to_symbols:                  .: (0.000106)
>     test_can_reuse_blocks:                            .: (0.000124)
>     test_can_use_symbols_for_methods:                 .: (0.000082)
>     test_cannot_use_locals:                           .: (0.000087)
>     test_invert_for_block_based_asserts:              .: (0.000136)
>     test_methods_that_return_blocks:                  .: (0.000079)
>     test_mock_support:                                        .: (0.000087)
>   TestSimpleGiven: 
>     
> test_anonymous_test_at_/<<PKGBUILDDIR>>/test/test_test_that.rb,_line_19_passes:
>    .: (0.000171)
>     test_that_test_that_barfs_with_no_block:          .: (0.000110)
>     test_when_assigning_@x_to_4,_it_is_4:             .: (0.000076)
> 
> Finished in 0.022210569 seconds.
> -------------------------------------------------------------------------------
> 30 tests, 29 assertions, 0 failures, 7 errors, 0 pendings, 0 omissions, 0 
> notifications
> 76.6667% passed
> -------------------------------------------------------------------------------
> 1350.71 tests/s, 1305.68 assertions/s
> rake aborted!
> Command failed with status (1): [ruby -w -I"test" 
> /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/rake_test_loader.rb 
> "test/test_any.rb" "test/test_circle.rb" "test/test_given_when_then.rb" 
> "test/test_test_that.rb" -v]
> 
> Tasks: TOP => default
> (See full trace by running task with --trace)
> ERROR: Test "ruby3.0" failed: 


The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-clean-test/ruby-clean-test_1.0.0-1.1+rebuild1633376642_amd64.build.txt

Attachment: signature.asc
Description: PGP signature

Reply via email to