Skip to content

Update Salt Master configuration template #1572

Update Salt Master configuration template

Update Salt Master configuration template #1572

Triggered via pull request September 20, 2024 09:12
Status Failure
Total duration 9m 51s
Artifacts

ci.yml

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

Annotations

29 errors and 3 warnings
Puppet / 8 (Ruby 3.2): spec/classes/foreman_proxy__plugin__salt_spec.rb#L22
foreman_proxy::plugin::salt on debian-11-x86_64 with default settings should configure master.d/foreman.conf Failure/Error: should contain_file('/etc/salt/master.d/foreman.conf'). wiht_content(%r{autosign_grains_dir: /var/lib/foreman-proxy/salt/grains}). wiht_content(%r{autosign_file: /etc/salt/autosign.conf}). wiht_content(%r{user: root}). wiht_content(%r{netapi_enable_clients:\n - runner}). wiht_content(%r{external_auth:\n - pam\n - \'@runner\'}) NoMethodError: undefined method `wiht_content' for #<RSpec::Puppet::ManifestMatchers::CreateGeneric:0x00007f9e400e2e60 @exp_resource_type="file", @Args=["/etc/salt/master.d/foreman.conf"], @block=nil, @referenced_type="File", @title="/etc/salt/master.d/foreman.conf", @errors=[], @expected_params=[], @expected_undef_params=[], @notifies=[], @subscribes=[], @requires=[], @befores=[]>
Puppet / 8 (Ruby 3.2): spec/classes/foreman_proxy__plugin__salt_spec.rb#L59
foreman_proxy::plugin::salt on debian-11-x86_64 with overwritten parameters should change master.d/foreman.conf parameters Failure/Error: should contain_file('/etc/salt/master.d/foreman.conf'). wiht_content(%r{user: example}). wiht_content(%r{autosign_grains_dir: /var/lib/foreman-proxy/salt/grains}). wiht_content(%r{autosign_file: /etc/salt/example.conf}). wiht_content(%r{user: root}). wiht_content(%r{netapi_enable_clients:\n - runner\n - local\n - ssh\n - wheel}). wiht_content(%r{external_auth:\n - ldap\n - \'@runner\'}) NoMethodError: undefined method `wiht_content' for #<RSpec::Puppet::ManifestMatchers::CreateGeneric:0x00007f9e3feac4e8 @exp_resource_type="file", @Args=["/etc/salt/master.d/foreman.conf"], @block=nil, @referenced_type="File", @title="/etc/salt/master.d/foreman.conf", @errors=[], @expected_params=[], @expected_undef_params=[], @notifies=[], @subscribes=[], @requires=[], @befores=[]>
Puppet / 8 (Ruby 3.2): spec/classes/foreman_proxy__plugin__salt_spec.rb#L22
foreman_proxy::plugin::salt on redhat-8-x86_64 with default settings should configure master.d/foreman.conf Failure/Error: should contain_file('/etc/salt/master.d/foreman.conf'). wiht_content(%r{autosign_grains_dir: /var/lib/foreman-proxy/salt/grains}). wiht_content(%r{autosign_file: /etc/salt/autosign.conf}). wiht_content(%r{user: root}). wiht_content(%r{netapi_enable_clients:\n - runner}). wiht_content(%r{external_auth:\n - pam\n - \'@runner\'}) NoMethodError: undefined method `wiht_content' for #<RSpec::Puppet::ManifestMatchers::CreateGeneric:0x00007f9e40011900 @exp_resource_type="file", @Args=["/etc/salt/master.d/foreman.conf"], @block=nil, @referenced_type="File", @title="/etc/salt/master.d/foreman.conf", @errors=[], @expected_params=[], @expected_undef_params=[], @notifies=[], @subscribes=[], @requires=[], @befores=[]>
Puppet / 8 (Ruby 3.2): spec/classes/foreman_proxy__plugin__salt_spec.rb#L59
foreman_proxy::plugin::salt on redhat-8-x86_64 with overwritten parameters should change master.d/foreman.conf parameters Failure/Error: should contain_file('/etc/salt/master.d/foreman.conf'). wiht_content(%r{user: example}). wiht_content(%r{autosign_grains_dir: /var/lib/foreman-proxy/salt/grains}). wiht_content(%r{autosign_file: /etc/salt/example.conf}). wiht_content(%r{user: root}). wiht_content(%r{netapi_enable_clients:\n - runner\n - local\n - ssh\n - wheel}). wiht_content(%r{external_auth:\n - ldap\n - \'@runner\'}) NoMethodError: undefined method `wiht_content' for #<RSpec::Puppet::ManifestMatchers::CreateGeneric:0x00007f9e3ff51060 @exp_resource_type="file", @Args=["/etc/salt/master.d/foreman.conf"], @block=nil, @referenced_type="File", @title="/etc/salt/master.d/foreman.conf", @errors=[], @expected_params=[], @expected_undef_params=[], @notifies=[], @subscribes=[], @requires=[], @befores=[]>
Puppet / 8 (Ruby 3.2)
Process completed with exit code 1.
Puppet / 7 (Ruby 2.7): spec/classes/foreman_proxy__plugin__salt_spec.rb#L22
foreman_proxy::plugin::salt on debian-11-x86_64 with default settings should configure master.d/foreman.conf Failure/Error: should contain_file('/etc/salt/master.d/foreman.conf'). wiht_content(%r{autosign_grains_dir: /var/lib/foreman-proxy/salt/grains}). wiht_content(%r{autosign_file: /etc/salt/autosign.conf}). wiht_content(%r{user: root}). wiht_content(%r{netapi_enable_clients:\n - runner}). wiht_content(%r{external_auth:\n - pam\n - \'@runner\'}) NoMethodError: undefined method `wiht_content' for #<RSpec::Puppet::ManifestMatchers::CreateGeneric:0x00005652f006e8b8>
Puppet / 7 (Ruby 2.7): spec/classes/foreman_proxy__plugin__salt_spec.rb#L59
foreman_proxy::plugin::salt on debian-11-x86_64 with overwritten parameters should change master.d/foreman.conf parameters Failure/Error: should contain_file('/etc/salt/master.d/foreman.conf'). wiht_content(%r{user: example}). wiht_content(%r{autosign_grains_dir: /var/lib/foreman-proxy/salt/grains}). wiht_content(%r{autosign_file: /etc/salt/example.conf}). wiht_content(%r{user: root}). wiht_content(%r{netapi_enable_clients:\n - runner\n - local\n - ssh\n - wheel}). wiht_content(%r{external_auth:\n - ldap\n - \'@runner\'}) NoMethodError: undefined method `wiht_content' for #<RSpec::Puppet::ManifestMatchers::CreateGeneric:0x00005652eb187a38>
Puppet / 7 (Ruby 2.7): spec/classes/foreman_proxy__plugin__salt_spec.rb#L22
foreman_proxy::plugin::salt on redhat-8-x86_64 with default settings should configure master.d/foreman.conf Failure/Error: should contain_file('/etc/salt/master.d/foreman.conf'). wiht_content(%r{autosign_grains_dir: /var/lib/foreman-proxy/salt/grains}). wiht_content(%r{autosign_file: /etc/salt/autosign.conf}). wiht_content(%r{user: root}). wiht_content(%r{netapi_enable_clients:\n - runner}). wiht_content(%r{external_auth:\n - pam\n - \'@runner\'}) NoMethodError: undefined method `wiht_content' for #<RSpec::Puppet::ManifestMatchers::CreateGeneric:0x00005652eb814068>
Puppet / 7 (Ruby 2.7): spec/classes/foreman_proxy__plugin__salt_spec.rb#L59
foreman_proxy::plugin::salt on redhat-8-x86_64 with overwritten parameters should change master.d/foreman.conf parameters Failure/Error: should contain_file('/etc/salt/master.d/foreman.conf'). wiht_content(%r{user: example}). wiht_content(%r{autosign_grains_dir: /var/lib/foreman-proxy/salt/grains}). wiht_content(%r{autosign_file: /etc/salt/example.conf}). wiht_content(%r{user: root}). wiht_content(%r{netapi_enable_clients:\n - runner\n - local\n - ssh\n - wheel}). wiht_content(%r{external_auth:\n - ldap\n - \'@runner\'}) NoMethodError: undefined method `wiht_content' for #<RSpec::Puppet::ManifestMatchers::CreateGeneric:0x00005652eb742b30>
Puppet / 7 (Ruby 2.7)
Process completed with exit code 1.
Puppet / Puppet 7 - Ubuntu 20.04: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L4
Scenario: install foreman-proxy 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 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_091741245.kHwOkY.pp Last 10 lines of output were: �[mNotice: /Stage[main]/Foreman_proxy::Module::Registration/Foreman_proxy::Module[registration]/Foreman_proxy::Settings_file[registration]/File[/etc/foreman-proxy/settings.d/registration.yml]/content: content changed '{sha256}0ff33aa71af9054db8c2c1a498ef8dfc869976d812105ee5c2d90579ab25fdf3' to '{sha256}1c4f7110c2a4933b802919017e614d7354b310533967402255a2581a32d0fb9c' �[mNotice: /Stage[main]/Foreman_proxy::Module::Registration/Foreman_proxy::Module[registration]/Foreman_proxy::Settings_file[registration]/File[/etc/foreman-proxy/settings.d/registration.yml]/group: group changed 'root' to 'foreman-proxy' �[mNotice: /Stage[main]/Foreman_proxy::Module::Registration/Foreman_proxy::Module[registration]/Foreman_proxy::Settings_file[registration]/File[/etc/foreman-proxy/settings.d/registration.yml]/mode: mode changed '0644' to '0640' Info: Foreman_proxy::Settings_file[registration]: Scheduling refresh of Class[Foreman_proxy::Service] Info: Class[Foreman_proxy::Config]: Scheduling refresh of Class[Foreman_proxy::Service] Info: Class[Foreman_proxy::Service]: Scheduling refresh of Service[foreman-proxy] �[mNotice: /Stage[main]/Foreman_proxy::Service/Service[foreman-proxy]: Triggered 'refresh' from 1 event Info: Class[Foreman_proxy::Service]: Scheduling refresh of Class[Foreman_proxy::Register] Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 8.43 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/dns_spec.rb:8
Puppet / Puppet 7 - Ubuntu 20.04: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L8
Scenario: install foreman-proxy 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 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_091755060.J6tNxW.pp Last 10 lines of output were: Error: Execution of '/usr/sbin/named-checkconf /etc/bind/zones.conf20240920-6680-xnpnek' returned 1: Error: Could not execute posix command: No such file or directory - /usr/sbin/named-checkconf Error: /Stage[main]/Dns::Config/Concat[/etc/bind/zones.conf]/File[/etc/bind/zones.conf]/ensure: change from 'absent' to 'file' failed: Execution of '/usr/sbin/named-checkconf /etc/bind/zones.conf20240920-6680-xnpnek' returned 1: Error: Could not execute posix command: No such file or directory - /usr/sbin/named-checkconf Info: Computing checksum on file /etc/bind/named.conf Info: /Stage[main]/Dns::Config/Concat[/etc/bind/named.conf]/File[/etc/bind/named.conf]: Filebucketed /etc/bind/named.conf to puppet with sum b2e8347dd7442eb1f1452e40fa47331694c8660d3f0a4ad41500c0f020d38930 Error: Execution of '/usr/sbin/named-checkconf /etc/bind/named.conf20240920-6680-j1ullv' returned 1: Error: Could not execute posix command: No such file or directory - /usr/sbin/named-checkconf Error: /Stage[main]/Dns::Config/Concat[/etc/bind/named.conf]/File[/etc/bind/named.conf]/content: change from '{sha256}b2e8347dd7442eb1f1452e40fa47331694c8660d3f0a4ad41500c0f020d38930' to '{sha256}f79c20c31aaed9ee8c81d0b583cb664e665d9c62d3b466f75de064d769130bc8' failed: Execution of '/usr/sbin/named-checkconf /etc/bind/named.conf20240920-6680-j1ullv' returned 1: Error: Could not execute posix command: No such file or directory - /usr/sbin/named-checkconf �[mNotice: /Stage[main]/Dns::Service/Service[bind9]: Dependency File[/etc/bind/zones.conf] has failures: true �[mNotice: /Stage[main]/Dns::Service/Service[bind9]: Dependency File[/etc/bind/named.conf] has failures: true Warning: /Stage[main]/Dns::Service/Service[bind9]: Skipping because of failed dependencies �[mNotice: Applied catalog in 1.16 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/dns_spec.rb:8
Puppet / Puppet 7 - Ubuntu 20.04: spec/acceptance/dns_spec.rb#L20
Scenario: install foreman-proxy forward dns Command "dig +short SOA example.com @localhost" stdout is expected to match /ubuntu2004-64-puppet7.example.com\. root\.example\.com\. \d+ 86400 3600 604800 3600\n/ Failure/Error: its(:stdout) { is_expected.to match(/#{host_inventory['fqdn']}\. root\.example\.com\. \d+ 86400 3600 604800 3600\n/) } expected ";; communications error to 127.0.0.1#53: connection refused\n;; communications error to 127.0.0.1#53...ed\n;; communications error to 127.0.0.1#53: connection refused\n;; no servers could be reached\n\n" to match /ubuntu2004-64-puppet7.example.com\. root\.example\.com\. \d+ 86400 3600 604800 3600\n/ Diff: @@ -1,6 +1,11 @@ -/ubuntu2004-64-puppet7.example.com\. root\.example\.com\. \d+ 86400 3600 604800 3600\n/ +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; no servers could be reached
Puppet / Puppet 7 - Ubuntu 20.04: spec/acceptance/dns_spec.rb#L29
Scenario: install foreman-proxy forward dns Command "dig +short A integration.example.com @localhost" stdout is expected to eq "192.0.2.100\n" Failure/Error: its(:stdout) { is_expected.to eq("192.0.2.100\n") } expected: "192.0.2.100\n" got: ";; communications error to 127.0.0.1#53: connection refused\n;; communications error to 127.0.0.1#53...ed\n;; communications error to 127.0.0.1#53: connection refused\n;; no servers could be reached\n\n" (compared using ==) Diff: @@ -1,6 +1,11 @@ -192.0.2.100 +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; no servers could be reached
Puppet / Puppet 7 - Ubuntu 20.04: spec/acceptance/dns_spec.rb#L38
Scenario: install foreman-proxy forward dns Command "dig +short A integration.example.com @localhost" stdout is expected to eq "" Failure/Error: its(:stdout) { is_expected.to eq('') } expected: "" got: ";; communications error to 127.0.0.1#53: connection refused\n;; communications error to 127.0.0.1#53...ed\n;; communications error to 127.0.0.1#53: connection refused\n;; no servers could be reached\n\n" (compared using ==) Diff: @@ -1,6 +1,12 @@ +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; no servers could be reached
Puppet / Puppet 7 - Ubuntu 20.04: spec/acceptance/dns_spec.rb#L44
Scenario: install foreman-proxy reverse dns Command "dig +short SOA 2.0.192.in-addr.arpa @localhost" stdout is expected to match /ubuntu2004-64-puppet7.example.com\. root\.2\.0\.192\.in-addr\.arpa\. \d+ 86400 3600 604800 3600\n/ Failure/Error: its(:stdout) { is_expected.to match(/#{host_inventory['fqdn']}\. root\.2\.0\.192\.in-addr\.arpa\. \d+ 86400 3600 604800 3600\n/) } expected ";; communications error to 127.0.0.1#53: connection refused\n;; communications error to 127.0.0.1#53...ed\n;; communications error to 127.0.0.1#53: connection refused\n;; no servers could be reached\n\n" to match /ubuntu2004-64-puppet7.example.com\. root\.2\.0\.192\.in-addr\.arpa\. \d+ 86400 3600 604800 3600\n/ Diff: @@ -1,6 +1,11 @@ -/ubuntu2004-64-puppet7.example.com\. root\.2\.0\.192\.in-addr\.arpa\. \d+ 86400 3600 604800 3600\n/ +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; no servers could be reached
Puppet / Puppet 7 - Ubuntu 20.04: spec/acceptance/dns_spec.rb#L53
Scenario: install foreman-proxy reverse dns Command "dig +short -x 192.0.2.100 @localhost" stdout is expected to eq "integration.example.com.\n" Failure/Error: its(:stdout) { is_expected.to eq("integration.example.com.\n") } expected: "integration.example.com.\n" got: ";; communications error to 127.0.0.1#53: connection refused\n;; communications error to 127.0.0.1#53...ed\n;; communications error to 127.0.0.1#53: connection refused\n;; no servers could be reached\n\n" (compared using ==) Diff: @@ -1,6 +1,11 @@ -integration.example.com. +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; no servers could be reached
Puppet / Puppet 7 - Ubuntu 20.04: spec/acceptance/dns_spec.rb#L62
Scenario: install foreman-proxy reverse dns Command "dig +short -x 192.0.2.100 @localhost" stdout is expected to eq "" Failure/Error: its(:stdout) { is_expected.to eq('') } expected: "" got: ";; communications error to 127.0.0.1#53: connection refused\n;; communications error to 127.0.0.1#53...ed\n;; communications error to 127.0.0.1#53: connection refused\n;; no servers could be reached\n\n" (compared using ==) Diff: @@ -1,6 +1,12 @@ +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; no servers could be reached
Puppet / Puppet 7 - Ubuntu 20.04
Process completed with exit code 1.
Puppet / Puppet 8 - Ubuntu 20.04: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L4
Scenario: install foreman-proxy 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 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_091750180.8W4uux.pp Last 10 lines of output were: �[mNotice: /Stage[main]/Foreman_proxy::Module::Registration/Foreman_proxy::Module[registration]/Foreman_proxy::Settings_file[registration]/File[/etc/foreman-proxy/settings.d/registration.yml]/content: content changed '{sha256}0ff33aa71af9054db8c2c1a498ef8dfc869976d812105ee5c2d90579ab25fdf3' to '{sha256}1c4f7110c2a4933b802919017e614d7354b310533967402255a2581a32d0fb9c' �[mNotice: /Stage[main]/Foreman_proxy::Module::Registration/Foreman_proxy::Module[registration]/Foreman_proxy::Settings_file[registration]/File[/etc/foreman-proxy/settings.d/registration.yml]/group: group changed 'root' to 'foreman-proxy' �[mNotice: /Stage[main]/Foreman_proxy::Module::Registration/Foreman_proxy::Module[registration]/Foreman_proxy::Settings_file[registration]/File[/etc/foreman-proxy/settings.d/registration.yml]/mode: mode changed '0644' to '0640' Info: Foreman_proxy::Settings_file[registration]: Scheduling refresh of Class[Foreman_proxy::Service] Info: Class[Foreman_proxy::Config]: Scheduling refresh of Class[Foreman_proxy::Service] Info: Class[Foreman_proxy::Service]: Scheduling refresh of Service[foreman-proxy] �[mNotice: /Stage[main]/Foreman_proxy::Service/Service[foreman-proxy]: Triggered 'refresh' from 1 event Info: Class[Foreman_proxy::Service]: Scheduling refresh of Class[Foreman_proxy::Register] Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 9.06 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/dns_spec.rb:8
Puppet / Puppet 8 - Ubuntu 20.04: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L8
Scenario: install foreman-proxy 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 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_091804876.KSvkKT.pp Last 10 lines of output were: Error: Execution of '/usr/sbin/named-checkconf /etc/bind/zones.conf20240920-6633-1m7ebkm' returned 1: Error: Could not execute posix command: No such file or directory - /usr/sbin/named-checkconf Error: /Stage[main]/Dns::Config/Concat[/etc/bind/zones.conf]/File[/etc/bind/zones.conf]/ensure: change from 'absent' to 'file' failed: Execution of '/usr/sbin/named-checkconf /etc/bind/zones.conf20240920-6633-1m7ebkm' returned 1: Error: Could not execute posix command: No such file or directory - /usr/sbin/named-checkconf Info: Computing checksum on file /etc/bind/named.conf Info: /Stage[main]/Dns::Config/Concat[/etc/bind/named.conf]/File[/etc/bind/named.conf]: Filebucketed /etc/bind/named.conf to puppet with sum b2e8347dd7442eb1f1452e40fa47331694c8660d3f0a4ad41500c0f020d38930 Error: Execution of '/usr/sbin/named-checkconf /etc/bind/named.conf20240920-6633-mudxb6' returned 1: Error: Could not execute posix command: No such file or directory - /usr/sbin/named-checkconf Error: /Stage[main]/Dns::Config/Concat[/etc/bind/named.conf]/File[/etc/bind/named.conf]/content: change from '{sha256}b2e8347dd7442eb1f1452e40fa47331694c8660d3f0a4ad41500c0f020d38930' to '{sha256}f79c20c31aaed9ee8c81d0b583cb664e665d9c62d3b466f75de064d769130bc8' failed: Execution of '/usr/sbin/named-checkconf /etc/bind/named.conf20240920-6633-mudxb6' returned 1: Error: Could not execute posix command: No such file or directory - /usr/sbin/named-checkconf �[mNotice: /Stage[main]/Dns::Service/Service[bind9]: Dependency File[/etc/bind/zones.conf] has failures: true �[mNotice: /Stage[main]/Dns::Service/Service[bind9]: Dependency File[/etc/bind/named.conf] has failures: true Warning: /Stage[main]/Dns::Service/Service[bind9]: Skipping because of failed dependencies �[mNotice: Applied catalog in 1.09 seconds Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/dns_spec.rb:8
Puppet / Puppet 8 - Ubuntu 20.04: spec/acceptance/dns_spec.rb#L20
Scenario: install foreman-proxy forward dns Command "dig +short SOA example.com @localhost" stdout is expected to match /ubuntu2004-64-puppet8.example.com\. root\.example\.com\. \d+ 86400 3600 604800 3600\n/ Failure/Error: its(:stdout) { is_expected.to match(/#{host_inventory['fqdn']}\. root\.example\.com\. \d+ 86400 3600 604800 3600\n/) } expected ";; communications error to 127.0.0.1#53: connection refused\n;; communications error to 127.0.0.1#53...ed\n;; communications error to 127.0.0.1#53: connection refused\n;; no servers could be reached\n\n" to match /ubuntu2004-64-puppet8.example.com\. root\.example\.com\. \d+ 86400 3600 604800 3600\n/ Diff: @@ -1,6 +1,11 @@ -/ubuntu2004-64-puppet8.example.com\. root\.example\.com\. \d+ 86400 3600 604800 3600\n/ +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; no servers could be reached
Puppet / Puppet 8 - Ubuntu 20.04: spec/acceptance/dns_spec.rb#L29
Scenario: install foreman-proxy forward dns Command "dig +short A integration.example.com @localhost" stdout is expected to eq "192.0.2.100\n" Failure/Error: its(:stdout) { is_expected.to eq("192.0.2.100\n") } expected: "192.0.2.100\n" got: ";; communications error to 127.0.0.1#53: connection refused\n;; communications error to 127.0.0.1#53...ed\n;; communications error to 127.0.0.1#53: connection refused\n;; no servers could be reached\n\n" (compared using ==) Diff: @@ -1,6 +1,11 @@ -192.0.2.100 +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; no servers could be reached
Puppet / Puppet 8 - Ubuntu 20.04: spec/acceptance/dns_spec.rb#L38
Scenario: install foreman-proxy forward dns Command "dig +short A integration.example.com @localhost" stdout is expected to eq "" Failure/Error: its(:stdout) { is_expected.to eq('') } expected: "" got: ";; communications error to 127.0.0.1#53: connection refused\n;; communications error to 127.0.0.1#53...ed\n;; communications error to 127.0.0.1#53: connection refused\n;; no servers could be reached\n\n" (compared using ==) Diff: @@ -1,6 +1,12 @@ +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; no servers could be reached
Puppet / Puppet 8 - Ubuntu 20.04: spec/acceptance/dns_spec.rb#L44
Scenario: install foreman-proxy reverse dns Command "dig +short SOA 2.0.192.in-addr.arpa @localhost" stdout is expected to match /ubuntu2004-64-puppet8.example.com\. root\.2\.0\.192\.in-addr\.arpa\. \d+ 86400 3600 604800 3600\n/ Failure/Error: its(:stdout) { is_expected.to match(/#{host_inventory['fqdn']}\. root\.2\.0\.192\.in-addr\.arpa\. \d+ 86400 3600 604800 3600\n/) } expected ";; communications error to 127.0.0.1#53: connection refused\n;; communications error to 127.0.0.1#53...ed\n;; communications error to 127.0.0.1#53: connection refused\n;; no servers could be reached\n\n" to match /ubuntu2004-64-puppet8.example.com\. root\.2\.0\.192\.in-addr\.arpa\. \d+ 86400 3600 604800 3600\n/ Diff: @@ -1,6 +1,11 @@ -/ubuntu2004-64-puppet8.example.com\. root\.2\.0\.192\.in-addr\.arpa\. \d+ 86400 3600 604800 3600\n/ +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; no servers could be reached
Puppet / Puppet 8 - Ubuntu 20.04: spec/acceptance/dns_spec.rb#L53
Scenario: install foreman-proxy reverse dns Command "dig +short -x 192.0.2.100 @localhost" stdout is expected to eq "integration.example.com.\n" Failure/Error: its(:stdout) { is_expected.to eq("integration.example.com.\n") } expected: "integration.example.com.\n" got: ";; communications error to 127.0.0.1#53: connection refused\n;; communications error to 127.0.0.1#53...ed\n;; communications error to 127.0.0.1#53: connection refused\n;; no servers could be reached\n\n" (compared using ==) Diff: @@ -1,6 +1,11 @@ -integration.example.com. +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; no servers could be reached
Puppet / Puppet 8 - Ubuntu 20.04: spec/acceptance/dns_spec.rb#L62
Scenario: install foreman-proxy reverse dns Command "dig +short -x 192.0.2.100 @localhost" stdout is expected to eq "" Failure/Error: its(:stdout) { is_expected.to eq('') } expected: "" got: ";; communications error to 127.0.0.1#53: connection refused\n;; communications error to 127.0.0.1#53...ed\n;; communications error to 127.0.0.1#53: connection refused\n;; no servers could be reached\n\n" (compared using ==) Diff: @@ -1,6 +1,12 @@ +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; communications error to 127.0.0.1#53: connection refused +;; no servers could be reached
Puppet / Puppet 8 - Ubuntu 20.04
Process completed with exit code 1.
Puppet / Test suite
Process completed with exit code 1.
Puppet / Static validations: metadata.json#L1
Skipping EOL operating system CentOS 8
Puppet / Static validations: metadata.json#L1
Skipping EOL operating system FreeBSD 11
Puppet / Static validations: metadata.json#L1
Skipping EOL operating system FreeBSD 12