[DRE-maint] Bug#955684: ruby-fakeredis: FTBFS: ERROR: Test "ruby2.7" failed: ArgumentError: invalid value for Float(): "Infinity"

Lucas Nussbaum lucas at debian.org
Fri Apr 3 20:44:00 BST 2020


Source: ruby-fakeredis
Version: 0.7.0-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200402 ftbfs-bullseye

Hi,

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

Relevant part (hopefully):
>      ArgumentError:
>        invalid value for Float(): "Infinity"
>      # /usr/share/rubygems-integration/all/gems/redis-4.1.2/lib/redis.rb:3357:in `Float'
>      # /usr/share/rubygems-integration/all/gems/redis-4.1.2/lib/redis.rb:3357:in `block in <class:Redis>'
>      # /usr/share/rubygems-integration/all/gems/redis-4.1.2/lib/redis/client.rb:129:in `call'
>      # /usr/share/rubygems-integration/all/gems/redis-4.1.2/lib/redis.rb:1602:in `block in zincrby'
>      # /usr/share/rubygems-integration/all/gems/redis-4.1.2/lib/redis.rb:52:in `block in synchronize'
>      # /usr/lib/ruby/2.7.0/monitor.rb:202:in `synchronize'
>      # /usr/lib/ruby/2.7.0/monitor.rb:202:in `mon_synchronize'
>      # /usr/share/rubygems-integration/all/gems/redis-4.1.2/lib/redis.rb:52:in `synchronize'
>      # /usr/share/rubygems-integration/all/gems/redis-4.1.2/lib/redis.rb:1601:in `zincrby'
>      # ./spec/sorted_sets_spec.rb:139:in `block (2 levels) in <module:FakeRedis>'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:257:in `instance_exec'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:257:in `block in run'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:503:in `block in with_around_and_singleton_context_hooks'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:460:in `block in with_around_example_hooks'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:472:in `block in run'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:610:in `run_around_example_hooks_for'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:472:in `run'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:460:in `with_around_example_hooks'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:503:in `with_around_and_singleton_context_hooks'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:254:in `run'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:633:in `block in run_examples'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:629:in `map'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:629:in `run_examples'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:595:in `run'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `map'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib/rspec/core/configuration.rb:2031:in `with_suite_hooks'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:116:in `block in run_specs'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib/rspec/core/reporter.rb:74:in `report'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:115:in `run_specs'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:89:in `run'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:71:in `run'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:45:in `invoke'
>      # /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/exe/rspec:4:in `<main>'
> 
> Finished in 0.16547 seconds (files took 0.26726 seconds to load)
> 399 examples, 5 failures, 1 pending
> 
> Failed examples:
> 
> rspec ./spec/keys_spec.rb:375 # KeysMethods with extended options uses nx option to only set the key if it does not already exist
> rspec ./spec/keys_spec.rb:382 # KeysMethods with extended options uses xx option to only set the key if it already exists
> rspec ./spec/keys_spec.rb:390 # KeysMethods with extended options does not set the key if both xx and nx option are specified
> rspec ./spec/sorted_sets_spec.rb:11 # SortedSetsMethods should add a member to a sorted set, or update its score if it already exists
> rspec ./spec/sorted_sets_spec.rb:138 # SortedSetsMethods should handle infinity values when incrementing a sorted set key
> 
> /usr/bin/ruby2.7 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.2/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/exe/rspec --pattern ./spec/\*_spec.rb failed
> ERROR: Test "ruby2.7" failed: 

The full build log is available from:
   http://qa-logs.debian.net/2020/04/02/ruby-fakeredis_0.7.0-1_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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



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