Skip to content

Add candlepin.consumer.facts.match_regex parameter to candlepin class #1123

Add candlepin.consumer.facts.match_regex parameter to candlepin class

Add candlepin.consumer.facts.match_regex parameter to candlepin class #1123

Triggered via pull request May 22, 2024 10:40
Status Failure
Total duration 3m 23s
Artifacts

ci.yml

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

Annotations

40 errors
Puppet / 8 (Ruby 3.2): spec/classes/candlepin_spec.rb#L13
candlepin on centos-8-x86_64 default parameters is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile.with_all_deps } error during compilation: Evaluation Error: Unknown variable: 'facts_match_regex'. (file: /home/runner/work/puppet-candlepin/puppet-candlepin/spec/fixtures/modules/candlepin/templates/candlepin.conf.epp, line: 55, column: 7) on node fv-az1016-741.pv3vitign2bulj5h5vrau5ekvd.cx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/classes/candlepin_spec.rb#L16
candlepin on centos-8-x86_64 default parameters is expected to contain Class[candlepin::install] Failure/Error: it { is_expected.to contain_class('candlepin::install') } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'facts_match_regex'. (file: /home/runner/work/puppet-candlepin/puppet-candlepin/spec/fixtures/modules/candlepin/templates/candlepin.conf.epp, line: 55, column: 7) on node fv-az1016-741.pv3vitign2bulj5h5vrau5ekvd.cx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/classes/candlepin_spec.rb#L17
candlepin on centos-8-x86_64 default parameters is expected to contain Package[candlepin] with ensure => "present" Failure/Error: it { is_expected.to contain_package('candlepin').with_ensure('present') } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'facts_match_regex'. (file: /home/runner/work/puppet-candlepin/puppet-candlepin/spec/fixtures/modules/candlepin/templates/candlepin.conf.epp, line: 55, column: 7) on node fv-az1016-741.pv3vitign2bulj5h5vrau5ekvd.cx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/classes/candlepin_spec.rb#L20
candlepin on centos-8-x86_64 default parameters is expected to contain Package[pki-core] that comes before Package[candlepin] Failure/Error: it { is_expected.to contain_package('pki-core').that_comes_before('Package[candlepin]') } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'facts_match_regex'. (file: /home/runner/work/puppet-candlepin/puppet-candlepin/spec/fixtures/modules/candlepin/templates/candlepin.conf.epp, line: 55, column: 7) on node fv-az1016-741.pv3vitign2bulj5h5vrau5ekvd.cx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/classes/candlepin_spec.rb#L24
candlepin on centos-8-x86_64 default parameters is expected to contain Class[candlepin::config] Failure/Error: it { is_expected.to contain_class('candlepin::config') } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'facts_match_regex'. (file: /home/runner/work/puppet-candlepin/puppet-candlepin/spec/fixtures/modules/candlepin/templates/candlepin.conf.epp, line: 55, column: 7) on node fv-az1016-741.pv3vitign2bulj5h5vrau5ekvd.cx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/classes/candlepin_spec.rb#L25
candlepin on centos-8-x86_64 default parameters is expected to contain User[tomcat] with ensure => "present" and groups => [] Failure/Error: it { is_expected.to contain_user('tomcat').with_ensure('present').with_groups([]) } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'facts_match_regex'. (file: /home/runner/work/puppet-candlepin/puppet-candlepin/spec/fixtures/modules/candlepin/templates/candlepin.conf.epp, line: 55, column: 7) on node fv-az1016-741.pv3vitign2bulj5h5vrau5ekvd.cx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/classes/candlepin_spec.rb#L26
candlepin on centos-8-x86_64 default parameters is expected to contain Group[tomcat] with ensure => "present" Failure/Error: it { is_expected.to contain_group('tomcat').with_ensure('present') } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'facts_match_regex'. (file: /home/runner/work/puppet-candlepin/puppet-candlepin/spec/fixtures/modules/candlepin/templates/candlepin.conf.epp, line: 55, column: 7) on node fv-az1016-741.pv3vitign2bulj5h5vrau5ekvd.cx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/classes/candlepin_spec.rb#L27
candlepin on centos-8-x86_64 default parameters Failure/Error: verify_concat_fragment_exact_contents(catalogue, 'General Config', [ 'candlepin.environment_content_filtering=true', 'candlepin.auth.basic.enable=true', 'candlepin.auth.trusted.enable=false', 'candlepin.auth.oauth.enable=true', 'candlepin.auth.oauth.consumer.candlepin.secret=candlepin', 'candlepin.ca_key=/etc/candlepin/certs/candlepin-ca.key', 'candlepin.ca_cert=/etc/candlepin/certs/candlepin-ca.crt', 'candlepin.async.jobs.ExpiredPoolsCleanupJob.schedule=0 0 0 * * ?', 'candlepin.audit.hornetq.config_path=/etc/candlepin/broker.xml', Puppet::PreformattedError: Evaluation Error: Unknown variable: 'facts_match_regex'. (file: /home/runner/work/puppet-candlepin/puppet-candlepin/spec/fixtures/modules/candlepin/templates/candlepin.conf.epp, line: 55, column: 7) on node fv-az1016-741.pv3vitign2bulj5h5vrau5ekvd.cx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/classes/candlepin_spec.rb#L41
candlepin on centos-8-x86_64 default parameters is expected to contain File[/etc/tomcat/tomcat.conf] Failure/Error: it { is_expected.to contain_file('/etc/tomcat/tomcat.conf') } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'facts_match_regex'. (file: /home/runner/work/puppet-candlepin/puppet-candlepin/spec/fixtures/modules/candlepin/templates/candlepin.conf.epp, line: 55, column: 7) on node fv-az1016-741.pv3vitign2bulj5h5vrau5ekvd.cx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/classes/candlepin_spec.rb#L43
candlepin on centos-8-x86_64 default parameters Failure/Error: verify_exact_contents(catalogue, '/etc/tomcat/tomcat.conf', [ 'TOMCAT_CFG_LOADED="1"', 'TOMCATS_BASE="/var/lib/tomcats/"', 'JAVA_HOME="/usr/lib/jvm/jre"', 'CATALINA_HOME="/usr/share/tomcat"', 'CATALINA_TMPDIR="/var/cache/tomcat/temp"', 'JAVA_OPTS="-Xms1024m -Xmx4096m -Dcom.redhat.fips=false"', 'SECURITY_MANAGER="0"', ]) Puppet::PreformattedError: Evaluation Error: Unknown variable: 'facts_match_regex'. (file: /home/runner/work/puppet-candlepin/puppet-candlepin/spec/fixtures/modules/candlepin/templates/candlepin.conf.epp, line: 55, column: 7) on node fv-az1016-741.pv3vitign2bulj5h5vrau5ekvd.cx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/classes/candlepin_spec.rb#L13
candlepin on redhat-9-x86_64 default parameters is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile.with_all_deps } error during compilation: Evaluation Error: Unknown variable: 'facts_match_regex'. (file: /home/runner/work/puppet-candlepin/puppet-candlepin/spec/fixtures/modules/candlepin/templates/candlepin.conf.epp, line: 55, column: 7) on node fv-az840-671.wndg40qfsgie5kikvjficeueua.ex.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/classes/candlepin_spec.rb#L16
candlepin on redhat-9-x86_64 default parameters is expected to contain Class[candlepin::install] Failure/Error: it { is_expected.to contain_class('candlepin::install') } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'facts_match_regex'. (file: /home/runner/work/puppet-candlepin/puppet-candlepin/spec/fixtures/modules/candlepin/templates/candlepin.conf.epp, line: 55, column: 7) on node fv-az840-671.wndg40qfsgie5kikvjficeueua.ex.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/classes/candlepin_spec.rb#L17
candlepin on redhat-9-x86_64 default parameters is expected to contain Package[candlepin] with ensure => "present" Failure/Error: it { is_expected.to contain_package('candlepin').with_ensure('present') } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'facts_match_regex'. (file: /home/runner/work/puppet-candlepin/puppet-candlepin/spec/fixtures/modules/candlepin/templates/candlepin.conf.epp, line: 55, column: 7) on node fv-az840-671.wndg40qfsgie5kikvjficeueua.ex.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/classes/candlepin_spec.rb#L24
candlepin on redhat-9-x86_64 default parameters is expected to contain Class[candlepin::config] Failure/Error: it { is_expected.to contain_class('candlepin::config') } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'facts_match_regex'. (file: /home/runner/work/puppet-candlepin/puppet-candlepin/spec/fixtures/modules/candlepin/templates/candlepin.conf.epp, line: 55, column: 7) on node fv-az840-671.wndg40qfsgie5kikvjficeueua.ex.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/classes/candlepin_spec.rb#L25
candlepin on redhat-9-x86_64 default parameters is expected to contain User[tomcat] with ensure => "present" and groups => [] Failure/Error: it { is_expected.to contain_user('tomcat').with_ensure('present').with_groups([]) } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'facts_match_regex'. (file: /home/runner/work/puppet-candlepin/puppet-candlepin/spec/fixtures/modules/candlepin/templates/candlepin.conf.epp, line: 55, column: 7) on node fv-az840-671.wndg40qfsgie5kikvjficeueua.ex.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/classes/candlepin_spec.rb#L26
candlepin on redhat-9-x86_64 default parameters is expected to contain Group[tomcat] with ensure => "present" Failure/Error: it { is_expected.to contain_group('tomcat').with_ensure('present') } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'facts_match_regex'. (file: /home/runner/work/puppet-candlepin/puppet-candlepin/spec/fixtures/modules/candlepin/templates/candlepin.conf.epp, line: 55, column: 7) on node fv-az840-671.wndg40qfsgie5kikvjficeueua.ex.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/classes/candlepin_spec.rb#L27
candlepin on redhat-9-x86_64 default parameters Failure/Error: verify_concat_fragment_exact_contents(catalogue, 'General Config', [ 'candlepin.environment_content_filtering=true', 'candlepin.auth.basic.enable=true', 'candlepin.auth.trusted.enable=false', 'candlepin.auth.oauth.enable=true', 'candlepin.auth.oauth.consumer.candlepin.secret=candlepin', 'candlepin.ca_key=/etc/candlepin/certs/candlepin-ca.key', 'candlepin.ca_cert=/etc/candlepin/certs/candlepin-ca.crt', 'candlepin.async.jobs.ExpiredPoolsCleanupJob.schedule=0 0 0 * * ?', 'candlepin.audit.hornetq.config_path=/etc/candlepin/broker.xml', Puppet::PreformattedError: Evaluation Error: Unknown variable: 'facts_match_regex'. (file: /home/runner/work/puppet-candlepin/puppet-candlepin/spec/fixtures/modules/candlepin/templates/candlepin.conf.epp, line: 55, column: 7) on node fv-az840-671.wndg40qfsgie5kikvjficeueua.ex.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/classes/candlepin_spec.rb#L41
candlepin on redhat-9-x86_64 default parameters is expected to contain File[/etc/tomcat/tomcat.conf] Failure/Error: it { is_expected.to contain_file('/etc/tomcat/tomcat.conf') } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'facts_match_regex'. (file: /home/runner/work/puppet-candlepin/puppet-candlepin/spec/fixtures/modules/candlepin/templates/candlepin.conf.epp, line: 55, column: 7) on node fv-az840-671.wndg40qfsgie5kikvjficeueua.ex.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/classes/candlepin_spec.rb#L43
candlepin on redhat-9-x86_64 default parameters Failure/Error: verify_exact_contents(catalogue, '/etc/tomcat/tomcat.conf', [ 'TOMCAT_CFG_LOADED="1"', 'TOMCATS_BASE="/var/lib/tomcats/"', 'JAVA_HOME="/usr/lib/jvm/jre"', 'CATALINA_HOME="/usr/share/tomcat"', 'CATALINA_TMPDIR="/var/cache/tomcat/temp"', 'JAVA_OPTS="-Xms1024m -Xmx4096m -Dcom.redhat.fips=false"', 'SECURITY_MANAGER="0"', ]) Puppet::PreformattedError: Evaluation Error: Unknown variable: 'facts_match_regex'. (file: /home/runner/work/puppet-candlepin/puppet-candlepin/spec/fixtures/modules/candlepin/templates/candlepin.conf.epp, line: 55, column: 7) on node fv-az840-671.wndg40qfsgie5kikvjficeueua.ex.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/classes/candlepin_spec.rb#L55
candlepin on redhat-9-x86_64 default parameters is expected to contain File[/etc/tomcat/login.config] Failure/Error: it { is_expected.to contain_file('/etc/tomcat/login.config') } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'facts_match_regex'. (file: /home/runner/work/puppet-candlepin/puppet-candlepin/spec/fixtures/modules/candlepin/templates/candlepin.conf.epp, line: 55, column: 7) on node fv-az840-671.wndg40qfsgie5kikvjficeueua.ex.internal.cloudapp.net
Puppet / Puppet 8 - CentOS 9: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L4
candlepin works 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_104140971.pp.jQEl4q Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Warning: Deferred function pick has no return_type, unable to guarantee value type during compilation. (file & line not available) Error: Evaluation Error: Unknown variable: 'facts_match_regex'. (file: /etc/puppetlabs/code/environments/production/modules/candlepin/templates/candlepin.conf.epp, line: 55, column: 7) on node centos9-64-puppet8.example.com Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/basic_candlepin_spec.rb:6
Puppet / Puppet 8 - CentOS 9: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L8
candlepin works 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_104142832.pp.pwP5fu Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Warning: Deferred function pick has no return_type, unable to guarantee value type during compilation. (file & line not available) Error: Evaluation Error: Unknown variable: 'facts_match_regex'. (file: /etc/puppetlabs/code/environments/production/modules/candlepin/templates/candlepin.conf.epp, line: 55, column: 7) on node centos9-64-puppet8.example.com Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/basic_candlepin_spec.rb:6
Puppet / Puppet 8 - CentOS 9: spec/acceptance/basic_candlepin_spec.rb#L9
candlepin works Port "8443" is expected to be listening Failure/Error: it { is_expected.to be_listening } expected Port "8443" to be listening
Puppet / Puppet 8 - CentOS 9: spec/acceptance/basic_candlepin_spec.rb#L13
candlepin works Command "curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8443/candlepin/status" stdout is expected to eq "200" Failure/Error: its(:stdout) { should eq "200" } expected: "200" got: "000" (compared using ==)
Puppet / Puppet 8 - CentOS 9: spec/acceptance/basic_candlepin_spec.rb#L22
candlepin works Command "nmap --script +ssl-enum-ciphers localhost -p 8443" stdout is expected to match /TLSv1\.2/ Failure/Error: its(:stdout) { should match(/TLSv1\.2/) } expected "Starting Nmap 7.92 ( https://nmap.org ) at 2024-05-22 10:41 UTC\nNmap scan report for localhost (127...SERVICE\n8443/tcp closed https-alt\n\nNmap done: 1 IP address (1 host up) scanned in 0.30 seconds\n" to match /TLSv1\.2/ Diff: @@ -1,9 +1,17 @@ -/TLSv1\.2/ +Starting Nmap 7.92 ( https://nmap.org ) at 2024-05-22 10:41 UTC +Nmap scan report for localhost (127.0.0.1) +Host is up (0.000036s latency). +Other addresses for localhost (not scanned): 127.0.0.1 ::1 + +PORT STATE SERVICE +8443/tcp closed https-alt + +Nmap done: 1 IP address (1 host up) scanned in 0.30 seconds
Puppet / Puppet 8 - CentOS 9: spec/acceptance/basic_candlepin_spec.rb#L29
candlepin works Command "nmap --script +ssl-enum-ciphers localhost -p 8443" stdout is expected to match /least strength: (A|strong)/ Failure/Error: its(:stdout) { should match(/least strength: (A|strong)/) } expected "Starting Nmap 7.92 ( https://nmap.org ) at 2024-05-22 10:41 UTC\nNmap scan report for localhost (127...SERVICE\n8443/tcp closed https-alt\n\nNmap done: 1 IP address (1 host up) scanned in 0.30 seconds\n" to match /least strength: (A|strong)/ Diff: @@ -1,9 +1,17 @@ -/least strength: (A|strong)/ +Starting Nmap 7.92 ( https://nmap.org ) at 2024-05-22 10:41 UTC +Nmap scan report for localhost (127.0.0.1) +Host is up (0.000036s latency). +Other addresses for localhost (not scanned): 127.0.0.1 ::1 + +PORT STATE SERVICE +8443/tcp closed https-alt + +Nmap done: 1 IP address (1 host up) scanned in 0.30 seconds
Puppet / Puppet 8 - CentOS 9: spec/acceptance/basic_candlepin_spec.rb#L33
candlepin works File "/etc/tomcat/cert-users.properties" is expected to be file Failure/Error: it { should be_file } expected `File "/etc/tomcat/cert-users.properties".file?` to be truthy, got false
Puppet / Puppet 8 - CentOS 9: spec/acceptance/basic_candlepin_spec.rb#L34
candlepin works File "/etc/tomcat/cert-users.properties" is expected to be mode 640 Failure/Error: it { should be_mode 640 } expected `File "/etc/tomcat/cert-users.properties".mode?(640)` to be truthy, got false
Puppet / Puppet 8 - CentOS 9: spec/acceptance/basic_candlepin_spec.rb#L35
candlepin works File "/etc/tomcat/cert-users.properties" is expected to be owned by "tomcat" Failure/Error: it { should be_owned_by 'tomcat' } expected `File "/etc/tomcat/cert-users.properties".owned_by?("tomcat")` to be truthy, got false
Puppet / Puppet 8 - CentOS 9: spec/acceptance/basic_candlepin_spec.rb#L36
candlepin works File "/etc/tomcat/cert-users.properties" is expected to be grouped into "tomcat" Failure/Error: it { should be_grouped_into 'tomcat' } expected `File "/etc/tomcat/cert-users.properties".grouped_into?("tomcat")` to be truthy, got false
Puppet / Puppet 8 - CentOS 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L4
candlepin works 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_104151719.pp.6pzuGv Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Warning: Deferred function pick has no return_type, unable to guarantee value type during compilation. (file & line not available) Error: Evaluation Error: Unknown variable: 'facts_match_regex'. (file: /etc/puppetlabs/code/environments/production/modules/candlepin/templates/candlepin.conf.epp, line: 55, column: 7) on node centos8-64-puppet8.example.com Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/basic_candlepin_spec.rb:6
Puppet / Puppet 8 - CentOS 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L8
candlepin works 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_104153634.pp.P2CC4z Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Warning: Deferred function pick has no return_type, unable to guarantee value type during compilation. (file & line not available) Error: Evaluation Error: Unknown variable: 'facts_match_regex'. (file: /etc/puppetlabs/code/environments/production/modules/candlepin/templates/candlepin.conf.epp, line: 55, column: 7) on node centos8-64-puppet8.example.com Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb:14 Shared Example Group: "the example" called from ./spec/acceptance/basic_candlepin_spec.rb:6
Puppet / Puppet 8 - CentOS 8: spec/acceptance/basic_candlepin_spec.rb#L9
candlepin works Port "8443" is expected to be listening Failure/Error: it { is_expected.to be_listening } expected Port "8443" to be listening
Puppet / Puppet 8 - CentOS 8: spec/acceptance/basic_candlepin_spec.rb#L13
candlepin works Command "curl -k -s -o /dev/null -w '%{http_code}' https://localhost:8443/candlepin/status" stdout is expected to eq "200" Failure/Error: its(:stdout) { should eq "200" } expected: "200" got: "000" (compared using ==)
Puppet / Puppet 8 - CentOS 8: spec/acceptance/basic_candlepin_spec.rb#L22
candlepin works Command "nmap --script +ssl-enum-ciphers localhost -p 8443" stdout is expected to match /TLSv1\.2/ Failure/Error: its(:stdout) { should match(/TLSv1\.2/) } expected "Starting Nmap 7.92 ( https://nmap.org ) at 2024-05-22 10:41 UTC\nNmap scan report for localhost (127...SERVICE\n8443/tcp closed https-alt\n\nNmap done: 1 IP address (1 host up) scanned in 0.32 seconds\n" to match /TLSv1\.2/ Diff: @@ -1,9 +1,17 @@ -/TLSv1\.2/ +Starting Nmap 7.92 ( https://nmap.org ) at 2024-05-22 10:41 UTC +Nmap scan report for localhost (127.0.0.1) +Host is up (0.000030s latency). +Other addresses for localhost (not scanned): 127.0.0.1 ::1 + +PORT STATE SERVICE +8443/tcp closed https-alt + +Nmap done: 1 IP address (1 host up) scanned in 0.32 seconds
Puppet / Puppet 8 - CentOS 8: spec/acceptance/basic_candlepin_spec.rb#L29
candlepin works Command "nmap --script +ssl-enum-ciphers localhost -p 8443" stdout is expected to match /least strength: (A|strong)/ Failure/Error: its(:stdout) { should match(/least strength: (A|strong)/) } expected "Starting Nmap 7.92 ( https://nmap.org ) at 2024-05-22 10:41 UTC\nNmap scan report for localhost (127...SERVICE\n8443/tcp closed https-alt\n\nNmap done: 1 IP address (1 host up) scanned in 0.32 seconds\n" to match /least strength: (A|strong)/ Diff: @@ -1,9 +1,17 @@ -/least strength: (A|strong)/ +Starting Nmap 7.92 ( https://nmap.org ) at 2024-05-22 10:41 UTC +Nmap scan report for localhost (127.0.0.1) +Host is up (0.000030s latency). +Other addresses for localhost (not scanned): 127.0.0.1 ::1 + +PORT STATE SERVICE +8443/tcp closed https-alt + +Nmap done: 1 IP address (1 host up) scanned in 0.32 seconds
Puppet / Puppet 8 - CentOS 8: spec/acceptance/basic_candlepin_spec.rb#L33
candlepin works File "/etc/tomcat/cert-users.properties" is expected to be file Failure/Error: it { should be_file } expected `File "/etc/tomcat/cert-users.properties".file?` to be truthy, got false
Puppet / Puppet 8 - CentOS 8: spec/acceptance/basic_candlepin_spec.rb#L34
candlepin works File "/etc/tomcat/cert-users.properties" is expected to be mode 640 Failure/Error: it { should be_mode 640 } expected `File "/etc/tomcat/cert-users.properties".mode?(640)` to be truthy, got false
Puppet / Puppet 8 - CentOS 8: spec/acceptance/basic_candlepin_spec.rb#L35
candlepin works File "/etc/tomcat/cert-users.properties" is expected to be owned by "tomcat" Failure/Error: it { should be_owned_by 'tomcat' } expected `File "/etc/tomcat/cert-users.properties".owned_by?("tomcat")` to be truthy, got false
Puppet / Puppet 8 - CentOS 8: spec/acceptance/basic_candlepin_spec.rb#L36
candlepin works File "/etc/tomcat/cert-users.properties" is expected to be grouped into "tomcat" Failure/Error: it { should be_grouped_into 'tomcat' } expected `File "/etc/tomcat/cert-users.properties".grouped_into?("tomcat")` to be truthy, got false