Issue #4660 has been updated by Matt Robinson.

Assignee set to Matt Robinson

#4308 didn't cause this (in fact it looks like #4308 never made it into the 
2.6.x branch).  It was caused by #4298 which causes puppet errors if the 
manifest file in puppet apply doesn't exist.  Before it would just run 
silently, and the arguments it was getting were the arguments passed to 
autotest, which is what caused the autotest errors once #4298 went in.

I have a fix which is just to ARGV.empty in the spec_helper before requiring 
Puppet, but I'm not yet confident that's the cleanest way to clear up these 
argument issues.  I'll keep researching for a little bit to see if there's 
something better.
----------------------------------------
Bug #4660: Autotest failures
http://projects.puppetlabs.com/issues/4660

Author: James Turnbull
Status: Accepted
Priority: Normal
Assignee: Matt Robinson
Category: testing
Target version: 2.6.1
Affected version: 0.25.2rc3
Keywords: 
Branch: 


With Matt's #4308 patch - I get the following failures when I run autotest - 
these do NOT fail when rake spec running.

<pre>
1)
RuntimeError in 'Puppet::Application::Apply when executing the main command 
should collect the node facts'
Could not find file -O
/home/james/src/puppet/spec/../lib/puppet/application/apply.rb:82:in `main'
./spec/unit/application/apply_spec.rb:244:
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in
 `instance_eval'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in
 `execute'
/usr/lib/ruby/1.8/timeout.rb:53:in `timeout'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:37:in
 `execute'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:214:in
 `run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in
 `each'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in
 `run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:103:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:21:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:16:in
 `each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:16:in
 `run'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/options.rb:152:in 
`run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/command_line.rb:9:in 
`run'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/bin/spec:5:
/usr/bin/spec:19:in `load'
/usr/bin/spec:19:

2)
Mocha::ExpectationError in 'Puppet::Application::Apply when executing the main 
command should raise an error if we can't find the node facts'
not all expectations were satisfied
unsatisfied expectations:
- expected exactly once, not yet invoked: 
Puppet::Node::Facts.find(any_parameters)
satisfied expectations:
- allowed any number of times, not yet invoked: 
Puppet::Util::Log.level=(any_parameters)
- allowed any number of times, not yet invoked: 
Puppet::Util::Log.newdestination(any_parameters)
- allowed any number of times, not yet invoked: Puppet.[](:trace)
- allowed any number of times, not yet invoked: Puppet.[](:postrun_command)
- allowed any number of times, not yet invoked: Puppet.[](:prerun_command)
- allowed any number of times, not yet invoked: Puppet.[](any_parameters)
- allowed any number of times, not yet invoked: 
#<Puppet::Util::Settings:0xb6d2ad78>.use(any_parameters)
- allowed any number of times, already invoked once: {}.[](any_parameters)
- allowed any number of times, not yet invoked: 
Puppet::Node::Facts.find(any_parameters)
- allowed any number of times, not yet invoked: 
Puppet::Node.find(any_parameters)
- allowed any number of times, not yet invoked: 
#<Mock:catalog>.apply(any_parameters)
- allowed any number of times, not yet invoked: 
#<Mock:catalog>.to_ral(any_parameters)
- allowed any number of times, not yet invoked: 
Puppet::Resource::Catalog.find(any_parameters)
- allowed any number of times, not yet invoked: 
#<IO:0xb7772f88>.read(any_parameters)
- allowed any number of times, not yet invoked: 
#<Puppet::Application::Apply:0xb5793d98>.exit(any_parameters)

./spec/unit/application/apply_spec.rb:248:
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in
 `instance_eval'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in
 `execute'
/usr/lib/ruby/1.8/timeout.rb:53:in `timeout'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:37:in
 `execute'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:214:in
 `run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in
 `each'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in
 `run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:103:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:21:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:16:in
 `each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:16:in
 `run'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/options.rb:152:in 
`run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/command_line.rb:9:in 
`run'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/bin/spec:5:
/usr/bin/spec:19:in `load'
/usr/bin/spec:19:

3)
RuntimeError in 'Puppet::Application::Apply when executing the main command 
should look for the node'
Could not find file -O
/home/james/src/puppet/spec/../lib/puppet/application/apply.rb:82:in `main'
./spec/unit/application/apply_spec.rb:256:
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in
 `instance_eval'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in
 `execute'
/usr/lib/ruby/1.8/timeout.rb:53:in `timeout'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:37:in
 `execute'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:214:in
 `run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in
 `each'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in
 `run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:103:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:21:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:16:in
 `each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:16:in
 `run'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/options.rb:152:in 
`run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/command_line.rb:9:in 
`run'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/bin/spec:5:
/usr/bin/spec:19:in `load'
/usr/bin/spec:19:

4)
Mocha::ExpectationError in 'Puppet::Application::Apply when executing the main 
command should raise an error if we can't find the node'
not all expectations were satisfied
unsatisfied expectations:
- expected exactly once, not yet invoked: Puppet::Node.find(any_parameters)
satisfied expectations:
- allowed any number of times, not yet invoked: 
Puppet::Util::Log.level=(any_parameters)
- allowed any number of times, not yet invoked: 
Puppet::Util::Log.newdestination(any_parameters)
- allowed any number of times, not yet invoked: Puppet.[](:trace)
- allowed any number of times, not yet invoked: Puppet.[](:postrun_command)
- allowed any number of times, not yet invoked: Puppet.[](:prerun_command)
- allowed any number of times, not yet invoked: Puppet.[](any_parameters)
- allowed any number of times, not yet invoked: 
#<Puppet::Util::Settings:0xb6d2ad78>.use(any_parameters)
- allowed any number of times, already invoked once: {}.[](any_parameters)
- allowed any number of times, not yet invoked: 
Puppet::Node::Facts.find(any_parameters)
- allowed any number of times, not yet invoked: 
Puppet::Node.find(any_parameters)
- allowed any number of times, not yet invoked: 
#<Mock:catalog>.apply(any_parameters)
- allowed any number of times, not yet invoked: 
#<Mock:catalog>.to_ral(any_parameters)
- allowed any number of times, not yet invoked: 
Puppet::Resource::Catalog.find(any_parameters)
- allowed any number of times, not yet invoked: 
#<IO:0xb7772f88>.read(any_parameters)
- allowed any number of times, not yet invoked: 
#<Puppet::Application::Apply:0xb5a60274>.exit(any_parameters)

./spec/unit/application/apply_spec.rb:260:
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in
 `instance_eval'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in
 `execute'
/usr/lib/ruby/1.8/timeout.rb:53:in `timeout'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:37:in
 `execute'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:214:in
 `run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in
 `each'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in
 `run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:103:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:21:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:16:in
 `each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:16:in
 `run'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/options.rb:152:in 
`run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/command_line.rb:9:in 
`run'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/bin/spec:5:
/usr/bin/spec:19:in `load'
/usr/bin/spec:19:

5)
RuntimeError in 'Puppet::Application::Apply when executing the main command 
should merge in our node the loaded facts'
Could not find file -O
/home/james/src/puppet/spec/../lib/puppet/application/apply.rb:82:in `main'
./spec/unit/application/apply_spec.rb:270:
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in
 `instance_eval'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in
 `execute'
/usr/lib/ruby/1.8/timeout.rb:53:in `timeout'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:37:in
 `execute'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:214:in
 `run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in
 `each'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in
 `run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:103:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:21:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:16:in
 `each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:16:in
 `run'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/options.rb:152:in 
`run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/command_line.rb:9:in 
`run'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/bin/spec:5:
/usr/bin/spec:19:in `load'
/usr/bin/spec:19:

6)
RuntimeError in 'Puppet::Application::Apply when executing the main command 
should load custom classes if loadclasses'
Could not find file -O
/home/james/src/puppet/spec/../lib/puppet/application/apply.rb:82:in `main'
./spec/unit/application/apply_spec.rb:282:
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in
 `instance_eval'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in
 `execute'
/usr/lib/ruby/1.8/timeout.rb:53:in `timeout'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:37:in
 `execute'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:214:in
 `run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in
 `each'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in
 `run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:103:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:21:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:16:in
 `each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:16:in
 `run'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/options.rb:152:in 
`run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/command_line.rb:9:in 
`run'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/bin/spec:5:
/usr/bin/spec:19:in `load'
/usr/bin/spec:19:

7)
RuntimeError in 'Puppet::Application::Apply when executing the main command 
should compile the catalog'
Could not find file -O
/home/james/src/puppet/spec/../lib/puppet/application/apply.rb:82:in `main'
./spec/unit/application/apply_spec.rb:288:
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in
 `instance_eval'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in
 `execute'
/usr/lib/ruby/1.8/timeout.rb:53:in `timeout'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:37:in
 `execute'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:214:in
 `run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in
 `each'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in
 `run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:103:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:21:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:16:in
 `each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:16:in
 `run'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/options.rb:152:in 
`run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/command_line.rb:9:in 
`run'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/bin/spec:5:
/usr/bin/spec:19:in `load'
/usr/bin/spec:19:

8)
RuntimeError in 'Puppet::Application::Apply when executing the main command 
should transform the catalog to ral'
Could not find file -O
/home/james/src/puppet/spec/../lib/puppet/application/apply.rb:82:in `main'
./spec/unit/application/apply_spec.rb:295:
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in
 `instance_eval'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in
 `execute'
/usr/lib/ruby/1.8/timeout.rb:53:in `timeout'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:37:in
 `execute'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:214:in
 `run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in
 `each'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in
 `run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:103:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:21:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:16:in
 `each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:16:in
 `run'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/options.rb:152:in 
`run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/command_line.rb:9:in 
`run'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/bin/spec:5:
/usr/bin/spec:19:in `load'
/usr/bin/spec:19:

9)
RuntimeError in 'Puppet::Application::Apply when executing the main command 
should finalize the catalog'
Could not find file -O
/home/james/src/puppet/spec/../lib/puppet/application/apply.rb:82:in `main'
./spec/unit/application/apply_spec.rb:301:
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in
 `instance_eval'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in
 `execute'
/usr/lib/ruby/1.8/timeout.rb:53:in `timeout'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:37:in
 `execute'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:214:in
 `run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in
 `each'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in
 `run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:103:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:21:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:16:in
 `each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:16:in
 `run'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/options.rb:152:in 
`run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/command_line.rb:9:in 
`run'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/bin/spec:5:
/usr/bin/spec:19:in `load'
/usr/bin/spec:19:

10)
RuntimeError in 'Puppet::Application::Apply when executing the main command 
should call the prerun and postrun commands on a Configurer instance'
Could not find file -O
/home/james/src/puppet/spec/../lib/puppet/application/apply.rb:82:in `main'
./spec/unit/application/apply_spec.rb:311:
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in
 `instance_eval'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in
 `execute'
/usr/lib/ruby/1.8/timeout.rb:53:in `timeout'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:37:in
 `execute'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:214:in
 `run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in
 `each'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in
 `run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:103:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:21:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:16:in
 `each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:16:in
 `run'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/options.rb:152:in 
`run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/command_line.rb:9:in 
`run'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/bin/spec:5:
/usr/bin/spec:19:in `load'
/usr/bin/spec:19:

11)
RuntimeError in 'Puppet::Application::Apply when executing the main command 
should apply the catalog'
Could not find file -O
/home/james/src/puppet/spec/../lib/puppet/application/apply.rb:82:in `main'
./spec/unit/application/apply_spec.rb:317:
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in
 `instance_eval'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in
 `execute'
/usr/lib/ruby/1.8/timeout.rb:53:in `timeout'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:37:in
 `execute'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:214:in
 `run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in
 `each'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in
 `run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:103:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:21:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:16:in
 `each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:16:in
 `run'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/options.rb:152:in 
`run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/command_line.rb:9:in 
`run'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/bin/spec:5:
/usr/bin/spec:19:in `load'
/usr/bin/spec:19:

12)
RuntimeError in 'Puppet::Application::Apply when executing the main command 
with detailed_exitcodes should exit with report's computed exit status'
Could not find file -O
/home/james/src/puppet/spec/../lib/puppet/application/apply.rb:82:in `main'
./spec/unit/application/apply_spec.rb:328:
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in
 `instance_eval'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in
 `execute'
/usr/lib/ruby/1.8/timeout.rb:53:in `timeout'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:37:in
 `execute'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:214:in
 `run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in
 `each'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in
 `run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:103:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:21:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:16:in
 `each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:16:in
 `run'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/options.rb:152:in 
`run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/command_line.rb:9:in 
`run'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/bin/spec:5:
/usr/bin/spec:19:in `load'
/usr/bin/spec:19:

13)
RuntimeError in 'Puppet::Application::Apply when executing the main command 
with detailed_exitcodes should always exit with 0 if option is disabled'
Could not find file -O
/home/james/src/puppet/spec/../lib/puppet/application/apply.rb:82:in `main'
./spec/unit/application/apply_spec.rb:338:
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in
 `instance_eval'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in
 `execute'
/usr/lib/ruby/1.8/timeout.rb:53:in `timeout'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:37:in
 `execute'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:214:in
 `run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in
 `each'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in
 `run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:103:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:21:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:16:in
 `each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:16:in
 `run'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/options.rb:152:in 
`run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/command_line.rb:9:in 
`run'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/bin/spec:5:
/usr/bin/spec:19:in `load'
/usr/bin/spec:19:

14)
RuntimeError in 'Puppet::Application::Apply when executing the main command 
with detailed_exitcodes should always exit with 0 if --noop'
Could not find file -O
/home/james/src/puppet/spec/../lib/puppet/application/apply.rb:82:in `main'
./spec/unit/application/apply_spec.rb:348:
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in
 `instance_eval'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in
 `execute'
/usr/lib/ruby/1.8/timeout.rb:53:in `timeout'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:37:in
 `execute'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:214:in
 `run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in
 `each'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:212:in
 `run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:103:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:21:in
 `run'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:16:in
 `each'
/home/james/src/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:16:in
 `run'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/options.rb:152:in 
`run_examples'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/runner/command_line.rb:9:in 
`run'
/usr/lib/ruby/gems/1.8/gems/rspec-1.3.0/bin/spec:5:
/usr/bin/spec:19:in `load'
/usr/bin/spec:19:
</pre>



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to