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