Failures: |
|
1) Puppet::Type::Service::Provider::Openbsd #status should use the status command from the resource |
Failure/Error: if $CHILD_STATUS.exitstatus == 0 |
NoMethodError: |
undefined method `exitstatus' for nil:NilClass |
# ./lib/puppet/provider/service/base.rb:74:in `status' |
# ./spec/unit/provider/service/openbsd_spec.rb:61:in `block (3 levels) in <top (required)>' |
# ./spec/spec_helper.rb:180:in `block (2 levels) in <top (required)>' |
# util/rspec_runner:44:in `run' |
# util/rspec_runner:59:in `<main>' |
Finished in 29.52 seconds (files took 3.14 seconds to load) |
|
1) Puppet::Node::Facts::Facter resolving file based facts should resolve external facts |
Failure/Error: |
expect do |
expect { apply.run }.to exit_with(0) |
end.to have_printed('bar') |
expected "bar" to be printed; got: |
Warning: Unknown variable: 'foo'. (line: 1, column: 10) |
Error: Evaluation Error: Missing title. The title expression resulted in undef (line: 1, column: 10) on node pyewacket.vpn.puppet.net |
# ./spec/integration/indirector/facts/facter_spec.rb:61:in `block (3 levels) in <top (required)>' |
# ./spec/spec_helper.rb:180:in `block (2 levels) in <top (required)>' |
# util/rspec_runner:44:in `run' |
# util/rspec_runner:59:in `<main>' |
Finished in 39.34 seconds (files took 3.6 seconds to load) |
|
1) Puppet::Type::Service::Provider::Redhat when getting all service instances should call service status when initialized from provider |
Failure/Error: if $CHILD_STATUS.exitstatus == 0 |
NoMethodError: |
undefined method `exitstatus' for nil:NilClass |
# ./lib/puppet/provider/service/base.rb:74:in `status' |
# ./spec/unit/provider/service/redhat_spec.rb:60:in `block (3 levels) in <top (required)>' |
# ./spec/spec_helper.rb:180:in `block (2 levels) in <top (required)>' |
# util/rspec_runner:44:in `run' |
# util/rspec_runner:59:in `<main>' |
2) Puppet::Type::Service::Provider::Redhat when running status should use any provided explicit command |
Failure/Error: if $CHILD_STATUS.exitstatus == 0 |
NoMethodError: |
undefined method `exitstatus' for nil:NilClass |
# ./lib/puppet/provider/service/base.rb:74:in `status' |
# ./spec/unit/provider/service/redhat_spec.rb:122:in `block (4 levels) in <top (required)>' |
# ./spec/spec_helper.rb:180:in `block (2 levels) in <top (required)>' |
# util/rspec_runner:44:in `run' |
# util/rspec_runner:59:in `<main>' |
3) Puppet::Type::Service::Provider::Redhat when running status should execute the service script with status when no explicit command is provided |
Failure/Error: if $CHILD_STATUS.exitstatus == 0 |
NoMethodError: |
undefined method `exitstatus' for nil:NilClass |
# ./lib/puppet/provider/service/base.rb:74:in `status' |
# ./spec/unit/provider/service/redhat_spec.rb:128:in `block (4 levels) in <top (required)>' |
# ./spec/spec_helper.rb:180:in `block (2 levels) in <top (required)>' |
# util/rspec_runner:44:in `run' |
# util/rspec_runner:59:in `<main>' |
4) Puppet::Type::Service::Provider::Redhat when checking status when hasstatus is :true should execute the service script with fail_on_failure false |
Failure/Error: if $CHILD_STATUS.exitstatus == 0 |
NoMethodError: |
undefined method `exitstatus' for nil:NilClass |
# ./lib/puppet/provider/service/base.rb:74:in `status' |
# ./spec/unit/provider/service/redhat_spec.rb:141:in `block (4 levels) in <top (required)>' |
# ./spec/spec_helper.rb:180:in `block (2 levels) in <top (required)>' |
# util/rspec_runner:44:in `run' |
# util/rspec_runner:59:in `<main>' |
5) Puppet::Type::Service::Provider::Init if the init script is present when running start should use any provided explicit command |
Failure/Error: if type == :start && Facter.value(:osfamily) == "Solaris" |
#<File (class)> received :directory? with unexpected arguments |
expected: ("/alt/service/path") |
got: ("/opt/puppetlabs/facter/cache/cached_facts") |
Please stub a default value first if message might be received with other args as well. |
# ./.bundle/gems/ruby/2.6.0/gems/facter-4.0.21/lib/framework/core/cache_manager.rb:13:in `resolve_facts' |
# ./.bundle/gems/ruby/2.6.0/gems/facter-4.0.21/lib/framework/core/fact_manager.rb:24:in `resolve_facts' |
# ./.bundle/gems/ruby/2.6.0/gems/facter-4.0.21/lib/facter.rb:290:in `resolve_fact' |
# ./.bundle/gems/ruby/2.6.0/gems/facter-4.0.21/lib/facter.rb:221:in `value' |
# ./lib/puppet/provider/service/init.rb:174:in `texecute' |
# ./lib/puppet/provider/service/service.rb:40:in `ucommand' |
# ./lib/puppet/provider/service/base.rb:96:in `start' |
# ./spec/unit/provider/service/init_spec.rb:172:in `block (5 levels) in <top (required)>' |
# ./spec/spec_helper.rb:180:in `block (2 levels) in <top (required)>' |
# util/rspec_runner:44:in `run' |
# util/rspec_runner:59:in `<main>' |
6) Puppet::Type::Service::Provider::Init if the init script is present when running start should pass start to the init script when no explicit command is provided |
Failure/Error: if type == :start && Facter.value(:osfamily) == "Solaris" |
#<File (class)> received :directory? with unexpected arguments |
expected: ("/alt/service/path") |
got: ("/opt/puppetlabs/facter/cache/cached_facts") |
Please stub a default value first if message might be received with other args as well. |
# ./.bundle/gems/ruby/2.6.0/gems/facter-4.0.21/lib/framework/core/cache_manager.rb:13:in `resolve_facts' |
# ./.bundle/gems/ruby/2.6.0/gems/facter-4.0.21/lib/framework/core/fact_manager.rb:24:in `resolve_facts' |
# ./.bundle/gems/ruby/2.6.0/gems/facter-4.0.21/lib/facter.rb:290:in `resolve_fact' |
# ./.bundle/gems/ruby/2.6.0/gems/facter-4.0.21/lib/facter.rb:221:in `value' |
# ./lib/puppet/provider/service/init.rb:174:in `texecute' |
# ./lib/puppet/provider/service/service.rb:40:in `ucommand' |
# ./lib/puppet/provider/service/base.rb:96:in `start' |
# ./spec/unit/provider/service/init_spec.rb:180:in `block (5 levels) in <top (required)>' |
# ./spec/spec_helper.rb:180:in `block (2 levels) in <top (required)>' |
# util/rspec_runner:44:in `run' |
# util/rspec_runner:59:in `<main>' |
Finished in 24.21 seconds (files took 3.19 seconds to load) |
|
1) Puppet::Util::Logging when Facter does support trace enables Facter trace when enabled |
Failure/Error: Facter.debugging(level == :debug) if Facter.respond_to? :debugging |
Facter received :trace with unexpected arguments |
expected: (true) |
got: (false) |
Diff: |
@@ -1,2 +1,2 @@ |
-[true] |
+[false] |
Please stub a default value first if message might be received with other args as well. |
# ./.bundle/gems/ruby/2.6.0/gems/facter-4.0.21/lib/framework/core/options/option_store.rb:124:in `log_level=' |
# ./.bundle/gems/ruby/2.6.0/gems/facter-4.0.21/lib/framework/core/options/option_store.rb:87:in `debug=' |
# ./.bundle/gems/ruby/2.6.0/gems/facter-4.0.21/lib/framework/core/options.rb:19:in `[]=' |
# ./.bundle/gems/ruby/2.6.0/gems/facter-4.0.21/lib/facter.rb:106:in `debugging' |
# ./lib/puppet/util/log.rb:114:in `level=' |
# ./spec/spec_helper.rb:197:in `block (2 levels) in <top (required)>' |
# ./spec/spec_helper.rb:180:in `block (2 levels) in <top (required)>' |
# util/rspec_runner:44:in `run' |
# util/rspec_runner:59:in `<main>' |
2) Puppet::Resource::Catalog::Compiler after finding nodes when checking for a PE version should add 'pe_serverversion' when PE |
Failure/Error: value = Facter.value(fact) |
#<File (class)> received :readable? with unexpected arguments |
expected: ("/opt/puppetlabs/server/pe_version") |
got: ("/Users/melissa/workdir/puppet/.bundle/gems/ruby/2.6.0/gems/facter-4.0.21/fact_groups.conf") |
Please stub a default value first if message might be received with other args as well. |
# ./.bundle/gems/ruby/2.6.0/gems/facter-4.0.21/lib/framework/config/fact_groups.rb:13:in `initialize' |
# ./.bundle/gems/ruby/2.6.0/gems/facter-4.0.21/lib/framework/core/cache_manager.rb:8:in `new' |
# ./.bundle/gems/ruby/2.6.0/gems/facter-4.0.21/lib/framework/core/cache_manager.rb:8:in `initialize' |
# ./.bundle/gems/ruby/2.6.0/gems/facter-4.0.21/lib/framework/core/fact_manager.rb:23:in `new' |
# ./.bundle/gems/ruby/2.6.0/gems/facter-4.0.21/lib/framework/core/fact_manager.rb:23:in `resolve_facts' |
# ./.bundle/gems/ruby/2.6.0/gems/facter-4.0.21/lib/facter.rb:290:in `resolve_fact' |
# ./.bundle/gems/ruby/2.6.0/gems/facter-4.0.21/lib/facter.rb:221:in `value' |
# ./lib/puppet/indirector/catalog/compiler.rb:417:in `block in set_server_facts' |
# ./lib/puppet/indirector/catalog/compiler.rb:416:in `each' |
# ./lib/puppet/indirector/catalog/compiler.rb:416:in `set_server_facts' |
# ./lib/puppet/indirector/catalog/compiler.rb:72:in `block in initialize' |
# ./lib/puppet/util/profiler/around_profiler.rb:58:in `profile' |
# ./lib/puppet/util/profiler.rb:51:in `profile' |
# ./lib/puppet/indirector/catalog/compiler.rb:71:in `initialize' |
# ./spec/unit/indirector/catalog/compiler_spec.rb:14:in `new' |
# ./spec/unit/indirector/catalog/compiler_spec.rb:14:in `block (2 levels) in <top (required)>' |
# ./spec/unit/indirector/catalog/compiler_spec.rb:486:in `block (3 levels) in <top (required)>' |
# ./spec/spec_helper.rb:180:in `block (2 levels) in <top (required)>' |
# util/rspec_runner:44:in `run' |
# util/rspec_runner:59:in `<main>' |
Finished in 27.56 seconds (files took 2.67 seconds to load) |
|
1) Puppet::Type::Service::Provider::Systemd #status should use the supplied status command if specified |
Failure/Error: if $CHILD_STATUS.exitstatus == 0 |
NoMethodError: |
undefined method `exitstatus' for nil:NilClass |
# ./lib/puppet/provider/service/base.rb:74:in `status' |
# ./spec/unit/provider/service/systemd_spec.rb:374:in `block (3 levels) in <top (required)>' |
# ./spec/spec_helper.rb:180:in `block (2 levels) in <top (required)>' |
# util/rspec_runner:44:in `run' |
# util/rspec_runner:59:in `<main>' |
Finished in 20.97 seconds (files took 3.02 seconds to load) |
|
Finished in 2 minutes 11.8 seconds |
25774 examples, 11 failures, 39 pending |
|
Failed examples: |
rspec ./spec/unit/provider/service/openbsd_spec.rb:57 # Puppet::Type::Service::Provider::Openbsd #status should use the status command from the resource |
rspec ./spec/integration/indirector/facts/facter_spec.rb:51 # Puppet::Node::Facts::Facter resolving file based facts should resolve external facts |
rspec ./spec/unit/provider/service/redhat_spec.rb:56 # Puppet::Type::Service::Provider::Redhat when getting all service instances should call service status when initialized from provider |
rspec './spec/unit/provider/service/redhat_spec.rb[1:15:1]' # Puppet::Type::Service::Provider::Redhat when running status should use any provided explicit command |
rspec './spec/unit/provider/service/redhat_spec.rb[1:15:2]' # Puppet::Type::Service::Provider::Redhat when running status should execute the service script with status when no explicit command is provided |
rspec ./spec/unit/provider/service/redhat_spec.rb:139 # Puppet::Type::Service::Provider::Redhat when checking status when hasstatus is :true should execute the service script with fail_on_failure false |
rspec './spec/unit/provider/service/init_spec.rb[1:4:2:1]' # Puppet::Type::Service::Provider::Init if the init script is present when running start should use any provided explicit command |
rspec './spec/unit/provider/service/init_spec.rb[1:4:2:2]' # Puppet::Type::Service::Provider::Init if the init script is present when running start should pass start to the init script when no explicit command is provided |
rspec ./spec/unit/util/logging_spec.rb:574 # Puppet::Util::Logging when Facter does support trace enables Facter trace when enabled |
rspec ./spec/unit/indirector/catalog/compiler_spec.rb:479 # Puppet::Resource::Catalog::Compiler after finding nodes when checking for a PE version should add 'pe_serverversion' when PE |
rspec ./spec/unit/provider/service/systemd_spec.rb:371 # Puppet::Type::Service::Provider::Systemd #status should use the supplied status command if specified
|