DO NOT MERGE: Modulesync Test PR #31
ci.yml
on: pull_request
Puppet
/
Static validations
13s
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet
/
Test suite
0s
Annotations
15 errors
Puppet / 7 (Ruby 2.7):
spec/support/apache_directive.rb#L4
augeasproviders::instances apache_directive instances when ::augeasproviders_apache_directive_hash is a Hash is expected to contain exactly 1 Apache_directive resource
Failure/Error: it { is_expected.to have_apache_directive_resource_count(1) }
expected that the catalogue would contain exactly 1 Apache_directive resource but it contains 0
Shared Example Group: "apache_directive resource" called from ./spec/support/apache_directive.rb:35
Shared Example Group: "apache_directive" called from ./spec/classes/augeasproviders_instances_spec.rb:33
|
Puppet / 7 (Ruby 2.7):
spec/support/apache_directive.rb#L6
augeasproviders::instances apache_directive instances when ::augeasproviders_apache_directive_hash is a Hash is expected to contain Apache_directive[StartServers] with exactly 5 parameters, name => "StartServers", ensure => "present", args => "3", target => "/etc/httpd/conf/httpd.conf" and provider => "augeas"
Failure/Error:
expect(subject).to contain_apache_directive('StartServers').only_with({
'name' => 'StartServers',
'ensure' => 'present',
'args' => '3',
'target' => '/etc/httpd/conf/httpd.conf',
'provider' => 'augeas',
})
expected that the catalogue would contain Apache_directive[StartServers]
Shared Example Group: "apache_directive resource" called from ./spec/support/apache_directive.rb:35
Shared Example Group: "apache_directive" called from ./spec/classes/augeasproviders_instances_spec.rb:33
|
Puppet / 7 (Ruby 2.7):
spec/support/validate_hash.rb#L17
augeasproviders::instances apache_directive instances when ::augeasproviders_apache_directive_hash => 'FOO' is expected to raise Puppet::Error with message matching /expects a Hash value, got String/
Failure/Error: it { expect { is_expected.to create_class('augeasproviders') }.to raise_error(Puppet::Error, %r{expects a Hash value, got String}) }
expected Puppet::Error with message matching /expects a Hash value, got String/, got #<RSpec::Expectations::ExpectationNotMetError: expected that the catalogue would contain Class[augeasproviders]> with backtrace:
# ./spec/support/validate_hash.rb:17:in `block (4 levels) in <top (required)>'
# ./spec/support/validate_hash.rb:17:in `block (3 levels) in <top (required)>'
Shared Example Group: "validate_hash top-scope param" called from ./spec/classes/augeasproviders_instances_spec.rb:36
|
Puppet / 7 (Ruby 2.7):
spec/support/apache_setenv.rb#L4
augeasproviders::instances apache_setenv instances when ::augeasproviders_apache_setenv_hash is a Hash is expected to contain exactly 1 Apache_setenv resource
Failure/Error: it { is_expected.to have_apache_setenv_resource_count(1) }
expected that the catalogue would contain exactly 1 Apache_setenv resource but it contains 0
Shared Example Group: "apache_setenv resource" called from ./spec/support/apache_setenv.rb:34
Shared Example Group: "apache_setenv" called from ./spec/classes/augeasproviders_instances_spec.rb:33
|
Puppet / 7 (Ruby 2.7):
spec/support/apache_setenv.rb#L6
augeasproviders::instances apache_setenv instances when ::augeasproviders_apache_setenv_hash is a Hash is expected to contain Apache_setenv[FOO] with exactly 4 parameters, name => "FOO", ensure => "present", value => "bar" and provider => "augeas"
Failure/Error:
expect(subject).to contain_apache_setenv('FOO').only_with({
'name' => 'FOO',
'ensure' => 'present',
'value' => 'bar',
'provider' => 'augeas',
})
expected that the catalogue would contain Apache_setenv[FOO]
Shared Example Group: "apache_setenv resource" called from ./spec/support/apache_setenv.rb:34
Shared Example Group: "apache_setenv" called from ./spec/classes/augeasproviders_instances_spec.rb:33
|
Puppet / 7 (Ruby 2.7):
spec/support/validate_hash.rb#L17
augeasproviders::instances apache_setenv instances when ::augeasproviders_apache_setenv_hash => 'FOO' is expected to raise Puppet::Error with message matching /expects a Hash value, got String/
Failure/Error: it { expect { is_expected.to create_class('augeasproviders') }.to raise_error(Puppet::Error, %r{expects a Hash value, got String}) }
expected Puppet::Error with message matching /expects a Hash value, got String/, got #<RSpec::Expectations::ExpectationNotMetError: expected that the catalogue would contain Class[augeasproviders]> with backtrace:
# ./spec/support/validate_hash.rb:17:in `block (4 levels) in <top (required)>'
# ./spec/support/validate_hash.rb:17:in `block (3 levels) in <top (required)>'
Shared Example Group: "validate_hash top-scope param" called from ./spec/classes/augeasproviders_instances_spec.rb:36
|
Puppet / 7 (Ruby 2.7):
spec/support/host.rb#L4
augeasproviders::instances host instances when host_hash is a Hash is expected to contain exactly 1 Host resource
Failure/Error: it { is_expected.to have_host_resource_count(1) }
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Function Call, Unknown resource type: 'host' (file: /home/runner/work/puppet-augeasproviders/puppet-augeasproviders/spec/fixtures/modules/augeasproviders/manifests/instances.pp, line: 25, column: 3) on node fv-az659-796.luykedtozraezimdvwvtsy4hga.cx.internal.cloudapp.net
Shared Example Group: "host resource" called from ./spec/support/host.rb:27
Shared Example Group: "host" called from ./spec/classes/augeasproviders_instances_spec.rb:33
|
Puppet / 7 (Ruby 2.7):
spec/support/host.rb#L6
augeasproviders::instances host instances when host_hash is a Hash is expected to contain Host[foo] with exactly 4 parameters, name => "foo", ensure => "present", ip => "192.168.1.1" and provider => "augeas"
Failure/Error:
expect(subject).to contain_host('foo').only_with({
'name' => 'foo',
'ensure' => 'present',
'ip' => '192.168.1.1',
'provider' => 'augeas',
})
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Function Call, Unknown resource type: 'host' (file: /home/runner/work/puppet-augeasproviders/puppet-augeasproviders/spec/fixtures/modules/augeasproviders/manifests/instances.pp, line: 25, column: 3) on node fv-az659-796.luykedtozraezimdvwvtsy4hga.cx.internal.cloudapp.net
Shared Example Group: "host resource" called from ./spec/support/host.rb:27
Shared Example Group: "host" called from ./spec/classes/augeasproviders_instances_spec.rb:33
|
Puppet / 7 (Ruby 2.7):
spec/support/host.rb#L4
augeasproviders::instances host instances when ::augeasproviders_host_hash is a Hash is expected to contain exactly 1 Host resource
Failure/Error: it { is_expected.to have_host_resource_count(1) }
expected that the catalogue would contain exactly 1 Host resource but it contains 0
Shared Example Group: "host resource" called from ./spec/support/host.rb:34
Shared Example Group: "host" called from ./spec/classes/augeasproviders_instances_spec.rb:33
|
Puppet / 7 (Ruby 2.7):
spec/support/host.rb#L6
augeasproviders::instances host instances when ::augeasproviders_host_hash is a Hash is expected to contain Host[foo] with exactly 4 parameters, name => "foo", ensure => "present", ip => "192.168.1.1" and provider => "augeas"
Failure/Error:
expect(subject).to contain_host('foo').only_with({
'name' => 'foo',
'ensure' => 'present',
'ip' => '192.168.1.1',
'provider' => 'augeas',
})
expected that the catalogue would contain Host[foo]
Shared Example Group: "host resource" called from ./spec/support/host.rb:34
Shared Example Group: "host" called from ./spec/classes/augeasproviders_instances_spec.rb:33
|
Puppet / Puppet 7 - Fedora 36:
spec/acceptance/augeasproviders_instances_spec.rb#L7
augeasproviders::instances class when sysctl_hash is defined runs successfully
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'fedora36-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171644189.pp.msMbiy
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for fedora36-64-puppet7.example.com in environment production in 0.04 seconds
Info: Using environment 'production'
Info: Applying configuration version '1712683005'
Error: Could not prefetch sysctl provider 'augeas': Command sysctl is missing
Warning: /Stage[main]/Augeasproviders::Instances/Sysctl[net.ipv4.ip_forward]: Skipping because provider prefetch failed
Info: Creating state file /opt/puppetlabs/puppet/cache/state/state.yaml
�[mNotice: Applied catalog in 0.01 seconds
|
Puppet / Puppet 7 - Fedora 36:
spec/acceptance/augeasproviders_instances_spec.rb#L19
augeasproviders::instances class when sysctl_hash is defined Linux kernel parameter "net.ipv4.ip_forward" value is expected to eq 1
Failure/Error: its(:value) { is_expected.to eq 1 }
expected: 1
got: ""
(compared using ==)
|
Puppet / Puppet 7 - Fedora 36:
spec/acceptance/augeasproviders_instances_spec.rb#L24
augeasproviders::instances class when augeasproviders_sysctl_hash is defined runs successfully
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'fedora36-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171645915.pp.0Z11fQ
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for fedora36-64-puppet7.example.com in environment production in 0.04 seconds
Info: Using environment 'production'
Info: Applying configuration version '1712683007'
Error: Could not prefetch sysctl provider 'augeas': Command sysctl is missing
Warning: /Stage[main]/Augeasproviders::Instances/Sysctl[net.ipv4.ip_forward]: Skipping because provider prefetch failed
�[mNotice: Applied catalog in 0.01 seconds
|
Puppet / Puppet 7 - Fedora 36:
spec/acceptance/augeasproviders_instances_spec.rb#L37
augeasproviders::instances class when augeasproviders_sysctl_hash is defined Linux kernel parameter "net.ipv4.ip_forward" value is expected to eq 0
Failure/Error: its(:value) { is_expected.to eq 0 }
expected: 0
got: ""
(compared using ==)
|
Puppet / Puppet 7 - Fedora 36
Process completed with exit code 1.
|