[DRE-maint] Bug#998507: rails: FTBFS: ERROR: Test "ruby3.0" failed: ArgumentError: wrong number of arguments (given 3, expected 2)

Lucas Nussbaum lucas at debian.org
Thu Nov 4 17:22:01 GMT 2021


Source: rails
Version: 2:6.0.3.7+dfsg-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211104 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> ArgumentError: wrong number of arguments (given 3, expected 2)
>     /usr/share/rubygems-integration/all/gems/redis-4.2.5/lib/redis.rb:836:in `set'
>     /<<PKGBUILDDIR>>/activesupport/lib/active_support/cache/redis_cache_store.rb:397:in `block (2 levels) in write_entry'
>     /<<PKGBUILDDIR>>/activesupport/lib/active_support/cache/redis_cache_store.rb:25:in `with'
>     /<<PKGBUILDDIR>>/activesupport/lib/active_support/cache/redis_cache_store.rb:397:in `block in write_entry'
>     /<<PKGBUILDDIR>>/activesupport/lib/active_support/cache/redis_cache_store.rb:478:in `failsafe'
>     /<<PKGBUILDDIR>>/activesupport/lib/active_support/cache/redis_cache_store.rb:391:in `write_entry'
>     /<<PKGBUILDDIR>>/activesupport/lib/active_support/cache/strategy/local_cache.rb:150:in `write_entry'
>     /<<PKGBUILDDIR>>/activesupport/lib/active_support/cache/redis_cache_store.rb:83:in `write_entry'
>     /<<PKGBUILDDIR>>/activesupport/lib/active_support/cache.rb:465:in `block in write'
>     /<<PKGBUILDDIR>>/activesupport/lib/active_support/cache.rb:686:in `block in instrument'
>     /<<PKGBUILDDIR>>/activesupport/lib/active_support/notifications.rb:180:in `block in instrument'
>     /<<PKGBUILDDIR>>/activesupport/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
>     /<<PKGBUILDDIR>>/activesupport/lib/active_support/notifications.rb:180:in `instrument'
>     /<<PKGBUILDDIR>>/activesupport/lib/active_support/cache.rb:686:in `instrument'
>     /<<PKGBUILDDIR>>/activesupport/lib/active_support/cache.rb:463:in `write'
>     /<<PKGBUILDDIR>>/activesupport/test/cache/stores/redis_cache_store_test.rb:275:in `block in <class:DeleteMatchedTest>'
> 
> rails test <<PKGBUILDDIR>>/activesupport/test/cache/stores/redis_cache_store_test.rb:274
> 
> .
> 
> Finished in 8.270014s, 30.2297 runs/s, 91.1728 assertions/s.
> 250 runs, 754 assertions, 0 failures, 113 errors, 1 skips
> 
> You have skipped tests. Run with --verbose for details.
> rake aborted!
> Command failed with status (1): [ruby -w -I"lib:test" /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/rake_test_loader.rb "test/cache/stores/redis_cache_store_test.rb" --seed=0]
> /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/testtask.rb:130:in `block (3 levels) in define'
> /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/file_utils.rb:57:in `sh'
> /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/file_utils.rb:104:in `ruby'
> /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/testtask.rb:117:in `block (2 levels) in define'
> /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/file_utils_ext.rb:58:in `verbose'
> /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/testtask.rb:111:in `block in define'
> /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/task.rb:281:in `block in execute'
> /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/task.rb:281:in `each'
> /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/task.rb:281:in `execute'
> /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/task.rb:219:in `block in invoke_with_call_chain'
> /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/task.rb:199:in `synchronize'
> /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/task.rb:199:in `invoke_with_call_chain'
> /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/task.rb:188:in `invoke'
> /<<PKGBUILDDIR>>/activesupport/Rakefile:18:in `block in <top (required)>'
> /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/task.rb:281:in `block in execute'
> /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/task.rb:281:in `each'
> /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/task.rb:281:in `execute'
> /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/task.rb:219:in `block in invoke_with_call_chain'
> /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/task.rb:199:in `synchronize'
> /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/task.rb:199:in `invoke_with_call_chain'
> /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/task.rb:188:in `invoke'
> /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/application.rb:160:in `invoke_task'
> /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/application.rb:116:in `block (2 levels) in top_level'
> /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/application.rb:116:in `each'
> /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/application.rb:116:in `block in top_level'
> /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/application.rb:125:in `run_with_threads'
> /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/application.rb:110:in `top_level'
> /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/application.rb:83:in `block in run'
> /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/application.rb:186:in `standard_exception_handling'
> /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/application.rb:80:in `run'
> /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/exe/rake:27:in `<top (required)>'
> /usr/bin/rake:23:in `load'
> /usr/bin/rake:23:in `<main>'
> Tasks: TOP => test:cache_stores:redis:ruby
> cd -
> Failed tests: activesupport:test
> ERROR: Test "ruby3.0" failed: 


The full build log is available from:
http://qa-logs.debian.net/2021/11/04/rails_6.0.3.7+dfsg-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

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

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



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