[DRE-maint] Bug#997883: rails: autopkgtest needs update for new version of puma: Could not find gem 'puma (~> 4.1)'

Paul Gevers elbrus at debian.org
Tue Oct 26 15:52:34 BST 2021


Source: rails
Version: 2:6.0.3.7+dfsg-2
Severity: serious
X-Debbugs-CC: debian-ci at lists.debian.org, puma at packages.debian.org
Tags: sid bookworm
User: debian-ci at lists.debian.org
Usertags: needs-update
Control: affects -1 src:puma

Dear maintainer(s),

With a recent upload of puma the autopkgtest of rails fails in testing
when that autopkgtest is run with the binary packages of puma from
unstable. It passes when run with only packages from testing. In tabular
form:

                       pass            fail
puma                   from testing    5.3.2-3
rails                  from testing    2:6.0.3.7+dfsg-2
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 puma to testing
[1]. Of course, puma shouldn't just break your autopkgtest (or even
worse, your package), but it seems to me that the change in puma was
intended and your package needs to update to the new situation.

If this is a real problem in your package (and not only in your
autopkgtest), the right binary package(s) from puma should really add a
versioned Breaks on the unfixed version of (one of your) package(s).
Note: the Breaks is nice even if the issue is only in the autopkgtest as
it helps the migration software to figure out the right versions to
combine in the tests.

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=puma

https://ci.debian.net/data/autopkgtest/testing/amd64/r/rails/16207757/log.gz

         run  bundle install --local
Could not find gem 'puma (~> 4.1)' in cached gems from rubygems repository
https://rubygems.org/ or installed locally.
The source contains the following versions of 'puma': 5.3.2
         run  bundle binstubs bundler
Could not find gem 'puma (~> 4.1)' in locally installed gems.
The source contains the following versions of 'puma': 5.3.2
         run  bundle exec spring binstub --all
/usr/share/rubygems-integration/all/gems/bundler-2.2.27/lib/bundler/resolver.rb:278:in
`block in verify_gemfile_dependencies_are_found!': Could not find gem
'puma (~> 4.1)' in locally installed gems. (Bundler::GemNotFound)
The source contains the following versions of 'puma': 5.3.2
	from
/usr/share/rubygems-integration/all/gems/bundler-2.2.27/lib/bundler/resolver.rb:253:in
`each'
	from
/usr/share/rubygems-integration/all/gems/bundler-2.2.27/lib/bundler/resolver.rb:253:in
`verify_gemfile_dependencies_are_found!'
	from
/usr/share/rubygems-integration/all/gems/bundler-2.2.27/lib/bundler/resolver.rb:50:in
`start'
	from
/usr/share/rubygems-integration/all/gems/bundler-2.2.27/lib/bundler/resolver.rb:23:in
`resolve'
	from
/usr/share/rubygems-integration/all/gems/bundler-2.2.27/lib/bundler/definition.rb:262:in
`resolve'
	from
/usr/share/rubygems-integration/all/gems/bundler-2.2.27/lib/bundler/definition.rb:483:in
`materialize'
	from
/usr/share/rubygems-integration/all/gems/bundler-2.2.27/lib/bundler/definition.rb:234:in
`specs_for'
	from
/usr/share/rubygems-integration/all/gems/bundler-2.2.27/lib/bundler/runtime.rb:18:in
`setup'
	from
/usr/share/rubygems-integration/all/gems/bundler-2.2.27/lib/bundler.rb:149:in
`setup'
	from
/usr/share/rubygems-integration/all/gems/bundler-2.2.27/lib/bundler/setup.rb:20:in
`block in <top (required)>'
	from
/usr/share/rubygems-integration/all/gems/bundler-2.2.27/lib/bundler/ui/shell.rb:136:in
`with_level'
	from
/usr/share/rubygems-integration/all/gems/bundler-2.2.27/lib/bundler/ui/shell.rb:88:in
`silence'
	from
/usr/share/rubygems-integration/all/gems/bundler-2.2.27/lib/bundler/setup.rb:20:in
`<top (required)>'
	from
/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb:85:in
`require'
	from
/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb:85:in
`require'
+ cd foo
+ rails runner puts "Empty Rails %s app booted correctly" % Rails.version
/usr/share/rubygems-integration/all/gems/bundler-2.2.27/lib/bundler/resolver.rb:278:in
`block in verify_gemfile_dependencies_are_found!': Could not find gem
'puma (~> 4.1)' in locally installed gems. (Bundler::GemNotFound)
The source contains the following versions of 'puma': 5.3.2
	from
/usr/share/rubygems-integration/all/gems/bundler-2.2.27/lib/bundler/resolver.rb:253:in
`each'
	from
/usr/share/rubygems-integration/all/gems/bundler-2.2.27/lib/bundler/resolver.rb:253:in
`verify_gemfile_dependencies_are_found!'
	from
/usr/share/rubygems-integration/all/gems/bundler-2.2.27/lib/bundler/resolver.rb:50:in
`start'
	from
/usr/share/rubygems-integration/all/gems/bundler-2.2.27/lib/bundler/resolver.rb:23:in
`resolve'
	from
/usr/share/rubygems-integration/all/gems/bundler-2.2.27/lib/bundler/definition.rb:262:in
`resolve'
	from
/usr/share/rubygems-integration/all/gems/bundler-2.2.27/lib/bundler/definition.rb:483:in
`materialize'
	from
/usr/share/rubygems-integration/all/gems/bundler-2.2.27/lib/bundler/definition.rb:234:in
`specs_for'
	from
/usr/share/rubygems-integration/all/gems/bundler-2.2.27/lib/bundler/runtime.rb:18:in
`setup'
	from
/usr/share/rubygems-integration/all/gems/bundler-2.2.27/lib/bundler.rb:149:in
`setup'
	from
/usr/share/rubygems-integration/all/gems/bundler-2.2.27/lib/bundler/setup.rb:20:in
`block in <top (required)>'
	from
/usr/share/rubygems-integration/all/gems/bundler-2.2.27/lib/bundler/ui/shell.rb:136:in
`with_level'
	from
/usr/share/rubygems-integration/all/gems/bundler-2.2.27/lib/bundler/ui/shell.rb:88:in
`silence'
	from
/usr/share/rubygems-integration/all/gems/bundler-2.2.27/lib/bundler/setup.rb:20:in
`<top (required)>'
	from
/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb:85:in
`require'
	from
/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb:85:in
`require'
	from
/tmp/autopkgtest-lxc.06ulc49v/downtmp/autopkgtest_tmp/foo/config/boot.rb:3:in
`<top (required)>'
	from bin/rails:3:in `require_relative'
	from bin/rails:3:in `<main>'
autopkgtest [19:14:32]: test newapp


-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20211026/62a59070/attachment-0001.sig>


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