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 'debian11-64-puppet8.example.com' exited with 1 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_101737399.pp.Yow9gY
Last 10 lines of output were:
Info: Loading facts
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 debian11-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...4892465d3/redis_cli.rb:19:in `<main>'\nFailed on 1 target: localhost\nRan on 1 target in 0.87 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/35bf1ab8-2d42-4861-9f97-6d04892465d3/redis_cli.rb:9:in `redis_cli'
+ from /tmp/35bf1ab8-2d42-4861-9f97-6d04892465d3/redis_cli.rb:19:in `<main>'
+Failed on 1 target: localhost
+Ran on 1 target in 0.87 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...0c42c4d59/redis_cli.rb:19:in `<main>'\nFailed on 1 target: localhost\nRan on 1 target in 0.86 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/d6bcd865-2b66-496f-88d9-5800c42c4d59/redis_cli.rb:9:in `redis_cli'
+ from /tmp/d6bcd865-2b66-496f-88d9-5800c42c4d59/redis_cli.rb:19:in `<main>'
+Failed on 1 target: localhost
+Ran on 1 target in 0.86 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...f56ba40d28/redis_cli.rb:19:in `<main>'\nFailed on 1 target: localhost\nRan on 1 target in 0.9 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/a9e96602-1ccc-4022-8c27-2af56ba40d28/redis_cli.rb:9:in `redis_cli'
+ from /tmp/a9e96602-1ccc-4022-8c27-2af56ba40d28/redis_cli.rb:19:in `<main>'
+Failed on 1 target: localhost
+Ran on 1 target in 0.9 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 'debian11-64-puppet8.example.com' exited with 1 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_101752708.pp.jv9tZh
Last 10 lines of output were:
Info: Loading facts
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 debian11-64-puppet8.example.com
|
spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L66
redis::instance example Package "redis-server" is expected to be installed
Failure/Error: it { is_expected.to be_installed }
expected Package "redis-server" 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/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