Drop support for non-systemd #72
ci.yml
on: pull_request
Puppet
/
Static validations
22s
Matrix: Puppet / unit
Puppet
/
Test suite
9s
Annotations
11 errors and 1 warning
Puppet / 8 (Ruby 3.2):
spec/functions/service_config_spec.rb#L14
wildfly::service_config Wildfly 10 using systemd
Failure/Error: is_expected.to run.with_params(distribution, version, 'standalone', 'systemd').and_return('service_name' => 'wildfly', 'conf_file' => '/etc/wildfly/wildfly.conf', 'conf_template' => 'wildfly/wildfly.systemd.conf', 'service_file' => 'docs/contrib/scripts/init.d/wildfly-init-redhat.sh', 'systemd_template' => 'wildfly/wildfly.systemd.service')
expected wildfly::service_config("wildfly", "10.0", "standalone", "systemd") to have returned {"service_name"=>"wildfly", "conf_file"=>"/etc/wildfly/wildfly.conf", "conf_template"=>"wildfly/wildfly.systemd.conf", "service_file"=>"docs/contrib/scripts/init.d/wildfly-init-redhat.sh", "systemd_template"=>"wildfly/wildfly.systemd.service"} instead of raising ArgumentError('wildfly::service_config' expects 3 arguments, got 4)
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/puppet-8.8.1/lib/puppet/pops/functions/dispatcher.rb:40:in `dispatch'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/puppet-8.8.1/lib/puppet/pops/functions/function.rb:44:in `block in call'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/puppet-8.8.1/lib/puppet/pops/functions/function.rb:43:in `catch'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/puppet-8.8.1/lib/puppet/pops/functions/function.rb:43:in `call'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/example/function_example_group.rb:21:in `block in execute'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/puppet-8.8.1/lib/puppet/context.rb:64:in `override'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/puppet-8.8.1/lib/puppet.rb:288:in `override'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/example/function_example_group.rb:20:in `execute'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/matchers/run.rb:12:in `matches?'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/handler.rb:26:in `with_matcher'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/handler.rb:47:in `handle_matcher'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/expectation_target.rb:65:in `to'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/expectation_target.rb:101:in `to'
/home/runner/work/puppet-wildfly/puppet-wildfly/spec/functions/service_config_spec.rb:15:in `block (3 levels) in <top (required)>'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `instance_exec'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in run'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `block in run'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:624:in `run_around_example_hooks_for'
/home/runner/work/
|
Puppet / 8 (Ruby 3.2):
spec/functions/service_config_spec.rb#L27
wildfly::service_config Wildfly < 10 using systemd
Failure/Error: is_expected.to run.with_params(distribution, version, 'standalone', 'systemd').and_return('service_name' => 'wildfly', 'conf_file' => '/etc/default/wildfly.conf', 'service_file' => 'bin/init.d/wildfly-init-redhat.sh', 'conf_template' => 'wildfly/wildfly.sysvinit.conf')
expected wildfly::service_config("wildfly", "9.0.2", "standalone", "systemd") to have returned {"service_name"=>"wildfly", "conf_file"=>"/etc/default/wildfly.conf", "service_file"=>"bin/init.d/wildfly-init-redhat.sh", "conf_template"=>"wildfly/wildfly.sysvinit.conf"} instead of raising ArgumentError('wildfly::service_config' expects 3 arguments, got 4)
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/puppet-8.8.1/lib/puppet/pops/functions/dispatcher.rb:40:in `dispatch'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/puppet-8.8.1/lib/puppet/pops/functions/function.rb:44:in `block in call'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/puppet-8.8.1/lib/puppet/pops/functions/function.rb:43:in `catch'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/puppet-8.8.1/lib/puppet/pops/functions/function.rb:43:in `call'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/example/function_example_group.rb:21:in `block in execute'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/puppet-8.8.1/lib/puppet/context.rb:64:in `override'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/puppet-8.8.1/lib/puppet.rb:288:in `override'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/example/function_example_group.rb:20:in `execute'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/matchers/run.rb:12:in `matches?'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/handler.rb:26:in `with_matcher'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/handler.rb:47:in `handle_matcher'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/expectation_target.rb:65:in `to'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/expectation_target.rb:101:in `to'
/home/runner/work/puppet-wildfly/puppet-wildfly/spec/functions/service_config_spec.rb:28:in `block (3 levels) in <top (required)>'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `instance_exec'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in run'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `block in run'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:624:in `run_around_example_hooks_for'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `run'
/home/runner/work/puppet
|
Puppet / 8 (Ruby 3.2):
spec/functions/service_config_spec.rb#L36
wildfly::service_config JBoss EAP 7 using systemd
Failure/Error: is_expected.to run.with_params(distribution, version, 'standalone', 'systemd').and_return('service_file' => 'bin/init.d/jboss-eap-rhel.sh', 'conf_file' => '/etc/default/jboss-eap.conf', 'service_name' => 'jboss-eap', 'conf_template' => 'wildfly/wildfly.sysvinit.conf')
expected wildfly::service_config("jboss-eap", "7.0", "standalone", "systemd") to have returned {"service_file"=>"bin/init.d/jboss-eap-rhel.sh", "conf_file"=>"/etc/default/jboss-eap.conf", "service_name"=>"jboss-eap", "conf_template"=>"wildfly/wildfly.sysvinit.conf"} instead of raising ArgumentError('wildfly::service_config' expects 3 arguments, got 4)
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/puppet-8.8.1/lib/puppet/pops/functions/dispatcher.rb:40:in `dispatch'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/puppet-8.8.1/lib/puppet/pops/functions/function.rb:44:in `block in call'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/puppet-8.8.1/lib/puppet/pops/functions/function.rb:43:in `catch'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/puppet-8.8.1/lib/puppet/pops/functions/function.rb:43:in `call'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/example/function_example_group.rb:21:in `block in execute'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/puppet-8.8.1/lib/puppet/context.rb:64:in `override'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/puppet-8.8.1/lib/puppet.rb:288:in `override'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/example/function_example_group.rb:20:in `execute'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/matchers/run.rb:12:in `matches?'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/handler.rb:26:in `with_matcher'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/handler.rb:47:in `handle_matcher'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/expectation_target.rb:65:in `to'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/expectation_target.rb:101:in `to'
/home/runner/work/puppet-wildfly/puppet-wildfly/spec/functions/service_config_spec.rb:37:in `block (3 levels) in <top (required)>'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `instance_exec'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in run'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `block in run'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:624:in `run_around_example_hooks_for'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `run'
/home/runner/work/puppet-wi
|
Puppet / 8 (Ruby 3.2):
spec/functions/service_config_spec.rb#L45
wildfly::service_config JBoss EAP 6 using systemd
Failure/Error: is_expected.to run.with_params(distribution, version, 'standalone', 'systemd').and_return('service_file' => 'bin/init.d/jboss-as-standalone.sh', 'conf_file' => '/etc/jboss-as/jboss-as.conf', 'service_name' => 'jboss-as', 'conf_template' => 'wildfly/wildfly.sysvinit.conf')
expected wildfly::service_config("jboss-eap", "6.4", "standalone", "systemd") to have returned {"service_file"=>"bin/init.d/jboss-as-standalone.sh", "conf_file"=>"/etc/jboss-as/jboss-as.conf", "service_name"=>"jboss-as", "conf_template"=>"wildfly/wildfly.sysvinit.conf"} instead of raising ArgumentError('wildfly::service_config' expects 3 arguments, got 4)
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/puppet-8.8.1/lib/puppet/pops/functions/dispatcher.rb:40:in `dispatch'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/puppet-8.8.1/lib/puppet/pops/functions/function.rb:44:in `block in call'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/puppet-8.8.1/lib/puppet/pops/functions/function.rb:43:in `catch'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/puppet-8.8.1/lib/puppet/pops/functions/function.rb:43:in `call'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/example/function_example_group.rb:21:in `block in execute'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/puppet-8.8.1/lib/puppet/context.rb:64:in `override'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/puppet-8.8.1/lib/puppet.rb:288:in `override'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/example/function_example_group.rb:20:in `execute'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/matchers/run.rb:12:in `matches?'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/handler.rb:26:in `with_matcher'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/handler.rb:47:in `handle_matcher'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/expectation_target.rb:65:in `to'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/expectation_target.rb:101:in `to'
/home/runner/work/puppet-wildfly/puppet-wildfly/spec/functions/service_config_spec.rb:46:in `block (3 levels) in <top (required)>'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `instance_exec'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in run'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `block in run'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:624:in `run_around_example_hooks_for'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `run'
/home/runner/work/p
|
Puppet / 8 (Ruby 3.2)
Process completed with exit code 1.
|
Puppet / 7 (Ruby 2.7):
spec/functions/service_config_spec.rb#L14
wildfly::service_config Wildfly 10 using systemd
Failure/Error: is_expected.to run.with_params(distribution, version, 'standalone', 'systemd').and_return('service_name' => 'wildfly', 'conf_file' => '/etc/wildfly/wildfly.conf', 'conf_template' => 'wildfly/wildfly.systemd.conf', 'service_file' => 'docs/contrib/scripts/init.d/wildfly-init-redhat.sh', 'systemd_template' => 'wildfly/wildfly.systemd.service')
expected wildfly::service_config("wildfly", "10.0", "standalone", "systemd") to have returned {"service_name"=>"wildfly", "conf_file"=>"/etc/wildfly/wildfly.conf", "conf_template"=>"wildfly/wildfly.systemd.conf", "service_file"=>"docs/contrib/scripts/init.d/wildfly-init-redhat.sh", "systemd_template"=>"wildfly/wildfly.systemd.service"} instead of raising ArgumentError('wildfly::service_config' expects 3 arguments, got 4)
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/puppet-7.32.1/lib/puppet/pops/functions/dispatcher.rb:39:in `dispatch'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/puppet-7.32.1/lib/puppet/pops/functions/function.rb:43:in `block in call'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/puppet-7.32.1/lib/puppet/pops/functions/function.rb:42:in `catch'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/puppet-7.32.1/lib/puppet/pops/functions/function.rb:42:in `call'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/example/function_example_group.rb:21:in `block in execute'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/puppet-7.32.1/lib/puppet/context.rb:62:in `override'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/puppet-7.32.1/lib/puppet.rb:289:in `override'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/example/function_example_group.rb:20:in `execute'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/matchers/run.rb:12:in `matches?'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/handler.rb:26:in `with_matcher'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/handler.rb:47:in `handle_matcher'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/expectation_target.rb:65:in `to'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/expectation_target.rb:101:in `to'
/home/runner/work/puppet-wildfly/puppet-wildfly/spec/functions/service_config_spec.rb:15:in `block (3 levels) in <top (required)>'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `instance_exec'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in run'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `block in run'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:624:in `run_around_example_hooks_for'
/home/runner
|
Puppet / 7 (Ruby 2.7):
spec/functions/service_config_spec.rb#L27
wildfly::service_config Wildfly < 10 using systemd
Failure/Error: is_expected.to run.with_params(distribution, version, 'standalone', 'systemd').and_return('service_name' => 'wildfly', 'conf_file' => '/etc/default/wildfly.conf', 'service_file' => 'bin/init.d/wildfly-init-redhat.sh', 'conf_template' => 'wildfly/wildfly.sysvinit.conf')
expected wildfly::service_config("wildfly", "9.0.2", "standalone", "systemd") to have returned {"service_name"=>"wildfly", "conf_file"=>"/etc/default/wildfly.conf", "service_file"=>"bin/init.d/wildfly-init-redhat.sh", "conf_template"=>"wildfly/wildfly.sysvinit.conf"} instead of raising ArgumentError('wildfly::service_config' expects 3 arguments, got 4)
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/puppet-7.32.1/lib/puppet/pops/functions/dispatcher.rb:39:in `dispatch'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/puppet-7.32.1/lib/puppet/pops/functions/function.rb:43:in `block in call'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/puppet-7.32.1/lib/puppet/pops/functions/function.rb:42:in `catch'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/puppet-7.32.1/lib/puppet/pops/functions/function.rb:42:in `call'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/example/function_example_group.rb:21:in `block in execute'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/puppet-7.32.1/lib/puppet/context.rb:62:in `override'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/puppet-7.32.1/lib/puppet.rb:289:in `override'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/example/function_example_group.rb:20:in `execute'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/matchers/run.rb:12:in `matches?'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/handler.rb:26:in `with_matcher'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/handler.rb:47:in `handle_matcher'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/expectation_target.rb:65:in `to'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/expectation_target.rb:101:in `to'
/home/runner/work/puppet-wildfly/puppet-wildfly/spec/functions/service_config_spec.rb:28:in `block (3 levels) in <top (required)>'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `instance_exec'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in run'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `block in run'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:624:in `run_around_example_hooks_for'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `run'
/home/runner/work/
|
Puppet / 7 (Ruby 2.7):
spec/functions/service_config_spec.rb#L36
wildfly::service_config JBoss EAP 7 using systemd
Failure/Error: is_expected.to run.with_params(distribution, version, 'standalone', 'systemd').and_return('service_file' => 'bin/init.d/jboss-eap-rhel.sh', 'conf_file' => '/etc/default/jboss-eap.conf', 'service_name' => 'jboss-eap', 'conf_template' => 'wildfly/wildfly.sysvinit.conf')
expected wildfly::service_config("jboss-eap", "7.0", "standalone", "systemd") to have returned {"service_file"=>"bin/init.d/jboss-eap-rhel.sh", "conf_file"=>"/etc/default/jboss-eap.conf", "service_name"=>"jboss-eap", "conf_template"=>"wildfly/wildfly.sysvinit.conf"} instead of raising ArgumentError('wildfly::service_config' expects 3 arguments, got 4)
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/puppet-7.32.1/lib/puppet/pops/functions/dispatcher.rb:39:in `dispatch'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/puppet-7.32.1/lib/puppet/pops/functions/function.rb:43:in `block in call'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/puppet-7.32.1/lib/puppet/pops/functions/function.rb:42:in `catch'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/puppet-7.32.1/lib/puppet/pops/functions/function.rb:42:in `call'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/example/function_example_group.rb:21:in `block in execute'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/puppet-7.32.1/lib/puppet/context.rb:62:in `override'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/puppet-7.32.1/lib/puppet.rb:289:in `override'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/example/function_example_group.rb:20:in `execute'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/matchers/run.rb:12:in `matches?'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/handler.rb:26:in `with_matcher'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/handler.rb:47:in `handle_matcher'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/expectation_target.rb:65:in `to'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/expectation_target.rb:101:in `to'
/home/runner/work/puppet-wildfly/puppet-wildfly/spec/functions/service_config_spec.rb:37:in `block (3 levels) in <top (required)>'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `instance_exec'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in run'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `block in run'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:624:in `run_around_example_hooks_for'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `run'
/home/runner/work/pup
|
Puppet / 7 (Ruby 2.7):
spec/functions/service_config_spec.rb#L45
wildfly::service_config JBoss EAP 6 using systemd
Failure/Error: is_expected.to run.with_params(distribution, version, 'standalone', 'systemd').and_return('service_file' => 'bin/init.d/jboss-as-standalone.sh', 'conf_file' => '/etc/jboss-as/jboss-as.conf', 'service_name' => 'jboss-as', 'conf_template' => 'wildfly/wildfly.sysvinit.conf')
expected wildfly::service_config("jboss-eap", "6.4", "standalone", "systemd") to have returned {"service_file"=>"bin/init.d/jboss-as-standalone.sh", "conf_file"=>"/etc/jboss-as/jboss-as.conf", "service_name"=>"jboss-as", "conf_template"=>"wildfly/wildfly.sysvinit.conf"} instead of raising ArgumentError('wildfly::service_config' expects 3 arguments, got 4)
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/puppet-7.32.1/lib/puppet/pops/functions/dispatcher.rb:39:in `dispatch'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/puppet-7.32.1/lib/puppet/pops/functions/function.rb:43:in `block in call'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/puppet-7.32.1/lib/puppet/pops/functions/function.rb:42:in `catch'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/puppet-7.32.1/lib/puppet/pops/functions/function.rb:42:in `call'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/example/function_example_group.rb:21:in `block in execute'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/puppet-7.32.1/lib/puppet/context.rb:62:in `override'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/puppet-7.32.1/lib/puppet.rb:289:in `override'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/example/function_example_group.rb:20:in `execute'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-puppet-4.0.2/lib/rspec-puppet/matchers/run.rb:12:in `matches?'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/handler.rb:26:in `with_matcher'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/handler.rb:47:in `handle_matcher'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/expectation_target.rb:65:in `to'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-expectations-3.13.2/lib/rspec/expectations/expectation_target.rb:101:in `to'
/home/runner/work/puppet-wildfly/puppet-wildfly/spec/functions/service_config_spec.rb:46:in `block (3 levels) in <top (required)>'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `instance_exec'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:263:in `block in run'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `block in run'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:624:in `run_around_example_hooks_for'
/home/runner/work/puppet-wildfly/puppet-wildfly/vendor/bundle/ruby/2.7.0/gems/rspec-core-3.13.0/lib/rspec/core/hooks.rb:486:in `run'
/home/runner/
|
Puppet / 7 (Ruby 2.7)
Process completed with exit code 1.
|
Puppet / Test suite
Process completed with exit code 1.
|
Puppet / Static validations:
metadata.json#L1
Skipping EOL operating system CentOS 8
|