Fix podman::container #7
run-pdk-tests-on-puppet-7.yml
on: push
validate-7
42s
test-7
3m 15s
Annotations
10 errors and 4 warnings
test-7:
spec/defines/container_spec.rb#L116
podman::container on fedora-34-x86_64 with defaults for all parameters and image set to valid value is expected to contain Exec[podman_remove_container_namevar] with exactly 7 parameters, provider => "shell", command => "systemctl stop podman-namevar || true\npodman container stop --time 60 namevar || true\npodman container rm --force namevar || true\n", onlyif => "test $(podmain container inspect --format json namevar |/opt/puppetlabs/puppet/bin/ruby -rjson -e 'puts (JSON.parse(STDIN.read))[0][\"State\"][\"Running\"]') = \n", refreshonly => true, notify => "Exec[podman_create_namevar]", require => [] and path => "/sbin:/usr/sbin:/bin:/usr/bin"
Failure/Error:
is_expected.to contain_exec('podman_remove_container_namevar').only_with(
{
'provider' => 'shell',
'command' => remove_command,
'onlyif' => remove_onlyif,
'refreshonly' => true,
'notify' => 'Exec[podman_create_namevar]',
'require' => [],
'path' => '/sbin:/usr/sbin:/bin:/usr/bin',
},
expected that the catalogue would contain Exec[podman_remove_container_namevar] with command set to "systemctl stop podman-namevar || true\npodman container stop --time 60 namevar || true\npodman container rm --force namevar || true\n" but it is set to "systemctl stop podman-namevar.service || true\npodman container stop --time 60 namevar || true\npodman container rm --force namevar || true\n"
Diff:
@@ -1 +1 @@
-systemctl stop podman-namevar || true
+systemctl stop podman-namevar.service || true
|
test-7:
spec/defines/container_spec.rb#L130
podman::container on fedora-34-x86_64 with defaults for all parameters and image set to valid value is expected to contain Exec[podman_create_namevar] with exactly 5 parameters, command => "podman container create --name 'namevar' --label 'puppet_resource_flags=e30=' registry:latest ", unless => "podman container exists namevar", notify => "Exec[podman_generate_service_namevar]", require => [] and path => "/sbin:/usr/sbin:/bin:/usr/bin"
Failure/Error:
is_expected.to contain_exec('podman_create_namevar').only_with(
{
'command' => "podman container create --name 'namevar' --label 'puppet_resource_flags=e30=' registry:latest ",
'unless' => 'podman container exists namevar',
'notify' => 'Exec[podman_generate_service_namevar]',
'require' => [],
'path' => '/sbin:/usr/sbin:/bin:/usr/bin',
},
)
expected that the catalogue would contain Exec[podman_create_namevar] with exactly 5 parameters but the catalogue contains 4, and parameter notify set to "Exec[podman_generate_service_namevar]" but it is set to nil
|
test-7:
spec/defines/container_spec.rb#L142
podman::container on fedora-34-x86_64 with defaults for all parameters and image set to valid value is expected to contain Exec[podman_generate_service_namevar] with exactly 4 parameters, path => "/sbin:/usr/sbin:/bin:/usr/bin", command => "podman generate systemd namevar > /etc/systemd/system/podman-namevar.service", refreshonly => true and notify => "Service[podman-namevar]"
Failure/Error:
is_expected.to contain_exec('podman_generate_service_namevar').only_with(
{
'path' => '/sbin:/usr/sbin:/bin:/usr/bin',
'command' => 'podman generate systemd namevar > /etc/systemd/system/podman-namevar.service',
'refreshonly' => true,
'notify' => 'Service[podman-namevar]',
},
)
expected that the catalogue would contain Exec[podman_generate_service_namevar] with exactly 4 parameters but the catalogue contains 5
|
test-7:
spec/defines/container_spec.rb#L116
podman::container on debian-9-x86_64 with defaults for all parameters and image set to valid value is expected to contain Exec[podman_remove_container_namevar] with exactly 7 parameters, provider => "shell", command => "systemctl stop podman-namevar || true\npodman container stop --time 60 namevar || true\npodman container rm --force namevar || true\n", onlyif => "test $(podmain container inspect --format json namevar |/opt/puppetlabs/puppet/bin/ruby -rjson -e 'puts (JSON.parse(STDIN.read))[0][\"State\"][\"Running\"]') = \n", refreshonly => true, notify => "Exec[podman_create_namevar]", require => [] and path => "/sbin:/usr/sbin:/bin:/usr/bin"
Failure/Error:
is_expected.to contain_exec('podman_remove_container_namevar').only_with(
{
'provider' => 'shell',
'command' => remove_command,
'onlyif' => remove_onlyif,
'refreshonly' => true,
'notify' => 'Exec[podman_create_namevar]',
'require' => [],
'path' => '/sbin:/usr/sbin:/bin:/usr/bin',
},
expected that the catalogue would contain Exec[podman_remove_container_namevar] with command set to "systemctl stop podman-namevar || true\npodman container stop --time 60 namevar || true\npodman container rm --force namevar || true\n" but it is set to "systemctl stop podman-namevar.service || true\npodman container stop --time 60 namevar || true\npodman container rm --force namevar || true\n"
Diff:
@@ -1 +1 @@
-systemctl stop podman-namevar || true
+systemctl stop podman-namevar.service || true
|
test-7:
spec/defines/container_spec.rb#L130
podman::container on debian-9-x86_64 with defaults for all parameters and image set to valid value is expected to contain Exec[podman_create_namevar] with exactly 5 parameters, command => "podman container create --name 'namevar' --label 'puppet_resource_flags=e30=' registry:latest ", unless => "podman container exists namevar", notify => "Exec[podman_generate_service_namevar]", require => [] and path => "/sbin:/usr/sbin:/bin:/usr/bin"
Failure/Error:
is_expected.to contain_exec('podman_create_namevar').only_with(
{
'command' => "podman container create --name 'namevar' --label 'puppet_resource_flags=e30=' registry:latest ",
'unless' => 'podman container exists namevar',
'notify' => 'Exec[podman_generate_service_namevar]',
'require' => [],
'path' => '/sbin:/usr/sbin:/bin:/usr/bin',
},
)
expected that the catalogue would contain Exec[podman_create_namevar] with exactly 5 parameters but the catalogue contains 4, and parameter notify set to "Exec[podman_generate_service_namevar]" but it is set to nil
|
test-7:
spec/defines/container_spec.rb#L142
podman::container on debian-9-x86_64 with defaults for all parameters and image set to valid value is expected to contain Exec[podman_generate_service_namevar] with exactly 4 parameters, path => "/sbin:/usr/sbin:/bin:/usr/bin", command => "podman generate systemd namevar > /etc/systemd/system/podman-namevar.service", refreshonly => true and notify => "Service[podman-namevar]"
Failure/Error:
is_expected.to contain_exec('podman_generate_service_namevar').only_with(
{
'path' => '/sbin:/usr/sbin:/bin:/usr/bin',
'command' => 'podman generate systemd namevar > /etc/systemd/system/podman-namevar.service',
'refreshonly' => true,
'notify' => 'Service[podman-namevar]',
},
)
expected that the catalogue would contain Exec[podman_generate_service_namevar] with exactly 4 parameters but the catalogue contains 5
|
test-7:
spec/defines/container_spec.rb#L116
podman::container on fedora-36-x86_64 with defaults for all parameters and image set to valid value is expected to contain Exec[podman_remove_container_namevar] with exactly 7 parameters, provider => "shell", command => "systemctl stop podman-namevar || true\npodman container stop --time 60 namevar || true\npodman container rm --force namevar || true\n", onlyif => "test $(podmain container inspect --format json namevar |/usr/bin/ruby -rjson -e 'puts (JSON.parse(STDIN.read))[0][\"State\"][\"Running\"]') = \n", refreshonly => true, notify => "Exec[podman_create_namevar]", require => [] and path => "/sbin:/usr/sbin:/bin:/usr/bin"
Failure/Error:
is_expected.to contain_exec('podman_remove_container_namevar').only_with(
{
'provider' => 'shell',
'command' => remove_command,
'onlyif' => remove_onlyif,
'refreshonly' => true,
'notify' => 'Exec[podman_create_namevar]',
'require' => [],
'path' => '/sbin:/usr/sbin:/bin:/usr/bin',
},
expected that the catalogue would contain Exec[podman_remove_container_namevar] with command set to "systemctl stop podman-namevar || true\npodman container stop --time 60 namevar || true\npodman container rm --force namevar || true\n" but it is set to "systemctl stop podman-namevar.service || true\npodman container stop --time 60 namevar || true\npodman container rm --force namevar || true\n"
Diff:
@@ -1 +1 @@
-systemctl stop podman-namevar || true
+systemctl stop podman-namevar.service || true
|
test-7:
spec/defines/container_spec.rb#L130
podman::container on fedora-36-x86_64 with defaults for all parameters and image set to valid value is expected to contain Exec[podman_create_namevar] with exactly 5 parameters, command => "podman container create --name 'namevar' --label 'puppet_resource_flags=e30=' registry:latest ", unless => "podman container exists namevar", notify => "Exec[podman_generate_service_namevar]", require => [] and path => "/sbin:/usr/sbin:/bin:/usr/bin"
Failure/Error:
is_expected.to contain_exec('podman_create_namevar').only_with(
{
'command' => "podman container create --name 'namevar' --label 'puppet_resource_flags=e30=' registry:latest ",
'unless' => 'podman container exists namevar',
'notify' => 'Exec[podman_generate_service_namevar]',
'require' => [],
'path' => '/sbin:/usr/sbin:/bin:/usr/bin',
},
)
expected that the catalogue would contain Exec[podman_create_namevar] with exactly 5 parameters but the catalogue contains 4, and parameter notify set to "Exec[podman_generate_service_namevar]" but it is set to nil
|
test-7:
spec/defines/container_spec.rb#L142
podman::container on fedora-36-x86_64 with defaults for all parameters and image set to valid value is expected to contain Exec[podman_generate_service_namevar] with exactly 4 parameters, path => "/sbin:/usr/sbin:/bin:/usr/bin", command => "podman generate systemd namevar > /etc/systemd/system/podman-namevar.service", refreshonly => true and notify => "Service[podman-namevar]"
Failure/Error:
is_expected.to contain_exec('podman_generate_service_namevar').only_with(
{
'path' => '/sbin:/usr/sbin:/bin:/usr/bin',
'command' => 'podman generate systemd namevar > /etc/systemd/system/podman-namevar.service',
'refreshonly' => true,
'notify' => 'Service[podman-namevar]',
},
)
expected that the catalogue would contain Exec[podman_generate_service_namevar] with exactly 4 parameters but the catalogue contains 5
|
test-7:
spec/defines/container_spec.rb#L116
podman::container on debian-11-x86_64 with defaults for all parameters and image set to valid value is expected to contain Exec[podman_remove_container_namevar] with exactly 7 parameters, provider => "shell", command => "systemctl stop podman-namevar || true\npodman container stop --time 60 namevar || true\npodman container rm --force namevar || true\n", onlyif => "test $(podmain container inspect --format json namevar |/opt/puppetlabs/puppet/bin/ruby -rjson -e 'puts (JSON.parse(STDIN.read))[0][\"State\"][\"Running\"]') = \n", refreshonly => true, notify => "Exec[podman_create_namevar]", require => [] and path => "/sbin:/usr/sbin:/bin:/usr/bin"
Failure/Error:
is_expected.to contain_exec('podman_remove_container_namevar').only_with(
{
'provider' => 'shell',
'command' => remove_command,
'onlyif' => remove_onlyif,
'refreshonly' => true,
'notify' => 'Exec[podman_create_namevar]',
'require' => [],
'path' => '/sbin:/usr/sbin:/bin:/usr/bin',
},
expected that the catalogue would contain Exec[podman_remove_container_namevar] with command set to "systemctl stop podman-namevar || true\npodman container stop --time 60 namevar || true\npodman container rm --force namevar || true\n" but it is set to "systemctl stop podman-namevar.service || true\npodman container stop --time 60 namevar || true\npodman container rm --force namevar || true\n"
Diff:
@@ -1 +1 @@
-systemctl stop podman-namevar || true
+systemctl stop podman-namevar.service || true
|
validate-7
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
validate-7
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
test-7
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test-7
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|