run foreman in a container #1620
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 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_100907199.pp.KAHvzY
Last 10 lines of output were:
�[mNotice: /Stage[main]/Foreman::Service/Foreman::Dynflow::Worker[orchestrator]/Service[dynflow-sidekiq@orchestrator]: Triggered 'refresh' from 4 events
�[mNotice: /Stage[main]/Foreman::Service/Foreman::Dynflow::Pool[worker]/Foreman::Dynflow::Worker[worker-1]/Service[dynflow-sidekiq@worker-1]: Triggered 'refresh' from 3 events
�[mNotice: /Stage[main]/Foreman::Service/Foreman::Dynflow::Pool[worker]/Foreman::Dynflow::Worker[worker]/Service[dynflow-sidekiq@worker]: Triggered 'refresh' from 1 event
�[mNotice: /Stage[main]/Foreman::Service/Foreman::Dynflow::Pool[worker]/Foreman::Dynflow::Worker[worker]/File[/etc/foreman/dynflow/worker.yml]/ensure: removed
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 92.34 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/foreman_basic_spec.rb:63
|
Run tests:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-2.4.0/lib/voxpupuli/acceptance/examples.rb#L8
Foreman in a Container 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_101045160.pp.QNU6PQ
Last 10 lines of output were:
Error: Cannot create /etc/containers/systemd; parent directory /etc/containers does not exist
Error: /Stage[main]/Foreman::Service/File[/etc/containers/systemd]/ensure: change from 'absent' to 'directory' failed: Cannot create /etc/containers/systemd; parent directory /etc/containers does not exist
�[mNotice: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/File[/etc/containers/systemd/foreman.container]: Dependency File[/etc/containers/systemd] has failures: true
Warning: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/File[/etc/containers/systemd/foreman.container]: Skipping because of failed dependencies
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 5.05 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/foreman_basic_spec.rb:63
|
Run tests:
spec/support/acceptance/examples.rb#L29
Foreman in a Container 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:75
|
Run tests
Process completed with exit code 1.
|
Loading