[DRE-maint] Bug#815117: ruby-rspec-core: FTBFS - tests fail with NoMethodError: undefined method `run'

Michael Tautschnig mt at debian.org
Fri Feb 19 02:02:15 UTC 2016


Package: ruby-rspec-core
Version: 2.14.7-2
Severity: serious
Usertags: goto-cc

During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder
and pbuilder) the build failed with the following error.

[...]
/usr/bin/ruby2.2 /usr/bin/gem2deb-test-runner

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

RUBYLIB=/srv/jenkins-slave/workspace/sid-goto-cc-ruby-rspec-core/ruby-rspec-core-2.14.7/debian/ruby-rspec-core/usr/lib/ruby/vendor_ruby:. GEM_PATH=/srv/jenkins-slave/workspace/sid-goto-cc-ruby-rspec-core/.gem/ruby/2.2.0:/var/lib/gems/2.2.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.2.0:/usr/share/rubygems-integration/2.2.0:/usr/share/rubygems-integration/2.2:/usr/share/rubygems-integration/all:debian/ruby-rspec-core/usr/share/rubygems-integration/all ruby2.2 debian/ruby-tests.rb
Run options:
  include {:focus=>true}
  exclude {:ruby=>#<Proc:./spec/spec_helper.rb:118>}

All examples were filtered out; ignoring {:focus=>true}
F
An error occurred 
  NoMethodError: undefined method `run' for #<RSpec::Core::Example:0x000000012c1590>
  occurred at /srv/jenkins-slave/workspace/sid-goto-cc-ruby-rspec-core/ruby-rspec-core-2.14.7/lib/rspec/core/example_group.rb:390:in `block in run_examples'

FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

Failures:

  1) RSpec::Core::BacktraceCleaner with no patterns keeps all lines
     Failure/Error: Unable to find matching line from backtrace
     NameError:
       undefined method `orig_run' for class `RSpec::Core::Example'
     # ./spec/support/sandboxed_mock_space.rb:42:in `alias_method'
     # ./spec/support/sandboxed_mock_space.rb:42:in `block in sandboxed'
     # ./spec/support/sandboxed_mock_space.rb:40:in `class_eval'
     # ./spec/support/sandboxed_mock_space.rb:40:in `ensure in sandboxed'
     # ./spec/support/sandboxed_mock_space.rb:46:in `sandboxed'
     # debian/ruby-tests.rb:9:in `<main>'

[...]
No examples found.


Finished in 0.00007 seconds
0 examples, 0 failures
ERROR: Test "ruby2.2" failed. Exiting.
dh_auto_install: dh_ruby --install /srv/jenkins-slave/workspace/sid-goto-cc-ruby-rspec-core/ruby-rspec-core-2.14.7/debian/ruby-rspec-core returned exit code 1
debian/rules:23: recipe for target 'override_dh_auto_install' failed
make[1]: *** [override_dh_auto_install] Error 1


The full build log is attached; please do let me know if the problem is
unreproducible, in which case I shall try to investigate further.

Best,
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruby-rspec-core-build-log.txt.gz
Type: application/x-gunzip
Size: 54692 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20160219/79460b4a/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20160219/79460b4a/attachment-0001.sig>


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