[DRE-maint] Bug#921847: rails breaks ruby-combustion autopkgtest: cannot load such file -- active_model/secure_password

Paul Gevers elbrus at debian.org
Sat Feb 9 12:13:41 GMT 2019


Source: rails, ruby-combustion
Control: found -1 rails/2:5.2.2+dfsg-5
Control: found -1 ruby-combustion/1.0.0-1
X-Debbugs-CC: debian-ci at lists.debian.org
User: debian-ci at lists.debian.org
Usertags: breaks needs-update

Dear maintainers,

With a recent upload of rails the autopkgtest of ruby-combustion fails
in testing when that autopkgtest is run with the binary packages of
rails from unstable. It passes when run with only packages from testing.
In tabular form:
                       pass            fail
rails                  from testing    2:5.2.2+dfsg-5
ruby-combustion        from testing    1.0.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 of rails to testing
[1]. Due to the nature of this issue, I filed this bug report against
both packages. Can you please investigate the situation and reassign the
bug to the right package? 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=rails

https://ci.debian.net/data/autopkgtest/testing/amd64/r/ruby-combustion/1886753/log.gz

autopkgtest [07:08:03]: test command1: gem2deb-test-runner --autopkgtest
--check-dependencies 2>&1
autopkgtest [07:08:03]: test command1: [-----------------------

┌──────────────────────────────────────────────────────────────────────────────┐
│ Checking Rubygems dependency resolution on ruby2.5
      │
└──────────────────────────────────────────────────────────────────────────────┘

GEM_PATH= ruby2.5 -e gem\ \"combustion\"

┌──────────────────────────────────────────────────────────────────────────────┐
│ Run tests for ruby2.5 from debian/ruby-tests.rake
      │
└──────────────────────────────────────────────────────────────────────────────┘

mv lib .gem2deb.lib
RUBYLIB=. GEM_PATH= ruby2.5 -S rake -f debian/ruby-tests.rake
/usr/bin/ruby2.5 /usr/bin/rspec --pattern ./spec/\*_spec.rb

Randomized with seed 54186
FFFF

Failures:

  1) Combustion::Database creates dummy table from migration in base
database
     Failure/Error: Combustion.initialize! :active_record
     
     LoadError:
       cannot load such file -- active_model/secure_password
     #
/usr/share/rubygems-integration/all/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in
`require'
     #
/usr/share/rubygems-integration/all/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in
`block in require'
     #
/usr/share/rubygems-integration/all/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in
`load_dependency'
     #
/usr/share/rubygems-integration/all/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in
`require'
     #
/usr/share/rubygems-integration/all/gems/activemodel-5.2.2/lib/active_model/railtie.rb:11:in
`block in <class:Railtie>'
     #
/usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/initializable.rb:32:in
`instance_exec'
     #
/usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/initializable.rb:32:in
`run'
     #
/usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/initializable.rb:61:in
`block in run_initializers'
     #
/usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/initializable.rb:60:in
`run_initializers'
     #
/usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/application.rb:361:in
`initialize!'
     #
/usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/railtie.rb:190:in
`public_send'
     #
/usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/railtie.rb:190:in
`method_missing'
     #
/usr/share/rubygems-integration/all/gems/combustion-1.0.0/lib/combustion.rb:32:in
`initialize!'
     # ./spec/database_spec.rb:7:in `block (3 levels) in
<module:Combustion>'
     # ./spec/database_spec.rb:6:in `chdir'
     # ./spec/database_spec.rb:6:in `block (2 levels) in
<module:Combustion>'

  2) Combustion::Database creates another dummy table from another database
     Failure/Error: Combustion.initialize! :active_record
     
     LoadError:
       cannot load such file -- active_model/secure_password
     #
/usr/share/rubygems-integration/all/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in
`require'
     #
/usr/share/rubygems-integration/all/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in
`block in require'
     #
/usr/share/rubygems-integration/all/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in
`load_dependency'
     #
/usr/share/rubygems-integration/all/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in
`require'
     #
/usr/share/rubygems-integration/all/gems/activemodel-5.2.2/lib/active_model/railtie.rb:11:in
`block in <class:Railtie>'
     #
/usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/initializable.rb:32:in
`instance_exec'
     #
/usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/initializable.rb:32:in
`run'
     #
/usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/initializable.rb:61:in
`block in run_initializers'
     #
/usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/initializable.rb:60:in
`run_initializers'
     #
/usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/application.rb:361:in
`initialize!'
     #
/usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/railtie.rb:190:in
`public_send'
     #
/usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/railtie.rb:190:in
`method_missing'
     #
/usr/share/rubygems-integration/all/gems/combustion-1.0.0/lib/combustion.rb:32:in
`initialize!'
     # ./spec/database_spec.rb:7:in `block (3 levels) in
<module:Combustion>'
     # ./spec/database_spec.rb:6:in `chdir'
     # ./spec/database_spec.rb:6:in `block (2 levels) in
<module:Combustion>'

  3) Combustion::Database returns test database for model with default
connection
     Failure/Error: Combustion.initialize! :active_record
     
     LoadError:
       cannot load such file -- active_model/secure_password
     #
/usr/share/rubygems-integration/all/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in
`require'
     #
/usr/share/rubygems-integration/all/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in
`block in require'
     #
/usr/share/rubygems-integration/all/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in
`load_dependency'
     #
/usr/share/rubygems-integration/all/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in
`require'
     #
/usr/share/rubygems-integration/all/gems/activemodel-5.2.2/lib/active_model/railtie.rb:11:in
`block in <class:Railtie>'
     #
/usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/initializable.rb:32:in
`instance_exec'
     #
/usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/initializable.rb:32:in
`run'
     #
/usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/initializable.rb:61:in
`block in run_initializers'
     #
/usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/initializable.rb:60:in
`run_initializers'
     #
/usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/application.rb:361:in
`initialize!'
     #
/usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/railtie.rb:190:in
`public_send'
     #
/usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/railtie.rb:190:in
`method_missing'
     #
/usr/share/rubygems-integration/all/gems/combustion-1.0.0/lib/combustion.rb:32:in
`initialize!'
     # ./spec/database_spec.rb:7:in `block (3 levels) in
<module:Combustion>'
     # ./spec/database_spec.rb:6:in `chdir'
     # ./spec/database_spec.rb:6:in `block (2 levels) in
<module:Combustion>'

  4) Combustion::Database returns test_another for model with connection
to second database
     Failure/Error: Combustion.initialize! :active_record
     
     LoadError:
       cannot load such file -- active_model/secure_password
     #
/usr/share/rubygems-integration/all/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in
`require'
     #
/usr/share/rubygems-integration/all/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in
`block in require'
     #
/usr/share/rubygems-integration/all/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in
`load_dependency'
     #
/usr/share/rubygems-integration/all/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in
`require'
     #
/usr/share/rubygems-integration/all/gems/activemodel-5.2.2/lib/active_model/railtie.rb:11:in
`block in <class:Railtie>'
     #
/usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/initializable.rb:32:in
`instance_exec'
     #
/usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/initializable.rb:32:in
`run'
     #
/usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/initializable.rb:61:in
`block in run_initializers'
     #
/usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/initializable.rb:60:in
`run_initializers'
     #
/usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/application.rb:361:in
`initialize!'
     #
/usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/railtie.rb:190:in
`public_send'
     #
/usr/share/rubygems-integration/all/gems/railties-5.2.2/lib/rails/railtie.rb:190:in
`method_missing'
     #
/usr/share/rubygems-integration/all/gems/combustion-1.0.0/lib/combustion.rb:32:in
`initialize!'
     # ./spec/database_spec.rb:7:in `block (3 levels) in
<module:Combustion>'
     # ./spec/database_spec.rb:6:in `chdir'
     # ./spec/database_spec.rb:6:in `block (2 levels) in
<module:Combustion>'

Finished in 0.30981 seconds (files took 0.35351 seconds to load)
4 examples, 4 failures

Failed examples:

rspec ./spec/database_spec.rb:11 # Combustion::Database
creates dummy table from migration in base database
rspec ./spec/database_spec.rb:16 # Combustion::Database
creates another dummy table from another database
rspec ./spec/database_spec.rb:23 # Combustion::Database
returns test database for model with default connection
rspec ./spec/database_spec.rb:27 # Combustion::Database
returns test_another for model with connection to second database

Randomized with seed 54186

/usr/bin/ruby2.5 /usr/bin/rspec --pattern ./spec/\*_spec.rb failed
mv .gem2deb.lib lib
autopkgtest [07:08:04]: test command1: -----------------------]

-------------- 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/20190209/9ca545f5/attachment.sig>


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