Fix Arch Linux Prometheus Server installation #433
Annotations
10 errors
spec/acceptance/prometheus_server_spec.rb#L6
prometheus server basics prometheus server via main class works idempotently with no errors
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'ubuntu2004-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_201833103.pp.UZrb3W
Last 10 lines of output were:
Info: Class[Prometheus::Config]: Unscheduling all events on Class[Prometheus::Config]
Info: Class[Prometheus::Run_service]: Unscheduling all events on Class[Prometheus::Run_service]
�[mNotice: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Dependency File[/etc/prometheus/file_sd_config.d] has failures: true
�[mNotice: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Dependency File[prometheus.yaml] has failures: true
Info: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Unscheduling all events on Service[prometheus]
Warning: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Skipping because of failed dependencies
Warning: /Stage[main]/Prometheus::Service_reload/Exec[prometheus-reload]: Skipping because of failed dependencies
Info: Class[Prometheus::Server]: Unscheduling all events on Class[Prometheus::Server]
Info: Stage[main]: Unscheduling all events on Stage[main]
�[mNotice: Applied catalog in 2.23 seconds
|
spec/acceptance/prometheus_server_spec.rb#L24
prometheus server basics prometheus server via server class works idempotently with no errors
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'ubuntu2004-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_201842888.pp.a78sgU
Last 10 lines of output were:
Error: Could not set 'file' on ensure: No such file or directory - A directory component in /etc/prometheus/prometheus.yaml20230812-15404-bdgwez.lock does not exist or is a dangling symbolic link (file: /etc/puppetlabs/code/environments/production/modules/prometheus/manifests/config.pp, line: 298)
Error: Could not set 'file' on ensure: No such file or directory - A directory component in /etc/prometheus/prometheus.yaml20230812-15404-bdgwez.lock does not exist or is a dangling symbolic link (file: /etc/puppetlabs/code/environments/production/modules/prometheus/manifests/config.pp, line: 298)
Wrapped exception:
No such file or directory - A directory component in /etc/prometheus/prometheus.yaml20230812-15404-bdgwez.lock does not exist or is a dangling symbolic link
Error: /Stage[main]/Prometheus::Config/File[prometheus.yaml]/ensure: change from 'absent' to 'file' failed: Could not set 'file' on ensure: No such file or directory - A directory component in /etc/prometheus/prometheus.yaml20230812-15404-bdgwez.lock does not exist or is a dangling symbolic link (file: /etc/puppetlabs/code/environments/production/modules/prometheus/manifests/config.pp, line: 298)
�[mNotice: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Dependency File[/etc/prometheus/file_sd_config.d] has failures: true
�[mNotice: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Dependency File[prometheus.yaml] has failures: true
Warning: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Skipping because of failed dependencies
Warning: /Stage[main]/Prometheus::Service_reload/Exec[prometheus-reload]: Skipping because of failed dependencies
�[mNotice: Applied catalog in 0.11 seconds
|
spec/acceptance/prometheus_server_spec.rb#L41
prometheus server basics does not allow admin API
Failure/Error:
shell('curl -s -XPOST http://127.0.0.1:9090/api/v1/admin/tsdb/snapshot') do |r|
expect(r.stdout).to match(%r{admin APIs disabled})
expect(r.exit_code).to eq(0)
end
Beaker::Host::CommandFailure:
Host 'ubuntu2004-64-puppet8.example.com' exited with 7 running:
curl -s -XPOST http://127.0.0.1:9090/api/v1/admin/tsdb/snapshot
Last 10 lines of output were:
|
spec/acceptance/prometheus_server_spec.rb#L16
prometheus server basics Service "prometheus" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "prometheus" to be running
|
spec/acceptance/prometheus_server_spec.rb#L17
prometheus server basics Service "prometheus" is expected to be enabled
Failure/Error: it { is_expected.to be_enabled }
expected Service "prometheus" to be enabled
|
spec/acceptance/prometheus_server_spec.rb#L21
prometheus server basics Port "9090" is expected to be listening with tcp6
Failure/Error: it { is_expected.to be_listening.with('tcp6') }
expected Port "9090" to be listening with tcp6
|
spec/acceptance/prometheus_server_spec.rb#L33
prometheus server basics Service "prometheus" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "prometheus" to be running
|
spec/acceptance/prometheus_server_spec.rb#L34
prometheus server basics Service "prometheus" is expected to be enabled
Failure/Error: it { is_expected.to be_enabled }
expected Service "prometheus" to be enabled
|
spec/acceptance/prometheus_server_spec.rb#L38
prometheus server basics Port "9090" is expected to be listening with tcp6
Failure/Error: it { is_expected.to be_listening.with('tcp6') }
expected Port "9090" to be listening with tcp6
|
spec/acceptance/prometheus_server_spec.rb#L49
prometheus server basics updating configuration to enable Admin API prometheus server via main class works idempotently with no errors
Failure/Error: apply_manifest(pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'ubuntu2004-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_201850820.pp.H3wjt4
Last 10 lines of output were:
Info: Systemd::Daemon_reload[prometheus.service]: Scheduling refresh of Exec[systemd-prometheus.service-systemctl-daemon-reload]
�[mNotice: /Stage[main]/Prometheus::Config/Systemd::Unit_file[prometheus.service]/Systemd::Daemon_reload[prometheus.service]/Exec[systemd-prometheus.service-systemctl-daemon-reload]: Triggered 'refresh' from 1 event
Info: Systemd::Unit_file[prometheus.service]: Scheduling refresh of Class[Prometheus::Run_service]
Info: Class[Prometheus::Config]: Unscheduling all events on Class[Prometheus::Config]
Info: Class[Prometheus::Run_service]: Unscheduling all events on Class[Prometheus::Run_service]
�[mNotice: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Dependency File[/etc/prometheus/file_sd_config.d] has failures: true
�[mNotice: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Dependency File[prometheus.yaml] has failures: true
Warning: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Skipping because of failed dependencies
Warning: /Stage[main]/Prometheus::Service_reload/Exec[prometheus-reload]: Skipping because of failed dependencies
�[mNotice: Applied catalog in 0.27 seconds
|
The logs for this run have expired and are no longer available.
Loading