[DRE-maint] Bug#1005422: ruby-redis-store: FTBFS: ERROR: Test "ruby2.7" failed.

Lucas Nussbaum lucas at debian.org
Sun Feb 13 07:07:28 GMT 2022


Source: ruby-redis-store
Version: 1.9.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220212 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
> /usr/bin/ruby2.7 /usr/bin/gem2deb-test-runner
> 
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Checking Rubygems dependency resolution on ruby2.7                           │
> └──────────────────────────────────────────────────────────────────────────────┘
> 
> GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-redis-store/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/2.7.0:/var/lib/gems/2.7.0:/usr/local/lib/ruby/gems/2.7.0:/usr/lib/ruby/gems/2.7.0:/usr/lib/x86_64-linux-gnu/ruby/gems/2.7.0:/usr/share/rubygems-integration/2.7.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0 ruby2.7 -e gem\ \"redis-store\"
> 
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Run tests for ruby2.7 from debian/ruby-tests.rake                            │
> └──────────────────────────────────────────────────────────────────────────────┘
> 
> RUBYLIB=. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-redis-store/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/2.7.0:/var/lib/gems/2.7.0:/usr/local/lib/ruby/gems/2.7.0:/usr/lib/ruby/gems/2.7.0:/usr/lib/x86_64-linux-gnu/ruby/gems/2.7.0:/usr/share/rubygems-integration/2.7.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0 ruby2.7 -S rake -f debian/ruby-tests.rake
> redis-server --daemonize yes --port 6379&
> redis-server --daemonize yes --port 6380&
> redis-server --daemonize yes --port 6381&
> /<<PKGBUILDDIR>>/test/redis/distributed_store_test.rb:20: warning: possibly useless use of == in void context
> /<<PKGBUILDDIR>>/test/redis/store_test.rb:46: warning: ambiguous first argument; put parentheses or a space even after `-' operator
> Run options: --seed 15180
> 
> # Running:
> 
> EEEEEEEEE.EDEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/redis/store_test.rb:44. Use _(obj).must_equal instead. This will fail in Minitest 6.
> DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/redis/store_test.rb:45. Use _(obj).must_equal instead. This will fail in Minitest 6.
> DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/redis/store_test.rb:46. Use _(obj).must_equal instead. This will fail in Minitest 6.
> DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/redis/store_test.rb:50. Use _(obj).must_equal instead. This will fail in Minitest 6.
> DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/redis/store_test.rb:51. Use _(obj).must_equal instead. This will fail in Minitest 6.
> DEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/redis/store_test.rb:52. Use _(obj).must_equal instead. This will fail in Minitest 6.
> .EDEPRECATED: global use of must_equal from /<<PKGBUILDDIR>>/test/redis/store_test.rb:15. Use _(obj).must_equal instead. This will fail in Minitest 6.
> ...
> 
> Finished in 0.014812s, 1080.2339 runs/s, 742.6608 assertions/s.
> 
>   1) Error:
> Redis::DistributedStore::#supports_redis_version?#test_0001_returns redis version:
> NameError: uninitialized constant OpenStruct
>     /<<PKGBUILDDIR>>/test/redis/distributed_store_test.rb:9:in `setup'
> 
>   2) Error:
> Redis::DistributedStore#test_0003_sets an object:
> NameError: uninitialized constant OpenStruct
>     /<<PKGBUILDDIR>>/test/redis/distributed_store_test.rb:9:in `setup'
> 
>   3) Error:
> Redis::DistributedStore#test_0004_gets an object:
> NameError: uninitialized constant OpenStruct
>     /<<PKGBUILDDIR>>/test/redis/distributed_store_test.rb:9:in `setup'
> 
>   4) Error:
> Redis::DistributedStore#test_0007_passes through ring replica options:
> NameError: uninitialized constant OpenStruct
>     /<<PKGBUILDDIR>>/test/redis/distributed_store_test.rb:9:in `setup'
> 
>   5) Error:
> Redis::DistributedStore#test_0008_uses a custom ring object:
> NameError: uninitialized constant OpenStruct
>     /<<PKGBUILDDIR>>/test/redis/distributed_store_test.rb:9:in `setup'
> 
>   6) Error:
> Redis::DistributedStore#test_0002_forces reconnection:
> NameError: uninitialized constant OpenStruct
>     /<<PKGBUILDDIR>>/test/redis/distributed_store_test.rb:9:in `setup'
> 
>   7) Error:
> Redis::DistributedStore#test_0005_mget:
> NameError: uninitialized constant OpenStruct
>     /<<PKGBUILDDIR>>/test/redis/distributed_store_test.rb:9:in `setup'
> 
>   8) Error:
> Redis::DistributedStore#test_0006_mapped_mget:
> NameError: uninitialized constant OpenStruct
>     /<<PKGBUILDDIR>>/test/redis/distributed_store_test.rb:9:in `setup'
> 
>   9) Error:
> Redis::DistributedStore#test_0001_accepts connection params:
> NameError: uninitialized constant OpenStruct
>     /<<PKGBUILDDIR>>/test/redis/distributed_store_test.rb:9:in `setup'
> 
>  10) Error:
> Redis::DistributedStore::namespace#test_0001_uses namespaced key:
> NameError: uninitialized constant OpenStruct
>     /<<PKGBUILDDIR>>/test/redis/distributed_store_test.rb:9:in `setup'
> 
>  11) Error:
> Redis::DistributedStore::#redis_version#test_0001_returns redis version:
> NameError: uninitialized constant OpenStruct
>     /<<PKGBUILDDIR>>/test/redis/distributed_store_test.rb:9:in `setup'
> 
> 16 runs, 11 assertions, 0 failures, 11 errors, 0 skips
> pkill redis-server
> rake aborted!
> Tests failed
> /<<PKGBUILDDIR>>/debian/ruby-tests.rake:12:in `block in <top (required)>'
> /usr/share/rubygems-integration/all/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
> Tasks: TOP => default
> (See full trace by running task with --trace)
> ERROR: Test "ruby2.7" failed.


The full build log is available from:
http://qa-logs.debian.net/2022/02/12/ruby-redis-store_1.9.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!

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