Skip to content

Devel

Devel #126

Triggered via pull request October 19, 2023 18:34
@alvagantealvagante
synchronize #114
devel
Status Failure
Total duration 5m 49s
Artifacts

pr.yml

on: pull_request
Static code analysys
30s
Static code analysys
Unit tests
5m 37s
Unit tests
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 3 warnings
Static code analysys
Process completed with exit code 1.
Unit tests
Process completed with exit code 1.
Unit tests: spec/defines/stdmod_spec.rb#L79
tp::stdmod on centos-7-x86_64 with app rsyslog with debug => true and debug_dir => /var/tmp is expected to contain File[tp_stdmod_debug_rsyslog] with ensure => "present" and path => "/var/tmp/tp_stdmod_debug_rsyslog" Failure/Error: it { is_expected.to contain_file("tp_stdmod_debug_#{app}").with('ensure' => 'present', 'path' => "/var/tmp/tp_stdmod_debug_#{app}") } expected that the catalogue would contain File[tp_stdmod_debug_rsyslog] with ensure set to "present" but it is set to "file"
Unit tests: spec/defines/stdmod_spec.rb#L79
tp::stdmod on centos-7-x86_64 with app openssh with debug => true and debug_dir => /var/tmp is expected to contain File[tp_stdmod_debug_openssh] with ensure => "present" and path => "/var/tmp/tp_stdmod_debug_openssh" Failure/Error: it { is_expected.to contain_file("tp_stdmod_debug_#{app}").with('ensure' => 'present', 'path' => "/var/tmp/tp_stdmod_debug_#{app}") } expected that the catalogue would contain File[tp_stdmod_debug_openssh] with ensure set to "present" but it is set to "file"
Unit tests: spec/defines/stdmod_spec.rb#L79
tp::stdmod on centos-7-x86_64 with app elasticsearch with debug => true and debug_dir => /var/tmp is expected to contain File[tp_stdmod_debug_elasticsearch] with ensure => "present" and path => "/var/tmp/tp_stdmod_debug_elasticsearch" Failure/Error: it { is_expected.to contain_file("tp_stdmod_debug_#{app}").with('ensure' => 'present', 'path' => "/var/tmp/tp_stdmod_debug_#{app}") } expected that the catalogue would contain File[tp_stdmod_debug_elasticsearch] with ensure set to "present" but it is set to "file"
Unit tests: spec/defines/stdmod_spec.rb#L79
tp::stdmod on centos-7-x86_64 with app sysdig with debug => true and debug_dir => /var/tmp is expected to contain File[tp_stdmod_debug_sysdig] with ensure => "present" and path => "/var/tmp/tp_stdmod_debug_sysdig" Failure/Error: it { is_expected.to contain_file("tp_stdmod_debug_#{app}").with('ensure' => 'present', 'path' => "/var/tmp/tp_stdmod_debug_#{app}") } expected that the catalogue would contain File[tp_stdmod_debug_sysdig] with ensure set to "present" but it is set to "file"
Unit tests: spec/defines/stdmod_spec.rb#L79
tp::stdmod on ubuntu-16.04-x86_64 with app rsyslog with debug => true and debug_dir => /var/tmp is expected to contain File[tp_stdmod_debug_rsyslog] with ensure => "present" and path => "/var/tmp/tp_stdmod_debug_rsyslog" Failure/Error: it { is_expected.to contain_file("tp_stdmod_debug_#{app}").with('ensure' => 'present', 'path' => "/var/tmp/tp_stdmod_debug_#{app}") } expected that the catalogue would contain File[tp_stdmod_debug_rsyslog] with ensure set to "present" but it is set to "file"
Unit tests: spec/defines/stdmod_spec.rb#L79
tp::stdmod on ubuntu-16.04-x86_64 with app openssh with debug => true and debug_dir => /var/tmp is expected to contain File[tp_stdmod_debug_openssh] with ensure => "present" and path => "/var/tmp/tp_stdmod_debug_openssh" Failure/Error: it { is_expected.to contain_file("tp_stdmod_debug_#{app}").with('ensure' => 'present', 'path' => "/var/tmp/tp_stdmod_debug_#{app}") } expected that the catalogue would contain File[tp_stdmod_debug_openssh] with ensure set to "present" but it is set to "file"
Unit tests: spec/defines/stdmod_spec.rb#L79
tp::stdmod on ubuntu-16.04-x86_64 with app elasticsearch with debug => true and debug_dir => /var/tmp is expected to contain File[tp_stdmod_debug_elasticsearch] with ensure => "present" and path => "/var/tmp/tp_stdmod_debug_elasticsearch" Failure/Error: it { is_expected.to contain_file("tp_stdmod_debug_#{app}").with('ensure' => 'present', 'path' => "/var/tmp/tp_stdmod_debug_#{app}") } expected that the catalogue would contain File[tp_stdmod_debug_elasticsearch] with ensure set to "present" but it is set to "file"
Unit tests: spec/defines/stdmod_spec.rb#L79
tp::stdmod on ubuntu-16.04-x86_64 with app sysdig with debug => true and debug_dir => /var/tmp is expected to contain File[tp_stdmod_debug_sysdig] with ensure => "present" and path => "/var/tmp/tp_stdmod_debug_sysdig" Failure/Error: it { is_expected.to contain_file("tp_stdmod_debug_#{app}").with('ensure' => 'present', 'path' => "/var/tmp/tp_stdmod_debug_#{app}") } expected that the catalogue would contain File[tp_stdmod_debug_sysdig] with ensure set to "present" but it is set to "file"
Unit tests: spec/functions/tp_content_spec.rb#L19
tp_content Given different combinations of params is expected to run tp_content("", "tp/spec/osfamily.erb", "tp/spec/osfamily.epp") and return "ERB: RedHat\n" Failure/Error: it { is_expected.to run.with_params('','tp/spec/osfamily.erb','tp/spec/osfamily.epp').and_return("ERB: RedHat\n") } expected tp_content("", "tp/spec/osfamily.erb", "tp/spec/osfamily.epp") to have returned "ERB: RedHat\n" instead of raising Puppet::ParseError(Failed to parse template tp/spec/osfamily.erb: Filepath: /__w/puppet-tp/puppet-tp/spec/fixtures/modules/tp/templates/spec/osfamily.erb Line: 1 Detail: undefined method `[]' for nil:NilClass ) /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/puppet-8.1.0/lib/puppet/parser/functions/template.rb:37:in `rescue in block (2 levels) in <top (required)>' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/puppet-8.1.0/lib/puppet/parser/functions/template.rb:28:in `block (2 levels) in <top (required)>' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/puppet-8.1.0/lib/puppet/parser/functions/template.rb:21:in `collect' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/puppet-8.1.0/lib/puppet/parser/functions/template.rb:21:in `block in <top (required)>' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/puppet-8.1.0/lib/puppet/parser/functions.rb:216:in `block (2 levels) in newfunction' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/puppet-8.1.0/lib/puppet/util/profiler/around_profiler.rb:59:in `profile' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/puppet-8.1.0/lib/puppet/util/profiler.rb:52:in `profile' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/puppet-8.1.0/lib/puppet/parser/functions.rb:209:in `block in newfunction' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/puppet-8.1.0/lib/puppet/parser/scope.rb:1048:in `method_missing' /__w/puppet-tp/puppet-tp/spec/fixtures/modules/tp/lib/puppet/parser/functions/tp_content.rb:19:in `block in <module:Functions>' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/puppet-8.1.0/lib/puppet/parser/functions.rb:216:in `block (2 levels) in newfunction' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/puppet-8.1.0/lib/puppet/util/profiler/around_profiler.rb:59:in `profile' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/puppet-8.1.0/lib/puppet/util/profiler.rb:52:in `profile' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/puppet-8.1.0/lib/puppet/parser/functions.rb:209:in `block in newfunction' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/puppet-8.1.0/lib/puppet/functions.rb:752:in `block in call' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/puppet-8.1.0/lib/puppet/functions.rb:749:in `catch' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/puppet-8.1.0/lib/puppet/functions.rb:749:in `call' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-puppet-3.0.0/lib/rspec-puppet/example/function_example_group.rb:21:in `block in execute' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/puppet-8.1.0/lib/puppet/context.rb:63:in `override' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/puppet-8.1.0/lib/puppet.rb:286:in `override' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-puppet-3.0.0/lib/rspec-puppet/example/function_example_group.rb:20:in `execute' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-puppet-3.0.0/lib/rspec-puppet/matchers/run.rb:12:in `matches?' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/handler.rb:51:in `block in handle_matcher' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/handler.rb:27:in `with_matcher' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/ha
Unit tests: spec/functions/tp_content_spec.rb#L20
tp_content Given different combinations of params is expected to run tp_content("", "tp/spec/osfamily.erb", "") and return "ERB: RedHat\n" Failure/Error: it { is_expected.to run.with_params('','tp/spec/osfamily.erb','').and_return("ERB: RedHat\n") } expected tp_content("", "tp/spec/osfamily.erb", "") to have returned "ERB: RedHat\n" instead of raising Puppet::ParseError(Failed to parse template tp/spec/osfamily.erb: Filepath: /__w/puppet-tp/puppet-tp/spec/fixtures/modules/tp/templates/spec/osfamily.erb Line: 1 Detail: undefined method `[]' for nil:NilClass ) /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/puppet-8.1.0/lib/puppet/parser/functions/template.rb:37:in `rescue in block (2 levels) in <top (required)>' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/puppet-8.1.0/lib/puppet/parser/functions/template.rb:28:in `block (2 levels) in <top (required)>' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/puppet-8.1.0/lib/puppet/parser/functions/template.rb:21:in `collect' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/puppet-8.1.0/lib/puppet/parser/functions/template.rb:21:in `block in <top (required)>' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/puppet-8.1.0/lib/puppet/parser/functions.rb:216:in `block (2 levels) in newfunction' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/puppet-8.1.0/lib/puppet/util/profiler/around_profiler.rb:59:in `profile' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/puppet-8.1.0/lib/puppet/util/profiler.rb:52:in `profile' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/puppet-8.1.0/lib/puppet/parser/functions.rb:209:in `block in newfunction' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/puppet-8.1.0/lib/puppet/parser/scope.rb:1048:in `method_missing' /__w/puppet-tp/puppet-tp/spec/fixtures/modules/tp/lib/puppet/parser/functions/tp_content.rb:19:in `block in <module:Functions>' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/puppet-8.1.0/lib/puppet/parser/functions.rb:216:in `block (2 levels) in newfunction' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/puppet-8.1.0/lib/puppet/util/profiler/around_profiler.rb:59:in `profile' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/puppet-8.1.0/lib/puppet/util/profiler.rb:52:in `profile' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/puppet-8.1.0/lib/puppet/parser/functions.rb:209:in `block in newfunction' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/puppet-8.1.0/lib/puppet/functions.rb:752:in `block in call' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/puppet-8.1.0/lib/puppet/functions.rb:749:in `catch' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/puppet-8.1.0/lib/puppet/functions.rb:749:in `call' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-puppet-3.0.0/lib/rspec-puppet/example/function_example_group.rb:21:in `block in execute' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/puppet-8.1.0/lib/puppet/context.rb:63:in `override' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/puppet-8.1.0/lib/puppet.rb:286:in `override' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-puppet-3.0.0/lib/rspec-puppet/example/function_example_group.rb:20:in `execute' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-puppet-3.0.0/lib/rspec-puppet/matchers/run.rb:12:in `matches?' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/handler.rb:51:in `block in handle_matcher' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/handler.rb:27:in `with_matcher' /opt/puppetlabs/pdk/private/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/rspec-expectations-3.12.3/lib/rspec/expectations/handler.rb:48:in `handle_matcher' /opt/puppetlabs/pdk/privat
Static code analysys: manifests/install.pp#L290
indentation of => is not properly aligned (expected in column 23, but found it in column 27) (check: arrow_alignment)
Unit tests: spec/defines/puppi_spec.rb#L8
tp::puppi on centos-7-x86_64 Skipped: No reason given
Unit tests: spec/defines/puppi_spec.rb#L8
tp::puppi on ubuntu-16.04-x86_64 Skipped: No reason given