run foreman in a container #1615
Annotations
7 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 '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
|
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 '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
|
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://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
|
Run tests:
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
|
Run tests:
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
|
Run tests
Process completed with exit code 1.
|
The logs for this run have expired and are no longer available.
Loading