Add Puppet 8 support #381
Annotations
10 errors
spec/acceptance/redis_cli_task_spec.rb#L12
redis-cli task install redis-cli with the class
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'rocky8-64-puppet8.example.com' exited with 1 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_101703231.pp.fYeUur
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Warning: /etc/puppetlabs/puppet/hiera.yaml: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5
(file: /etc/puppetlabs/puppet/hiera.yaml)
Error: Undefined variable 'fqdn' (file: /etc/puppetlabs/puppet/hiera.yaml, line: 6) on node rocky8-64-puppet8.example.com
|
spec/acceptance/redis_cli_task_spec.rb#L25
redis-cli task ping execute ping
Failure/Error: is_expected.to match(%r{{\s*"status":\s*"PONG"\s*}})
expected "Started on localhost...\nFailed on localhost:\n The task failed with exit code 1 and no stdout, but...05448c7de/redis_cli.rb:19:in `<main>'\nFailed on 1 target: localhost\nRan on 1 target in 1.56 sec\n" to match /{\s*"status":\s*"PONG"\s*}/
Diff:
@@ -1,11 +1,21 @@
-/{\s*"status":\s*"PONG"\s*}/
+Started on localhost...
+Failed on localhost:
+ The task failed with exit code 1 and no stdout, but stderr contained:
+ /opt/puppetlabs/bolt/lib/ruby/2.7.0/open3.rb:213:in `spawn': No such file or directory - redis-cli (Errno::ENOENT)
+ from /opt/puppetlabs/bolt/lib/ruby/2.7.0/open3.rb:213:in `popen_run'
+ from /opt/puppetlabs/bolt/lib/ruby/2.7.0/open3.rb:101:in `popen3'
+ from /opt/puppetlabs/bolt/lib/ruby/2.7.0/open3.rb:281:in `capture3'
+ from /tmp/ef49cc7f-4691-4877-be83-8a105448c7de/redis_cli.rb:9:in `redis_cli'
+ from /tmp/ef49cc7f-4691-4877-be83-8a105448c7de/redis_cli.rb:19:in `<main>'
+Failed on 1 target: localhost
+Ran on 1 target in 1.56 sec
|
spec/acceptance/redis_cli_task_spec.rb#L35
redis-cli task security command with semi colon stops script injections and escapes
Failure/Error: is_expected.to match(%r!{\s*"status":\s*"ERR unknown command ('|`)ping; cat /etc/passwd('|`)!)
expected "Started on localhost...\nFailed on localhost:\n The task failed with exit code 1 and no stdout, but...2a962441d/redis_cli.rb:19:in `<main>'\nFailed on 1 target: localhost\nRan on 1 target in 1.57 sec\n" to match /{\s*"status":\s*"ERR unknown command ('|`)ping; cat \/etc\/passwd('|`)/
Diff:
@@ -1,11 +1,21 @@
-/{\s*"status":\s*"ERR unknown command ('|`)ping; cat \/etc\/passwd('|`)/
+Started on localhost...
+Failed on localhost:
+ The task failed with exit code 1 and no stdout, but stderr contained:
+ /opt/puppetlabs/bolt/lib/ruby/2.7.0/open3.rb:213:in `spawn': No such file or directory - redis-cli (Errno::ENOENT)
+ from /opt/puppetlabs/bolt/lib/ruby/2.7.0/open3.rb:213:in `popen_run'
+ from /opt/puppetlabs/bolt/lib/ruby/2.7.0/open3.rb:101:in `popen3'
+ from /opt/puppetlabs/bolt/lib/ruby/2.7.0/open3.rb:281:in `capture3'
+ from /tmp/3c74b5a0-9d4d-4871-a639-92a2a962441d/redis_cli.rb:9:in `redis_cli'
+ from /tmp/3c74b5a0-9d4d-4871-a639-92a2a962441d/redis_cli.rb:19:in `<main>'
+Failed on 1 target: localhost
+Ran on 1 target in 1.57 sec
|
spec/acceptance/redis_cli_task_spec.rb#L44
redis-cli task security command with double ampersand stops script injections and escapes
Failure/Error: is_expected.to match(%r!{\s*"status":\s*"ERR unknown command ('|`)ping && cat /etc/passwd('|`)!)
expected "Started on localhost...\nFailed on localhost:\n The task failed with exit code 1 and no stdout, but...c14d882f3/redis_cli.rb:19:in `<main>'\nFailed on 1 target: localhost\nRan on 1 target in 1.59 sec\n" to match /{\s*"status":\s*"ERR unknown command ('|`)ping && cat \/etc\/passwd('|`)/
Diff:
@@ -1,11 +1,21 @@
-/{\s*"status":\s*"ERR unknown command ('|`)ping && cat \/etc\/passwd('|`)/
+Started on localhost...
+Failed on localhost:
+ The task failed with exit code 1 and no stdout, but stderr contained:
+ /opt/puppetlabs/bolt/lib/ruby/2.7.0/open3.rb:213:in `spawn': No such file or directory - redis-cli (Errno::ENOENT)
+ from /opt/puppetlabs/bolt/lib/ruby/2.7.0/open3.rb:213:in `popen_run'
+ from /opt/puppetlabs/bolt/lib/ruby/2.7.0/open3.rb:101:in `popen3'
+ from /opt/puppetlabs/bolt/lib/ruby/2.7.0/open3.rb:281:in `capture3'
+ from /tmp/8f71fb16-74bb-4d2d-9982-b63c14d882f3/redis_cli.rb:9:in `redis_cli'
+ from /tmp/8f71fb16-74bb-4d2d-9982-b63c14d882f3/redis_cli.rb:19:in `<main>'
+Failed on 1 target: localhost
+Ran on 1 target in 1.59 sec
|
spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L32
redis::instance example runs successfully
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'rocky8-64-puppet8.example.com' exited with 1 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_101721705.pp.x3JorZ
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Warning: /etc/puppetlabs/puppet/hiera.yaml: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5
(file: /etc/puppetlabs/puppet/hiera.yaml)
Error: Undefined variable 'fqdn' (file: /etc/puppetlabs/puppet/hiera.yaml, line: 6) on node rocky8-64-puppet8.example.com
|
spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L66
redis::instance example Package "redis" is expected to be installed
Failure/Error: it { is_expected.to be_installed }
expected Package "redis" to be installed
|
spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L76
redis::instance example File "/etc/systemd/system/redis-server-6379.service" content is expected to match /redis-server-6379.conf/
Failure/Error: its(:content) { is_expected.to match %r{redis-server-#{instance}.conf} }
expected "" to match /redis-server-6379.conf/
Diff:
@@ -1 +1 @@
-/redis-server-6379.conf/
+""
|
spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L80
redis::instance example Service "redis-server-6379" is expected to be enabled
Failure/Error: it { is_expected.to be_enabled }
expected Service "redis-server-6379" to be enabled
|
spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L81
redis::instance example Service "redis-server-6379" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "redis-server-6379" to be running
|
spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L85
redis::instance example File "/etc/redis-server-6379.conf" content is expected to match /port 6379/
Failure/Error: its(:content) { is_expected.to match %r{port #{instance}} }
expected "" to match /port 6379/
Diff:
@@ -1 +1 @@
-/port 6379/
+""
|
The logs for this run have expired and are no longer available.
Loading