Skip to content

Devel

Devel #121

Triggered via pull request October 19, 2023 12:39
@alvagantealvagante
synchronize #114
devel
Status Failure
Total duration 5m 15s
Artifacts

pr.yml

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

Annotations

14 errors and 12 warnings
Static code analysys: manifests/create_dir.pp#L16
there should be a single space or single newline after an opening brace (check: manifest_whitespace_opening_brace_after)
Static code analysys
Process completed with exit code 1.
Unit tests
Process completed with exit code 1.
Unit tests: spec/defines/dir_spec.rb#L27
tp::dir on centos-7-x86_64 with app rsyslog without any param is expected to contain File[/etc/rsyslog.d] with exactly 7 parameters, ensure => "directory", path => "/etc/rsyslog.d", mode => "0755", owner => "root", group => "root", notify => "Service[rsyslog]" and require => "Package[rsyslog]" Failure/Error: it { is_expected.to contain_file(appdata['config_dir_path']).only_with(default_file_params) } expected that the catalogue would contain File[/etc/rsyslog.d] with mode set to "0755" but it is set to "0644"
Unit tests: spec/defines/dir_spec.rb#L31
tp::dir on centos-7-x86_64 with app rsyslog with ensure => absent is expected to contain File[/etc/rsyslog.d] with exactly 7 parameters, ensure => "absent", path => "/etc/rsyslog.d", mode => "0755", owner => "root", group => "root", notify => "Service[rsyslog]" and require => "Package[rsyslog]" Failure/Error: it { is_expected.to contain_file(appdata['config_dir_path']).only_with(default_file_params.merge('ensure' => 'absent')) } expected that the catalogue would contain File[/etc/rsyslog.d] with mode set to "0755" but it is set to "0644"
Unit tests: spec/defines/dir_spec.rb#L46
tp::dir on centos-7-x86_64 with app rsyslog with title => rsyslog::sample and path => /tmp/sample is expected to contain File[/tmp/sample] with exactly 7 parameters, ensure => "directory", path => "/tmp/sample", mode => "0755", owner => "root", group => "root", notify => "Service[rsyslog]" and require => "Package[rsyslog]" Failure/Error: it { is_expected.to contain_file(expected_path).only_with(default_file_params.merge('path' => expected_path)) } expected that the catalogue would contain File[/tmp/sample] with mode set to "0755" but it is set to "0644"
Unit tests: spec/defines/dir_spec.rb#L54
tp::dir on centos-7-x86_64 with app rsyslog with title => rsyslog::sample and base_dir => data is expected to contain File[/var/log] with exactly 7 parameters, ensure => "directory", path => "/var/log", mode => "0755", owner => "root", group => "root", notify => "Service[rsyslog]" and require => "Package[rsyslog]" Failure/Error: it { is_expected.to contain_file(expected_path).only_with(default_file_params.merge('path' => expected_path)) } expected that the catalogue would contain File[/var/log] with mode set to "0755" but it is set to "0644"
Unit tests: spec/defines/dir_spec.rb#L63
tp::dir on centos-7-x86_64 with app rsyslog with title => rsyslog::sample and base_dir => data and path => /tmp/sample is expected to contain File[/tmp/sample.conf] with exactly 7 parameters, ensure => "directory", path => "/tmp/sample.conf", mode => "0755", owner => "root", group => "root", notify => "Service[rsyslog]" and require => "Package[rsyslog]" Failure/Error: it { is_expected.to contain_file(expected_path).only_with(default_file_params.merge('path' => expected_path)) } expected that the catalogue would contain File[/tmp/sample.conf] with mode set to "0755" but it is set to "0644"
Unit tests: spec/defines/dir_spec.rb#L71
tp::dir on centos-7-x86_64 with app rsyslog with owner => al is expected to contain File[/etc/rsyslog.d] with exactly 7 parameters, ensure => "directory", path => "/etc/rsyslog.d", mode => "0755", owner => "al", group => "root", notify => "Service[rsyslog]" and require => "Package[rsyslog]" Failure/Error: it { is_expected.to contain_file(appdata['config_dir_path']).only_with(default_file_params.merge('owner' => 'al')) } expected that the catalogue would contain File[/etc/rsyslog.d] with mode set to "0755" but it is set to "0644"
Unit tests: spec/defines/dir_spec.rb#L75
tp::dir on centos-7-x86_64 with app rsyslog with group => al is expected to contain File[/etc/rsyslog.d] with exactly 7 parameters, ensure => "directory", path => "/etc/rsyslog.d", mode => "0755", owner => "root", group => "al", notify => "Service[rsyslog]" and require => "Package[rsyslog]" Failure/Error: it { is_expected.to contain_file(appdata['config_dir_path']).only_with(default_file_params.merge('group' => 'al')) } expected that the catalogue would contain File[/etc/rsyslog.d] with mode set to "0755" but it is set to "0644"
Unit tests: spec/defines/dir_spec.rb#L80
tp::dir on centos-7-x86_64 with app rsyslog with config_dir_notify => Service[alt] is expected to contain File[/etc/rsyslog.d] with exactly 7 parameters, ensure => "directory", path => "/etc/rsyslog.d", mode => "0755", owner => "root", group => "root", notify => "Service[alt]" and require => "Package[rsyslog]" Failure/Error: it { is_expected.to contain_file(appdata['config_dir_path']).only_with(default_file_params.merge('notify' => 'Service[alt]')) } expected that the catalogue would contain File[/etc/rsyslog.d] with mode set to "0755" but it is set to "0644"
Unit tests: spec/defines/dir_spec.rb#L89
tp::dir on centos-7-x86_64 with app rsyslog with config_dir_require => Package[alt] is expected to contain File[/etc/rsyslog.d] with exactly 7 parameters, ensure => "directory", path => "/etc/rsyslog.d", mode => "0755", owner => "root", group => "root", notify => "Service[rsyslog]" and require => "Package[alt]" Failure/Error: it { is_expected.to contain_file(appdata['config_dir_path']).only_with(default_file_params.merge('require' => 'Package[alt]')) } expected that the catalogue would contain File[/etc/rsyslog.d] with mode set to "0755" but it is set to "0644"
Unit tests: spec/defines/dir_spec.rb#L113
tp::dir on centos-7-x86_64 with app rsyslog with force => true is expected to contain File[/etc/rsyslog.d] with exactly 8 parameters, ensure => "directory", path => "/etc/rsyslog.d", mode => "0755", owner => "root", group => "root", notify => "Service[rsyslog]", require => "Package[rsyslog]" and force => true Failure/Error: it { is_expected.to contain_file(appdata['config_dir_path']).only_with(default_file_params.merge('force' => true)) } expected that the catalogue would contain File[/etc/rsyslog.d] with mode set to "0755" but it is set to "0644"
Unit tests
Process completed with exit code 1.
Static code analysys: manifests/build.pp#L8
missing documentation for defined type parameter tp::build::build_dir (check: parameter_documentation)
Static code analysys: manifests/build.pp#L9
missing documentation for defined type parameter tp::build::ensure (check: parameter_documentation)
Static code analysys: manifests/build.pp#L10
missing documentation for defined type parameter tp::build::on_missing_data (check: parameter_documentation)
Static code analysys: manifests/build.pp#L11
missing documentation for defined type parameter tp::build::settings (check: parameter_documentation)
Static code analysys: manifests/build.pp#L12
missing documentation for defined type parameter tp::build::data_module (check: parameter_documentation)
Static code analysys: manifests/build.pp#L13
missing documentation for defined type parameter tp::build::auto_prereq (check: parameter_documentation)
Static code analysys: manifests/build.pp#L14
missing documentation for defined type parameter tp::build::build (check: parameter_documentation)
Static code analysys: manifests/build.pp#L15
missing documentation for defined type parameter tp::build::install (check: parameter_documentation)
Static code analysys: manifests/build.pp#L16
missing documentation for defined type parameter tp::build::manage_user (check: parameter_documentation)
Static code analysys: manifests/build.pp#L18
missing documentation for defined type parameter tp::build::owner (check: parameter_documentation)
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