Skip to content

Modernize the acceptance tests #440

Modernize the acceptance tests

Modernize the acceptance tests #440

Triggered via pull request February 16, 2024 18:43
Status Failure
Total duration 10m 7s
Artifacts

ci.yml

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

Annotations

180 errors
Puppet / Puppet 8 - AlmaLinux 9: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L4
redis::instance example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'almalinux9-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184454382.pp.OC7Hqo Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Redis::Instance[6379] is already declared at (file: /tmp/apply_manifest_184454382.pp.OC7Hqo, line: 13); cannot redeclare (file: /tmp/apply_manifest_184454382.pp.OC7Hqo, line: 26) (file: /tmp/apply_manifest_184454382.pp.OC7Hqo, line: 26, column: 5) on node almalinux9-64-puppet8.example.com Shared Example Group: "an idempotent resource" called from ./spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb:32
Puppet / Puppet 7 - Rocky 9: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L4
redis::instance example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'rocky9-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184454463.pp.hfijOg Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Redis::Instance[6379] is already declared at (file: /tmp/apply_manifest_184454463.pp.hfijOg, line: 13); cannot redeclare (file: /tmp/apply_manifest_184454463.pp.hfijOg, line: 26) (file: /tmp/apply_manifest_184454463.pp.hfijOg, line: 26, column: 5) on node rocky9-64-puppet7.example.com Shared Example Group: "an idempotent resource" called from ./spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb:32
Puppet / Puppet 7 - Rocky 9: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
redis::instance example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'rocky9-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184456303.pp.lb6ZjH Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Redis::Instance[6379] is already declared at (file: /tmp/apply_manifest_184456303.pp.lb6ZjH, line: 13); cannot redeclare (file: /tmp/apply_manifest_184456303.pp.lb6ZjH, line: 26) (file: /tmp/apply_manifest_184456303.pp.lb6ZjH, line: 26, column: 5) on node rocky9-64-puppet7.example.com Shared Example Group: "an idempotent resource" called from ./spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb:32
Puppet / Puppet 7 - Rocky 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L76
redis::instance example is expected to be installed Failure/Error: specify { expect(package(redis_name)).to be_installed } expected Package "redis" to be installed
Puppet / Puppet 7 - Rocky 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L84
redis::instance example is expected to be file and have attributes {:content => (include "redis-server-6379.conf")} Failure/Error: expect(file("/etc/systemd/system/redis-server-#{instance}.service")). to be_file. and have_attributes(content: include("redis-server-#{instance}.conf")) expected `File "/etc/systemd/system/redis-server-6379.service".file?` to be truthy, got false ...and: expected File "/etc/systemd/system/redis-server-6379.service" to have attributes {:content => (include "redis-server-6379.conf")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "redis-server-6379.conf")}): @@ -1 +1 @@ -:content => (include "redis-server-6379.conf"), +:content => "",
Puppet / Puppet 7 - Rocky 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L90
redis::instance example is expected to be enabled and be running Failure/Error: specify { expect(service("redis-server-#{instance}")).to be_enabled.and be_running } expected Service "redis-server-6379" to be enabled ...and: expected Service "redis-server-6379" to be running
Puppet / Puppet 7 - Rocky 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L92
redis::instance example is expected to be file and have attributes {:content => (include "port 6379")} Failure/Error: expect(file("#{config_path}/redis-server-#{instance}.conf")). to be_file. and have_attributes(content: include("port #{instance}")) expected `File "/etc/redis/redis-server-6379.conf".file?` to be truthy, got false ...and: expected File "/etc/redis/redis-server-6379.conf" to have attributes {:content => (include "port 6379")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "port 6379")}): @@ -1 +1 @@ -:content => (include "port 6379"), +:content => "",
Puppet / Puppet 7 - Rocky 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L98
redis::instance example redis instance 6379 should respond to ping command Failure/Error: expect(command("redis-cli -h #{fact('networking.ip')} -p #{instance} ping")). to have_attributes(stdout: %r{PONG}) expected Command "redis-cli -h 172.17.0.2 -p 6379 ping" to have attributes {:stdout => /PONG/} but had attributes {:stdout => ""} Diff: @@ -1 +1 @@ -:stdout => /PONG/, +:stdout => "",
Puppet / Puppet 7 - Rocky 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L84
redis::instance example is expected to be file and have attributes {:content => (include "redis-server-6380.conf")} Failure/Error: expect(file("/etc/systemd/system/redis-server-#{instance}.service")). to be_file. and have_attributes(content: include("redis-server-#{instance}.conf")) expected `File "/etc/systemd/system/redis-server-6380.service".file?` to be truthy, got false ...and: expected File "/etc/systemd/system/redis-server-6380.service" to have attributes {:content => (include "redis-server-6380.conf")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "redis-server-6380.conf")}): @@ -1 +1 @@ -:content => (include "redis-server-6380.conf"), +:content => "",
Puppet / Puppet 7 - Rocky 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L90
redis::instance example is expected to be enabled and be running Failure/Error: specify { expect(service("redis-server-#{instance}")).to be_enabled.and be_running } expected Service "redis-server-6380" to be enabled ...and: expected Service "redis-server-6380" to be running
Puppet / Puppet 7 - Rocky 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L92
redis::instance example is expected to be file and have attributes {:content => (include "port 6380")} Failure/Error: expect(file("#{config_path}/redis-server-#{instance}.conf")). to be_file. and have_attributes(content: include("port #{instance}")) expected `File "/etc/redis/redis-server-6380.conf".file?` to be truthy, got false ...and: expected File "/etc/redis/redis-server-6380.conf" to have attributes {:content => (include "port 6380")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "port 6380")}): @@ -1 +1 @@ -:content => (include "port 6380"), +:content => "",
Puppet / Puppet 8 - AlmaLinux 9: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
redis::instance example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'almalinux9-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184457096.pp.ulzxoQ Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Redis::Instance[6379] is already declared at (file: /tmp/apply_manifest_184457096.pp.ulzxoQ, line: 13); cannot redeclare (file: /tmp/apply_manifest_184457096.pp.ulzxoQ, line: 26) (file: /tmp/apply_manifest_184457096.pp.ulzxoQ, line: 26, column: 5) on node almalinux9-64-puppet8.example.com Shared Example Group: "an idempotent resource" called from ./spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb:32
Puppet / Puppet 8 - AlmaLinux 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L76
redis::instance example is expected to be installed Failure/Error: specify { expect(package(redis_name)).to be_installed } expected Package "redis" to be installed
Puppet / Puppet 8 - AlmaLinux 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L84
redis::instance example is expected to be file and have attributes {:content => (include "redis-server-6379.conf")} Failure/Error: expect(file("/etc/systemd/system/redis-server-#{instance}.service")). to be_file. and have_attributes(content: include("redis-server-#{instance}.conf")) expected `File "/etc/systemd/system/redis-server-6379.service".file?` to be truthy, got false ...and: expected File "/etc/systemd/system/redis-server-6379.service" to have attributes {:content => (include "redis-server-6379.conf")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "redis-server-6379.conf")}): @@ -1 +1 @@ -:content => (include "redis-server-6379.conf"), +:content => "",
Puppet / Puppet 8 - AlmaLinux 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L90
redis::instance example is expected to be enabled and be running Failure/Error: specify { expect(service("redis-server-#{instance}")).to be_enabled.and be_running } expected Service "redis-server-6379" to be enabled ...and: expected Service "redis-server-6379" to be running
Puppet / Puppet 8 - AlmaLinux 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L92
redis::instance example is expected to be file and have attributes {:content => (include "port 6379")} Failure/Error: expect(file("#{config_path}/redis-server-#{instance}.conf")). to be_file. and have_attributes(content: include("port #{instance}")) expected `File "/etc/redis/redis-server-6379.conf".file?` to be truthy, got false ...and: expected File "/etc/redis/redis-server-6379.conf" to have attributes {:content => (include "port 6379")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "port 6379")}): @@ -1 +1 @@ -:content => (include "port 6379"), +:content => "",
Puppet / Puppet 8 - AlmaLinux 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L98
redis::instance example redis instance 6379 should respond to ping command Failure/Error: expect(command("redis-cli -h #{fact('networking.ip')} -p #{instance} ping")). to have_attributes(stdout: %r{PONG}) expected Command "redis-cli -h 172.17.0.2 -p 6379 ping" to have attributes {:stdout => /PONG/} but had attributes {:stdout => ""} Diff: @@ -1 +1 @@ -:stdout => /PONG/, +:stdout => "",
Puppet / Puppet 8 - AlmaLinux 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L84
redis::instance example is expected to be file and have attributes {:content => (include "redis-server-6380.conf")} Failure/Error: expect(file("/etc/systemd/system/redis-server-#{instance}.service")). to be_file. and have_attributes(content: include("redis-server-#{instance}.conf")) expected `File "/etc/systemd/system/redis-server-6380.service".file?` to be truthy, got false ...and: expected File "/etc/systemd/system/redis-server-6380.service" to have attributes {:content => (include "redis-server-6380.conf")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "redis-server-6380.conf")}): @@ -1 +1 @@ -:content => (include "redis-server-6380.conf"), +:content => "",
Puppet / Puppet 8 - AlmaLinux 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L90
redis::instance example is expected to be enabled and be running Failure/Error: specify { expect(service("redis-server-#{instance}")).to be_enabled.and be_running } expected Service "redis-server-6380" to be enabled ...and: expected Service "redis-server-6380" to be running
Puppet / Puppet 8 - AlmaLinux 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L92
redis::instance example is expected to be file and have attributes {:content => (include "port 6380")} Failure/Error: expect(file("#{config_path}/redis-server-#{instance}.conf")). to be_file. and have_attributes(content: include("port #{instance}")) expected `File "/etc/redis/redis-server-6380.conf".file?` to be truthy, got false ...and: expected File "/etc/redis/redis-server-6380.conf" to have attributes {:content => (include "port 6380")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "port 6380")}): @@ -1 +1 @@ -:content => (include "port 6380"), +:content => "",
Puppet / Puppet 7 - AlmaLinux 9: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L4
redis::instance example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'almalinux9-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184458702.pp.cWfb0D Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Redis::Instance[6379] is already declared at (file: /tmp/apply_manifest_184458702.pp.cWfb0D, line: 13); cannot redeclare (file: /tmp/apply_manifest_184458702.pp.cWfb0D, line: 26) (file: /tmp/apply_manifest_184458702.pp.cWfb0D, line: 26, column: 5) on node almalinux9-64-puppet7.example.com Shared Example Group: "an idempotent resource" called from ./spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb:32
Puppet / Puppet 7 - AlmaLinux 9: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
redis::instance example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'almalinux9-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184500396.pp.Z7MThg Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Redis::Instance[6379] is already declared at (file: /tmp/apply_manifest_184500396.pp.Z7MThg, line: 13); cannot redeclare (file: /tmp/apply_manifest_184500396.pp.Z7MThg, line: 26) (file: /tmp/apply_manifest_184500396.pp.Z7MThg, line: 26, column: 5) on node almalinux9-64-puppet7.example.com Shared Example Group: "an idempotent resource" called from ./spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb:32
Puppet / Puppet 7 - AlmaLinux 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L76
redis::instance example is expected to be installed Failure/Error: specify { expect(package(redis_name)).to be_installed } expected Package "redis" to be installed
Puppet / Puppet 7 - AlmaLinux 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L84
redis::instance example is expected to be file and have attributes {:content => (include "redis-server-6379.conf")} Failure/Error: expect(file("/etc/systemd/system/redis-server-#{instance}.service")). to be_file. and have_attributes(content: include("redis-server-#{instance}.conf")) expected `File "/etc/systemd/system/redis-server-6379.service".file?` to be truthy, got false ...and: expected File "/etc/systemd/system/redis-server-6379.service" to have attributes {:content => (include "redis-server-6379.conf")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "redis-server-6379.conf")}): @@ -1 +1 @@ -:content => (include "redis-server-6379.conf"), +:content => "",
Puppet / Puppet 7 - AlmaLinux 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L90
redis::instance example is expected to be enabled and be running Failure/Error: specify { expect(service("redis-server-#{instance}")).to be_enabled.and be_running } expected Service "redis-server-6379" to be enabled ...and: expected Service "redis-server-6379" to be running
Puppet / Puppet 7 - AlmaLinux 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L92
redis::instance example is expected to be file and have attributes {:content => (include "port 6379")} Failure/Error: expect(file("#{config_path}/redis-server-#{instance}.conf")). to be_file. and have_attributes(content: include("port #{instance}")) expected `File "/etc/redis/redis-server-6379.conf".file?` to be truthy, got false ...and: expected File "/etc/redis/redis-server-6379.conf" to have attributes {:content => (include "port 6379")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "port 6379")}): @@ -1 +1 @@ -:content => (include "port 6379"), +:content => "",
Puppet / Puppet 7 - AlmaLinux 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L98
redis::instance example redis instance 6379 should respond to ping command Failure/Error: expect(command("redis-cli -h #{fact('networking.ip')} -p #{instance} ping")). to have_attributes(stdout: %r{PONG}) expected Command "redis-cli -h 172.17.0.2 -p 6379 ping" to have attributes {:stdout => /PONG/} but had attributes {:stdout => ""} Diff: @@ -1 +1 @@ -:stdout => /PONG/, +:stdout => "",
Puppet / Puppet 7 - AlmaLinux 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L84
redis::instance example is expected to be file and have attributes {:content => (include "redis-server-6380.conf")} Failure/Error: expect(file("/etc/systemd/system/redis-server-#{instance}.service")). to be_file. and have_attributes(content: include("redis-server-#{instance}.conf")) expected `File "/etc/systemd/system/redis-server-6380.service".file?` to be truthy, got false ...and: expected File "/etc/systemd/system/redis-server-6380.service" to have attributes {:content => (include "redis-server-6380.conf")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "redis-server-6380.conf")}): @@ -1 +1 @@ -:content => (include "redis-server-6380.conf"), +:content => "",
Puppet / Puppet 7 - AlmaLinux 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L90
redis::instance example is expected to be enabled and be running Failure/Error: specify { expect(service("redis-server-#{instance}")).to be_enabled.and be_running } expected Service "redis-server-6380" to be enabled ...and: expected Service "redis-server-6380" to be running
Puppet / Puppet 7 - AlmaLinux 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L92
redis::instance example is expected to be file and have attributes {:content => (include "port 6380")} Failure/Error: expect(file("#{config_path}/redis-server-#{instance}.conf")). to be_file. and have_attributes(content: include("port #{instance}")) expected `File "/etc/redis/redis-server-6380.conf".file?` to be truthy, got false ...and: expected File "/etc/redis/redis-server-6380.conf" to have attributes {:content => (include "port 6380")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "port 6380")}): @@ -1 +1 @@ -:content => (include "port 6380"), +:content => "",
Puppet / Puppet 7 - CentOS 9: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L4
redis::instance example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos9-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184502351.pp.ZQTc2N Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Redis::Instance[6379] is already declared at (file: /tmp/apply_manifest_184502351.pp.ZQTc2N, line: 13); cannot redeclare (file: /tmp/apply_manifest_184502351.pp.ZQTc2N, line: 26) (file: /tmp/apply_manifest_184502351.pp.ZQTc2N, line: 26, column: 5) on node centos9-64-puppet7.example.com Shared Example Group: "an idempotent resource" called from ./spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb:32
Puppet / Puppet 7 - CentOS 9: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
redis::instance example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos9-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184504097.pp.PsEpzk Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Redis::Instance[6379] is already declared at (file: /tmp/apply_manifest_184504097.pp.PsEpzk, line: 13); cannot redeclare (file: /tmp/apply_manifest_184504097.pp.PsEpzk, line: 26) (file: /tmp/apply_manifest_184504097.pp.PsEpzk, line: 26, column: 5) on node centos9-64-puppet7.example.com Shared Example Group: "an idempotent resource" called from ./spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb:32
Puppet / Puppet 7 - CentOS 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L76
redis::instance example is expected to be installed Failure/Error: specify { expect(package(redis_name)).to be_installed } expected Package "redis" to be installed
Puppet / Puppet 7 - CentOS 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L84
redis::instance example is expected to be file and have attributes {:content => (include "redis-server-6379.conf")} Failure/Error: expect(file("/etc/systemd/system/redis-server-#{instance}.service")). to be_file. and have_attributes(content: include("redis-server-#{instance}.conf")) expected `File "/etc/systemd/system/redis-server-6379.service".file?` to be truthy, got false ...and: expected File "/etc/systemd/system/redis-server-6379.service" to have attributes {:content => (include "redis-server-6379.conf")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "redis-server-6379.conf")}): @@ -1 +1 @@ -:content => (include "redis-server-6379.conf"), +:content => "",
Puppet / Puppet 7 - CentOS 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L90
redis::instance example is expected to be enabled and be running Failure/Error: specify { expect(service("redis-server-#{instance}")).to be_enabled.and be_running } expected Service "redis-server-6379" to be enabled ...and: expected Service "redis-server-6379" to be running
Puppet / Puppet 7 - CentOS 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L92
redis::instance example is expected to be file and have attributes {:content => (include "port 6379")} Failure/Error: expect(file("#{config_path}/redis-server-#{instance}.conf")). to be_file. and have_attributes(content: include("port #{instance}")) expected `File "/etc/redis/redis-server-6379.conf".file?` to be truthy, got false ...and: expected File "/etc/redis/redis-server-6379.conf" to have attributes {:content => (include "port 6379")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "port 6379")}): @@ -1 +1 @@ -:content => (include "port 6379"), +:content => "",
Puppet / Puppet 7 - CentOS 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L98
redis::instance example redis instance 6379 should respond to ping command Failure/Error: expect(command("redis-cli -h #{fact('networking.ip')} -p #{instance} ping")). to have_attributes(stdout: %r{PONG}) expected Command "redis-cli -h 172.17.0.2 -p 6379 ping" to have attributes {:stdout => /PONG/} but had attributes {:stdout => ""} Diff: @@ -1 +1 @@ -:stdout => /PONG/, +:stdout => "",
Puppet / Puppet 7 - CentOS 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L84
redis::instance example is expected to be file and have attributes {:content => (include "redis-server-6380.conf")} Failure/Error: expect(file("/etc/systemd/system/redis-server-#{instance}.service")). to be_file. and have_attributes(content: include("redis-server-#{instance}.conf")) expected `File "/etc/systemd/system/redis-server-6380.service".file?` to be truthy, got false ...and: expected File "/etc/systemd/system/redis-server-6380.service" to have attributes {:content => (include "redis-server-6380.conf")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "redis-server-6380.conf")}): @@ -1 +1 @@ -:content => (include "redis-server-6380.conf"), +:content => "",
Puppet / Puppet 7 - CentOS 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L90
redis::instance example is expected to be enabled and be running Failure/Error: specify { expect(service("redis-server-#{instance}")).to be_enabled.and be_running } expected Service "redis-server-6380" to be enabled ...and: expected Service "redis-server-6380" to be running
Puppet / Puppet 7 - CentOS 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L92
redis::instance example is expected to be file and have attributes {:content => (include "port 6380")} Failure/Error: expect(file("#{config_path}/redis-server-#{instance}.conf")). to be_file. and have_attributes(content: include("port #{instance}")) expected `File "/etc/redis/redis-server-6380.conf".file?` to be truthy, got false ...and: expected File "/etc/redis/redis-server-6380.conf" to have attributes {:content => (include "port 6380")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "port 6380")}): @@ -1 +1 @@ -:content => (include "port 6380"), +:content => "",
Puppet / Puppet 8 - Rocky 9: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L4
redis::instance example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'rocky9-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184502863.pp.sTVoj0 Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Redis::Instance[6379] is already declared at (file: /tmp/apply_manifest_184502863.pp.sTVoj0, line: 13); cannot redeclare (file: /tmp/apply_manifest_184502863.pp.sTVoj0, line: 26) (file: /tmp/apply_manifest_184502863.pp.sTVoj0, line: 26, column: 5) on node rocky9-64-puppet8.example.com Shared Example Group: "an idempotent resource" called from ./spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb:32
Puppet / Puppet 8 - Rocky 9: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
redis::instance example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'rocky9-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184505472.pp.5MVzOK Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Redis::Instance[6379] is already declared at (file: /tmp/apply_manifest_184505472.pp.5MVzOK, line: 13); cannot redeclare (file: /tmp/apply_manifest_184505472.pp.5MVzOK, line: 26) (file: /tmp/apply_manifest_184505472.pp.5MVzOK, line: 26, column: 5) on node rocky9-64-puppet8.example.com Shared Example Group: "an idempotent resource" called from ./spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb:32
Puppet / Puppet 8 - Rocky 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L76
redis::instance example is expected to be installed Failure/Error: specify { expect(package(redis_name)).to be_installed } expected Package "redis" to be installed
Puppet / Puppet 8 - Rocky 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L84
redis::instance example is expected to be file and have attributes {:content => (include "redis-server-6379.conf")} Failure/Error: expect(file("/etc/systemd/system/redis-server-#{instance}.service")). to be_file. and have_attributes(content: include("redis-server-#{instance}.conf")) expected `File "/etc/systemd/system/redis-server-6379.service".file?` to be truthy, got false ...and: expected File "/etc/systemd/system/redis-server-6379.service" to have attributes {:content => (include "redis-server-6379.conf")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "redis-server-6379.conf")}): @@ -1 +1 @@ -:content => (include "redis-server-6379.conf"), +:content => "",
Puppet / Puppet 8 - Rocky 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L90
redis::instance example is expected to be enabled and be running Failure/Error: specify { expect(service("redis-server-#{instance}")).to be_enabled.and be_running } expected Service "redis-server-6379" to be enabled ...and: expected Service "redis-server-6379" to be running
Puppet / Puppet 8 - Rocky 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L92
redis::instance example is expected to be file and have attributes {:content => (include "port 6379")} Failure/Error: expect(file("#{config_path}/redis-server-#{instance}.conf")). to be_file. and have_attributes(content: include("port #{instance}")) expected `File "/etc/redis/redis-server-6379.conf".file?` to be truthy, got false ...and: expected File "/etc/redis/redis-server-6379.conf" to have attributes {:content => (include "port 6379")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "port 6379")}): @@ -1 +1 @@ -:content => (include "port 6379"), +:content => "",
Puppet / Puppet 8 - Rocky 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L98
redis::instance example redis instance 6379 should respond to ping command Failure/Error: expect(command("redis-cli -h #{fact('networking.ip')} -p #{instance} ping")). to have_attributes(stdout: %r{PONG}) expected Command "redis-cli -h 172.17.0.2 -p 6379 ping" to have attributes {:stdout => /PONG/} but had attributes {:stdout => ""} Diff: @@ -1 +1 @@ -:stdout => /PONG/, +:stdout => "",
Puppet / Puppet 8 - Rocky 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L84
redis::instance example is expected to be file and have attributes {:content => (include "redis-server-6380.conf")} Failure/Error: expect(file("/etc/systemd/system/redis-server-#{instance}.service")). to be_file. and have_attributes(content: include("redis-server-#{instance}.conf")) expected `File "/etc/systemd/system/redis-server-6380.service".file?` to be truthy, got false ...and: expected File "/etc/systemd/system/redis-server-6380.service" to have attributes {:content => (include "redis-server-6380.conf")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "redis-server-6380.conf")}): @@ -1 +1 @@ -:content => (include "redis-server-6380.conf"), +:content => "",
Puppet / Puppet 8 - Rocky 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L90
redis::instance example is expected to be enabled and be running Failure/Error: specify { expect(service("redis-server-#{instance}")).to be_enabled.and be_running } expected Service "redis-server-6380" to be enabled ...and: expected Service "redis-server-6380" to be running
Puppet / Puppet 8 - Rocky 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L92
redis::instance example is expected to be file and have attributes {:content => (include "port 6380")} Failure/Error: expect(file("#{config_path}/redis-server-#{instance}.conf")). to be_file. and have_attributes(content: include("port #{instance}")) expected `File "/etc/redis/redis-server-6380.conf".file?` to be truthy, got false ...and: expected File "/etc/redis/redis-server-6380.conf" to have attributes {:content => (include "port 6380")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "port 6380")}): @@ -1 +1 @@ -:content => (include "port 6380"), +:content => "",
Puppet / Puppet 8 - CentOS 9: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L4
redis::instance example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos9-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184509826.pp.fg2zIL Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Redis::Instance[6379] is already declared at (file: /tmp/apply_manifest_184509826.pp.fg2zIL, line: 13); cannot redeclare (file: /tmp/apply_manifest_184509826.pp.fg2zIL, line: 26) (file: /tmp/apply_manifest_184509826.pp.fg2zIL, line: 26, column: 5) on node centos9-64-puppet8.example.com Shared Example Group: "an idempotent resource" called from ./spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb:32
Puppet / Puppet 8 - CentOS 9: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
redis::instance example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos9-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184512582.pp.JA4cu9 Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Redis::Instance[6379] is already declared at (file: /tmp/apply_manifest_184512582.pp.JA4cu9, line: 13); cannot redeclare (file: /tmp/apply_manifest_184512582.pp.JA4cu9, line: 26) (file: /tmp/apply_manifest_184512582.pp.JA4cu9, line: 26, column: 5) on node centos9-64-puppet8.example.com Shared Example Group: "an idempotent resource" called from ./spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb:32
Puppet / Puppet 8 - CentOS 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L76
redis::instance example is expected to be installed Failure/Error: specify { expect(package(redis_name)).to be_installed } expected Package "redis" to be installed
Puppet / Puppet 8 - CentOS 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L84
redis::instance example is expected to be file and have attributes {:content => (include "redis-server-6379.conf")} Failure/Error: expect(file("/etc/systemd/system/redis-server-#{instance}.service")). to be_file. and have_attributes(content: include("redis-server-#{instance}.conf")) expected `File "/etc/systemd/system/redis-server-6379.service".file?` to be truthy, got false ...and: expected File "/etc/systemd/system/redis-server-6379.service" to have attributes {:content => (include "redis-server-6379.conf")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "redis-server-6379.conf")}): @@ -1 +1 @@ -:content => (include "redis-server-6379.conf"), +:content => "",
Puppet / Puppet 8 - CentOS 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L90
redis::instance example is expected to be enabled and be running Failure/Error: specify { expect(service("redis-server-#{instance}")).to be_enabled.and be_running } expected Service "redis-server-6379" to be enabled ...and: expected Service "redis-server-6379" to be running
Puppet / Puppet 8 - CentOS 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L92
redis::instance example is expected to be file and have attributes {:content => (include "port 6379")} Failure/Error: expect(file("#{config_path}/redis-server-#{instance}.conf")). to be_file. and have_attributes(content: include("port #{instance}")) expected `File "/etc/redis/redis-server-6379.conf".file?` to be truthy, got false ...and: expected File "/etc/redis/redis-server-6379.conf" to have attributes {:content => (include "port 6379")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "port 6379")}): @@ -1 +1 @@ -:content => (include "port 6379"), +:content => "",
Puppet / Puppet 8 - CentOS 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L98
redis::instance example redis instance 6379 should respond to ping command Failure/Error: expect(command("redis-cli -h #{fact('networking.ip')} -p #{instance} ping")). to have_attributes(stdout: %r{PONG}) expected Command "redis-cli -h 172.17.0.2 -p 6379 ping" to have attributes {:stdout => /PONG/} but had attributes {:stdout => ""} Diff: @@ -1 +1 @@ -:stdout => /PONG/, +:stdout => "",
Puppet / Puppet 8 - CentOS 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L84
redis::instance example is expected to be file and have attributes {:content => (include "redis-server-6380.conf")} Failure/Error: expect(file("/etc/systemd/system/redis-server-#{instance}.service")). to be_file. and have_attributes(content: include("redis-server-#{instance}.conf")) expected `File "/etc/systemd/system/redis-server-6380.service".file?` to be truthy, got false ...and: expected File "/etc/systemd/system/redis-server-6380.service" to have attributes {:content => (include "redis-server-6380.conf")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "redis-server-6380.conf")}): @@ -1 +1 @@ -:content => (include "redis-server-6380.conf"), +:content => "",
Puppet / Puppet 8 - CentOS 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L90
redis::instance example is expected to be enabled and be running Failure/Error: specify { expect(service("redis-server-#{instance}")).to be_enabled.and be_running } expected Service "redis-server-6380" to be enabled ...and: expected Service "redis-server-6380" to be running
Puppet / Puppet 8 - CentOS 9: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L92
redis::instance example is expected to be file and have attributes {:content => (include "port 6380")} Failure/Error: expect(file("#{config_path}/redis-server-#{instance}.conf")). to be_file. and have_attributes(content: include("port #{instance}")) expected `File "/etc/redis/redis-server-6380.conf".file?` to be truthy, got false ...and: expected File "/etc/redis/redis-server-6380.conf" to have attributes {:content => (include "port 6380")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "port 6380")}): @@ -1 +1 @@ -:content => (include "port 6380"), +:content => "",
Puppet / Puppet 7 - AlmaLinux 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L4
redis::instance example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'almalinux8-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184523842.pp.lgpart Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Redis::Instance[6379] is already declared at (file: /tmp/apply_manifest_184523842.pp.lgpart, line: 13); cannot redeclare (file: /tmp/apply_manifest_184523842.pp.lgpart, line: 26) (file: /tmp/apply_manifest_184523842.pp.lgpart, line: 26, column: 5) on node almalinux8-64-puppet7.example.com Shared Example Group: "an idempotent resource" called from ./spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb:32
Puppet / Puppet 7 - AlmaLinux 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
redis::instance example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'almalinux8-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184525589.pp.PxoRHj Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Redis::Instance[6379] is already declared at (file: /tmp/apply_manifest_184525589.pp.PxoRHj, line: 13); cannot redeclare (file: /tmp/apply_manifest_184525589.pp.PxoRHj, line: 26) (file: /tmp/apply_manifest_184525589.pp.PxoRHj, line: 26, column: 5) on node almalinux8-64-puppet7.example.com Shared Example Group: "an idempotent resource" called from ./spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb:32
Puppet / Puppet 7 - AlmaLinux 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L78
redis::instance example is expected not to be enabled Failure/Error: expect(service(redis_name)).not_to be_enabled expected Service "redis" not to be enabled
Puppet / Puppet 7 - AlmaLinux 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L84
redis::instance example is expected to be file and have attributes {:content => (include "redis-server-6379.conf")} Failure/Error: expect(file("/etc/systemd/system/redis-server-#{instance}.service")). to be_file. and have_attributes(content: include("redis-server-#{instance}.conf")) expected `File "/etc/systemd/system/redis-server-6379.service".file?` to be truthy, got false ...and: expected File "/etc/systemd/system/redis-server-6379.service" to have attributes {:content => (include "redis-server-6379.conf")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "redis-server-6379.conf")}): @@ -1 +1 @@ -:content => (include "redis-server-6379.conf"), +:content => "",
Puppet / Puppet 7 - AlmaLinux 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L90
redis::instance example is expected to be enabled and be running Failure/Error: specify { expect(service("redis-server-#{instance}")).to be_enabled.and be_running } expected Service "redis-server-6379" to be enabled ...and: expected Service "redis-server-6379" to be running
Puppet / Puppet 7 - AlmaLinux 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L92
redis::instance example is expected to be file and have attributes {:content => (include "port 6379")} Failure/Error: expect(file("#{config_path}/redis-server-#{instance}.conf")). to be_file. and have_attributes(content: include("port #{instance}")) expected `File "/etc/redis-server-6379.conf".file?` to be truthy, got false ...and: expected File "/etc/redis-server-6379.conf" to have attributes {:content => (include "port 6379")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "port 6379")}): @@ -1 +1 @@ -:content => (include "port 6379"), +:content => "",
Puppet / Puppet 7 - AlmaLinux 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L98
redis::instance example redis instance 6379 should respond to ping command Failure/Error: expect(command("redis-cli -h #{fact('networking.ip')} -p #{instance} ping")). to have_attributes(stdout: %r{PONG}) expected Command "redis-cli -h 172.17.0.2 -p 6379 ping" to have attributes {:stdout => /PONG/} but had attributes {:stdout => ""} Diff: @@ -1 +1 @@ -:stdout => /PONG/, +:stdout => "",
Puppet / Puppet 7 - AlmaLinux 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L84
redis::instance example is expected to be file and have attributes {:content => (include "redis-server-6380.conf")} Failure/Error: expect(file("/etc/systemd/system/redis-server-#{instance}.service")). to be_file. and have_attributes(content: include("redis-server-#{instance}.conf")) expected `File "/etc/systemd/system/redis-server-6380.service".file?` to be truthy, got false ...and: expected File "/etc/systemd/system/redis-server-6380.service" to have attributes {:content => (include "redis-server-6380.conf")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "redis-server-6380.conf")}): @@ -1 +1 @@ -:content => (include "redis-server-6380.conf"), +:content => "",
Puppet / Puppet 7 - AlmaLinux 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L90
redis::instance example is expected to be enabled and be running Failure/Error: specify { expect(service("redis-server-#{instance}")).to be_enabled.and be_running } expected Service "redis-server-6380" to be enabled ...and: expected Service "redis-server-6380" to be running
Puppet / Puppet 7 - AlmaLinux 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L92
redis::instance example is expected to be file and have attributes {:content => (include "port 6380")} Failure/Error: expect(file("#{config_path}/redis-server-#{instance}.conf")). to be_file. and have_attributes(content: include("port #{instance}")) expected `File "/etc/redis-server-6380.conf".file?` to be truthy, got false ...and: expected File "/etc/redis-server-6380.conf" to have attributes {:content => (include "port 6380")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "port 6380")}): @@ -1 +1 @@ -:content => (include "port 6380"), +:content => "",
Puppet / Puppet 8 - AlmaLinux 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L4
redis::instance example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'almalinux8-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184522135.pp.oRG0Pb Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Redis::Instance[6379] is already declared at (file: /tmp/apply_manifest_184522135.pp.oRG0Pb, line: 13); cannot redeclare (file: /tmp/apply_manifest_184522135.pp.oRG0Pb, line: 26) (file: /tmp/apply_manifest_184522135.pp.oRG0Pb, line: 26, column: 5) on node almalinux8-64-puppet8.example.com Shared Example Group: "an idempotent resource" called from ./spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb:32
Puppet / Puppet 8 - AlmaLinux 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
redis::instance example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'almalinux8-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184524912.pp.gDmGNg Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Redis::Instance[6379] is already declared at (file: /tmp/apply_manifest_184524912.pp.gDmGNg, line: 13); cannot redeclare (file: /tmp/apply_manifest_184524912.pp.gDmGNg, line: 26) (file: /tmp/apply_manifest_184524912.pp.gDmGNg, line: 26, column: 5) on node almalinux8-64-puppet8.example.com Shared Example Group: "an idempotent resource" called from ./spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb:32
Puppet / Puppet 8 - AlmaLinux 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L78
redis::instance example is expected not to be enabled Failure/Error: expect(service(redis_name)).not_to be_enabled expected Service "redis" not to be enabled
Puppet / Puppet 8 - AlmaLinux 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L84
redis::instance example is expected to be file and have attributes {:content => (include "redis-server-6379.conf")} Failure/Error: expect(file("/etc/systemd/system/redis-server-#{instance}.service")). to be_file. and have_attributes(content: include("redis-server-#{instance}.conf")) expected `File "/etc/systemd/system/redis-server-6379.service".file?` to be truthy, got false ...and: expected File "/etc/systemd/system/redis-server-6379.service" to have attributes {:content => (include "redis-server-6379.conf")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "redis-server-6379.conf")}): @@ -1 +1 @@ -:content => (include "redis-server-6379.conf"), +:content => "",
Puppet / Puppet 8 - AlmaLinux 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L90
redis::instance example is expected to be enabled and be running Failure/Error: specify { expect(service("redis-server-#{instance}")).to be_enabled.and be_running } expected Service "redis-server-6379" to be enabled ...and: expected Service "redis-server-6379" to be running
Puppet / Puppet 8 - AlmaLinux 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L92
redis::instance example is expected to be file and have attributes {:content => (include "port 6379")} Failure/Error: expect(file("#{config_path}/redis-server-#{instance}.conf")). to be_file. and have_attributes(content: include("port #{instance}")) expected `File "/etc/redis-server-6379.conf".file?` to be truthy, got false ...and: expected File "/etc/redis-server-6379.conf" to have attributes {:content => (include "port 6379")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "port 6379")}): @@ -1 +1 @@ -:content => (include "port 6379"), +:content => "",
Puppet / Puppet 8 - AlmaLinux 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L98
redis::instance example redis instance 6379 should respond to ping command Failure/Error: expect(command("redis-cli -h #{fact('networking.ip')} -p #{instance} ping")). to have_attributes(stdout: %r{PONG}) expected Command "redis-cli -h 172.17.0.2 -p 6379 ping" to have attributes {:stdout => /PONG/} but had attributes {:stdout => ""} Diff: @@ -1 +1 @@ -:stdout => /PONG/, +:stdout => "",
Puppet / Puppet 8 - AlmaLinux 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L84
redis::instance example is expected to be file and have attributes {:content => (include "redis-server-6380.conf")} Failure/Error: expect(file("/etc/systemd/system/redis-server-#{instance}.service")). to be_file. and have_attributes(content: include("redis-server-#{instance}.conf")) expected `File "/etc/systemd/system/redis-server-6380.service".file?` to be truthy, got false ...and: expected File "/etc/systemd/system/redis-server-6380.service" to have attributes {:content => (include "redis-server-6380.conf")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "redis-server-6380.conf")}): @@ -1 +1 @@ -:content => (include "redis-server-6380.conf"), +:content => "",
Puppet / Puppet 8 - AlmaLinux 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L90
redis::instance example is expected to be enabled and be running Failure/Error: specify { expect(service("redis-server-#{instance}")).to be_enabled.and be_running } expected Service "redis-server-6380" to be enabled ...and: expected Service "redis-server-6380" to be running
Puppet / Puppet 8 - AlmaLinux 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L92
redis::instance example is expected to be file and have attributes {:content => (include "port 6380")} Failure/Error: expect(file("#{config_path}/redis-server-#{instance}.conf")). to be_file. and have_attributes(content: include("port #{instance}")) expected `File "/etc/redis-server-6380.conf".file?` to be truthy, got false ...and: expected File "/etc/redis-server-6380.conf" to have attributes {:content => (include "port 6380")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "port 6380")}): @@ -1 +1 @@ -:content => (include "port 6380"), +:content => "",
Puppet / Puppet 7 - CentOS 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L4
redis::instance example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos8-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184538879.pp.Fo49SW Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Redis::Instance[6379] is already declared at (file: /tmp/apply_manifest_184538879.pp.Fo49SW, line: 13); cannot redeclare (file: /tmp/apply_manifest_184538879.pp.Fo49SW, line: 26) (file: /tmp/apply_manifest_184538879.pp.Fo49SW, line: 26, column: 5) on node centos8-64-puppet7.example.com Shared Example Group: "an idempotent resource" called from ./spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb:32
Puppet / Puppet 7 - CentOS 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
redis::instance example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos8-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184540632.pp.rwoGKW Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Redis::Instance[6379] is already declared at (file: /tmp/apply_manifest_184540632.pp.rwoGKW, line: 13); cannot redeclare (file: /tmp/apply_manifest_184540632.pp.rwoGKW, line: 26) (file: /tmp/apply_manifest_184540632.pp.rwoGKW, line: 26, column: 5) on node centos8-64-puppet7.example.com Shared Example Group: "an idempotent resource" called from ./spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb:32
Puppet / Puppet 7 - CentOS 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L78
redis::instance example is expected not to be enabled Failure/Error: expect(service(redis_name)).not_to be_enabled expected Service "redis" not to be enabled
Puppet / Puppet 7 - CentOS 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L84
redis::instance example is expected to be file and have attributes {:content => (include "redis-server-6379.conf")} Failure/Error: expect(file("/etc/systemd/system/redis-server-#{instance}.service")). to be_file. and have_attributes(content: include("redis-server-#{instance}.conf")) expected `File "/etc/systemd/system/redis-server-6379.service".file?` to be truthy, got false ...and: expected File "/etc/systemd/system/redis-server-6379.service" to have attributes {:content => (include "redis-server-6379.conf")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "redis-server-6379.conf")}): @@ -1 +1 @@ -:content => (include "redis-server-6379.conf"), +:content => "",
Puppet / Puppet 7 - CentOS 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L90
redis::instance example is expected to be enabled and be running Failure/Error: specify { expect(service("redis-server-#{instance}")).to be_enabled.and be_running } expected Service "redis-server-6379" to be enabled ...and: expected Service "redis-server-6379" to be running
Puppet / Puppet 7 - CentOS 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L92
redis::instance example is expected to be file and have attributes {:content => (include "port 6379")} Failure/Error: expect(file("#{config_path}/redis-server-#{instance}.conf")). to be_file. and have_attributes(content: include("port #{instance}")) expected `File "/etc/redis-server-6379.conf".file?` to be truthy, got false ...and: expected File "/etc/redis-server-6379.conf" to have attributes {:content => (include "port 6379")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "port 6379")}): @@ -1 +1 @@ -:content => (include "port 6379"), +:content => "",
Puppet / Puppet 7 - CentOS 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L98
redis::instance example redis instance 6379 should respond to ping command Failure/Error: expect(command("redis-cli -h #{fact('networking.ip')} -p #{instance} ping")). to have_attributes(stdout: %r{PONG}) expected Command "redis-cli -h 172.17.0.2 -p 6379 ping" to have attributes {:stdout => /PONG/} but had attributes {:stdout => ""} Diff: @@ -1 +1 @@ -:stdout => /PONG/, +:stdout => "",
Puppet / Puppet 7 - CentOS 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L84
redis::instance example is expected to be file and have attributes {:content => (include "redis-server-6380.conf")} Failure/Error: expect(file("/etc/systemd/system/redis-server-#{instance}.service")). to be_file. and have_attributes(content: include("redis-server-#{instance}.conf")) expected `File "/etc/systemd/system/redis-server-6380.service".file?` to be truthy, got false ...and: expected File "/etc/systemd/system/redis-server-6380.service" to have attributes {:content => (include "redis-server-6380.conf")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "redis-server-6380.conf")}): @@ -1 +1 @@ -:content => (include "redis-server-6380.conf"), +:content => "",
Puppet / Puppet 7 - CentOS 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L90
redis::instance example is expected to be enabled and be running Failure/Error: specify { expect(service("redis-server-#{instance}")).to be_enabled.and be_running } expected Service "redis-server-6380" to be enabled ...and: expected Service "redis-server-6380" to be running
Puppet / Puppet 7 - CentOS 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L92
redis::instance example is expected to be file and have attributes {:content => (include "port 6380")} Failure/Error: expect(file("#{config_path}/redis-server-#{instance}.conf")). to be_file. and have_attributes(content: include("port #{instance}")) expected `File "/etc/redis-server-6380.conf".file?` to be truthy, got false ...and: expected File "/etc/redis-server-6380.conf" to have attributes {:content => (include "port 6380")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "port 6380")}): @@ -1 +1 @@ -:content => (include "port 6380"), +:content => "",
Puppet / Puppet 8 - CentOS 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L4
redis::instance example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos8-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184534400.pp.pxeckw Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Redis::Instance[6379] is already declared at (file: /tmp/apply_manifest_184534400.pp.pxeckw, line: 13); cannot redeclare (file: /tmp/apply_manifest_184534400.pp.pxeckw, line: 26) (file: /tmp/apply_manifest_184534400.pp.pxeckw, line: 26, column: 5) on node centos8-64-puppet8.example.com Shared Example Group: "an idempotent resource" called from ./spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb:32
Puppet / Puppet 8 - CentOS 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
redis::instance example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'centos8-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184537282.pp.IbChjt Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Redis::Instance[6379] is already declared at (file: /tmp/apply_manifest_184537282.pp.IbChjt, line: 13); cannot redeclare (file: /tmp/apply_manifest_184537282.pp.IbChjt, line: 26) (file: /tmp/apply_manifest_184537282.pp.IbChjt, line: 26, column: 5) on node centos8-64-puppet8.example.com Shared Example Group: "an idempotent resource" called from ./spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb:32
Puppet / Puppet 8 - CentOS 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L78
redis::instance example is expected not to be enabled Failure/Error: expect(service(redis_name)).not_to be_enabled expected Service "redis" not to be enabled
Puppet / Puppet 8 - CentOS 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L84
redis::instance example is expected to be file and have attributes {:content => (include "redis-server-6379.conf")} Failure/Error: expect(file("/etc/systemd/system/redis-server-#{instance}.service")). to be_file. and have_attributes(content: include("redis-server-#{instance}.conf")) expected `File "/etc/systemd/system/redis-server-6379.service".file?` to be truthy, got false ...and: expected File "/etc/systemd/system/redis-server-6379.service" to have attributes {:content => (include "redis-server-6379.conf")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "redis-server-6379.conf")}): @@ -1 +1 @@ -:content => (include "redis-server-6379.conf"), +:content => "",
Puppet / Puppet 8 - CentOS 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L90
redis::instance example is expected to be enabled and be running Failure/Error: specify { expect(service("redis-server-#{instance}")).to be_enabled.and be_running } expected Service "redis-server-6379" to be enabled ...and: expected Service "redis-server-6379" to be running
Puppet / Puppet 8 - CentOS 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L92
redis::instance example is expected to be file and have attributes {:content => (include "port 6379")} Failure/Error: expect(file("#{config_path}/redis-server-#{instance}.conf")). to be_file. and have_attributes(content: include("port #{instance}")) expected `File "/etc/redis-server-6379.conf".file?` to be truthy, got false ...and: expected File "/etc/redis-server-6379.conf" to have attributes {:content => (include "port 6379")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "port 6379")}): @@ -1 +1 @@ -:content => (include "port 6379"), +:content => "",
Puppet / Puppet 8 - CentOS 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L98
redis::instance example redis instance 6379 should respond to ping command Failure/Error: expect(command("redis-cli -h #{fact('networking.ip')} -p #{instance} ping")). to have_attributes(stdout: %r{PONG}) expected Command "redis-cli -h 172.17.0.2 -p 6379 ping" to have attributes {:stdout => /PONG/} but had attributes {:stdout => ""} Diff: @@ -1 +1 @@ -:stdout => /PONG/, +:stdout => "",
Puppet / Puppet 8 - CentOS 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L84
redis::instance example is expected to be file and have attributes {:content => (include "redis-server-6380.conf")} Failure/Error: expect(file("/etc/systemd/system/redis-server-#{instance}.service")). to be_file. and have_attributes(content: include("redis-server-#{instance}.conf")) expected `File "/etc/systemd/system/redis-server-6380.service".file?` to be truthy, got false ...and: expected File "/etc/systemd/system/redis-server-6380.service" to have attributes {:content => (include "redis-server-6380.conf")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "redis-server-6380.conf")}): @@ -1 +1 @@ -:content => (include "redis-server-6380.conf"), +:content => "",
Puppet / Puppet 8 - CentOS 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L90
redis::instance example is expected to be enabled and be running Failure/Error: specify { expect(service("redis-server-#{instance}")).to be_enabled.and be_running } expected Service "redis-server-6380" to be enabled ...and: expected Service "redis-server-6380" to be running
Puppet / Puppet 8 - CentOS 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L92
redis::instance example is expected to be file and have attributes {:content => (include "port 6380")} Failure/Error: expect(file("#{config_path}/redis-server-#{instance}.conf")). to be_file. and have_attributes(content: include("port #{instance}")) expected `File "/etc/redis-server-6380.conf".file?` to be truthy, got false ...and: expected File "/etc/redis-server-6380.conf" to have attributes {:content => (include "port 6380")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "port 6380")}): @@ -1 +1 @@ -:content => (include "port 6380"), +:content => "",
Puppet / Puppet 7 - Rocky 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L4
redis::instance example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'rocky8-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184546824.pp.rvrB7C Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Redis::Instance[6379] is already declared at (file: /tmp/apply_manifest_184546824.pp.rvrB7C, line: 13); cannot redeclare (file: /tmp/apply_manifest_184546824.pp.rvrB7C, line: 26) (file: /tmp/apply_manifest_184546824.pp.rvrB7C, line: 26, column: 5) on node rocky8-64-puppet7.example.com Shared Example Group: "an idempotent resource" called from ./spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb:32
Puppet / Puppet 7 - Rocky 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
redis::instance example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'rocky8-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184548654.pp.4IFOVy Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Redis::Instance[6379] is already declared at (file: /tmp/apply_manifest_184548654.pp.4IFOVy, line: 13); cannot redeclare (file: /tmp/apply_manifest_184548654.pp.4IFOVy, line: 26) (file: /tmp/apply_manifest_184548654.pp.4IFOVy, line: 26, column: 5) on node rocky8-64-puppet7.example.com Shared Example Group: "an idempotent resource" called from ./spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb:32
Puppet / Puppet 7 - Rocky 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L78
redis::instance example is expected not to be enabled Failure/Error: expect(service(redis_name)).not_to be_enabled expected Service "redis" not to be enabled
Puppet / Puppet 7 - Rocky 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L84
redis::instance example is expected to be file and have attributes {:content => (include "redis-server-6379.conf")} Failure/Error: expect(file("/etc/systemd/system/redis-server-#{instance}.service")). to be_file. and have_attributes(content: include("redis-server-#{instance}.conf")) expected `File "/etc/systemd/system/redis-server-6379.service".file?` to be truthy, got false ...and: expected File "/etc/systemd/system/redis-server-6379.service" to have attributes {:content => (include "redis-server-6379.conf")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "redis-server-6379.conf")}): @@ -1 +1 @@ -:content => (include "redis-server-6379.conf"), +:content => "",
Puppet / Puppet 7 - Rocky 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L90
redis::instance example is expected to be enabled and be running Failure/Error: specify { expect(service("redis-server-#{instance}")).to be_enabled.and be_running } expected Service "redis-server-6379" to be enabled ...and: expected Service "redis-server-6379" to be running
Puppet / Puppet 7 - Rocky 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L92
redis::instance example is expected to be file and have attributes {:content => (include "port 6379")} Failure/Error: expect(file("#{config_path}/redis-server-#{instance}.conf")). to be_file. and have_attributes(content: include("port #{instance}")) expected `File "/etc/redis-server-6379.conf".file?` to be truthy, got false ...and: expected File "/etc/redis-server-6379.conf" to have attributes {:content => (include "port 6379")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "port 6379")}): @@ -1 +1 @@ -:content => (include "port 6379"), +:content => "",
Puppet / Puppet 7 - Rocky 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L98
redis::instance example redis instance 6379 should respond to ping command Failure/Error: expect(command("redis-cli -h #{fact('networking.ip')} -p #{instance} ping")). to have_attributes(stdout: %r{PONG}) expected Command "redis-cli -h 172.17.0.2 -p 6379 ping" to have attributes {:stdout => /PONG/} but had attributes {:stdout => ""} Diff: @@ -1 +1 @@ -:stdout => /PONG/, +:stdout => "",
Puppet / Puppet 7 - Rocky 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L84
redis::instance example is expected to be file and have attributes {:content => (include "redis-server-6380.conf")} Failure/Error: expect(file("/etc/systemd/system/redis-server-#{instance}.service")). to be_file. and have_attributes(content: include("redis-server-#{instance}.conf")) expected `File "/etc/systemd/system/redis-server-6380.service".file?` to be truthy, got false ...and: expected File "/etc/systemd/system/redis-server-6380.service" to have attributes {:content => (include "redis-server-6380.conf")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "redis-server-6380.conf")}): @@ -1 +1 @@ -:content => (include "redis-server-6380.conf"), +:content => "",
Puppet / Puppet 7 - Rocky 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L90
redis::instance example is expected to be enabled and be running Failure/Error: specify { expect(service("redis-server-#{instance}")).to be_enabled.and be_running } expected Service "redis-server-6380" to be enabled ...and: expected Service "redis-server-6380" to be running
Puppet / Puppet 7 - Rocky 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L92
redis::instance example is expected to be file and have attributes {:content => (include "port 6380")} Failure/Error: expect(file("#{config_path}/redis-server-#{instance}.conf")). to be_file. and have_attributes(content: include("port #{instance}")) expected `File "/etc/redis-server-6380.conf".file?` to be truthy, got false ...and: expected File "/etc/redis-server-6380.conf" to have attributes {:content => (include "port 6380")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "port 6380")}): @@ -1 +1 @@ -:content => (include "port 6380"), +:content => "",
Puppet / Puppet 7 - Debian 11: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L4
redis::instance example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian11-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184527858.pp.nmdeZM Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Redis::Instance[6379] is already declared at (file: /tmp/apply_manifest_184527858.pp.nmdeZM, line: 13); cannot redeclare (file: /tmp/apply_manifest_184527858.pp.nmdeZM, line: 26) (file: /tmp/apply_manifest_184527858.pp.nmdeZM, line: 26, column: 5) on node debian11-64-puppet7.example.com Shared Example Group: "an idempotent resource" called from ./spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb:32
Puppet / Puppet 7 - Debian 11: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
redis::instance example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian11-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184530721.pp.VDoEQT Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Redis::Instance[6379] is already declared at (file: /tmp/apply_manifest_184530721.pp.VDoEQT, line: 13); cannot redeclare (file: /tmp/apply_manifest_184530721.pp.VDoEQT, line: 26) (file: /tmp/apply_manifest_184530721.pp.VDoEQT, line: 26, column: 5) on node debian11-64-puppet7.example.com Shared Example Group: "an idempotent resource" called from ./spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb:32
Puppet / Puppet 7 - Debian 11: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L78
redis::instance example is expected not to be enabled Failure/Error: expect(service(redis_name)).not_to be_enabled expected Service "redis-server" not to be enabled
Puppet / Puppet 7 - Debian 11: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L84
redis::instance example is expected to be file and have attributes {:content => (include "redis-server-6379.conf")} Failure/Error: expect(file("/etc/systemd/system/redis-server-#{instance}.service")). to be_file. and have_attributes(content: include("redis-server-#{instance}.conf")) expected `File "/etc/systemd/system/redis-server-6379.service".file?` to be truthy, got false ...and: expected File "/etc/systemd/system/redis-server-6379.service" to have attributes {:content => (include "redis-server-6379.conf")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "redis-server-6379.conf")}): @@ -1 +1 @@ -:content => (include "redis-server-6379.conf"), +:content => "",
Puppet / Puppet 7 - Debian 11: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L90
redis::instance example is expected to be enabled and be running Failure/Error: specify { expect(service("redis-server-#{instance}")).to be_enabled.and be_running } expected Service "redis-server-6379" to be enabled ...and: expected Service "redis-server-6379" to be running
Puppet / Puppet 7 - Debian 11: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L92
redis::instance example is expected to be file and have attributes {:content => (include "port 6379")} Failure/Error: expect(file("#{config_path}/redis-server-#{instance}.conf")). to be_file. and have_attributes(content: include("port #{instance}")) expected `File "/etc/redis/redis-server-6379.conf".file?` to be truthy, got false ...and: expected File "/etc/redis/redis-server-6379.conf" to have attributes {:content => (include "port 6379")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "port 6379")}): @@ -1 +1 @@ -:content => (include "port 6379"), +:content => "",
Puppet / Puppet 7 - Debian 11: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L98
redis::instance example redis instance 6379 should respond to ping command Failure/Error: expect(command("redis-cli -h #{fact('networking.ip')} -p #{instance} ping")). to have_attributes(stdout: %r{PONG}) expected Command "redis-cli -h 172.17.0.2 -p 6379 ping" to have attributes {:stdout => /PONG/} but had attributes {:stdout => ""} Diff: @@ -1 +1 @@ -:stdout => /PONG/, +:stdout => "",
Puppet / Puppet 7 - Debian 11: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L84
redis::instance example is expected to be file and have attributes {:content => (include "redis-server-6380.conf")} Failure/Error: expect(file("/etc/systemd/system/redis-server-#{instance}.service")). to be_file. and have_attributes(content: include("redis-server-#{instance}.conf")) expected `File "/etc/systemd/system/redis-server-6380.service".file?` to be truthy, got false ...and: expected File "/etc/systemd/system/redis-server-6380.service" to have attributes {:content => (include "redis-server-6380.conf")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "redis-server-6380.conf")}): @@ -1 +1 @@ -:content => (include "redis-server-6380.conf"), +:content => "",
Puppet / Puppet 7 - Debian 11: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L90
redis::instance example is expected to be enabled and be running Failure/Error: specify { expect(service("redis-server-#{instance}")).to be_enabled.and be_running } expected Service "redis-server-6380" to be enabled ...and: expected Service "redis-server-6380" to be running
Puppet / Puppet 7 - Debian 11: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L92
redis::instance example is expected to be file and have attributes {:content => (include "port 6380")} Failure/Error: expect(file("#{config_path}/redis-server-#{instance}.conf")). to be_file. and have_attributes(content: include("port #{instance}")) expected `File "/etc/redis/redis-server-6380.conf".file?` to be truthy, got false ...and: expected File "/etc/redis/redis-server-6380.conf" to have attributes {:content => (include "port 6380")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "port 6380")}): @@ -1 +1 @@ -:content => (include "port 6380"), +:content => "",
Puppet / Puppet 8 - Rocky 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L4
redis::instance example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'rocky8-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184547648.pp.KGpTKr Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Redis::Instance[6379] is already declared at (file: /tmp/apply_manifest_184547648.pp.KGpTKr, line: 13); cannot redeclare (file: /tmp/apply_manifest_184547648.pp.KGpTKr, line: 26) (file: /tmp/apply_manifest_184547648.pp.KGpTKr, line: 26, column: 5) on node rocky8-64-puppet8.example.com Shared Example Group: "an idempotent resource" called from ./spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb:32
Puppet / Puppet 8 - Rocky 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
redis::instance example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'rocky8-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184550585.pp.sdc7vz Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Redis::Instance[6379] is already declared at (file: /tmp/apply_manifest_184550585.pp.sdc7vz, line: 13); cannot redeclare (file: /tmp/apply_manifest_184550585.pp.sdc7vz, line: 26) (file: /tmp/apply_manifest_184550585.pp.sdc7vz, line: 26, column: 5) on node rocky8-64-puppet8.example.com Shared Example Group: "an idempotent resource" called from ./spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb:32
Puppet / Puppet 8 - Rocky 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L78
redis::instance example is expected not to be enabled Failure/Error: expect(service(redis_name)).not_to be_enabled expected Service "redis" not to be enabled
Puppet / Puppet 8 - Rocky 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L84
redis::instance example is expected to be file and have attributes {:content => (include "redis-server-6379.conf")} Failure/Error: expect(file("/etc/systemd/system/redis-server-#{instance}.service")). to be_file. and have_attributes(content: include("redis-server-#{instance}.conf")) expected `File "/etc/systemd/system/redis-server-6379.service".file?` to be truthy, got false ...and: expected File "/etc/systemd/system/redis-server-6379.service" to have attributes {:content => (include "redis-server-6379.conf")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "redis-server-6379.conf")}): @@ -1 +1 @@ -:content => (include "redis-server-6379.conf"), +:content => "",
Puppet / Puppet 8 - Rocky 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L90
redis::instance example is expected to be enabled and be running Failure/Error: specify { expect(service("redis-server-#{instance}")).to be_enabled.and be_running } expected Service "redis-server-6379" to be enabled ...and: expected Service "redis-server-6379" to be running
Puppet / Puppet 8 - Rocky 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L92
redis::instance example is expected to be file and have attributes {:content => (include "port 6379")} Failure/Error: expect(file("#{config_path}/redis-server-#{instance}.conf")). to be_file. and have_attributes(content: include("port #{instance}")) expected `File "/etc/redis-server-6379.conf".file?` to be truthy, got false ...and: expected File "/etc/redis-server-6379.conf" to have attributes {:content => (include "port 6379")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "port 6379")}): @@ -1 +1 @@ -:content => (include "port 6379"), +:content => "",
Puppet / Puppet 8 - Rocky 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L98
redis::instance example redis instance 6379 should respond to ping command Failure/Error: expect(command("redis-cli -h #{fact('networking.ip')} -p #{instance} ping")). to have_attributes(stdout: %r{PONG}) expected Command "redis-cli -h 172.17.0.2 -p 6379 ping" to have attributes {:stdout => /PONG/} but had attributes {:stdout => ""} Diff: @@ -1 +1 @@ -:stdout => /PONG/, +:stdout => "",
Puppet / Puppet 8 - Rocky 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L84
redis::instance example is expected to be file and have attributes {:content => (include "redis-server-6380.conf")} Failure/Error: expect(file("/etc/systemd/system/redis-server-#{instance}.service")). to be_file. and have_attributes(content: include("redis-server-#{instance}.conf")) expected `File "/etc/systemd/system/redis-server-6380.service".file?` to be truthy, got false ...and: expected File "/etc/systemd/system/redis-server-6380.service" to have attributes {:content => (include "redis-server-6380.conf")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "redis-server-6380.conf")}): @@ -1 +1 @@ -:content => (include "redis-server-6380.conf"), +:content => "",
Puppet / Puppet 8 - Rocky 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L90
redis::instance example is expected to be enabled and be running Failure/Error: specify { expect(service("redis-server-#{instance}")).to be_enabled.and be_running } expected Service "redis-server-6380" to be enabled ...and: expected Service "redis-server-6380" to be running
Puppet / Puppet 8 - Rocky 8: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L92
redis::instance example is expected to be file and have attributes {:content => (include "port 6380")} Failure/Error: expect(file("#{config_path}/redis-server-#{instance}.conf")). to be_file. and have_attributes(content: include("port #{instance}")) expected `File "/etc/redis-server-6380.conf".file?` to be truthy, got false ...and: expected File "/etc/redis-server-6380.conf" to have attributes {:content => (include "port 6380")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "port 6380")}): @@ -1 +1 @@ -:content => (include "port 6380"), +:content => "",
Puppet / Puppet 8 - Debian 11: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L4
redis::instance example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian11-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184534722.pp.5N3OBO Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Redis::Instance[6379] is already declared at (file: /tmp/apply_manifest_184534722.pp.5N3OBO, line: 13); cannot redeclare (file: /tmp/apply_manifest_184534722.pp.5N3OBO, line: 26) (file: /tmp/apply_manifest_184534722.pp.5N3OBO, line: 26, column: 5) on node debian11-64-puppet8.example.com Shared Example Group: "an idempotent resource" called from ./spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb:32
Puppet / Puppet 8 - Debian 11: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
redis::instance example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'debian11-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184538844.pp.vRImLS Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Redis::Instance[6379] is already declared at (file: /tmp/apply_manifest_184538844.pp.vRImLS, line: 13); cannot redeclare (file: /tmp/apply_manifest_184538844.pp.vRImLS, line: 26) (file: /tmp/apply_manifest_184538844.pp.vRImLS, line: 26, column: 5) on node debian11-64-puppet8.example.com Shared Example Group: "an idempotent resource" called from ./spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb:32
Puppet / Puppet 8 - Debian 11: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L78
redis::instance example is expected not to be enabled Failure/Error: expect(service(redis_name)).not_to be_enabled expected Service "redis-server" not to be enabled
Puppet / Puppet 8 - Debian 11: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L84
redis::instance example is expected to be file and have attributes {:content => (include "redis-server-6379.conf")} Failure/Error: expect(file("/etc/systemd/system/redis-server-#{instance}.service")). to be_file. and have_attributes(content: include("redis-server-#{instance}.conf")) expected `File "/etc/systemd/system/redis-server-6379.service".file?` to be truthy, got false ...and: expected File "/etc/systemd/system/redis-server-6379.service" to have attributes {:content => (include "redis-server-6379.conf")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "redis-server-6379.conf")}): @@ -1 +1 @@ -:content => (include "redis-server-6379.conf"), +:content => "",
Puppet / Puppet 8 - Debian 11: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L90
redis::instance example is expected to be enabled and be running Failure/Error: specify { expect(service("redis-server-#{instance}")).to be_enabled.and be_running } expected Service "redis-server-6379" to be enabled ...and: expected Service "redis-server-6379" to be running
Puppet / Puppet 8 - Debian 11: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L92
redis::instance example is expected to be file and have attributes {:content => (include "port 6379")} Failure/Error: expect(file("#{config_path}/redis-server-#{instance}.conf")). to be_file. and have_attributes(content: include("port #{instance}")) expected `File "/etc/redis/redis-server-6379.conf".file?` to be truthy, got false ...and: expected File "/etc/redis/redis-server-6379.conf" to have attributes {:content => (include "port 6379")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "port 6379")}): @@ -1 +1 @@ -:content => (include "port 6379"), +:content => "",
Puppet / Puppet 8 - Debian 11: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L98
redis::instance example redis instance 6379 should respond to ping command Failure/Error: expect(command("redis-cli -h #{fact('networking.ip')} -p #{instance} ping")). to have_attributes(stdout: %r{PONG}) expected Command "redis-cli -h 172.17.0.2 -p 6379 ping" to have attributes {:stdout => /PONG/} but had attributes {:stdout => ""} Diff: @@ -1 +1 @@ -:stdout => /PONG/, +:stdout => "",
Puppet / Puppet 8 - Debian 11: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L84
redis::instance example is expected to be file and have attributes {:content => (include "redis-server-6380.conf")} Failure/Error: expect(file("/etc/systemd/system/redis-server-#{instance}.service")). to be_file. and have_attributes(content: include("redis-server-#{instance}.conf")) expected `File "/etc/systemd/system/redis-server-6380.service".file?` to be truthy, got false ...and: expected File "/etc/systemd/system/redis-server-6380.service" to have attributes {:content => (include "redis-server-6380.conf")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "redis-server-6380.conf")}): @@ -1 +1 @@ -:content => (include "redis-server-6380.conf"), +:content => "",
Puppet / Puppet 8 - Debian 11: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L90
redis::instance example is expected to be enabled and be running Failure/Error: specify { expect(service("redis-server-#{instance}")).to be_enabled.and be_running } expected Service "redis-server-6380" to be enabled ...and: expected Service "redis-server-6380" to be running
Puppet / Puppet 8 - Debian 11: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L92
redis::instance example is expected to be file and have attributes {:content => (include "port 6380")} Failure/Error: expect(file("#{config_path}/redis-server-#{instance}.conf")). to be_file. and have_attributes(content: include("port #{instance}")) expected `File "/etc/redis/redis-server-6380.conf".file?` to be truthy, got false ...and: expected File "/etc/redis/redis-server-6380.conf" to have attributes {:content => (include "port 6380")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "port 6380")}): @@ -1 +1 @@ -:content => (include "port 6380"), +:content => "",
Puppet / Puppet 7 - Ubuntu 22.04: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L4
redis::instance example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu2204-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184537321.pp.ZFdjKB Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Redis::Instance[6379] is already declared at (file: /tmp/apply_manifest_184537321.pp.ZFdjKB, line: 13); cannot redeclare (file: /tmp/apply_manifest_184537321.pp.ZFdjKB, line: 26) (file: /tmp/apply_manifest_184537321.pp.ZFdjKB, line: 26, column: 5) on node ubuntu2204-64-puppet7.example.com Shared Example Group: "an idempotent resource" called from ./spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb:32
Puppet / Puppet 7 - Ubuntu 22.04: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
redis::instance example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu2204-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184541622.pp.D4vYCH Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Redis::Instance[6379] is already declared at (file: /tmp/apply_manifest_184541622.pp.D4vYCH, line: 13); cannot redeclare (file: /tmp/apply_manifest_184541622.pp.D4vYCH, line: 26) (file: /tmp/apply_manifest_184541622.pp.D4vYCH, line: 26, column: 5) on node ubuntu2204-64-puppet7.example.com Shared Example Group: "an idempotent resource" called from ./spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb:32
Puppet / Puppet 7 - Ubuntu 22.04: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L78
redis::instance example is expected not to be enabled Failure/Error: expect(service(redis_name)).not_to be_enabled expected Service "redis-server" not to be enabled
Puppet / Puppet 7 - Ubuntu 22.04: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L84
redis::instance example is expected to be file and have attributes {:content => (include "redis-server-6379.conf")} Failure/Error: expect(file("/etc/systemd/system/redis-server-#{instance}.service")). to be_file. and have_attributes(content: include("redis-server-#{instance}.conf")) expected `File "/etc/systemd/system/redis-server-6379.service".file?` to be truthy, got false ...and: expected File "/etc/systemd/system/redis-server-6379.service" to have attributes {:content => (include "redis-server-6379.conf")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "redis-server-6379.conf")}): @@ -1 +1 @@ -:content => (include "redis-server-6379.conf"), +:content => "",
Puppet / Puppet 7 - Ubuntu 22.04: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L90
redis::instance example is expected to be enabled and be running Failure/Error: specify { expect(service("redis-server-#{instance}")).to be_enabled.and be_running } expected Service "redis-server-6379" to be enabled ...and: expected Service "redis-server-6379" to be running
Puppet / Puppet 7 - Ubuntu 22.04: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L92
redis::instance example is expected to be file and have attributes {:content => (include "port 6379")} Failure/Error: expect(file("#{config_path}/redis-server-#{instance}.conf")). to be_file. and have_attributes(content: include("port #{instance}")) expected `File "/etc/redis/redis-server-6379.conf".file?` to be truthy, got false ...and: expected File "/etc/redis/redis-server-6379.conf" to have attributes {:content => (include "port 6379")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "port 6379")}): @@ -1 +1 @@ -:content => (include "port 6379"), +:content => "",
Puppet / Puppet 7 - Ubuntu 22.04: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L98
redis::instance example redis instance 6379 should respond to ping command Failure/Error: expect(command("redis-cli -h #{fact('networking.ip')} -p #{instance} ping")). to have_attributes(stdout: %r{PONG}) expected Command "redis-cli -h 172.17.0.2 -p 6379 ping" to have attributes {:stdout => /PONG/} but had attributes {:stdout => ""} Diff: @@ -1 +1 @@ -:stdout => /PONG/, +:stdout => "",
Puppet / Puppet 7 - Ubuntu 22.04: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L84
redis::instance example is expected to be file and have attributes {:content => (include "redis-server-6380.conf")} Failure/Error: expect(file("/etc/systemd/system/redis-server-#{instance}.service")). to be_file. and have_attributes(content: include("redis-server-#{instance}.conf")) expected `File "/etc/systemd/system/redis-server-6380.service".file?` to be truthy, got false ...and: expected File "/etc/systemd/system/redis-server-6380.service" to have attributes {:content => (include "redis-server-6380.conf")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "redis-server-6380.conf")}): @@ -1 +1 @@ -:content => (include "redis-server-6380.conf"), +:content => "",
Puppet / Puppet 7 - Ubuntu 22.04: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L90
redis::instance example is expected to be enabled and be running Failure/Error: specify { expect(service("redis-server-#{instance}")).to be_enabled.and be_running } expected Service "redis-server-6380" to be enabled ...and: expected Service "redis-server-6380" to be running
Puppet / Puppet 7 - Ubuntu 22.04: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L92
redis::instance example is expected to be file and have attributes {:content => (include "port 6380")} Failure/Error: expect(file("#{config_path}/redis-server-#{instance}.conf")). to be_file. and have_attributes(content: include("port #{instance}")) expected `File "/etc/redis/redis-server-6380.conf".file?` to be truthy, got false ...and: expected File "/etc/redis/redis-server-6380.conf" to have attributes {:content => (include "port 6380")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "port 6380")}): @@ -1 +1 @@ -:content => (include "port 6380"), +:content => "",
Puppet / Puppet 8 - Ubuntu 22.04: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L4
redis::instance example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu2204-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184539844.pp.MjepDN Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Redis::Instance[6379] is already declared at (file: /tmp/apply_manifest_184539844.pp.MjepDN, line: 13); cannot redeclare (file: /tmp/apply_manifest_184539844.pp.MjepDN, line: 26) (file: /tmp/apply_manifest_184539844.pp.MjepDN, line: 26, column: 5) on node ubuntu2204-64-puppet8.example.com Shared Example Group: "an idempotent resource" called from ./spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb:32
Puppet / Puppet 8 - Ubuntu 22.04: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
redis::instance example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu2204-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184544968.pp.RTmNAh Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Redis::Instance[6379] is already declared at (file: /tmp/apply_manifest_184544968.pp.RTmNAh, line: 13); cannot redeclare (file: /tmp/apply_manifest_184544968.pp.RTmNAh, line: 26) (file: /tmp/apply_manifest_184544968.pp.RTmNAh, line: 26, column: 5) on node ubuntu2204-64-puppet8.example.com Shared Example Group: "an idempotent resource" called from ./spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb:32
Puppet / Puppet 8 - Ubuntu 22.04: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L78
redis::instance example is expected not to be enabled Failure/Error: expect(service(redis_name)).not_to be_enabled expected Service "redis-server" not to be enabled
Puppet / Puppet 8 - Ubuntu 22.04: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L84
redis::instance example is expected to be file and have attributes {:content => (include "redis-server-6379.conf")} Failure/Error: expect(file("/etc/systemd/system/redis-server-#{instance}.service")). to be_file. and have_attributes(content: include("redis-server-#{instance}.conf")) expected `File "/etc/systemd/system/redis-server-6379.service".file?` to be truthy, got false ...and: expected File "/etc/systemd/system/redis-server-6379.service" to have attributes {:content => (include "redis-server-6379.conf")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "redis-server-6379.conf")}): @@ -1 +1 @@ -:content => (include "redis-server-6379.conf"), +:content => "",
Puppet / Puppet 8 - Ubuntu 22.04: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L90
redis::instance example is expected to be enabled and be running Failure/Error: specify { expect(service("redis-server-#{instance}")).to be_enabled.and be_running } expected Service "redis-server-6379" to be enabled ...and: expected Service "redis-server-6379" to be running
Puppet / Puppet 8 - Ubuntu 22.04: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L92
redis::instance example is expected to be file and have attributes {:content => (include "port 6379")} Failure/Error: expect(file("#{config_path}/redis-server-#{instance}.conf")). to be_file. and have_attributes(content: include("port #{instance}")) expected `File "/etc/redis/redis-server-6379.conf".file?` to be truthy, got false ...and: expected File "/etc/redis/redis-server-6379.conf" to have attributes {:content => (include "port 6379")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "port 6379")}): @@ -1 +1 @@ -:content => (include "port 6379"), +:content => "",
Puppet / Puppet 8 - Ubuntu 22.04: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L98
redis::instance example redis instance 6379 should respond to ping command Failure/Error: expect(command("redis-cli -h #{fact('networking.ip')} -p #{instance} ping")). to have_attributes(stdout: %r{PONG}) expected Command "redis-cli -h 172.17.0.2 -p 6379 ping" to have attributes {:stdout => /PONG/} but had attributes {:stdout => ""} Diff: @@ -1 +1 @@ -:stdout => /PONG/, +:stdout => "",
Puppet / Puppet 8 - Ubuntu 22.04: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L84
redis::instance example is expected to be file and have attributes {:content => (include "redis-server-6380.conf")} Failure/Error: expect(file("/etc/systemd/system/redis-server-#{instance}.service")). to be_file. and have_attributes(content: include("redis-server-#{instance}.conf")) expected `File "/etc/systemd/system/redis-server-6380.service".file?` to be truthy, got false ...and: expected File "/etc/systemd/system/redis-server-6380.service" to have attributes {:content => (include "redis-server-6380.conf")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "redis-server-6380.conf")}): @@ -1 +1 @@ -:content => (include "redis-server-6380.conf"), +:content => "",
Puppet / Puppet 8 - Ubuntu 22.04: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L90
redis::instance example is expected to be enabled and be running Failure/Error: specify { expect(service("redis-server-#{instance}")).to be_enabled.and be_running } expected Service "redis-server-6380" to be enabled ...and: expected Service "redis-server-6380" to be running
Puppet / Puppet 8 - Ubuntu 22.04: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L92
redis::instance example is expected to be file and have attributes {:content => (include "port 6380")} Failure/Error: expect(file("#{config_path}/redis-server-#{instance}.conf")). to be_file. and have_attributes(content: include("port #{instance}")) expected `File "/etc/redis/redis-server-6380.conf".file?` to be truthy, got false ...and: expected File "/etc/redis/redis-server-6380.conf" to have attributes {:content => (include "port 6380")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "port 6380")}): @@ -1 +1 @@ -:content => (include "port 6380"), +:content => "",
Puppet / Puppet 7 - Ubuntu 20.04: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L4
redis::instance example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184550340.pp.5POtSQ Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Redis::Instance[6379] is already declared at (file: /tmp/apply_manifest_184550340.pp.5POtSQ, line: 13); cannot redeclare (file: /tmp/apply_manifest_184550340.pp.5POtSQ, line: 26) (file: /tmp/apply_manifest_184550340.pp.5POtSQ, line: 26, column: 5) on node ubuntu2004-64-puppet7.example.com Shared Example Group: "an idempotent resource" called from ./spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb:32
Puppet / Puppet 7 - Ubuntu 20.04: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
redis::instance example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet7.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184554952.pp.T2SX7T Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Redis::Instance[6379] is already declared at (file: /tmp/apply_manifest_184554952.pp.T2SX7T, line: 13); cannot redeclare (file: /tmp/apply_manifest_184554952.pp.T2SX7T, line: 26) (file: /tmp/apply_manifest_184554952.pp.T2SX7T, line: 26, column: 5) on node ubuntu2004-64-puppet7.example.com Shared Example Group: "an idempotent resource" called from ./spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb:32
Puppet / Puppet 7 - Ubuntu 20.04: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L78
redis::instance example is expected not to be enabled Failure/Error: expect(service(redis_name)).not_to be_enabled expected Service "redis-server" not to be enabled
Puppet / Puppet 7 - Ubuntu 20.04: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L84
redis::instance example is expected to be file and have attributes {:content => (include "redis-server-6379.conf")} Failure/Error: expect(file("/etc/systemd/system/redis-server-#{instance}.service")). to be_file. and have_attributes(content: include("redis-server-#{instance}.conf")) expected `File "/etc/systemd/system/redis-server-6379.service".file?` to be truthy, got false ...and: expected File "/etc/systemd/system/redis-server-6379.service" to have attributes {:content => (include "redis-server-6379.conf")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "redis-server-6379.conf")}): @@ -1 +1 @@ -:content => (include "redis-server-6379.conf"), +:content => "",
Puppet / Puppet 7 - Ubuntu 20.04: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L90
redis::instance example is expected to be enabled and be running Failure/Error: specify { expect(service("redis-server-#{instance}")).to be_enabled.and be_running } expected Service "redis-server-6379" to be enabled ...and: expected Service "redis-server-6379" to be running
Puppet / Puppet 7 - Ubuntu 20.04: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L92
redis::instance example is expected to be file and have attributes {:content => (include "port 6379")} Failure/Error: expect(file("#{config_path}/redis-server-#{instance}.conf")). to be_file. and have_attributes(content: include("port #{instance}")) expected `File "/etc/redis/redis-server-6379.conf".file?` to be truthy, got false ...and: expected File "/etc/redis/redis-server-6379.conf" to have attributes {:content => (include "port 6379")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "port 6379")}): @@ -1 +1 @@ -:content => (include "port 6379"), +:content => "",
Puppet / Puppet 7 - Ubuntu 20.04: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L98
redis::instance example redis instance 6379 should respond to ping command Failure/Error: expect(command("redis-cli -h #{fact('networking.ip')} -p #{instance} ping")). to have_attributes(stdout: %r{PONG}) expected Command "redis-cli -h 172.17.0.2 -p 6379 ping" to have attributes {:stdout => /PONG/} but had attributes {:stdout => ""} Diff: @@ -1 +1 @@ -:stdout => /PONG/, +:stdout => "",
Puppet / Puppet 7 - Ubuntu 20.04: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L84
redis::instance example is expected to be file and have attributes {:content => (include "redis-server-6380.conf")} Failure/Error: expect(file("/etc/systemd/system/redis-server-#{instance}.service")). to be_file. and have_attributes(content: include("redis-server-#{instance}.conf")) expected `File "/etc/systemd/system/redis-server-6380.service".file?` to be truthy, got false ...and: expected File "/etc/systemd/system/redis-server-6380.service" to have attributes {:content => (include "redis-server-6380.conf")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "redis-server-6380.conf")}): @@ -1 +1 @@ -:content => (include "redis-server-6380.conf"), +:content => "",
Puppet / Puppet 7 - Ubuntu 20.04: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L90
redis::instance example is expected to be enabled and be running Failure/Error: specify { expect(service("redis-server-#{instance}")).to be_enabled.and be_running } expected Service "redis-server-6380" to be enabled ...and: expected Service "redis-server-6380" to be running
Puppet / Puppet 7 - Ubuntu 20.04: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L92
redis::instance example is expected to be file and have attributes {:content => (include "port 6380")} Failure/Error: expect(file("#{config_path}/redis-server-#{instance}.conf")). to be_file. and have_attributes(content: include("port #{instance}")) expected `File "/etc/redis/redis-server-6380.conf".file?` to be truthy, got false ...and: expected File "/etc/redis/redis-server-6380.conf" to have attributes {:content => (include "port 6380")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "port 6380")}): @@ -1 +1 @@ -:content => (include "port 6380"), +:content => "",
Puppet / Puppet 8 - Ubuntu 20.04: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L4
redis::instance example applies with no errors Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184552599.pp.wevvLa Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Redis::Instance[6379] is already declared at (file: /tmp/apply_manifest_184552599.pp.wevvLa, line: 13); cannot redeclare (file: /tmp/apply_manifest_184552599.pp.wevvLa, line: 26) (file: /tmp/apply_manifest_184552599.pp.wevvLa, line: 26, column: 5) on node ubuntu2004-64-puppet8.example.com Shared Example Group: "an idempotent resource" called from ./spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb:32
Puppet / Puppet 8 - Ubuntu 20.04: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
redis::instance example applies a second time without changes Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}" Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet8.example.com' exited with 1 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_184557880.pp.K4NZcz Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Info: Loading facts Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Redis::Instance[6379] is already declared at (file: /tmp/apply_manifest_184557880.pp.K4NZcz, line: 13); cannot redeclare (file: /tmp/apply_manifest_184557880.pp.K4NZcz, line: 26) (file: /tmp/apply_manifest_184557880.pp.K4NZcz, line: 26, column: 5) on node ubuntu2004-64-puppet8.example.com Shared Example Group: "an idempotent resource" called from ./spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb:32
Puppet / Puppet 8 - Ubuntu 20.04: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L78
redis::instance example is expected not to be enabled Failure/Error: expect(service(redis_name)).not_to be_enabled expected Service "redis-server" not to be enabled
Puppet / Puppet 8 - Ubuntu 20.04: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L84
redis::instance example is expected to be file and have attributes {:content => (include "redis-server-6379.conf")} Failure/Error: expect(file("/etc/systemd/system/redis-server-#{instance}.service")). to be_file. and have_attributes(content: include("redis-server-#{instance}.conf")) expected `File "/etc/systemd/system/redis-server-6379.service".file?` to be truthy, got false ...and: expected File "/etc/systemd/system/redis-server-6379.service" to have attributes {:content => (include "redis-server-6379.conf")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "redis-server-6379.conf")}): @@ -1 +1 @@ -:content => (include "redis-server-6379.conf"), +:content => "",
Puppet / Puppet 8 - Ubuntu 20.04: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L90
redis::instance example is expected to be enabled and be running Failure/Error: specify { expect(service("redis-server-#{instance}")).to be_enabled.and be_running } expected Service "redis-server-6379" to be enabled ...and: expected Service "redis-server-6379" to be running
Puppet / Puppet 8 - Ubuntu 20.04: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L92
redis::instance example is expected to be file and have attributes {:content => (include "port 6379")} Failure/Error: expect(file("#{config_path}/redis-server-#{instance}.conf")). to be_file. and have_attributes(content: include("port #{instance}")) expected `File "/etc/redis/redis-server-6379.conf".file?` to be truthy, got false ...and: expected File "/etc/redis/redis-server-6379.conf" to have attributes {:content => (include "port 6379")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "port 6379")}): @@ -1 +1 @@ -:content => (include "port 6379"), +:content => "",
Puppet / Puppet 8 - Ubuntu 20.04: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L98
redis::instance example redis instance 6379 should respond to ping command Failure/Error: expect(command("redis-cli -h #{fact('networking.ip')} -p #{instance} ping")). to have_attributes(stdout: %r{PONG}) expected Command "redis-cli -h 172.17.0.2 -p 6379 ping" to have attributes {:stdout => /PONG/} but had attributes {:stdout => ""} Diff: @@ -1 +1 @@ -:stdout => /PONG/, +:stdout => "",
Puppet / Puppet 8 - Ubuntu 20.04: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L84
redis::instance example is expected to be file and have attributes {:content => (include "redis-server-6380.conf")} Failure/Error: expect(file("/etc/systemd/system/redis-server-#{instance}.service")). to be_file. and have_attributes(content: include("redis-server-#{instance}.conf")) expected `File "/etc/systemd/system/redis-server-6380.service".file?` to be truthy, got false ...and: expected File "/etc/systemd/system/redis-server-6380.service" to have attributes {:content => (include "redis-server-6380.conf")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "redis-server-6380.conf")}): @@ -1 +1 @@ -:content => (include "redis-server-6380.conf"), +:content => "",
Puppet / Puppet 8 - Ubuntu 20.04: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L90
redis::instance example is expected to be enabled and be running Failure/Error: specify { expect(service("redis-server-#{instance}")).to be_enabled.and be_running } expected Service "redis-server-6380" to be enabled ...and: expected Service "redis-server-6380" to be running
Puppet / Puppet 8 - Ubuntu 20.04: spec/acceptance/suites/default/redis_multi_instances_one_host_spec.rb#L92
redis::instance example is expected to be file and have attributes {:content => (include "port 6380")} Failure/Error: expect(file("#{config_path}/redis-server-#{instance}.conf")). to be_file. and have_attributes(content: include("port #{instance}")) expected `File "/etc/redis/redis-server-6380.conf".file?` to be truthy, got false ...and: expected File "/etc/redis/redis-server-6380.conf" to have attributes {:content => (include "port 6380")} but had attributes {:content => ""} Diff for (have attributes {:content => (include "port 6380")}): @@ -1 +1 @@ -:content => (include "port 6380"), +:content => "",