[DRE-maint] Bug#975468: ruby-console: autopkgtest regression: error occurred while loading ./spec/console_spec.rb

Paul Gevers elbrus at debian.org
Sun Nov 22 16:40:50 GMT 2020


Source: ruby-console
Version: 1.10.1-1
X-Debbugs-CC: debian-ci at lists.debian.org
Severity: serious
User: debian-ci at lists.debian.org
Usertags: regression

Dear maintainer(s),

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

                       pass            fail
ruby-console           from testing    1.10.1-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?

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-console

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

autopkgtest [06:09:47]: test gem2deb-test-runner: gem2deb-test-runner
--autopkgtest --check-dependencies 2>&1
autopkgtest [06:09:47]: test gem2deb-test-runner: [-----------------------

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

GEM_PATH= ruby2.7 -e gem\ \"console\"

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

mv lib .gem2deb.lib
RUBYLIB=. GEM_PATH= ruby2.7 -S rake -f debian/ruby-tests.rake
/usr/bin/ruby2.7
-I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib
/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/exe/rspec
--pattern ./spec/\*\*/\*_spec.rb --format documentation
/usr/share/rubygems-integration/all/gems/console-1.10.1/lib/console/logger.rb:57:
warning: assigned but unused variable - resolver
  0.0s     info: Dear maintainer: [pid=2898] [2020-11-22 06:09:47 +0000]
               | Once you are done trying to 'optimize' this routine,
and have realized what a terrible mistake that was, please increment the
following counter as a warning to the next guy:
               | total_hours_wasted_here = 42
  0.0s     warn: Something didn't work as expected! [pid=2898]
[2020-11-22 06:09:47 +0000]
  0.0s    error: There be the dragons! [pid=2898] [2020-11-22 06:09:47
+0000]
               |   RuntimeError: Bits have been rotated incorrectly!
               |   →
/tmp/autopkgtest-lxc.67pfihrk/downtmp/build.XDY/src/spec/console/my_module.rb:30
in `test_logger'
               |
/tmp/autopkgtest-lxc.67pfihrk/downtmp/build.XDY/src/spec/console/my_module.rb:37
in `<module
               |
/tmp/autopkgtest-lxc.67pfihrk/downtmp/build.XDY/src/spec/console/my_module.rb:2
in `<top (required)>'
               |
/tmp/autopkgtest-lxc.67pfihrk/downtmp/build.XDY/src/spec/console/console_spec.rb:23
in `require_relative'
               |
/tmp/autopkgtest-lxc.67pfihrk/downtmp/build.XDY/src/spec/console/console_spec.rb:23
in `<top (required)>'
               |
/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib/rspec/core/configuration.rb:2103
in `load'
               |
/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib/rspec/core/configuration.rb:2103
in `load_file_handling_errors'
               |
/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib/rspec/core/configuration.rb:1606
in `block in load_spec_files'
               |
/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib/rspec/core/configuration.rb:1604
in `each'
               |
/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib/rspec/core/configuration.rb:1604
in `load_spec_files'
               |
/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib/rspec/core/runner.rb:102
in `setup'
               |
/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib/rspec/core/runner.rb:86
in `run'
               |
/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib/rspec/core/runner.rb:71
in `run'
               |
/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib/rspec/core/runner.rb:45
in `invoke'
               |
/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/exe/rspec:4 in
`<main>'
  0.0s     info: MyModule [pid=2898] [2020-11-22 06:09:47 +0000]
               |   gcc -o stuff.o stuff.c in /tmp/compile
               |     export LDFLAGS=-lm
  0.0s     info: Object [oid=0x7a8] [pid=2898] [2020-11-22 06:09:47 +0000]
               | Where would we be without Object.new?

An error occurred while loading ./spec/console_spec.rb. - Did you mean?
                    rspec ./spec/console/console_spec.rb

Failure/Error: require_relative "../lib/console/version"

LoadError:
  cannot load such file --
/tmp/autopkgtest-lxc.67pfihrk/downtmp/build.XDY/src/lib/console/version
# ./spec/console_spec.rb:21:in `require_relative'
# ./spec/console_spec.rb:21:in `<top (required)>'

Finished in 0.00003 seconds (files took 0.15907 seconds to load)
0 examples, 0 failures, 1 error occurred outside of examples

/usr/bin/ruby2.7
-I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib
/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/exe/rspec
--pattern ./spec/\*\*/\*_spec.rb --format documentation failed
mv .gem2deb.lib lib
autopkgtest [06:09:48]: test gem2deb-test-runner: -----------------------]

-------------- 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/20201122/a0a8646c/attachment-0001.sig>


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