Skip to content

run foreman in a container #1615

run foreman in a container

run foreman in a container #1615

Triggered via pull request May 21, 2024 08:11
@evgenievgeni
synchronize #1164
frankontainer
Status Failure
Total duration 26m 1s
Artifacts

ci.yml

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

Annotations

74 errors
Puppet / 8 (Ruby 3.2): spec/classes/foreman_service_spec.rb#L22
foreman::service without apache 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: 'foreman::deployment_mode'. (file: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/manifests/service.pp, line: 38, column: 6) on node fv-az1442-421.gtdgxysclnuenlnkab13ghtgjb.cx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/classes/foreman_service_spec.rb#L23
foreman::service without apache is expected to contain Service[foreman.socket] with ensure => "running" and enable => true Failure/Error: it { is_expected.to contain_service('foreman.socket').with_ensure('running').with_enable(true) } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'foreman::deployment_mode'. (file: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/manifests/service.pp, line: 38, column: 6) on node fv-az1442-421.gtdgxysclnuenlnkab13ghtgjb.cx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/classes/foreman_service_spec.rb#L24
foreman::service without apache is expected to contain Service[foreman] that comes before Service[foreman.socket] Failure/Error: it { is_expected.to contain_service('foreman').with_ensure('running').with_enable(true).that_comes_before('Service[foreman.socket]') } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'foreman::deployment_mode'. (file: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/manifests/service.pp, line: 38, column: 6) on node fv-az1442-421.gtdgxysclnuenlnkab13ghtgjb.cx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/classes/foreman_service_spec.rb#L32
foreman::service with apache 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: 'foreman::deployment_mode'. (file: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/manifests/service.pp, line: 38, column: 6) on node fv-az1442-421.gtdgxysclnuenlnkab13ghtgjb.cx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/classes/foreman_service_spec.rb#L33
foreman::service with apache is expected to contain Class[foreman::service] that requires Class[apache::service] Failure/Error: it { is_expected.to contain_class('foreman::service').that_requires('Class[apache::service]') } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'foreman::deployment_mode'. (file: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/manifests/service.pp, line: 38, column: 6) on node fv-az1442-421.gtdgxysclnuenlnkab13ghtgjb.cx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/classes/foreman_service_spec.rb#L34
foreman::service with apache is expected to contain Service[foreman.socket] with ensure => "running" and enable => true Failure/Error: it { is_expected.to contain_service('foreman.socket').with_ensure('running').with_enable(true) } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'foreman::deployment_mode'. (file: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/manifests/service.pp, line: 38, column: 6) on node fv-az1442-421.gtdgxysclnuenlnkab13ghtgjb.cx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/classes/foreman_service_spec.rb#L35
foreman::service with apache is expected to contain Service[foreman] that comes before Service[foreman.socket] Failure/Error: it { is_expected.to contain_service('foreman').with_ensure('running').with_enable(true).that_comes_before('Service[foreman.socket]') } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'foreman::deployment_mode'. (file: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/manifests/service.pp, line: 38, column: 6) on node fv-az1442-421.gtdgxysclnuenlnkab13ghtgjb.cx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2): spec/classes/foreman_service_spec.rb#L40
foreman::service with apache without ssl 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: 'foreman::deployment_mode'. (file: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/manifests/service.pp, line: 38, column: 6) on node fv-az1442-421.gtdgxysclnuenlnkab13ghtgjb.cx.internal.cloudapp.net
Puppet / 8 (Ruby 3.2)
Process completed with exit code 1.
Puppet / 7 (Ruby 2.7): spec/classes/foreman_service_spec.rb#L22
foreman::service without apache 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: 'foreman::deployment_mode'. (file: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/manifests/service.pp, line: 38, column: 6) on node fv-az529-154.k5vkklxpw5gudmwuli4an2t0jd.cx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/classes/foreman_service_spec.rb#L23
foreman::service without apache is expected to contain Service[foreman.socket] with ensure => "running" and enable => true Failure/Error: it { is_expected.to contain_service('foreman.socket').with_ensure('running').with_enable(true) } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'foreman::deployment_mode'. (file: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/manifests/service.pp, line: 38, column: 6) on node fv-az529-154.k5vkklxpw5gudmwuli4an2t0jd.cx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/classes/foreman_service_spec.rb#L24
foreman::service without apache is expected to contain Service[foreman] that comes before Service[foreman.socket] Failure/Error: it { is_expected.to contain_service('foreman').with_ensure('running').with_enable(true).that_comes_before('Service[foreman.socket]') } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'foreman::deployment_mode'. (file: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/manifests/service.pp, line: 38, column: 6) on node fv-az529-154.k5vkklxpw5gudmwuli4an2t0jd.cx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/classes/foreman_service_spec.rb#L32
foreman::service with apache 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: 'foreman::deployment_mode'. (file: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/manifests/service.pp, line: 38, column: 6) on node fv-az529-154.k5vkklxpw5gudmwuli4an2t0jd.cx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/classes/foreman_service_spec.rb#L33
foreman::service with apache is expected to contain Class[foreman::service] that requires Class[apache::service] Failure/Error: it { is_expected.to contain_class('foreman::service').that_requires('Class[apache::service]') } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'foreman::deployment_mode'. (file: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/manifests/service.pp, line: 38, column: 6) on node fv-az529-154.k5vkklxpw5gudmwuli4an2t0jd.cx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/classes/foreman_service_spec.rb#L34
foreman::service with apache is expected to contain Service[foreman.socket] with ensure => "running" and enable => true Failure/Error: it { is_expected.to contain_service('foreman.socket').with_ensure('running').with_enable(true) } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'foreman::deployment_mode'. (file: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/manifests/service.pp, line: 38, column: 6) on node fv-az529-154.k5vkklxpw5gudmwuli4an2t0jd.cx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/classes/foreman_service_spec.rb#L35
foreman::service with apache is expected to contain Service[foreman] that comes before Service[foreman.socket] Failure/Error: it { is_expected.to contain_service('foreman').with_ensure('running').with_enable(true).that_comes_before('Service[foreman.socket]') } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'foreman::deployment_mode'. (file: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/manifests/service.pp, line: 38, column: 6) on node fv-az529-154.k5vkklxpw5gudmwuli4an2t0jd.cx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7): spec/classes/foreman_service_spec.rb#L40
foreman::service with apache without ssl 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: 'foreman::deployment_mode'. (file: /home/runner/work/puppet-foreman/puppet-foreman/spec/fixtures/modules/foreman/manifests/service.pp, line: 38, column: 6) on node fv-az529-154.k5vkklxpw5gudmwuli4an2t0jd.cx.internal.cloudapp.net
Puppet / 7 (Ruby 2.7)
Process completed with exit code 1.
Puppet / Puppet 8 - CentOS 9: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L4
Foreman in a Container behaves like an idempotent resource 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 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_081852962.pp.OcCi87 Last 10 lines of output were: May 21 08:15:22 centos9-64-puppet8.example.com foreman[2814]: [2814] * Starting control server on unix:///usr/share/foreman/tmp/sockets/pumactl.sock Info: Podman::Quadlet[foreman.container]: Unscheduling all events on Podman::Quadlet[foreman.container] Info: Class[Foreman::Service]: Unscheduling all events on Class[Foreman::Service] �[mNotice: /Stage[main]/Foreman/Anchor[foreman::service]: Dependency Service[foreman.service] has failures: true Warning: /Stage[main]/Foreman/Anchor[foreman::service]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_host[foreman-centos9-64-puppet8.example.com]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_instance_host[foreman-centos9-64-puppet8.example.com]: Skipping because of failed dependencies Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 48.14 seconds Shared Example Group: "an idempotent resource" called from ./spec/acceptance/foreman_basic_spec.rb:61
Puppet / Puppet 8 - CentOS 9: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L8
Foreman in a Container behaves like an idempotent resource 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 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_081944539.pp.Dg32dX Last 10 lines of output were: May 21 08:15:22 centos9-64-puppet8.example.com foreman[2814]: [2814] Use Ctrl-C to stop May 21 08:15:22 centos9-64-puppet8.example.com foreman[2814]: [2814] Sending status to systemd every 1.0 sec May 21 08:15:22 centos9-64-puppet8.example.com foreman[2814]: [2814] * Starting control server on unix:///usr/share/foreman/tmp/sockets/pumactl.sock Info: Class[Foreman::Service]: Unscheduling all events on Class[Foreman::Service] �[mNotice: /Stage[main]/Foreman/Anchor[foreman::service]: Dependency Service[foreman.service] has failures: true Warning: /Stage[main]/Foreman/Anchor[foreman::service]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_host[foreman-centos9-64-puppet8.example.com]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_instance_host[foreman-centos9-64-puppet8.example.com]: Skipping because of failed dependencies �[mNotice: Applied catalog in 4.65 seconds Shared Example Group: "an idempotent resource" called from ./spec/acceptance/foreman_basic_spec.rb:61
Puppet / Puppet 8 - CentOS 9: spec/support/acceptance/examples.rb#L10
Foreman in a Container behaves like the foreman application Service "foreman" is expected to be running Failure/Error: it { is_expected.to be_running } expected Service "foreman" to be running Shared Example Group: "the foreman application" called from ./spec/acceptance/foreman_basic_spec.rb:73
Puppet / Puppet 8 - CentOS 9: spec/support/acceptance/examples.rb#L27
Foreman in a Container behaves like the foreman application Command "curl -s --cacert /etc/foreman-certs/certificate.pem https://centos9-64-puppet8.example.com -w '%{redirect_url}' -o /dev/null" stdout is expected to eq "https://centos9-64-puppet8.example.com/users/login" Failure/Error: its(:stdout) { is_expected.to eq("https://#{host_inventory['fqdn']}#{params.fetch(:expected_login_url_path, '/users/login')}") } expected: #<Encoding:UTF-8> "https://centos9-64-puppet8.example.com/users/login" got: #<Encoding:US-ASCII> "" (compared using ==) Shared Example Group: "the foreman application" called from ./spec/acceptance/foreman_basic_spec.rb:73
Puppet / Puppet 8 - CentOS 9
Process completed with exit code 1.
Puppet / Puppet 7 - CentOS 9: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L4
Foreman in a Container behaves like an idempotent resource 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 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_081917393.pp.8iec5E Last 10 lines of output were: May 21 08:15:40 centos9-64-puppet7.example.com foreman[2817]: [2817] * Starting control server on unix:///usr/share/foreman/tmp/sockets/pumactl.sock Info: Podman::Quadlet[foreman.container]: Unscheduling all events on Podman::Quadlet[foreman.container] Info: Class[Foreman::Service]: Unscheduling all events on Class[Foreman::Service] �[mNotice: /Stage[main]/Foreman/Anchor[foreman::service]: Dependency Service[foreman.service] has failures: true Warning: /Stage[main]/Foreman/Anchor[foreman::service]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_host[foreman-centos9-64-puppet7.example.com]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_instance_host[foreman-centos9-64-puppet7.example.com]: Skipping because of failed dependencies Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 64.55 seconds Shared Example Group: "an idempotent resource" called from ./spec/acceptance/foreman_basic_spec.rb:61
Puppet / Puppet 7 - CentOS 9: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L8
Foreman in a Container behaves like an idempotent resource 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 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_082025182.pp.Xf1I40 Last 10 lines of output were: May 21 08:17:15 centos9-64-puppet7.example.com foreman[4875]: [4875] Sending status to systemd every 1.0 sec May 21 08:17:15 centos9-64-puppet7.example.com foreman[4875]: [4875] * Starting control server on unix:///usr/share/foreman/tmp/sockets/pumactl.sock May 21 08:17:15 centos9-64-puppet7.example.com foreman[4875]: [4875] - Worker 1 (PID: 4885) booted in 0.08s, phase: 0 Info: Class[Foreman::Service]: Unscheduling all events on Class[Foreman::Service] �[mNotice: /Stage[main]/Foreman/Anchor[foreman::service]: Dependency Service[foreman.service] has failures: true Warning: /Stage[main]/Foreman/Anchor[foreman::service]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_host[foreman-centos9-64-puppet7.example.com]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_instance_host[foreman-centos9-64-puppet7.example.com]: Skipping because of failed dependencies �[mNotice: Applied catalog in 5.25 seconds Shared Example Group: "an idempotent resource" called from ./spec/acceptance/foreman_basic_spec.rb:61
Puppet / Puppet 7 - CentOS 9: spec/support/acceptance/examples.rb#L10
Foreman in a Container behaves like the foreman application Service "foreman" is expected to be running Failure/Error: it { is_expected.to be_running } expected Service "foreman" to be running Shared Example Group: "the foreman application" called from ./spec/acceptance/foreman_basic_spec.rb:73
Puppet / Puppet 7 - CentOS 9: spec/support/acceptance/examples.rb#L27
Foreman in a Container behaves like the foreman application Command "curl -s --cacert /etc/foreman-certs/certificate.pem https://centos9-64-puppet7.example.com -w '%{redirect_url}' -o /dev/null" stdout is expected to eq "https://centos9-64-puppet7.example.com/users/login" Failure/Error: its(:stdout) { is_expected.to eq("https://#{host_inventory['fqdn']}#{params.fetch(:expected_login_url_path, '/users/login')}") } expected: #<Encoding:UTF-8> "https://centos9-64-puppet7.example.com/users/login" got: #<Encoding:US-ASCII> "" (compared using ==) Shared Example Group: "the foreman application" called from ./spec/acceptance/foreman_basic_spec.rb:73
Puppet / Puppet 7 - CentOS 9
Process completed with exit code 1.
Puppet / Puppet 7 - CentOS 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L4
Foreman in a Container behaves like an idempotent resource 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 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_081854394.pp.JAVSnW Last 10 lines of output were: May 21 08:15:31 centos8-64-puppet7.example.com foreman[3209]: [3209] * Starting control server on unix:///usr/share/foreman/tmp/sockets/pumactl.sock Info: Podman::Quadlet[foreman.container]: Unscheduling all events on Podman::Quadlet[foreman.container] Info: Class[Foreman::Service]: Unscheduling all events on Class[Foreman::Service] �[mNotice: /Stage[main]/Foreman/Anchor[foreman::service]: Dependency Service[foreman.service] has failures: true Warning: /Stage[main]/Foreman/Anchor[foreman::service]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_host[foreman-centos8-64-puppet7.example.com]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_instance_host[foreman-centos8-64-puppet7.example.com]: Skipping because of failed dependencies Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 80.84 seconds Shared Example Group: "an idempotent resource" called from ./spec/acceptance/foreman_basic_spec.rb:61
Puppet / Puppet 7 - CentOS 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L8
Foreman in a Container behaves like an idempotent resource 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 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_082018458.pp.d9n8YB Last 10 lines of output were: May 21 08:17:08 centos8-64-puppet7.example.com foreman[5496]: [5496] Sending status to systemd every 1.0 sec May 21 08:17:08 centos8-64-puppet7.example.com foreman[5496]: [5496] * Starting control server on unix:///usr/share/foreman/tmp/sockets/pumactl.sock May 21 08:17:09 centos8-64-puppet7.example.com foreman[5496]: [5496] - Worker 0 (PID: 5504) booted in 0.07s, phase: 0 Info: Class[Foreman::Service]: Unscheduling all events on Class[Foreman::Service] �[mNotice: /Stage[main]/Foreman/Anchor[foreman::service]: Dependency Service[foreman.service] has failures: true Warning: /Stage[main]/Foreman/Anchor[foreman::service]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_host[foreman-centos8-64-puppet7.example.com]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_instance_host[foreman-centos8-64-puppet7.example.com]: Skipping because of failed dependencies �[mNotice: Applied catalog in 5.85 seconds Shared Example Group: "an idempotent resource" called from ./spec/acceptance/foreman_basic_spec.rb:61
Puppet / Puppet 7 - CentOS 8: spec/support/acceptance/examples.rb#L10
Foreman in a Container behaves like the foreman application Service "foreman" is expected to be running Failure/Error: it { is_expected.to be_running } expected Service "foreman" to be running Shared Example Group: "the foreman application" called from ./spec/acceptance/foreman_basic_spec.rb:73
Puppet / Puppet 7 - CentOS 8: spec/support/acceptance/examples.rb#L27
Foreman in a Container behaves like the foreman application Command "curl -s --cacert /etc/foreman-certs/certificate.pem https://centos8-64-puppet7.example.com -w '%{redirect_url}' -o /dev/null" stdout is expected to eq "https://centos8-64-puppet7.example.com/users/login" Failure/Error: its(:stdout) { is_expected.to eq("https://#{host_inventory['fqdn']}#{params.fetch(:expected_login_url_path, '/users/login')}") } expected: #<Encoding:UTF-8> "https://centos8-64-puppet7.example.com/users/login" got: #<Encoding:US-ASCII> "" (compared using ==) Shared Example Group: "the foreman application" called from ./spec/acceptance/foreman_basic_spec.rb:73
Puppet / Puppet 7 - CentOS 8: spec/acceptance/foreman_journald_spec.rb#L23
Scenario: install foreman with journald Command "journalctl -u foreman" stdout is expected to match /Redirected to https:\/\/centos8-64-puppet7.example.com\/users\/login/ Failure/Error: its(:stdout) { is_expected.to match(%r{Redirected to https://#{host_inventory['fqdn']}/users/login}) } expected "-- Logs begin at Tue 2024-05-21 08:13:21 UTC, end at Tue 2024-05-21 08:27:22 UTC. --\nMay 21 08:15:1... Starting Foreman...\nMay 21 08:27:00 centos8-64-puppet7.example.com systemd[1]: Started Foreman.\n" to match /Redirected to https:\/\/centos8-64-puppet7.example.com\/users\/login/ Diff: @@ -1,235 +1,469 @@ -/Redirected to https:\/\/centos8-64-puppet7.example.com\/users\/login/ +-- Logs begin at Tue 2024-05-21 08:13:21 UTC, end at Tue 2024-05-21 08:27:22 UTC. -- +May 21 08:15:18 centos8-64-puppet7.example.com systemd[1]: Starting Foreman... +May 21 08:15:20 centos8-64-puppet7.example.com foreman[2998]: => Booting Puma +May 21 08:15:20 centos8-64-puppet7.example.com foreman[2998]: => Rails 6.1.7.7 application starting in production +May 21 08:15:20 centos8-64-puppet7.example.com foreman[2998]: => Run `bin/rails server --help` for more startup options +May 21 08:15:24 centos8-64-puppet7.example.com foreman[2998]: [2998] * Enabling systemd notification integration +May 21 08:15:24 centos8-64-puppet7.example.com foreman[2998]: [2998] Puma starting in cluster mode... +May 21 08:15:24 centos8-64-puppet7.example.com foreman[2998]: [2998] * Puma version: 6.4.2 (ruby 2.7.8-p225) ("The Eagle of Durango") +May 21 08:15:24 centos8-64-puppet7.example.com foreman[2998]: [2998] * Min threads: 5 +May 21 08:15:24 centos8-64-puppet7.example.com foreman[2998]: [2998] * Max threads: 5 +May 21 08:15:24 centos8-64-puppet7.example.com foreman[2998]: [2998] * Environment: production +May 21 08:15:24 centos8-64-puppet7.example.com foreman[2998]: [2998] * Master PID: 2998 +May 21 08:15:24 centos8-64-puppet7.example.com foreman[2998]: [2998] * Workers: 6 +May 21 08:15:24 centos8-64-puppet7.example.com foreman[2998]: [2998] * Restarts: (✔) hot (✖) phased +May 21 08:15:24 centos8-64-puppet7.example.com foreman[2998]: [2998] * Preloading application +May 21 08:15:24 centos8-64-puppet7.example.com foreman[2998]: [2998] * Activated unix:///run/foreman.sock +May 21 08:15:24 centos8-64-puppet7.example.com foreman[2998]: [2998] Use Ctrl-C to stop +May 21 08:15:24 centos8-64-puppet7.example.com foreman[2998]: [2998] Sending status to systemd every 1.0 sec +May 21 08:15:24 centos8-64-puppet7.example.com foreman[2998]: [2998] * Starting control server on unix:///usr/share/foreman/tmp/sockets/pumactl.sock +May 21 08:15:24 centos8-64-puppet7.example.com foreman[2998]: [2998] - Worker 0 (PID: 3006) booted in 0.06s, phase: 0 +May 21 08:15:24 centos8-64-puppet7.example.com foreman[2998]: [2998] - Worker 4 (PID: 3020) booted in 0.07s, phase: 0 +May 21 08:15:24 centos8-64-puppet7.example.com foreman[2998]: [2998] - Worker 1 (PID: 3008) booted in 0.08s, phase: 0 +May 21 08:15:24 centos8-64-puppet7.example.com foreman[2998]: [2998] - Worker 2 (PID: 3011) booted in 0.09s, phase: 0 +May 21 08:15:24 centos8-64-puppet7.example.com foreman[2998]: [2998] - Worker 5 (PID: 3025) booted in 0.08s, phase: 0 +May 21 08:15:24 centos8-64-puppet7.example.com foreman[2998]: [2998] - Worker 3 (PID: 3015) booted in 0.11s, phase: 0 +May 21 08:15:24 centos8-64-puppet7.example.com systemd[1]: Started Foreman. +May 21 08:15:25 centos8-64-puppet7.example.com foreman[2998]: [2998] === puma shutdown: 2024-05-21 08:15:25 +0000 === +May 21 08:15:25 centos8-64-puppet7.example.com foreman[2998]: [2998] - Goodbye! +May 21 08:15:25 centos8-64-puppet7.example.com foreman[2998]: [2998] - Gracefully shutting down workers... +May 21 08:15:25 centos8-64-puppet7.example.com systemd[1]: Stopping Foreman... +May 21 08:15:25 centos8-64-puppet7.example.com foreman[2998]: Exiting +May 21 08:15:25 centos8-64-puppet7.example.com systemd[1]: foreman.service: Succeeded. +May 21 08:15:25 centos8-64-puppet7.example.com systemd[1]: S
Puppet / Puppet 7 - CentOS 8: spec/acceptance/foreman_journald_spec.rb#L27
Scenario: install foreman with journald Command "journalctl -u dynflow-sidekiq@orchestrator" stdout is expected to match /orchestrator in passive mode/ Failure/Error: its(:stdout) { is_expected.to match(%r{orchestrator in passive mode}) } expected "-- Logs begin at Tue 2024-05-21 08:13:21 UTC, end at Tue 2024-05-21 08:27:22 UTC. --\nMay 21 08:15:2...centos8-64-puppet7.example.com systemd[1]: Started Foreman jobs daemon - orchestrator on sidekiq.\n" to match /orchestrator in passive mode/ Diff: @@ -1,47 +1,93 @@ -/orchestrator in passive mode/ +-- Logs begin at Tue 2024-05-21 08:13:21 UTC, end at Tue 2024-05-21 08:27:22 UTC. -- +May 21 08:15:25 centos8-64-puppet7.example.com systemd[1]: Starting Foreman jobs daemon - orchestrator on sidekiq... +May 21 08:15:25 centos8-64-puppet7.example.com dynflow-sidekiq@orchestrator[3230]: 2024-05-21T08:15:25.618Z pid=3230 tid=1ky INFO: Enabling systemd notification integration +May 21 08:15:26 centos8-64-puppet7.example.com dynflow-sidekiq@orchestrator[3230]: 2024-05-21T08:15:26.225Z pid=3230 tid=1ky INFO: Booting Sidekiq 6.5.12 with Sidekiq::RedisConnection::RedisAdapter options {:url=>"redis://localhost:6379/6"} +May 21 08:15:26 centos8-64-puppet7.example.com dynflow-sidekiq@orchestrator[3230]: 2024-05-21T08:15:26.226Z pid=3230 tid=1ky INFO: GitLab reliable fetch activated! +May 21 08:15:31 centos8-64-puppet7.example.com systemd[1]: Started Foreman jobs daemon - orchestrator on sidekiq. +May 21 08:16:26 centos8-64-puppet7.example.com systemd[1]: Stopping Foreman jobs daemon - orchestrator on sidekiq... +May 21 08:16:28 centos8-64-puppet7.example.com systemd[1]: [email protected]: Succeeded. +May 21 08:16:28 centos8-64-puppet7.example.com systemd[1]: Stopped Foreman jobs daemon - orchestrator on sidekiq. +May 21 08:17:10 centos8-64-puppet7.example.com systemd[1]: Starting Foreman jobs daemon - orchestrator on sidekiq... +May 21 08:17:10 centos8-64-puppet7.example.com dynflow-sidekiq@orchestrator[5728]: 2024-05-21T08:17:10.180Z pid=5728 tid=3r0 INFO: Enabling systemd notification integration +May 21 08:17:10 centos8-64-puppet7.example.com dynflow-sidekiq@orchestrator[5728]: 2024-05-21T08:17:10.793Z pid=5728 tid=3r0 INFO: Booting Sidekiq 6.5.12 with Sidekiq::RedisConnection::RedisAdapter options {:url=>"redis://localhost:6379/6"} +May 21 08:17:10 centos8-64-puppet7.example.com dynflow-sidekiq@orchestrator[5728]: 2024-05-21T08:17:10.794Z pid=5728 tid=3r0 INFO: GitLab reliable fetch activated! +May 21 08:17:16 centos8-64-puppet7.example.com systemd[1]: Started Foreman jobs daemon - orchestrator on sidekiq. +May 21 08:18:24 centos8-64-puppet7.example.com systemd[1]: Stopping Foreman jobs daemon - orchestrator on sidekiq... +May 21 08:18:26 centos8-64-puppet7.example.com systemd[1]: [email protected]: Succeeded. +May 21 08:18:26 centos8-64-puppet7.example.com systemd[1]: Stopped Foreman jobs daemon - orchestrator on sidekiq. +May 21 08:18:26 centos8-64-puppet7.example.com systemd[1]: Starting Foreman jobs daemon - orchestrator on sidekiq... +May 21 08:18:26 centos8-64-puppet7.example.com dynflow-sidekiq@orchestrator[7349]: 2024-05-21T08:18:26.495Z pid=7349 tid=4rt INFO: Enabling systemd notification integration +May 21 08:18:27 centos8-64-puppet7.example.com dynflow-sidekiq@orchestrator[7349]: 2024-05-21T08:18:27.370Z pid=7349 tid=4rt INFO: Booting Sidekiq 6.5.12 with Sidekiq::RedisConnection::RedisAdapter options {:url=>"redis://localhost:6379/6"} +May 21 08:18:27 centos8-64-puppet7.example.com dynflow-sidekiq@orchestrator[7349]: 2024-05-21T08:18:27.371Z pid=7349 tid=4rt INFO: GitLab reliable fetch activated! +May 21 08:18:33 centos8-64-puppet7.example.com systemd[1]: Started Foreman jobs daemon - orchestrator on sidekiq. +May 21 08:20:02 centos8-64-puppet7.example.com systemd[1]: Stopping Foreman jobs daemon - orchestrator on sidekiq... +May 21 08:20:03 centos8-64-puppet7.example.com systemd[1]: [email protected]: Succeeded. +May 21 08:20:03 centos8-64-puppet7.example.com s
Puppet / Puppet 7 - CentOS 8
Process completed with exit code 1.
Puppet / Puppet 8 - Debian 11: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L4
Foreman in a Container behaves like an idempotent resource 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 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_082017580.pp.UQfXXZ Last 10 lines of output were: Info: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/Service[foreman.service]: Unscheduling all events on Service[foreman.service] �[mNotice: /Stage[main]/Foreman::Service/Foreman::Dynflow::Worker[orchestrator]/Service[dynflow-sidekiq@orchestrator]: Triggered 'refresh' from 2 events �[mNotice: /Stage[main]/Foreman::Service/Foreman::Dynflow::Pool[worker]/Foreman::Dynflow::Worker[worker-1]/Service[dynflow-sidekiq@worker-1]: Triggered 'refresh' from 2 events �[mNotice: /Stage[main]/Foreman::Service/Foreman::Dynflow::Pool[worker]/Foreman::Dynflow::Worker[worker]/Service[dynflow-sidekiq@worker]: Triggered 'refresh' from 1 event Info: Class[Foreman::Service]: Unscheduling all events on Class[Foreman::Service] Warning: /Stage[main]/Foreman/Anchor[foreman::service]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_host[foreman-debian11-64-puppet8.example.com]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_instance_host[foreman-debian11-64-puppet8.example.com]: Skipping because of failed dependencies Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 28.12 seconds Shared Example Group: "an idempotent resource" called from ./spec/acceptance/foreman_basic_spec.rb:61
Puppet / Puppet 8 - Debian 11: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L8
Foreman in a Container behaves like an idempotent resource 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 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_082050295.pp.Xajs4g Last 10 lines of output were: Wrapped exception: No such file or directory - A directory component in /etc/containers/systemd/foreman.container20240521-22924-3267ti.lock does not exist or is a dangling symbolic link Error: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/File[/etc/containers/systemd/foreman.container]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: No such file or directory - A directory component in /etc/containers/systemd/foreman.container20240521-22924-3267ti.lock does not exist or is a dangling symbolic link (file: /etc/puppetlabs/code/environments/production/modules/podman/manifests/quadlet.pp, line: 89) �[mNotice: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/Systemd::Daemon_reload[foreman.container]/Exec[systemd-foreman.container-systemctl-daemon-reload]: Dependency File[/etc/containers/systemd/foreman.container] has failures: true Warning: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/Systemd::Daemon_reload[foreman.container]/Exec[systemd-foreman.container-systemctl-daemon-reload]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/Service[foreman.service]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman/Anchor[foreman::service]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_host[foreman-debian11-64-puppet8.example.com]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_instance_host[foreman-debian11-64-puppet8.example.com]: Skipping because of failed dependencies �[mNotice: Applied catalog in 1.92 seconds Shared Example Group: "an idempotent resource" called from ./spec/acceptance/foreman_basic_spec.rb:61
Puppet / Puppet 8 - Debian 11: spec/support/acceptance/examples.rb#L27
Foreman in a Container behaves like the foreman application Command "curl -s --cacert /etc/foreman-certs/certificate.pem https://debian11-64-puppet8.example.com -w '%{redirect_url}' -o /dev/null" stdout is expected to eq "https://debian11-64-puppet8.example.com/users/login" Failure/Error: its(:stdout) { is_expected.to eq("https://#{host_inventory['fqdn']}#{params.fetch(:expected_login_url_path, '/users/login')}") } expected: #<Encoding:UTF-8> "https://debian11-64-puppet8.example.com/users/login" got: #<Encoding:US-ASCII> "" (compared using ==) Shared Example Group: "the foreman application" called from ./spec/acceptance/foreman_basic_spec.rb:73
Puppet / Puppet 8 - Debian 11
Process completed with exit code 1.
Puppet / Puppet 7 - Debian 11: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L4
Foreman in a Container behaves like an idempotent resource 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 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_082011053.pp.iTTAqT Last 10 lines of output were: Info: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/Service[foreman.service]: Unscheduling all events on Service[foreman.service] �[mNotice: /Stage[main]/Foreman::Service/Foreman::Dynflow::Worker[orchestrator]/Service[dynflow-sidekiq@orchestrator]: Triggered 'refresh' from 2 events �[mNotice: /Stage[main]/Foreman::Service/Foreman::Dynflow::Pool[worker]/Foreman::Dynflow::Worker[worker-1]/Service[dynflow-sidekiq@worker-1]: Triggered 'refresh' from 2 events �[mNotice: /Stage[main]/Foreman::Service/Foreman::Dynflow::Pool[worker]/Foreman::Dynflow::Worker[worker]/Service[dynflow-sidekiq@worker]: Triggered 'refresh' from 1 event Info: Class[Foreman::Service]: Unscheduling all events on Class[Foreman::Service] Warning: /Stage[main]/Foreman/Anchor[foreman::service]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_host[foreman-debian11-64-puppet7.example.com]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_instance_host[foreman-debian11-64-puppet7.example.com]: Skipping because of failed dependencies Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 28.59 seconds Shared Example Group: "an idempotent resource" called from ./spec/acceptance/foreman_basic_spec.rb:61
Puppet / Puppet 7 - Debian 11: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L8
Foreman in a Container behaves like an idempotent resource 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 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_082044167.pp.htjVHb Last 10 lines of output were: Wrapped exception: No such file or directory - A directory component in /etc/containers/systemd/foreman.container20240521-22932-1sbvhgb.lock does not exist or is a dangling symbolic link Error: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/File[/etc/containers/systemd/foreman.container]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: No such file or directory - A directory component in /etc/containers/systemd/foreman.container20240521-22932-1sbvhgb.lock does not exist or is a dangling symbolic link (file: /etc/puppetlabs/code/environments/production/modules/podman/manifests/quadlet.pp, line: 89) �[mNotice: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/Systemd::Daemon_reload[foreman.container]/Exec[systemd-foreman.container-systemctl-daemon-reload]: Dependency File[/etc/containers/systemd/foreman.container] has failures: true Warning: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/Systemd::Daemon_reload[foreman.container]/Exec[systemd-foreman.container-systemctl-daemon-reload]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/Service[foreman.service]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman/Anchor[foreman::service]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_host[foreman-debian11-64-puppet7.example.com]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_instance_host[foreman-debian11-64-puppet7.example.com]: Skipping because of failed dependencies �[mNotice: Applied catalog in 1.95 seconds Shared Example Group: "an idempotent resource" called from ./spec/acceptance/foreman_basic_spec.rb:61
Puppet / Puppet 7 - Debian 11: spec/support/acceptance/examples.rb#L27
Foreman in a Container behaves like the foreman application Command "curl -s --cacert /etc/foreman-certs/certificate.pem https://debian11-64-puppet7.example.com -w '%{redirect_url}' -o /dev/null" stdout is expected to eq "https://debian11-64-puppet7.example.com/users/login" Failure/Error: its(:stdout) { is_expected.to eq("https://#{host_inventory['fqdn']}#{params.fetch(:expected_login_url_path, '/users/login')}") } expected: #<Encoding:UTF-8> "https://debian11-64-puppet7.example.com/users/login" got: #<Encoding:US-ASCII> "" (compared using ==) Shared Example Group: "the foreman application" called from ./spec/acceptance/foreman_basic_spec.rb:73
Puppet / Puppet 7 - Debian 11
Process completed with exit code 1.
Puppet / Puppet 8 - CentOS 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L4
Foreman in a Container behaves like an idempotent resource 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 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_081950200.pp.8VaiPa Last 10 lines of output were: May 21 08:17:40 centos8-64-puppet8.example.com foreman[5707]: [5707] * Master PID: 5707 Info: Podman::Quadlet[foreman.container]: Unscheduling all events on Podman::Quadlet[foreman.container] Info: Class[Foreman::Service]: Unscheduling all events on Class[Foreman::Service] �[mNotice: /Stage[main]/Foreman/Anchor[foreman::service]: Dependency Service[foreman.service] has failures: true Warning: /Stage[main]/Foreman/Anchor[foreman::service]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_host[foreman-centos8-64-puppet8.example.com]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_instance_host[foreman-centos8-64-puppet8.example.com]: Skipping because of failed dependencies Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 90.71 seconds Shared Example Group: "an idempotent resource" called from ./spec/acceptance/foreman_basic_spec.rb:61
Puppet / Puppet 8 - CentOS 8: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L8
Foreman in a Container behaves like an idempotent resource 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 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_082124559.pp.J1bbX1 Last 10 lines of output were: May 21 08:17:40 centos8-64-puppet8.example.com foreman[5707]: [5707] * Max threads: 5 May 21 08:17:40 centos8-64-puppet8.example.com foreman[5707]: [5707] * Environment: production May 21 08:17:40 centos8-64-puppet8.example.com foreman[5707]: [5707] * Master PID: 5707 Info: Class[Foreman::Service]: Unscheduling all events on Class[Foreman::Service] �[mNotice: /Stage[main]/Foreman/Anchor[foreman::service]: Dependency Service[foreman.service] has failures: true Warning: /Stage[main]/Foreman/Anchor[foreman::service]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_host[foreman-centos8-64-puppet8.example.com]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_instance_host[foreman-centos8-64-puppet8.example.com]: Skipping because of failed dependencies �[mNotice: Applied catalog in 5.80 seconds Shared Example Group: "an idempotent resource" called from ./spec/acceptance/foreman_basic_spec.rb:61
Puppet / Puppet 8 - CentOS 8: spec/support/acceptance/examples.rb#L10
Foreman in a Container behaves like the foreman application Service "foreman" is expected to be running Failure/Error: it { is_expected.to be_running } expected Service "foreman" to be running Shared Example Group: "the foreman application" called from ./spec/acceptance/foreman_basic_spec.rb:73
Puppet / Puppet 8 - CentOS 8: spec/support/acceptance/examples.rb#L27
Foreman in a Container behaves like the foreman application Command "curl -s --cacert /etc/foreman-certs/certificate.pem https://centos8-64-puppet8.example.com -w '%{redirect_url}' -o /dev/null" stdout is expected to eq "https://centos8-64-puppet8.example.com/users/login" Failure/Error: its(:stdout) { is_expected.to eq("https://#{host_inventory['fqdn']}#{params.fetch(:expected_login_url_path, '/users/login')}") } expected: #<Encoding:UTF-8> "https://centos8-64-puppet8.example.com/users/login" got: #<Encoding:US-ASCII> "" (compared using ==) Shared Example Group: "the foreman application" called from ./spec/acceptance/foreman_basic_spec.rb:73
Puppet / Puppet 8 - CentOS 8: spec/acceptance/foreman_journald_spec.rb#L23
Scenario: install foreman with journald Command "journalctl -u foreman" stdout is expected to match /Redirected to https:\/\/centos8-64-puppet8.example.com\/users\/login/ Failure/Error: its(:stdout) { is_expected.to match(%r{Redirected to https://#{host_inventory['fqdn']}/users/login}) } expected "-- Logs begin at Tue 2024-05-21 08:13:19 UTC, end at Tue 2024-05-21 08:29:19 UTC. --\nMay 21 08:15:2... Starting Foreman...\nMay 21 08:28:56 centos8-64-puppet8.example.com systemd[1]: Started Foreman.\n" to match /Redirected to https:\/\/centos8-64-puppet8.example.com\/users\/login/ Diff: @@ -1,235 +1,469 @@ -/Redirected to https:\/\/centos8-64-puppet8.example.com\/users\/login/ +-- Logs begin at Tue 2024-05-21 08:13:19 UTC, end at Tue 2024-05-21 08:29:19 UTC. -- +May 21 08:15:24 centos8-64-puppet8.example.com systemd[1]: Starting Foreman... +May 21 08:15:27 centos8-64-puppet8.example.com foreman[3011]: => Booting Puma +May 21 08:15:27 centos8-64-puppet8.example.com foreman[3011]: => Rails 6.1.7.7 application starting in production +May 21 08:15:27 centos8-64-puppet8.example.com foreman[3011]: => Run `bin/rails server --help` for more startup options +May 21 08:15:31 centos8-64-puppet8.example.com foreman[3011]: [3011] * Enabling systemd notification integration +May 21 08:15:31 centos8-64-puppet8.example.com foreman[3011]: [3011] Puma starting in cluster mode... +May 21 08:15:31 centos8-64-puppet8.example.com foreman[3011]: [3011] * Puma version: 6.4.2 (ruby 2.7.8-p225) ("The Eagle of Durango") +May 21 08:15:31 centos8-64-puppet8.example.com foreman[3011]: [3011] * Min threads: 5 +May 21 08:15:31 centos8-64-puppet8.example.com foreman[3011]: [3011] * Max threads: 5 +May 21 08:15:31 centos8-64-puppet8.example.com foreman[3011]: [3011] * Environment: production +May 21 08:15:31 centos8-64-puppet8.example.com foreman[3011]: [3011] * Master PID: 3011 +May 21 08:15:31 centos8-64-puppet8.example.com foreman[3011]: [3011] * Workers: 6 +May 21 08:15:31 centos8-64-puppet8.example.com foreman[3011]: [3011] * Restarts: (✔) hot (✖) phased +May 21 08:15:31 centos8-64-puppet8.example.com foreman[3011]: [3011] * Preloading application +May 21 08:15:31 centos8-64-puppet8.example.com foreman[3011]: [3011] * Activated unix:///run/foreman.sock +May 21 08:15:31 centos8-64-puppet8.example.com foreman[3011]: [3011] Use Ctrl-C to stop +May 21 08:15:31 centos8-64-puppet8.example.com foreman[3011]: [3011] Sending status to systemd every 1.0 sec +May 21 08:15:31 centos8-64-puppet8.example.com foreman[3011]: [3011] * Starting control server on unix:///usr/share/foreman/tmp/sockets/pumactl.sock +May 21 08:15:32 centos8-64-puppet8.example.com foreman[3011]: [3011] - Worker 0 (PID: 3019) booted in 0.1s, phase: 0 +May 21 08:15:32 centos8-64-puppet8.example.com foreman[3011]: [3011] - Worker 1 (PID: 3021) booted in 0.1s, phase: 0 +May 21 08:15:32 centos8-64-puppet8.example.com foreman[3011]: [3011] - Worker 5 (PID: 3034) booted in 0.1s, phase: 0 +May 21 08:15:32 centos8-64-puppet8.example.com foreman[3011]: [3011] - Worker 2 (PID: 3024) booted in 0.12s, phase: 0 +May 21 08:15:32 centos8-64-puppet8.example.com foreman[3011]: [3011] - Worker 3 (PID: 3026) booted in 0.13s, phase: 0 +May 21 08:15:32 centos8-64-puppet8.example.com foreman[3011]: [3011] - Worker 4 (PID: 3032) booted in 0.13s, phase: 0 +May 21 08:15:32 centos8-64-puppet8.example.com systemd[1]: Started Foreman. +May 21 08:15:32 centos8-64-puppet8.example.com foreman[3011]: [3011] === puma shutdown: 2024-05-21 08:15:32 +0000 === +May 21 08:15:32 centos8-64-puppet8.example.com foreman[3011]: [3011] - Goodbye! +May 21 08:15:32 centos8-64-puppet8.example.com foreman[3011]: [3011] - Gracefully shutting down workers... +May 21 08:15:32 centos8-64-puppet8.example.com systemd[1]: Stopping Foreman... +May 21 08:15:32 centos8-64-puppet8.example.com foreman[3011]: Exiting +May 21 08:15:32 centos8-64-puppet8.example.com systemd[1]: foreman.service: Succeeded. +May 21 08:15:32 centos8-64-puppet8.example.com systemd[1]: Stop
Puppet / Puppet 8 - CentOS 8: spec/acceptance/foreman_journald_spec.rb#L27
Scenario: install foreman with journald Command "journalctl -u dynflow-sidekiq@orchestrator" stdout is expected to match /orchestrator in passive mode/ Failure/Error: its(:stdout) { is_expected.to match(%r{orchestrator in passive mode}) } expected "-- Logs begin at Tue 2024-05-21 08:13:19 UTC, end at Tue 2024-05-21 08:29:19 UTC. --\nMay 21 08:15:3...centos8-64-puppet8.example.com systemd[1]: Started Foreman jobs daemon - orchestrator on sidekiq.\n" to match /orchestrator in passive mode/ Diff: @@ -1,55 +1,109 @@ -/orchestrator in passive mode/ +-- Logs begin at Tue 2024-05-21 08:13:19 UTC, end at Tue 2024-05-21 08:29:19 UTC. -- +May 21 08:15:33 centos8-64-puppet8.example.com systemd[1]: Starting Foreman jobs daemon - orchestrator on sidekiq... +May 21 08:15:33 centos8-64-puppet8.example.com dynflow-sidekiq@orchestrator[3242]: 2024-05-21T08:15:33.336Z pid=3242 tid=1me INFO: Enabling systemd notification integration +May 21 08:15:33 centos8-64-puppet8.example.com dynflow-sidekiq@orchestrator[3242]: 2024-05-21T08:15:33.990Z pid=3242 tid=1me INFO: Booting Sidekiq 6.5.12 with Sidekiq::RedisConnection::RedisAdapter options {:url=>"redis://localhost:6379/6"} +May 21 08:15:33 centos8-64-puppet8.example.com dynflow-sidekiq@orchestrator[3242]: 2024-05-21T08:15:33.991Z pid=3242 tid=1me INFO: GitLab reliable fetch activated! +May 21 08:15:40 centos8-64-puppet8.example.com systemd[1]: Started Foreman jobs daemon - orchestrator on sidekiq. +May 21 08:16:44 centos8-64-puppet8.example.com systemd[1]: Stopping Foreman jobs daemon - orchestrator on sidekiq... +May 21 08:16:46 centos8-64-puppet8.example.com systemd[1]: [email protected]: Succeeded. +May 21 08:16:46 centos8-64-puppet8.example.com systemd[1]: Stopped Foreman jobs daemon - orchestrator on sidekiq. +May 21 08:17:32 centos8-64-puppet8.example.com systemd[1]: Starting Foreman jobs daemon - orchestrator on sidekiq... +May 21 08:17:33 centos8-64-puppet8.example.com dynflow-sidekiq@orchestrator[5728]: 2024-05-21T08:17:33.111Z pid=5728 tid=3r0 INFO: Enabling systemd notification integration +May 21 08:17:33 centos8-64-puppet8.example.com dynflow-sidekiq@orchestrator[5728]: 2024-05-21T08:17:33.821Z pid=5728 tid=3r0 INFO: Booting Sidekiq 6.5.12 with Sidekiq::RedisConnection::RedisAdapter options {:url=>"redis://localhost:6379/6"} +May 21 08:17:33 centos8-64-puppet8.example.com dynflow-sidekiq@orchestrator[5728]: 2024-05-21T08:17:33.822Z pid=5728 tid=3r0 INFO: GitLab reliable fetch activated! +May 21 08:17:40 centos8-64-puppet8.example.com systemd[1]: Started Foreman jobs daemon - orchestrator on sidekiq. +May 21 08:19:01 centos8-64-puppet8.example.com systemd[1]: Stopping Foreman jobs daemon - orchestrator on sidekiq... +May 21 08:19:02 centos8-64-puppet8.example.com systemd[1]: [email protected]: Succeeded. +May 21 08:19:02 centos8-64-puppet8.example.com systemd[1]: Stopped Foreman jobs daemon - orchestrator on sidekiq. +May 21 08:19:02 centos8-64-puppet8.example.com systemd[1]: Starting Foreman jobs daemon - orchestrator on sidekiq... +May 21 08:19:03 centos8-64-puppet8.example.com dynflow-sidekiq@orchestrator[7342]: 2024-05-21T08:19:03.176Z pid=7342 tid=4s2 INFO: Enabling systemd notification integration +May 21 08:19:04 centos8-64-puppet8.example.com dynflow-sidekiq@orchestrator[7342]: 2024-05-21T08:19:04.217Z pid=7342 tid=4s2 INFO: Booting Sidekiq 6.5.12 with Sidekiq::RedisConnection::RedisAdapter options {:url=>"redis://localhost:6379/6"} +May 21 08:19:04 centos8-64-puppet8.example.com dynflow-sidekiq@orchestrator[7342]: 2024-05-21T08:19:04.219Z pid=7342 tid=4s2 INFO: GitLab reliable fetch activated! +May 21 08:19:12 centos8-64-puppet8.example.com systemd[1]: Started Foreman jobs daemon - orchestrator on sidekiq. +May 21 08:19:12 centos8-64-puppet8.example.com systemd[1]: Stopping Foreman jobs daemon - orchestrator on sidekiq... +May 21 08:19:15 centos8-64-puppet8.example.com systemd[1]: [email protected]: Succeeded. +May 21 08:19:15 centos8-64-puppet8.example.com
Puppet / Puppet 8 - CentOS 8
Process completed with exit code 1.
Puppet / Puppet 8 - Debian 12: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L4
Foreman in a Container behaves like an idempotent resource 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 'debian12-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_082036135.pp.NJDfLQ Last 10 lines of output were: Warning: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/Service[foreman.service]: Skipping because of failed dependencies �[mNotice: /Stage[main]/Foreman::Service/Foreman::Dynflow::Worker[orchestrator]/Service[dynflow-sidekiq@orchestrator]: Triggered 'refresh' from 2 events �[mNotice: /Stage[main]/Foreman::Service/Foreman::Dynflow::Pool[worker]/Foreman::Dynflow::Worker[worker-1]/Service[dynflow-sidekiq@worker-1]: Triggered 'refresh' from 2 events �[mNotice: /Stage[main]/Foreman::Service/Foreman::Dynflow::Pool[worker]/Foreman::Dynflow::Worker[worker]/Service[dynflow-sidekiq@worker]: Triggered 'refresh' from 1 event Info: Class[Foreman::Service]: Unscheduling all events on Class[Foreman::Service] Warning: /Stage[main]/Foreman/Anchor[foreman::service]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_host[foreman-debian12-64-puppet8.example.com]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_instance_host[foreman-debian12-64-puppet8.example.com]: Skipping because of failed dependencies Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 37.57 seconds Shared Example Group: "an idempotent resource" called from ./spec/acceptance/foreman_basic_spec.rb:61
Puppet / Puppet 8 - Debian 12: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L8
Foreman in a Container behaves like an idempotent resource 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 'debian12-64-puppet8.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_082118245.pp.r4MQpt Last 10 lines of output were: Wrapped exception: No such file or directory - A directory component in /etc/containers/systemd/foreman.container20240521-22070-11r3pze.lock does not exist or is a dangling symbolic link Error: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/File[/etc/containers/systemd/foreman.container]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: No such file or directory - A directory component in /etc/containers/systemd/foreman.container20240521-22070-11r3pze.lock does not exist or is a dangling symbolic link (file: /etc/puppetlabs/code/environments/production/modules/podman/manifests/quadlet.pp, line: 89) �[mNotice: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/Systemd::Daemon_reload[foreman.container]/Exec[systemd-foreman.container-systemctl-daemon-reload]: Dependency File[/etc/containers/systemd/foreman.container] has failures: true Warning: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/Systemd::Daemon_reload[foreman.container]/Exec[systemd-foreman.container-systemctl-daemon-reload]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/Service[foreman.service]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman/Anchor[foreman::service]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_host[foreman-debian12-64-puppet8.example.com]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_instance_host[foreman-debian12-64-puppet8.example.com]: Skipping because of failed dependencies �[mNotice: Applied catalog in 1.37 seconds Shared Example Group: "an idempotent resource" called from ./spec/acceptance/foreman_basic_spec.rb:61
Puppet / Puppet 8 - Debian 12: spec/support/acceptance/examples.rb#L27
Foreman in a Container behaves like the foreman application Command "curl -s --cacert /etc/foreman-certs/certificate.pem https://debian12-64-puppet8.example.com -w '%{redirect_url}' -o /dev/null" stdout is expected to eq "https://debian12-64-puppet8.example.com/users/login" Failure/Error: its(:stdout) { is_expected.to eq("https://#{host_inventory['fqdn']}#{params.fetch(:expected_login_url_path, '/users/login')}") } expected: #<Encoding:UTF-8> "https://debian12-64-puppet8.example.com/users/login" got: #<Encoding:US-ASCII> "" (compared using ==) Shared Example Group: "the foreman application" called from ./spec/acceptance/foreman_basic_spec.rb:73
Puppet / Puppet 8 - Debian 12
Process completed with exit code 1.
Puppet / Puppet 7 - Debian 12: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L4
Foreman in a Container behaves like an idempotent resource 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 'debian12-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_082056355.pp.4O0zZv Last 10 lines of output were: Info: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/Service[foreman.service]: Unscheduling all events on Service[foreman.service] �[mNotice: /Stage[main]/Foreman::Service/Foreman::Dynflow::Worker[orchestrator]/Service[dynflow-sidekiq@orchestrator]: Triggered 'refresh' from 2 events �[mNotice: /Stage[main]/Foreman::Service/Foreman::Dynflow::Pool[worker]/Foreman::Dynflow::Worker[worker-1]/Service[dynflow-sidekiq@worker-1]: Triggered 'refresh' from 2 events �[mNotice: /Stage[main]/Foreman::Service/Foreman::Dynflow::Pool[worker]/Foreman::Dynflow::Worker[worker]/Service[dynflow-sidekiq@worker]: Triggered 'refresh' from 1 event Info: Class[Foreman::Service]: Unscheduling all events on Class[Foreman::Service] Warning: /Stage[main]/Foreman/Anchor[foreman::service]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_host[foreman-debian12-64-puppet7.example.com]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_instance_host[foreman-debian12-64-puppet7.example.com]: Skipping because of failed dependencies Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 38.74 seconds Shared Example Group: "an idempotent resource" called from ./spec/acceptance/foreman_basic_spec.rb:61
Puppet / Puppet 7 - Debian 12: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L8
Foreman in a Container behaves like an idempotent resource 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 'debian12-64-puppet7.example.com' exited with 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_082139778.pp.Lh7Aaa Last 10 lines of output were: Wrapped exception: No such file or directory - A directory component in /etc/containers/systemd/foreman.container20240521-22065-1jgkkgb.lock does not exist or is a dangling symbolic link Error: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/File[/etc/containers/systemd/foreman.container]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: No such file or directory - A directory component in /etc/containers/systemd/foreman.container20240521-22065-1jgkkgb.lock does not exist or is a dangling symbolic link (file: /etc/puppetlabs/code/environments/production/modules/podman/manifests/quadlet.pp, line: 89) �[mNotice: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/Systemd::Daemon_reload[foreman.container]/Exec[systemd-foreman.container-systemctl-daemon-reload]: Dependency File[/etc/containers/systemd/foreman.container] has failures: true Warning: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/Systemd::Daemon_reload[foreman.container]/Exec[systemd-foreman.container-systemctl-daemon-reload]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/Service[foreman.service]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman/Anchor[foreman::service]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_host[foreman-debian12-64-puppet7.example.com]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_instance_host[foreman-debian12-64-puppet7.example.com]: Skipping because of failed dependencies �[mNotice: Applied catalog in 1.46 seconds Shared Example Group: "an idempotent resource" called from ./spec/acceptance/foreman_basic_spec.rb:61
Puppet / Puppet 7 - Debian 12: spec/support/acceptance/examples.rb#L27
Foreman in a Container behaves like the foreman application Command "curl -s --cacert /etc/foreman-certs/certificate.pem https://debian12-64-puppet7.example.com -w '%{redirect_url}' -o /dev/null" stdout is expected to eq "https://debian12-64-puppet7.example.com/users/login" Failure/Error: its(:stdout) { is_expected.to eq("https://#{host_inventory['fqdn']}#{params.fetch(:expected_login_url_path, '/users/login')}") } expected: #<Encoding:UTF-8> "https://debian12-64-puppet7.example.com/users/login" got: #<Encoding:US-ASCII> "" (compared using ==) Shared Example Group: "the foreman application" called from ./spec/acceptance/foreman_basic_spec.rb:73
Puppet / Puppet 7 - Debian 12
Process completed with exit code 1.
Puppet / Puppet 8 - Ubuntu 22.04: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L4
Foreman in a Container behaves like an idempotent resource 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 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_082059631.pp.LwTxvI Last 10 lines of output were: Info: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/Service[foreman.service]: Unscheduling all events on Service[foreman.service] �[mNotice: /Stage[main]/Foreman::Service/Foreman::Dynflow::Worker[orchestrator]/Service[dynflow-sidekiq@orchestrator]: Triggered 'refresh' from 2 events �[mNotice: /Stage[main]/Foreman::Service/Foreman::Dynflow::Pool[worker]/Foreman::Dynflow::Worker[worker-1]/Service[dynflow-sidekiq@worker-1]: Triggered 'refresh' from 2 events �[mNotice: /Stage[main]/Foreman::Service/Foreman::Dynflow::Pool[worker]/Foreman::Dynflow::Worker[worker]/Service[dynflow-sidekiq@worker]: Triggered 'refresh' from 1 event Info: Class[Foreman::Service]: Unscheduling all events on Class[Foreman::Service] Info: Stage[main]: Unscheduling all events on Stage[main] Warning: /Stage[main]/Foreman/Anchor[foreman::service]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_host[foreman-ubuntu2204-64-puppet8.example.com]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_instance_host[foreman-ubuntu2204-64-puppet8.example.com]: Skipping because of failed dependencies �[mNotice: Applied catalog in 42.10 seconds Shared Example Group: "an idempotent resource" called from ./spec/acceptance/foreman_basic_spec.rb:61
Puppet / Puppet 8 - Ubuntu 22.04: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L8
Foreman in a Container behaves like an idempotent resource 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 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_082147051.pp.RSQltZ Last 10 lines of output were: Wrapped exception: No such file or directory - A directory component in /etc/containers/systemd/foreman.container20240521-20433-1s2ggcs.lock does not exist or is a dangling symbolic link Error: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/File[/etc/containers/systemd/foreman.container]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: No such file or directory - A directory component in /etc/containers/systemd/foreman.container20240521-20433-1s2ggcs.lock does not exist or is a dangling symbolic link (file: /etc/puppetlabs/code/environments/production/modules/podman/manifests/quadlet.pp, line: 89) �[mNotice: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/Systemd::Daemon_reload[foreman.container]/Exec[systemd-foreman.container-systemctl-daemon-reload]: Dependency File[/etc/containers/systemd/foreman.container] has failures: true Warning: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/Systemd::Daemon_reload[foreman.container]/Exec[systemd-foreman.container-systemctl-daemon-reload]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/Service[foreman.service]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman/Anchor[foreman::service]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_host[foreman-ubuntu2204-64-puppet8.example.com]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_instance_host[foreman-ubuntu2204-64-puppet8.example.com]: Skipping because of failed dependencies �[mNotice: Applied catalog in 1.71 seconds Shared Example Group: "an idempotent resource" called from ./spec/acceptance/foreman_basic_spec.rb:61
Puppet / Puppet 8 - Ubuntu 22.04: spec/support/acceptance/examples.rb#L27
Foreman in a Container behaves like the foreman application Command "curl -s --cacert /etc/foreman-certs/certificate.pem https://ubuntu2204-64-puppet8.example.com -w '%{redirect_url}' -o /dev/null" stdout is expected to eq "https://ubuntu2204-64-puppet8.example.com/users/login" Failure/Error: its(:stdout) { is_expected.to eq("https://#{host_inventory['fqdn']}#{params.fetch(:expected_login_url_path, '/users/login')}") } expected: #<Encoding:UTF-8> "https://ubuntu2204-64-puppet8.example.com/users/login" got: #<Encoding:US-ASCII> "" (compared using ==) Shared Example Group: "the foreman application" called from ./spec/acceptance/foreman_basic_spec.rb:73
Puppet / Puppet 8 - Ubuntu 22.04
Process completed with exit code 1.
Puppet / Puppet 7 - Ubuntu 22.04: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L4
Foreman in a Container behaves like an idempotent resource 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 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_082111513.pp.NjHpGh Last 10 lines of output were: Info: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/Service[foreman.service]: Unscheduling all events on Service[foreman.service] �[mNotice: /Stage[main]/Foreman::Service/Foreman::Dynflow::Worker[orchestrator]/Service[dynflow-sidekiq@orchestrator]: Triggered 'refresh' from 2 events �[mNotice: /Stage[main]/Foreman::Service/Foreman::Dynflow::Pool[worker]/Foreman::Dynflow::Worker[worker-1]/Service[dynflow-sidekiq@worker-1]: Triggered 'refresh' from 2 events �[mNotice: /Stage[main]/Foreman::Service/Foreman::Dynflow::Pool[worker]/Foreman::Dynflow::Worker[worker]/Service[dynflow-sidekiq@worker]: Triggered 'refresh' from 1 event Info: Class[Foreman::Service]: Unscheduling all events on Class[Foreman::Service] Warning: /Stage[main]/Foreman/Anchor[foreman::service]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_host[foreman-ubuntu2204-64-puppet7.example.com]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_instance_host[foreman-ubuntu2204-64-puppet7.example.com]: Skipping because of failed dependencies Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 107.94 seconds Shared Example Group: "an idempotent resource" called from ./spec/acceptance/foreman_basic_spec.rb:61
Puppet / Puppet 7 - Ubuntu 22.04: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L8
Foreman in a Container behaves like an idempotent resource 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 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_082304952.pp.YGR5VW Last 10 lines of output were: Wrapped exception: No such file or directory - A directory component in /etc/containers/systemd/foreman.container20240521-20465-vtxxg1.lock does not exist or is a dangling symbolic link Error: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/File[/etc/containers/systemd/foreman.container]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: No such file or directory - A directory component in /etc/containers/systemd/foreman.container20240521-20465-vtxxg1.lock does not exist or is a dangling symbolic link (file: /etc/puppetlabs/code/environments/production/modules/podman/manifests/quadlet.pp, line: 89) �[mNotice: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/Systemd::Daemon_reload[foreman.container]/Exec[systemd-foreman.container-systemctl-daemon-reload]: Dependency File[/etc/containers/systemd/foreman.container] has failures: true Warning: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/Systemd::Daemon_reload[foreman.container]/Exec[systemd-foreman.container-systemctl-daemon-reload]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/Service[foreman.service]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman/Anchor[foreman::service]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_host[foreman-ubuntu2204-64-puppet7.example.com]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_instance_host[foreman-ubuntu2204-64-puppet7.example.com]: Skipping because of failed dependencies �[mNotice: Applied catalog in 1.70 seconds Shared Example Group: "an idempotent resource" called from ./spec/acceptance/foreman_basic_spec.rb:61
Puppet / Puppet 7 - Ubuntu 22.04: spec/support/acceptance/examples.rb#L27
Foreman in a Container behaves like the foreman application Command "curl -s --cacert /etc/foreman-certs/certificate.pem https://ubuntu2204-64-puppet7.example.com -w '%{redirect_url}' -o /dev/null" stdout is expected to eq "https://ubuntu2204-64-puppet7.example.com/users/login" Failure/Error: its(:stdout) { is_expected.to eq("https://#{host_inventory['fqdn']}#{params.fetch(:expected_login_url_path, '/users/login')}") } expected: #<Encoding:UTF-8> "https://ubuntu2204-64-puppet7.example.com/users/login" got: #<Encoding:US-ASCII> "" (compared using ==) Shared Example Group: "the foreman application" called from ./spec/acceptance/foreman_basic_spec.rb:73
Puppet / Puppet 7 - Ubuntu 22.04
Process completed with exit code 1.
Puppet / Puppet 8 - Ubuntu 20.04: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L4
Foreman in a Container behaves like an idempotent resource 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_082134056.pp.bX5ueK Last 10 lines of output were: Warning: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/Service[foreman.service]: Skipping because of failed dependencies �[mNotice: /Stage[main]/Foreman::Service/Foreman::Dynflow::Worker[orchestrator]/Service[dynflow-sidekiq@orchestrator]: Triggered 'refresh' from 2 events �[mNotice: /Stage[main]/Foreman::Service/Foreman::Dynflow::Pool[worker]/Foreman::Dynflow::Worker[worker-1]/Service[dynflow-sidekiq@worker-1]: Triggered 'refresh' from 2 events �[mNotice: /Stage[main]/Foreman::Service/Foreman::Dynflow::Pool[worker]/Foreman::Dynflow::Worker[worker]/Service[dynflow-sidekiq@worker]: Triggered 'refresh' from 1 event Info: Class[Foreman::Service]: Unscheduling all events on Class[Foreman::Service] Warning: /Stage[main]/Foreman/Anchor[foreman::service]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_host[foreman-ubuntu2004-64-puppet8.example.com]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_instance_host[foreman-ubuntu2004-64-puppet8.example.com]: Skipping because of failed dependencies Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 25.34 seconds Shared Example Group: "an idempotent resource" called from ./spec/acceptance/foreman_basic_spec.rb:61
Puppet / Puppet 8 - Ubuntu 20.04: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L8
Foreman in a Container behaves like an idempotent resource 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_082205290.pp.sfDWkP Last 10 lines of output were: Wrapped exception: No such file or directory - A directory component in /etc/containers/systemd/foreman.container20240521-20874-4io3il.lock does not exist or is a dangling symbolic link Error: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/File[/etc/containers/systemd/foreman.container]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: No such file or directory - A directory component in /etc/containers/systemd/foreman.container20240521-20874-4io3il.lock does not exist or is a dangling symbolic link (file: /etc/puppetlabs/code/environments/production/modules/podman/manifests/quadlet.pp, line: 89) �[mNotice: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/Systemd::Daemon_reload[foreman.container]/Exec[systemd-foreman.container-systemctl-daemon-reload]: Dependency File[/etc/containers/systemd/foreman.container] has failures: true Warning: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/Systemd::Daemon_reload[foreman.container]/Exec[systemd-foreman.container-systemctl-daemon-reload]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/Service[foreman.service]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman/Anchor[foreman::service]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_host[foreman-ubuntu2004-64-puppet8.example.com]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_instance_host[foreman-ubuntu2004-64-puppet8.example.com]: Skipping because of failed dependencies �[mNotice: Applied catalog in 4.84 seconds Shared Example Group: "an idempotent resource" called from ./spec/acceptance/foreman_basic_spec.rb:61
Puppet / Puppet 8 - Ubuntu 20.04: spec/support/acceptance/examples.rb#L27
Foreman in a Container behaves like the foreman application Command "curl -s --cacert /etc/foreman-certs/certificate.pem https://ubuntu2004-64-puppet8.example.com -w '%{redirect_url}' -o /dev/null" stdout is expected to eq "https://ubuntu2004-64-puppet8.example.com/users/login" Failure/Error: its(:stdout) { is_expected.to eq("https://#{host_inventory['fqdn']}#{params.fetch(:expected_login_url_path, '/users/login')}") } expected: #<Encoding:UTF-8> "https://ubuntu2004-64-puppet8.example.com/users/login" got: #<Encoding:US-ASCII> "" (compared using ==) Shared Example Group: "the foreman application" called from ./spec/acceptance/foreman_basic_spec.rb:73
Puppet / Puppet 8 - Ubuntu 20.04
Process completed with exit code 1.
Puppet / Puppet 7 - Ubuntu 20.04: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L4
Foreman in a Container behaves like an idempotent resource 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_082137996.pp.UPkeFZ Last 10 lines of output were: Info: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/Service[foreman.service]: Unscheduling all events on Service[foreman.service] �[mNotice: /Stage[main]/Foreman::Service/Foreman::Dynflow::Worker[orchestrator]/Service[dynflow-sidekiq@orchestrator]: Triggered 'refresh' from 2 events �[mNotice: /Stage[main]/Foreman::Service/Foreman::Dynflow::Pool[worker]/Foreman::Dynflow::Worker[worker-1]/Service[dynflow-sidekiq@worker-1]: Triggered 'refresh' from 2 events �[mNotice: /Stage[main]/Foreman::Service/Foreman::Dynflow::Pool[worker]/Foreman::Dynflow::Worker[worker]/Service[dynflow-sidekiq@worker]: Triggered 'refresh' from 1 event Info: Class[Foreman::Service]: Unscheduling all events on Class[Foreman::Service] Warning: /Stage[main]/Foreman/Anchor[foreman::service]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_host[foreman-ubuntu2004-64-puppet7.example.com]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_instance_host[foreman-ubuntu2004-64-puppet7.example.com]: Skipping because of failed dependencies Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 26.10 seconds Shared Example Group: "an idempotent resource" called from ./spec/acceptance/foreman_basic_spec.rb:61
Puppet / Puppet 7 - Ubuntu 20.04: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L8
Foreman in a Container behaves like an idempotent resource 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_082209802.pp.Rwurof Last 10 lines of output were: Wrapped exception: No such file or directory - A directory component in /etc/containers/systemd/foreman.container20240521-20862-9ighcy.lock does not exist or is a dangling symbolic link Error: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/File[/etc/containers/systemd/foreman.container]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: No such file or directory - A directory component in /etc/containers/systemd/foreman.container20240521-20862-9ighcy.lock does not exist or is a dangling symbolic link (file: /etc/puppetlabs/code/environments/production/modules/podman/manifests/quadlet.pp, line: 89) �[mNotice: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/Systemd::Daemon_reload[foreman.container]/Exec[systemd-foreman.container-systemctl-daemon-reload]: Dependency File[/etc/containers/systemd/foreman.container] has failures: true Warning: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/Systemd::Daemon_reload[foreman.container]/Exec[systemd-foreman.container-systemctl-daemon-reload]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/Service[foreman.service]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman/Anchor[foreman::service]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_host[foreman-ubuntu2004-64-puppet7.example.com]: Skipping because of failed dependencies Warning: /Stage[main]/Foreman::Register/Foreman_instance_host[foreman-ubuntu2004-64-puppet7.example.com]: Skipping because of failed dependencies �[mNotice: Applied catalog in 5.18 seconds Shared Example Group: "an idempotent resource" called from ./spec/acceptance/foreman_basic_spec.rb:61
Puppet / Puppet 7 - Ubuntu 20.04: spec/support/acceptance/examples.rb#L27
Foreman in a Container behaves like the foreman application Command "curl -s --cacert /etc/foreman-certs/certificate.pem https://ubuntu2004-64-puppet7.example.com -w '%{redirect_url}' -o /dev/null" stdout is expected to eq "https://ubuntu2004-64-puppet7.example.com/users/login" Failure/Error: its(:stdout) { is_expected.to eq("https://#{host_inventory['fqdn']}#{params.fetch(:expected_login_url_path, '/users/login')}") } expected: #<Encoding:UTF-8> "https://ubuntu2004-64-puppet7.example.com/users/login" got: #<Encoding:US-ASCII> "" (compared using ==) Shared Example Group: "the foreman application" called from ./spec/acceptance/foreman_basic_spec.rb:73
Puppet / Puppet 7 - Ubuntu 20.04
Process completed with exit code 1.