[Pkg-puppet-devel] Bug#726400: puppet testsuite fails to run
Svante Signell
svante.signell at gmail.com
Tue Oct 15 12:44:17 UTC 2013
Package: puppet-testsuite
Version: 3.3.1-1
Severity: important
According to the package description page the puppet testsuite should
run by issuing 'rake unit' in /usr/share/puppet-testsuite. This is not
true:
cd /usr/share/puppet-testsuite
rake unit
rake aborted!
Don't know how to build task 'unit'
(See full trace by running task with --trace)
However, I found that 'rake spec' could work but that also fails:
rake spec
rspec -fd spec
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot
load such file -- rgen/metamodel_builder (LoadError)
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/share/puppet-testsuite/spec/integration/parser/compiler_spec.rb:327:in `block (2 levels) in <top (required)>'
from /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:246:in
`module_eval'
from /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:246:in
`subclass'
from /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:232:in
`describe'
from /usr/share/puppet-testsuite/spec/integration/parser/compiler_spec.rb:323:in `block in <top (required)>'
from /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:246:in
`module_eval'
from /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:246:in
`subclass'
from /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:232:in
`describe'
from /usr/lib/ruby/vendor_ruby/rspec/core/dsl.rb:18:in `describe'
from /usr/share/puppet-testsuite/spec/integration/parser/compiler_spec.rb:5:in `<top (required)>'
from /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:896:in `load'
from /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:896:in `block
in load_spec_files'
from /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:896:in `each'
from /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:896:in
`load_spec_files'
from /usr/lib/ruby/vendor_ruby/rspec/core/command_line.rb:22:in `run'
from /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:80:in `run'
from /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:17:in `block in
autorun'
rake aborted!
Seems like the same error happens at
http://grokbase.com/t/gg/puppet-ci/134a3pka90/build-failed-in-jenkins-puppet-specs-master-facter-1-7-x-nofeatures-hiera-1-x-ruby-1-9-3-rvm-894
Installed packages:
ii puppet-common 3.3.1-1 all
ii ruby1.8 1.8.7.358-7 amd64
ii ruby1.9.1 1.9.3.194-8. amd64
ii git 1:1.7.10.4-1 amd64
ii ruby-ldap 0.9.12-2 amd64
ii ruby-mocha 0.14.0-2 all
ii ruby-rspec 2.14.1-1 all
ii ruby-sqlite3 1.3.6-2 amd64
ii lsb-base 4.1+Debian8 all
More information about the Pkg-puppet-devel
mailing list