[DRE-maint] Bug#919925: ruby-database-cleaner: autopkgtest regression

Paul Gevers elbrus at debian.org
Sun Jan 20 18:41:44 GMT 2019


Source: ruby-database-cleaner
Version: 1.7.0-1
X-Debbugs-CC: debian-ci at lists.debian.org
User: debian-ci at lists.debian.org
Usertags: regression

Dear maintainers,

With a recent upload of ruby-database-cleaner the autopkgtest of
ruby-database-cleaner fails in testing when that autopkgtest is run with
the binary packages of ruby-database-cleaner from unstable. It passes
when run with only packages from testing. In tabular form:
                       pass            fail
ruby-database-cleaner  from testing    1.7.0-1
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration to testing [1]. Can
you please investigate the situation and fix it? If needed, please
change the bug's severity.

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=ruby-database-cleaner

https://ci.debian.net/data/autopkgtest/testing/amd64/r/ruby-database-cleaner/1739236/log.gz

Failures:

  1) DatabaseCleaner::Redis::Truncation should flush the database
     Failure/Error: config =
YAML::load(File.open("#{File.dirname(__FILE__)}/../../../examples/config/redis.yml"))

     NameError:
       uninitialized constant DatabaseCleaner::Redis::YAML
     # ./spec/database_cleaner/redis/truncation_spec.rb:11:in `block (2
levels) in <module:Redis>'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:348:in `instance_exec'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:348:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:507:in `block in
run_owned_hooks_for'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:506:in `each'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:506:in
`run_owned_hooks_for'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:458:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:538:in
`block in run_before_context_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:186:in
`block in isolate_for_context_hook'
     # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:182:in
`instance_exec'
     # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:182:in
`isolate_for_context_hook'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:537:in
`run_before_context_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (3
levels) in run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (2
levels) in run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1989:in
`with_suite_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:111:in `block in
run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:74:in `report'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:110:in `run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke'
     # /usr/bin/rspec:4:in `<main>'

  2) DatabaseCleaner::Redis::Truncation truncates all keys by default
     Failure/Error: config =
YAML::load(File.open("#{File.dirname(__FILE__)}/../../../examples/config/redis.yml"))

     NameError:
       uninitialized constant DatabaseCleaner::Redis::YAML
     # ./spec/database_cleaner/redis/truncation_spec.rb:11:in `block (2
levels) in <module:Redis>'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:348:in `instance_exec'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:348:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:507:in `block in
run_owned_hooks_for'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:506:in `each'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:506:in
`run_owned_hooks_for'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:458:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:538:in
`block in run_before_context_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:186:in
`block in isolate_for_context_hook'
     # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:182:in
`instance_exec'
     # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:182:in
`isolate_for_context_hook'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:537:in
`run_before_context_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (3
levels) in run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (2
levels) in run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1989:in
`with_suite_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:111:in `block in
run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:74:in `report'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:110:in `run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke'
     # /usr/bin/rspec:4:in `<main>'

  3) DatabaseCleaner::Redis::Truncation when keys are provided to the
:only option only truncates the specified keys
     Failure/Error: config =
YAML::load(File.open("#{File.dirname(__FILE__)}/../../../examples/config/redis.yml"))

     NameError:
       uninitialized constant DatabaseCleaner::Redis::YAML
     # ./spec/database_cleaner/redis/truncation_spec.rb:11:in `block (2
levels) in <module:Redis>'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:348:in `instance_exec'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:348:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:507:in `block in
run_owned_hooks_for'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:506:in `each'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:506:in
`run_owned_hooks_for'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:458:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:538:in
`block in run_before_context_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:186:in
`block in isolate_for_context_hook'
     # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:182:in
`instance_exec'
     # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:182:in
`isolate_for_context_hook'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:537:in
`run_before_context_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (3
levels) in run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (2
levels) in run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1989:in
`with_suite_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:111:in `block in
run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:74:in `report'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:110:in `run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke'
     # /usr/bin/rspec:4:in `<main>'

  4) DatabaseCleaner::Redis::Truncation when keys are provided to the
:except option truncates all but the specified keys
     Failure/Error: config =
YAML::load(File.open("#{File.dirname(__FILE__)}/../../../examples/config/redis.yml"))

     NameError:
       uninitialized constant DatabaseCleaner::Redis::YAML
     # ./spec/database_cleaner/redis/truncation_spec.rb:11:in `block (2
levels) in <module:Redis>'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:348:in `instance_exec'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:348:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:507:in `block in
run_owned_hooks_for'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:506:in `each'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:506:in
`run_owned_hooks_for'
     # /usr/lib/ruby/vendor_ruby/rspec/core/hooks.rb:458:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:538:in
`block in run_before_context_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:186:in
`block in isolate_for_context_hook'
     # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:182:in
`instance_exec'
     # /usr/lib/ruby/vendor_ruby/rspec/core/memoized_helpers.rb:182:in
`isolate_for_context_hook'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:537:in
`run_before_context_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:590:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (3
levels) in run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `map'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:116:in `block (2
levels) in run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1989:in
`with_suite_hooks'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:111:in `block in
run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/reporter.rb:74:in `report'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:110:in `run_specs'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:87:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in `run'
     # /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in `invoke'
     # /usr/bin/rspec:4:in `<main>'

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20190120/9f5a9b91/attachment-0001.sig>


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