run foreman in a container #1615
Annotations
5 errors
Run tests:
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
|
Run tests:
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
|
Run tests:
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
|
Run tests:
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
|
Run tests
Process completed with exit code 1.
|
Loading