run foreman in a container #1616
Annotations
6 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 'centos8-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084740399.pp.7CHsYV
Last 10 lines of output were:
�[mNotice: /Stage[main]/Foreman::Service/Foreman::Dynflow::Pool[worker]/Foreman::Dynflow::Worker[worker]/File[/etc/foreman/dynflow/worker.yml]/ensure: removed
�[mNotice: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/Systemd::Daemon_reload[foreman.container]/Exec[systemd-foreman.container-systemctl-daemon-reload]: Triggered 'refresh' from 1 event
Info: Systemd::Daemon_reload[foreman.container]: Scheduling refresh of Service[foreman.service]
�[mNotice: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/Service[foreman.service]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Foreman::Service/Podman::Quadlet[foreman.container]/Service[foreman.service]: Unscheduling refresh on Service[foreman.service]
Error: /Stage[main]/Foreman::Register/Foreman_host[foreman-centos8-64-puppet8.example.com]: Could not evaluate: Error making GET request to Foreman at https://centos8-64-puppet8.example.com/api/v2/hosts: Response: 502 Proxy Error: The webserver received an invalid response from the backend service. Was Foreman at centos8-64-puppet8.example.com unable to handle the request?
�[mNotice: /Stage[main]/Foreman::Register/Foreman_instance_host[foreman-centos8-64-puppet8.example.com]: Dependency Foreman_host[foreman-centos8-64-puppet8.example.com] has failures: true
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 107.39 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 'centos8-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_084931322.pp.skZlSS
Last 10 lines of output were:
Info: Loading facts
Warning: /etc/puppetlabs/puppet/hiera.yaml: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5
(file: /etc/puppetlabs/puppet/hiera.yaml)
�[mNotice: Compiled catalog for centos8-64-puppet8.example.com in environment production in 1.54 seconds
Info: Using environment 'production'
Info: Applying configuration version '1716281373'
Error: /Stage[main]/Foreman::Register/Foreman_host[foreman-centos8-64-puppet8.example.com]: Could not evaluate: Error making GET request to Foreman at https://centos8-64-puppet8.example.com/api/v2/hosts: Response: 502 Proxy Error: The webserver received an invalid response from the backend service. Was Foreman at centos8-64-puppet8.example.com unable to handle the request?
�[mNotice: /Stage[main]/Foreman::Register/Foreman_instance_host[foreman-centos8-64-puppet8.example.com]: Dependency Foreman_host[foreman-centos8-64-puppet8.example.com] has failures: true
Warning: /Stage[main]/Foreman::Register/Foreman_instance_host[foreman-centos8-64-puppet8.example.com]: Skipping because of failed dependencies
�[mNotice: Applied catalog in 0.72 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://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:75
|
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:42:04 UTC, end at Tue 2024-05-21 08:56:57 UTC. --\nMay 21 08:43:5... Starting Foreman...\nMay 21 08:56:37 centos8-64-puppet8.example.com systemd[1]: Started Foreman.\n" to match /Redirected to https:\/\/centos8-64-puppet8.example.com\/users\/login/
Diff:
@@ -1,226 +1,451 @@
-/Redirected to https:\/\/centos8-64-puppet8.example.com\/users\/login/
+-- Logs begin at Tue 2024-05-21 08:42:04 UTC, end at Tue 2024-05-21 08:56:57 UTC. --
+May 21 08:43:57 centos8-64-puppet8.example.com systemd[1]: Starting Foreman...
+May 21 08:43:59 centos8-64-puppet8.example.com foreman[2993]: => Booting Puma
+May 21 08:43:59 centos8-64-puppet8.example.com foreman[2993]: => Rails 6.1.7.7 application starting in production
+May 21 08:43:59 centos8-64-puppet8.example.com foreman[2993]: => Run `bin/rails server --help` for more startup options
+May 21 08:44:03 centos8-64-puppet8.example.com foreman[2993]: [2993] * Enabling systemd notification integration
+May 21 08:44:03 centos8-64-puppet8.example.com foreman[2993]: [2993] Puma starting in cluster mode...
+May 21 08:44:03 centos8-64-puppet8.example.com foreman[2993]: [2993] * Puma version: 6.4.2 (ruby 2.7.8-p225) ("The Eagle of Durango")
+May 21 08:44:03 centos8-64-puppet8.example.com foreman[2993]: [2993] * Min threads: 5
+May 21 08:44:03 centos8-64-puppet8.example.com foreman[2993]: [2993] * Max threads: 5
+May 21 08:44:03 centos8-64-puppet8.example.com foreman[2993]: [2993] * Environment: production
+May 21 08:44:03 centos8-64-puppet8.example.com foreman[2993]: [2993] * Master PID: 2993
+May 21 08:44:03 centos8-64-puppet8.example.com foreman[2993]: [2993] * Workers: 6
+May 21 08:44:03 centos8-64-puppet8.example.com foreman[2993]: [2993] * Restarts: (✔) hot (✖) phased
+May 21 08:44:03 centos8-64-puppet8.example.com foreman[2993]: [2993] * Preloading application
+May 21 08:44:03 centos8-64-puppet8.example.com foreman[2993]: [2993] * Activated unix:///run/foreman.sock
+May 21 08:44:03 centos8-64-puppet8.example.com foreman[2993]: [2993] Use Ctrl-C to stop
+May 21 08:44:03 centos8-64-puppet8.example.com foreman[2993]: [2993] Sending status to systemd every 1.0 sec
+May 21 08:44:03 centos8-64-puppet8.example.com foreman[2993]: [2993] * Starting control server on unix:///usr/share/foreman/tmp/sockets/pumactl.sock
+May 21 08:44:04 centos8-64-puppet8.example.com foreman[2993]: [2993] - Worker 4 (PID: 3015) booted in 0.07s, phase: 0
+May 21 08:44:04 centos8-64-puppet8.example.com foreman[2993]: [2993] - Worker 2 (PID: 3006) booted in 0.08s, phase: 0
+May 21 08:44:04 centos8-64-puppet8.example.com foreman[2993]: [2993] - Worker 5 (PID: 3019) booted in 0.08s, phase: 0
+May 21 08:44:04 centos8-64-puppet8.example.com foreman[2993]: [2993] - Worker 0 (PID: 3001) booted in 0.09s, phase: 0
+May 21 08:44:04 centos8-64-puppet8.example.com foreman[2993]: [2993] - Worker 1 (PID: 3003) booted in 0.1s, phase: 0
+May 21 08:44:04 centos8-64-puppet8.example.com foreman[2993]: [2993] - Worker 3 (PID: 3011) booted in 0.1s, phase: 0
+May 21 08:44:04 centos8-64-puppet8.example.com systemd[1]: Started Foreman.
+May 21 08:44:04 centos8-64-puppet8.example.com foreman[2993]: [2993] === puma shutdown: 2024-05-21 08:44:04 +0000 ===
+May 21 08:44:04 centos8-64-puppet8.example.com foreman[2993]: [2993] - Goodbye!
+May 21 08:44:04 centos8-64-puppet8.example.com foreman[2993]: [2993] - Gracefully shutting down workers...
+May 21 08:44:04 centos8-64-puppet8.example.com systemd[1]: Stopping Foreman...
+May 21 08:44:04 centos8-64-puppet8.example.com foreman[2993]: Exiting
+May 21 08:44:04 centos8-64-puppet8.example.com systemd[1]: foreman.service: Succeeded.
+May 21 08:44:04 centos8-64-puppet8.example.com systemd[1]: Sto
|
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:42:04 UTC, end at Tue 2024-05-21 08:56:57 UTC. --\nMay 21 08:44:0...centos8-64-puppet8.example.com systemd[1]: Started Foreman jobs daemon - orchestrator on sidekiq.\n" to match /orchestrator in passive mode/
Diff:
@@ -1,42 +1,83 @@
-/orchestrator in passive mode/
+-- Logs begin at Tue 2024-05-21 08:42:04 UTC, end at Tue 2024-05-21 08:56:57 UTC. --
+May 21 08:44:04 centos8-64-puppet8.example.com systemd[1]: Starting Foreman jobs daemon - orchestrator on sidekiq...
+May 21 08:44:05 centos8-64-puppet8.example.com dynflow-sidekiq@orchestrator[3226]: 2024-05-21T08:44:05.104Z pid=3226 tid=1l2 INFO: Enabling systemd notification integration
+May 21 08:44:05 centos8-64-puppet8.example.com dynflow-sidekiq@orchestrator[3226]: 2024-05-21T08:44:05.688Z pid=3226 tid=1l2 INFO: Booting Sidekiq 6.5.12 with Sidekiq::RedisConnection::RedisAdapter options {:url=>"redis://localhost:6379/6"}
+May 21 08:44:05 centos8-64-puppet8.example.com dynflow-sidekiq@orchestrator[3226]: 2024-05-21T08:44:05.689Z pid=3226 tid=1l2 INFO: GitLab reliable fetch activated!
+May 21 08:44:11 centos8-64-puppet8.example.com systemd[1]: Started Foreman jobs daemon - orchestrator on sidekiq.
+May 21 08:45:06 centos8-64-puppet8.example.com systemd[1]: Stopping Foreman jobs daemon - orchestrator on sidekiq...
+May 21 08:45:07 centos8-64-puppet8.example.com systemd[1]: [email protected]: Succeeded.
+May 21 08:45:07 centos8-64-puppet8.example.com systemd[1]: Stopped Foreman jobs daemon - orchestrator on sidekiq.
+May 21 08:45:49 centos8-64-puppet8.example.com systemd[1]: Starting Foreman jobs daemon - orchestrator on sidekiq...
+May 21 08:45:49 centos8-64-puppet8.example.com dynflow-sidekiq@orchestrator[5715]: 2024-05-21T08:45:49.478Z pid=5715 tid=3pr INFO: Enabling systemd notification integration
+May 21 08:45:50 centos8-64-puppet8.example.com dynflow-sidekiq@orchestrator[5715]: 2024-05-21T08:45:50.111Z pid=5715 tid=3pr INFO: Booting Sidekiq 6.5.12 with Sidekiq::RedisConnection::RedisAdapter options {:url=>"redis://localhost:6379/6"}
+May 21 08:45:50 centos8-64-puppet8.example.com dynflow-sidekiq@orchestrator[5715]: 2024-05-21T08:45:50.112Z pid=5715 tid=3pr INFO: GitLab reliable fetch activated!
+May 21 08:45:55 centos8-64-puppet8.example.com systemd[1]: Started Foreman jobs daemon - orchestrator on sidekiq.
+May 21 08:47:06 centos8-64-puppet8.example.com systemd[1]: Stopping Foreman jobs daemon - orchestrator on sidekiq...
+May 21 08:47:07 centos8-64-puppet8.example.com systemd[1]: [email protected]: Succeeded.
+May 21 08:47:07 centos8-64-puppet8.example.com systemd[1]: Stopped Foreman jobs daemon - orchestrator on sidekiq.
+May 21 08:47:07 centos8-64-puppet8.example.com systemd[1]: Starting Foreman jobs daemon - orchestrator on sidekiq...
+May 21 08:47:07 centos8-64-puppet8.example.com dynflow-sidekiq@orchestrator[7324]: 2024-05-21T08:47:07.923Z pid=7324 tid=4qo INFO: Enabling systemd notification integration
+May 21 08:47:08 centos8-64-puppet8.example.com dynflow-sidekiq@orchestrator[7324]: 2024-05-21T08:47:08.531Z pid=7324 tid=4qo INFO: Booting Sidekiq 6.5.12 with Sidekiq::RedisConnection::RedisAdapter options {:url=>"redis://localhost:6379/6"}
+May 21 08:47:08 centos8-64-puppet8.example.com dynflow-sidekiq@orchestrator[7324]: 2024-05-21T08:47:08.532Z pid=7324 tid=4qo INFO: GitLab reliable fetch activated!
+May 21 08:47:16 centos8-64-puppet8.example.com systemd[1]: Started Foreman jobs daemon - orchestrator on sidekiq.
+May 21 08:47:37 centos8-64-puppet8.example.com systemd[1]: Stopping Foreman jobs daemon - orchestrator on sidekiq...
+May 21 08:47:38 centos8-64-puppet8.example.com systemd[1]: [email protected]: Succeeded.
+May 21 08:47:38 centos8-64-puppet8.example.com s
|
Run tests
Process completed with exit code 1.
|
The logs for this run have expired and are no longer available.
Loading