Skip to content

Clean up tests

Clean up tests #28

Triggered via pull request July 16, 2024 17:04
Status Failure
Total duration 2m 13s
Artifacts

ci.yml

on: pull_request
Puppet  /  Static validations
16s
Puppet / Static validations
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet  /  Test suite
0s
Puppet / Test suite
Fit to window
Zoom out
Zoom in

Annotations

30 errors
Puppet / 8 (Ruby 3.2): spec/classes/init_spec.rb#L91
cassandra on centos-9-x86_64 with default parameters installs the cassandra package Failure/Error: expect(subject).to contain_package('cassandra').with( ensure: 'present', name: package_name ).that_notifies('Exec[cassandra_reload_systemctl]') expected that the catalogue would contain Package[cassandra] with name set to "cassandra22" but it is set to "cassandra"
Puppet / 8 (Ruby 3.2): spec/classes/init_spec.rb#L98
cassandra on centos-9-x86_64 with default parameters contains reload_systemctl executable Failure/Error: expect(subject).to contain_exec('cassandra_reload_systemctl').only_with( command: systemctl_command, onlyif: systemctl_onlyif, path: ['/usr/bin', '/bin'], refreshonly: true ) expected that the catalogue would contain Exec[cassandra_reload_systemctl] with command set to "/usr/bin/systemctl daemon-reload" but it is set to "/bin/systemctl daemon-reload", and parameter onlyif set to "test -x /usr/bin/systemctl" but it is set to "test -x /bin/systemctl" Diff: @@ -1,4 +1,4 @@ -/usr/bin/systemctl daemon-reload +/bin/systemctl daemon-reload -test -x /usr/bin/systemctl +test -x /bin/systemctl
Puppet / 8 (Ruby 3.2): spec/classes/init_spec.rb#L107
cassandra on centos-9-x86_64 with default parameters contains cassandra class Failure/Error: expect(subject).to contain_class('cassandra').only_with( baseline_settings: {}, cassandra_2356_sleep_seconds: 5, cassandra_9822: false, # rubocop:disable Naming/VariableNumber cassandra_yaml_tmpl: 'cassandra/cassandra.yaml.erb', commitlog_directory_mode: '0750', manage_config_file: true, config_file_mode: '0644', config_path: config_path, data_file_directories_mode: '0750', expected that the catalogue would contain Class[cassandra] with config_path set to "/etc/cassandra/default.conf" but it is set to "/etc/cassandra", and parameter package_name set to "cassandra22" but it is set to "cassandra", and parameter systemctl set to "/usr/bin/systemctl" but it is set to "/bin/systemctl" Diff: @@ -1,6 +1,6 @@ -/etc/cassandra/default.conf +/etc/cassandra -cassandra22 +cassandra -/usr/bin/systemctl +/bin/systemctl
Puppet / 8 (Ruby 3.2): spec/classes/init_spec.rb#L176
cassandra on centos-9-x86_64 with default parameters creates config file and path Failure/Error: expect(subject).to contain_file(config_path). with( ensure: 'directory', group: 'cassandra', owner: 'cassandra', mode: '0755' ).that_requires(config_path_requires) expected that the catalogue would contain File[/etc/cassandra/default.conf]
Puppet / 8 (Ruby 3.2): spec/classes/init_spec.rb#L196
cassandra on centos-9-x86_64 with default parameters creates rackdc.properties correctly Failure/Error: expect(subject).to contain_file(snitch_properties_file). with( ensure: 'file', owner: 'cassandra', group: 'cassandra', mode: '0644' ). that_requires(['File[/etc/cassandra]', 'User[cassandra]']). that_comes_before('Package[cassandra]'). with_content(%r{^dc=DC1}). expected that the catalogue would contain File[/etc/cassandra/default.conf/cassandra-topology.properties]
Puppet / 8 (Ruby 3.2): spec/classes/init_spec.rb#L241
cassandra on centos-9-x86_64 with service provider set to init executes chkconfig Failure/Error: expect(subject).to contain_exec('/sbin/chkconfig --add cassandra').with( unless: '/sbin/chkconfig --list cassandra' ). that_requires('Package[cassandra]'). that_comes_before('Service[cassandra]') expected that the catalogue would contain Exec[/sbin/chkconfig --add cassandra]
Puppet / 8 (Ruby 3.2): spec/classes/init_spec.rb#L327
cassandra on centos-9-x86_64 with rackdc parameters configures rackdc correctly Failure/Error: expect(subject).to contain_file(snitch_properties_file). with_content(%r{^dc=NYC$}). with_content(%r{^rack=R101$}). with_content(%r{^dc_suffix=_1_cassandra$}). with_content(%r{^prefer_local=true$}) expected that the catalogue would contain File[/etc/cassandra/default.conf/cassandra-topology.properties]
Puppet / 8 (Ruby 3.2): spec/classes/init_spec.rb#L91
cassandra on oraclelinux-7-x86_64 with default parameters installs the cassandra package Failure/Error: expect(subject).to contain_package('cassandra').with( ensure: 'present', name: package_name ).that_notifies('Exec[cassandra_reload_systemctl]') expected that the catalogue would contain Package[cassandra] with name set to "cassandra22" but it is set to "cassandra"
Puppet / 8 (Ruby 3.2): spec/classes/init_spec.rb#L98
cassandra on oraclelinux-7-x86_64 with default parameters contains reload_systemctl executable Failure/Error: expect(subject).to contain_exec('cassandra_reload_systemctl').only_with( command: systemctl_command, onlyif: systemctl_onlyif, path: ['/usr/bin', '/bin'], refreshonly: true ) expected that the catalogue would contain Exec[cassandra_reload_systemctl] with command set to "/usr/bin/systemctl daemon-reload" but it is set to "/bin/systemctl daemon-reload", and parameter onlyif set to "test -x /usr/bin/systemctl" but it is set to "test -x /bin/systemctl" Diff: @@ -1,4 +1,4 @@ -/usr/bin/systemctl daemon-reload +/bin/systemctl daemon-reload -test -x /usr/bin/systemctl +test -x /bin/systemctl
Puppet / 8 (Ruby 3.2): spec/classes/init_spec.rb#L107
cassandra on oraclelinux-7-x86_64 with default parameters contains cassandra class Failure/Error: expect(subject).to contain_class('cassandra').only_with( baseline_settings: {}, cassandra_2356_sleep_seconds: 5, cassandra_9822: false, # rubocop:disable Naming/VariableNumber cassandra_yaml_tmpl: 'cassandra/cassandra.yaml.erb', commitlog_directory_mode: '0750', manage_config_file: true, config_file_mode: '0644', config_path: config_path, data_file_directories_mode: '0750', expected that the catalogue would contain Class[cassandra] with config_path set to "/etc/cassandra/default.conf" but it is set to "/etc/cassandra", and parameter package_name set to "cassandra22" but it is set to "cassandra", and parameter systemctl set to "/usr/bin/systemctl" but it is set to "/bin/systemctl" Diff: @@ -1,6 +1,6 @@ -/etc/cassandra/default.conf +/etc/cassandra -cassandra22 +cassandra -/usr/bin/systemctl +/bin/systemctl
Puppet / 7 (Ruby 2.7): spec/classes/init_spec.rb#L91
cassandra on centos-9-x86_64 with default parameters installs the cassandra package Failure/Error: expect(subject).to contain_package('cassandra').with( ensure: 'present', name: package_name ).that_notifies('Exec[cassandra_reload_systemctl]') expected that the catalogue would contain Package[cassandra] with name set to "cassandra22" but it is set to "cassandra"
Puppet / 7 (Ruby 2.7): spec/classes/init_spec.rb#L98
cassandra on centos-9-x86_64 with default parameters contains reload_systemctl executable Failure/Error: expect(subject).to contain_exec('cassandra_reload_systemctl').only_with( command: systemctl_command, onlyif: systemctl_onlyif, path: ['/usr/bin', '/bin'], refreshonly: true ) expected that the catalogue would contain Exec[cassandra_reload_systemctl] with command set to "/usr/bin/systemctl daemon-reload" but it is set to "/bin/systemctl daemon-reload", and parameter onlyif set to "test -x /usr/bin/systemctl" but it is set to "test -x /bin/systemctl" Diff: @@ -1,4 +1,4 @@ -/usr/bin/systemctl daemon-reload +/bin/systemctl daemon-reload -test -x /usr/bin/systemctl +test -x /bin/systemctl
Puppet / 7 (Ruby 2.7): spec/classes/init_spec.rb#L107
cassandra on centos-9-x86_64 with default parameters contains cassandra class Failure/Error: expect(subject).to contain_class('cassandra').only_with( baseline_settings: {}, cassandra_2356_sleep_seconds: 5, cassandra_9822: false, # rubocop:disable Naming/VariableNumber cassandra_yaml_tmpl: 'cassandra/cassandra.yaml.erb', commitlog_directory_mode: '0750', manage_config_file: true, config_file_mode: '0644', config_path: config_path, data_file_directories_mode: '0750', expected that the catalogue would contain Class[cassandra] with config_path set to "/etc/cassandra/default.conf" but it is set to "/etc/cassandra", and parameter package_name set to "cassandra22" but it is set to "cassandra", and parameter systemctl set to "/usr/bin/systemctl" but it is set to "/bin/systemctl" Diff: @@ -1,6 +1,6 @@ -/etc/cassandra/default.conf +/etc/cassandra -cassandra22 +cassandra -/usr/bin/systemctl +/bin/systemctl
Puppet / 7 (Ruby 2.7): spec/classes/init_spec.rb#L176
cassandra on centos-9-x86_64 with default parameters creates config file and path Failure/Error: expect(subject).to contain_file(config_path). with( ensure: 'directory', group: 'cassandra', owner: 'cassandra', mode: '0755' ).that_requires(config_path_requires) expected that the catalogue would contain File[/etc/cassandra/default.conf]
Puppet / 7 (Ruby 2.7): spec/classes/init_spec.rb#L196
cassandra on centos-9-x86_64 with default parameters creates rackdc.properties correctly Failure/Error: expect(subject).to contain_file(snitch_properties_file). with( ensure: 'file', owner: 'cassandra', group: 'cassandra', mode: '0644' ). that_requires(['File[/etc/cassandra]', 'User[cassandra]']). that_comes_before('Package[cassandra]'). with_content(%r{^dc=DC1}). expected that the catalogue would contain File[/etc/cassandra/default.conf/cassandra-topology.properties]
Puppet / 7 (Ruby 2.7): spec/classes/init_spec.rb#L241
cassandra on centos-9-x86_64 with service provider set to init executes chkconfig Failure/Error: expect(subject).to contain_exec('/sbin/chkconfig --add cassandra').with( unless: '/sbin/chkconfig --list cassandra' ). that_requires('Package[cassandra]'). that_comes_before('Service[cassandra]') expected that the catalogue would contain Exec[/sbin/chkconfig --add cassandra]
Puppet / 7 (Ruby 2.7): spec/classes/init_spec.rb#L327
cassandra on centos-9-x86_64 with rackdc parameters configures rackdc correctly Failure/Error: expect(subject).to contain_file(snitch_properties_file). with_content(%r{^dc=NYC$}). with_content(%r{^rack=R101$}). with_content(%r{^dc_suffix=_1_cassandra$}). with_content(%r{^prefer_local=true$}) expected that the catalogue would contain File[/etc/cassandra/default.conf/cassandra-topology.properties]
Puppet / 7 (Ruby 2.7): spec/classes/init_spec.rb#L91
cassandra on oraclelinux-7-x86_64 with default parameters installs the cassandra package Failure/Error: expect(subject).to contain_package('cassandra').with( ensure: 'present', name: package_name ).that_notifies('Exec[cassandra_reload_systemctl]') expected that the catalogue would contain Package[cassandra] with name set to "cassandra22" but it is set to "cassandra"
Puppet / 7 (Ruby 2.7): spec/classes/init_spec.rb#L98
cassandra on oraclelinux-7-x86_64 with default parameters contains reload_systemctl executable Failure/Error: expect(subject).to contain_exec('cassandra_reload_systemctl').only_with( command: systemctl_command, onlyif: systemctl_onlyif, path: ['/usr/bin', '/bin'], refreshonly: true ) expected that the catalogue would contain Exec[cassandra_reload_systemctl] with command set to "/usr/bin/systemctl daemon-reload" but it is set to "/bin/systemctl daemon-reload", and parameter onlyif set to "test -x /usr/bin/systemctl" but it is set to "test -x /bin/systemctl" Diff: @@ -1,4 +1,4 @@ -/usr/bin/systemctl daemon-reload +/bin/systemctl daemon-reload -test -x /usr/bin/systemctl +test -x /bin/systemctl
Puppet / 7 (Ruby 2.7): spec/classes/init_spec.rb#L107
cassandra on oraclelinux-7-x86_64 with default parameters contains cassandra class Failure/Error: expect(subject).to contain_class('cassandra').only_with( baseline_settings: {}, cassandra_2356_sleep_seconds: 5, cassandra_9822: false, # rubocop:disable Naming/VariableNumber cassandra_yaml_tmpl: 'cassandra/cassandra.yaml.erb', commitlog_directory_mode: '0750', manage_config_file: true, config_file_mode: '0644', config_path: config_path, data_file_directories_mode: '0750', expected that the catalogue would contain Class[cassandra] with config_path set to "/etc/cassandra/default.conf" but it is set to "/etc/cassandra", and parameter package_name set to "cassandra22" but it is set to "cassandra", and parameter systemctl set to "/usr/bin/systemctl" but it is set to "/bin/systemctl" Diff: @@ -1,6 +1,6 @@ -/etc/cassandra/default.conf +/etc/cassandra -cassandra22 +cassandra -/usr/bin/systemctl +/bin/systemctl
Puppet / Puppet 8 - OracleLinux 7
Process completed with exit code 1.
Puppet / Puppet 8 - Ubuntu 22.04
Process completed with exit code 1.
Puppet / Puppet 7 - OracleLinux 7
Process completed with exit code 1.
Puppet / Puppet 8 - Debian 11
Process completed with exit code 1.
Puppet / Puppet 7 - Ubuntu 20.04
Process completed with exit code 1.
Puppet / Puppet 8 - CentOS 9
Process completed with exit code 1.
Puppet / Puppet 7 - Debian 11
Process completed with exit code 1.
Puppet / Puppet 7 - CentOS 9
Process completed with exit code 1.
Puppet / Puppet 7 - Ubuntu 22.04
Process completed with exit code 1.
Puppet / Puppet 8 - Ubuntu 20.04
Process completed with exit code 1.