drop support for prometheus 1.x, update prometheus version to 2.52.0 #539
Annotations
312 errors and 21 warnings
Puppet 8 (Ruby 3.2):
spec/classes/prometheus_spec.rb#L120
prometheus on virtuozzolinux-7-x86_64 with parameters {:manage_prometheus_server=>true, :version=>"2.0.0-rc.1", :bin_dir=>"/usr/local/bin", :install_method=>"url", :rule_files=>["/etc/prometheus/rules.d/*.rules"], :proxy_server=>"proxy.test", :proxy_type=>"https"} is expected to contain Systemd::Unit_file[prometheus.service] with content supplied string
Failure/Error:
expect(subject).to contain_systemd__unit_file('prometheus.service').with(
'content' => File.read(fixtures('files', "prometheus#{prom_major}.systemd"))
)
expected that the catalogue would contain Systemd::Unit_file[prometheus.service] with content set to supplied string
Diff:
@@ -12,7 +12,7 @@
--web.console.templates=/usr/local/share/prometheus/consoles \
--web.console.libraries=/usr/local/share/prometheus/console_libraries \
--storage.tsdb.path=/var/lib/prometheus \
- --storage.tsdb.retention=360h
+ --storage.tsdb.retention.time=360h
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=always
|
Puppet 8 (Ruby 3.2):
spec/classes/prometheus_spec.rb#L162
prometheus on virtuozzolinux-7-x86_64 with parameters {:manage_prometheus_server=>true, :version=>"2.0.0-rc.1", :bin_dir=>"/usr/local/bin", :install_method=>"url", :rule_files=>["/etc/prometheus/rules.d/*.rules"], :proxy_server=>"proxy.test", :proxy_type=>"https"} is expected to contain File[prometheus.yaml] that notifies Class[prometheus::service_reload]
Failure/Error:
expect(subject).to contain_file('prometheus.yaml').with(
'ensure' => 'file',
'path' => configpath,
'owner' => 'root',
'group' => 'prometheus',
'mode' => '0640',
'show_diff' => true,
'content' => File.read(fixtures('files', "prometheus#{prom_major}.yaml"))
).that_notifies('Class[prometheus::service_reload]')
expected that the catalogue would contain File[prometheus.yaml] with content set to supplied string
Diff:
@@ -1,23 +1,3 @@
----
-global:
- scrape_interval: 15s
- evaluation_interval: 15s
- external_labels:
- monitor: master
-rule_files:
-- "/etc/prometheus/rules.d/*.rules"
-scrape_configs:
-- job_name: prometheus
- scrape_interval: 10s
- scrape_timeout: 10s
- static_configs:
- - targets:
- - localhost:9090
- labels:
- alias: Prometheus
-alerting:
- alert_relabel_configs: []
- alertmanagers: []
-remote_read: []
-remote_write: []
+
+full_config.to_yaml().gsub(/source_labels: ".+?"/) { |x| x.gsub('"', '') }
|
Puppet 8 (Ruby 3.2):
spec/classes/prometheus_spec.rb#L281
prometheus on virtuozzolinux-7-x86_64 with remote write configured with prometheus version 2.0.0-rc.1 is expected to contain File[prometheus.yaml] with ensure => "file", path => "/etc/prometheus/prometheus.yaml", owner => "root", group => "prometheus", show_diff => true and content =~ /http:\/\/domain.tld\/path/
Failure/Error:
expect(subject).to contain_file('prometheus.yaml').with(
'ensure' => 'file',
'path' => configpath,
'owner' => 'root',
'group' => 'prometheus',
'show_diff' => true,
'content' => %r{http://domain.tld/path}
)
expected that the catalogue would contain File[prometheus.yaml] with content set to /http:\/\/domain.tld\/path/ but it is set to "\nfull_config.to_yaml().gsub(/source_labels: \".+?\"/) { |x| x.gsub('\"', '') }\n"
Diff:
@@ -1,2 +1,3 @@
-(?-mix:http:\/\/domain.tld\/path)
+
+full_config.to_yaml().gsub(/source_labels: ".+?"/) { |x| x.gsub('"', '') }
|
Puppet 8 (Ruby 3.2):
spec/classes/prometheus_spec.rb#L120
prometheus on almalinux-8-x86_64 with parameters {:manage_prometheus_server=>true, :version=>"2.0.0-rc.1", :bin_dir=>"/usr/local/bin", :install_method=>"url", :rule_files=>["/etc/prometheus/rules.d/*.rules"], :proxy_server=>"proxy.test", :proxy_type=>"https"} is expected to contain Systemd::Unit_file[prometheus.service] with content supplied string
Failure/Error:
expect(subject).to contain_systemd__unit_file('prometheus.service').with(
'content' => File.read(fixtures('files', "prometheus#{prom_major}.systemd"))
)
expected that the catalogue would contain Systemd::Unit_file[prometheus.service] with content set to supplied string
Diff:
@@ -12,7 +12,7 @@
--web.console.templates=/usr/local/share/prometheus/consoles \
--web.console.libraries=/usr/local/share/prometheus/console_libraries \
--storage.tsdb.path=/var/lib/prometheus \
- --storage.tsdb.retention=360h
+ --storage.tsdb.retention.time=360h
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=always
|
Puppet 8 (Ruby 3.2):
spec/classes/prometheus_spec.rb#L162
prometheus on almalinux-8-x86_64 with parameters {:manage_prometheus_server=>true, :version=>"2.0.0-rc.1", :bin_dir=>"/usr/local/bin", :install_method=>"url", :rule_files=>["/etc/prometheus/rules.d/*.rules"], :proxy_server=>"proxy.test", :proxy_type=>"https"} is expected to contain File[prometheus.yaml] that notifies Class[prometheus::service_reload]
Failure/Error:
expect(subject).to contain_file('prometheus.yaml').with(
'ensure' => 'file',
'path' => configpath,
'owner' => 'root',
'group' => 'prometheus',
'mode' => '0640',
'show_diff' => true,
'content' => File.read(fixtures('files', "prometheus#{prom_major}.yaml"))
).that_notifies('Class[prometheus::service_reload]')
expected that the catalogue would contain File[prometheus.yaml] with content set to supplied string
Diff:
@@ -1,23 +1,3 @@
----
-global:
- scrape_interval: 15s
- evaluation_interval: 15s
- external_labels:
- monitor: master
-rule_files:
-- "/etc/prometheus/rules.d/*.rules"
-scrape_configs:
-- job_name: prometheus
- scrape_interval: 10s
- scrape_timeout: 10s
- static_configs:
- - targets:
- - localhost:9090
- labels:
- alias: Prometheus
-alerting:
- alert_relabel_configs: []
- alertmanagers: []
-remote_read: []
-remote_write: []
+
+full_config.to_yaml().gsub(/source_labels: ".+?"/) { |x| x.gsub('"', '') }
|
Puppet 8 (Ruby 3.2):
spec/classes/prometheus_spec.rb#L281
prometheus on almalinux-8-x86_64 with remote write configured with prometheus version 2.0.0-rc.1 is expected to contain File[prometheus.yaml] with ensure => "file", path => "/etc/prometheus/prometheus.yaml", owner => "root", group => "prometheus", show_diff => true and content =~ /http:\/\/domain.tld\/path/
Failure/Error:
expect(subject).to contain_file('prometheus.yaml').with(
'ensure' => 'file',
'path' => configpath,
'owner' => 'root',
'group' => 'prometheus',
'show_diff' => true,
'content' => %r{http://domain.tld/path}
)
expected that the catalogue would contain File[prometheus.yaml] with content set to /http:\/\/domain.tld\/path/ but it is set to "\nfull_config.to_yaml().gsub(/source_labels: \".+?\"/) { |x| x.gsub('\"', '') }\n"
Diff:
@@ -1,2 +1,3 @@
-(?-mix:http:\/\/domain.tld\/path)
+
+full_config.to_yaml().gsub(/source_labels: ".+?"/) { |x| x.gsub('"', '') }
|
Puppet 8 (Ruby 3.2):
spec/classes/prometheus_spec.rb#L120
prometheus on almalinux-9-x86_64 with parameters {:manage_prometheus_server=>true, :version=>"2.0.0-rc.1", :bin_dir=>"/usr/local/bin", :install_method=>"url", :rule_files=>["/etc/prometheus/rules.d/*.rules"], :proxy_server=>"proxy.test", :proxy_type=>"https"} is expected to contain Systemd::Unit_file[prometheus.service] with content supplied string
Failure/Error:
expect(subject).to contain_systemd__unit_file('prometheus.service').with(
'content' => File.read(fixtures('files', "prometheus#{prom_major}.systemd"))
)
expected that the catalogue would contain Systemd::Unit_file[prometheus.service] with content set to supplied string
Diff:
@@ -12,7 +12,7 @@
--web.console.templates=/usr/local/share/prometheus/consoles \
--web.console.libraries=/usr/local/share/prometheus/console_libraries \
--storage.tsdb.path=/var/lib/prometheus \
- --storage.tsdb.retention=360h
+ --storage.tsdb.retention.time=360h
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=always
|
Puppet 8 (Ruby 3.2):
spec/classes/prometheus_spec.rb#L162
prometheus on almalinux-9-x86_64 with parameters {:manage_prometheus_server=>true, :version=>"2.0.0-rc.1", :bin_dir=>"/usr/local/bin", :install_method=>"url", :rule_files=>["/etc/prometheus/rules.d/*.rules"], :proxy_server=>"proxy.test", :proxy_type=>"https"} is expected to contain File[prometheus.yaml] that notifies Class[prometheus::service_reload]
Failure/Error:
expect(subject).to contain_file('prometheus.yaml').with(
'ensure' => 'file',
'path' => configpath,
'owner' => 'root',
'group' => 'prometheus',
'mode' => '0640',
'show_diff' => true,
'content' => File.read(fixtures('files', "prometheus#{prom_major}.yaml"))
).that_notifies('Class[prometheus::service_reload]')
expected that the catalogue would contain File[prometheus.yaml] with content set to supplied string
Diff:
@@ -1,23 +1,3 @@
----
-global:
- scrape_interval: 15s
- evaluation_interval: 15s
- external_labels:
- monitor: master
-rule_files:
-- "/etc/prometheus/rules.d/*.rules"
-scrape_configs:
-- job_name: prometheus
- scrape_interval: 10s
- scrape_timeout: 10s
- static_configs:
- - targets:
- - localhost:9090
- labels:
- alias: Prometheus
-alerting:
- alert_relabel_configs: []
- alertmanagers: []
-remote_read: []
-remote_write: []
+
+full_config.to_yaml().gsub(/source_labels: ".+?"/) { |x| x.gsub('"', '') }
|
Puppet 8 (Ruby 3.2):
spec/classes/prometheus_spec.rb#L281
prometheus on almalinux-9-x86_64 with remote write configured with prometheus version 2.0.0-rc.1 is expected to contain File[prometheus.yaml] with ensure => "file", path => "/etc/prometheus/prometheus.yaml", owner => "root", group => "prometheus", show_diff => true and content =~ /http:\/\/domain.tld\/path/
Failure/Error:
expect(subject).to contain_file('prometheus.yaml').with(
'ensure' => 'file',
'path' => configpath,
'owner' => 'root',
'group' => 'prometheus',
'show_diff' => true,
'content' => %r{http://domain.tld/path}
)
expected that the catalogue would contain File[prometheus.yaml] with content set to /http:\/\/domain.tld\/path/ but it is set to "\nfull_config.to_yaml().gsub(/source_labels: \".+?\"/) { |x| x.gsub('\"', '') }\n"
Diff:
@@ -1,2 +1,3 @@
-(?-mix:http:\/\/domain.tld\/path)
+
+full_config.to_yaml().gsub(/source_labels: ".+?"/) { |x| x.gsub('"', '') }
|
Puppet 8 (Ruby 3.2):
spec/classes/prometheus_spec.rb#L162
prometheus on archlinux-rolling-x86_64 with parameters {:manage_prometheus_server=>true, :version=>"2.0.0-rc.1", :bin_dir=>"/usr/local/bin", :install_method=>"url", :rule_files=>["/etc/prometheus/rules.d/*.rules"], :proxy_server=>"proxy.test", :proxy_type=>"https"} is expected to contain File[prometheus.yaml] that notifies Class[prometheus::service_reload]
Failure/Error:
expect(subject).to contain_file('prometheus.yaml').with(
'ensure' => 'file',
'path' => configpath,
'owner' => 'root',
'group' => 'prometheus',
'mode' => '0640',
'show_diff' => true,
'content' => File.read(fixtures('files', "prometheus#{prom_major}.yaml"))
).that_notifies('Class[prometheus::service_reload]')
expected that the catalogue would contain File[prometheus.yaml] with content set to supplied string
Diff:
@@ -1,23 +1,3 @@
----
-global:
- scrape_interval: 15s
- evaluation_interval: 15s
- external_labels:
- monitor: master
-rule_files:
-- "/etc/prometheus/rules.d/*.rules"
-scrape_configs:
-- job_name: prometheus
- scrape_interval: 10s
- scrape_timeout: 10s
- static_configs:
- - targets:
- - localhost:9090
- labels:
- alias: Prometheus
-alerting:
- alert_relabel_configs: []
- alertmanagers: []
-remote_read: []
-remote_write: []
+
+full_config.to_yaml().gsub(/source_labels: ".+?"/) { |x| x.gsub('"', '') }
|
Puppet 7 (Ruby 2.7):
spec/classes/prometheus_spec.rb#L120
prometheus on virtuozzolinux-7-x86_64 with parameters {:manage_prometheus_server=>true, :version=>"2.0.0-rc.1", :bin_dir=>"/usr/local/bin", :install_method=>"url", :rule_files=>["/etc/prometheus/rules.d/*.rules"], :proxy_server=>"proxy.test", :proxy_type=>"https"} is expected to contain Systemd::Unit_file[prometheus.service] with content supplied string
Failure/Error:
expect(subject).to contain_systemd__unit_file('prometheus.service').with(
'content' => File.read(fixtures('files', "prometheus#{prom_major}.systemd"))
)
expected that the catalogue would contain Systemd::Unit_file[prometheus.service] with content set to supplied string
Diff:
@@ -12,7 +12,7 @@
--web.console.templates=/usr/local/share/prometheus/consoles \
--web.console.libraries=/usr/local/share/prometheus/console_libraries \
--storage.tsdb.path=/var/lib/prometheus \
- --storage.tsdb.retention=360h
+ --storage.tsdb.retention.time=360h
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=always
|
Puppet 7 (Ruby 2.7):
spec/classes/prometheus_spec.rb#L162
prometheus on virtuozzolinux-7-x86_64 with parameters {:manage_prometheus_server=>true, :version=>"2.0.0-rc.1", :bin_dir=>"/usr/local/bin", :install_method=>"url", :rule_files=>["/etc/prometheus/rules.d/*.rules"], :proxy_server=>"proxy.test", :proxy_type=>"https"} is expected to contain File[prometheus.yaml] that notifies Class[prometheus::service_reload]
Failure/Error:
expect(subject).to contain_file('prometheus.yaml').with(
'ensure' => 'file',
'path' => configpath,
'owner' => 'root',
'group' => 'prometheus',
'mode' => '0640',
'show_diff' => true,
'content' => File.read(fixtures('files', "prometheus#{prom_major}.yaml"))
).that_notifies('Class[prometheus::service_reload]')
expected that the catalogue would contain File[prometheus.yaml] with content set to supplied string
Diff:
@@ -1,23 +1,3 @@
----
-global:
- scrape_interval: 15s
- evaluation_interval: 15s
- external_labels:
- monitor: master
-rule_files:
-- "/etc/prometheus/rules.d/*.rules"
-scrape_configs:
-- job_name: prometheus
- scrape_interval: 10s
- scrape_timeout: 10s
- static_configs:
- - targets:
- - localhost:9090
- labels:
- alias: Prometheus
-alerting:
- alert_relabel_configs: []
- alertmanagers: []
-remote_read: []
-remote_write: []
+
+full_config.to_yaml().gsub(/source_labels: ".+?"/) { |x| x.gsub('"', '') }
|
Puppet 7 (Ruby 2.7):
spec/classes/prometheus_spec.rb#L281
prometheus on virtuozzolinux-7-x86_64 with remote write configured with prometheus version 2.0.0-rc.1 is expected to contain File[prometheus.yaml] with ensure => "file", path => "/etc/prometheus/prometheus.yaml", owner => "root", group => "prometheus", show_diff => true and content =~ /http:\/\/domain.tld\/path/
Failure/Error:
expect(subject).to contain_file('prometheus.yaml').with(
'ensure' => 'file',
'path' => configpath,
'owner' => 'root',
'group' => 'prometheus',
'show_diff' => true,
'content' => %r{http://domain.tld/path}
)
expected that the catalogue would contain File[prometheus.yaml] with content set to /http:\/\/domain.tld\/path/ but it is set to "\nfull_config.to_yaml().gsub(/source_labels: \".+?\"/) { |x| x.gsub('\"', '') }\n"
Diff:
@@ -1,2 +1,3 @@
-(?-mix:http:\/\/domain.tld\/path)
+
+full_config.to_yaml().gsub(/source_labels: ".+?"/) { |x| x.gsub('"', '') }
|
Puppet 7 (Ruby 2.7):
spec/classes/prometheus_spec.rb#L120
prometheus on almalinux-8-x86_64 with parameters {:manage_prometheus_server=>true, :version=>"2.0.0-rc.1", :bin_dir=>"/usr/local/bin", :install_method=>"url", :rule_files=>["/etc/prometheus/rules.d/*.rules"], :proxy_server=>"proxy.test", :proxy_type=>"https"} is expected to contain Systemd::Unit_file[prometheus.service] with content supplied string
Failure/Error:
expect(subject).to contain_systemd__unit_file('prometheus.service').with(
'content' => File.read(fixtures('files', "prometheus#{prom_major}.systemd"))
)
expected that the catalogue would contain Systemd::Unit_file[prometheus.service] with content set to supplied string
Diff:
@@ -12,7 +12,7 @@
--web.console.templates=/usr/local/share/prometheus/consoles \
--web.console.libraries=/usr/local/share/prometheus/console_libraries \
--storage.tsdb.path=/var/lib/prometheus \
- --storage.tsdb.retention=360h
+ --storage.tsdb.retention.time=360h
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=always
|
Puppet 7 (Ruby 2.7):
spec/classes/prometheus_spec.rb#L162
prometheus on almalinux-8-x86_64 with parameters {:manage_prometheus_server=>true, :version=>"2.0.0-rc.1", :bin_dir=>"/usr/local/bin", :install_method=>"url", :rule_files=>["/etc/prometheus/rules.d/*.rules"], :proxy_server=>"proxy.test", :proxy_type=>"https"} is expected to contain File[prometheus.yaml] that notifies Class[prometheus::service_reload]
Failure/Error:
expect(subject).to contain_file('prometheus.yaml').with(
'ensure' => 'file',
'path' => configpath,
'owner' => 'root',
'group' => 'prometheus',
'mode' => '0640',
'show_diff' => true,
'content' => File.read(fixtures('files', "prometheus#{prom_major}.yaml"))
).that_notifies('Class[prometheus::service_reload]')
expected that the catalogue would contain File[prometheus.yaml] with content set to supplied string
Diff:
@@ -1,23 +1,3 @@
----
-global:
- scrape_interval: 15s
- evaluation_interval: 15s
- external_labels:
- monitor: master
-rule_files:
-- "/etc/prometheus/rules.d/*.rules"
-scrape_configs:
-- job_name: prometheus
- scrape_interval: 10s
- scrape_timeout: 10s
- static_configs:
- - targets:
- - localhost:9090
- labels:
- alias: Prometheus
-alerting:
- alert_relabel_configs: []
- alertmanagers: []
-remote_read: []
-remote_write: []
+
+full_config.to_yaml().gsub(/source_labels: ".+?"/) { |x| x.gsub('"', '') }
|
Puppet 7 (Ruby 2.7):
spec/classes/prometheus_spec.rb#L281
prometheus on almalinux-8-x86_64 with remote write configured with prometheus version 2.0.0-rc.1 is expected to contain File[prometheus.yaml] with ensure => "file", path => "/etc/prometheus/prometheus.yaml", owner => "root", group => "prometheus", show_diff => true and content =~ /http:\/\/domain.tld\/path/
Failure/Error:
expect(subject).to contain_file('prometheus.yaml').with(
'ensure' => 'file',
'path' => configpath,
'owner' => 'root',
'group' => 'prometheus',
'show_diff' => true,
'content' => %r{http://domain.tld/path}
)
expected that the catalogue would contain File[prometheus.yaml] with content set to /http:\/\/domain.tld\/path/ but it is set to "\nfull_config.to_yaml().gsub(/source_labels: \".+?\"/) { |x| x.gsub('\"', '') }\n"
Diff:
@@ -1,2 +1,3 @@
-(?-mix:http:\/\/domain.tld\/path)
+
+full_config.to_yaml().gsub(/source_labels: ".+?"/) { |x| x.gsub('"', '') }
|
Puppet 7 (Ruby 2.7):
spec/classes/prometheus_spec.rb#L120
prometheus on ubuntu-22.04-x86_64 with parameters {:manage_prometheus_server=>true, :version=>"2.0.0-rc.1", :bin_dir=>"/usr/local/bin", :install_method=>"url", :rule_files=>["/etc/prometheus/rules.d/*.rules"], :proxy_server=>"proxy.test", :proxy_type=>"https"} is expected to contain Systemd::Unit_file[prometheus.service] with content supplied string
Failure/Error:
expect(subject).to contain_systemd__unit_file('prometheus.service').with(
'content' => File.read(fixtures('files', "prometheus#{prom_major}.systemd"))
)
expected that the catalogue would contain Systemd::Unit_file[prometheus.service] with content set to supplied string
Diff:
@@ -12,7 +12,7 @@
--web.console.templates=/usr/local/share/prometheus/consoles \
--web.console.libraries=/usr/local/share/prometheus/console_libraries \
--storage.tsdb.path=/var/lib/prometheus \
- --storage.tsdb.retention=360h
+ --storage.tsdb.retention.time=360h
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=always
|
Puppet 7 (Ruby 2.7):
spec/classes/prometheus_spec.rb#L162
prometheus on ubuntu-22.04-x86_64 with parameters {:manage_prometheus_server=>true, :version=>"2.0.0-rc.1", :bin_dir=>"/usr/local/bin", :install_method=>"url", :rule_files=>["/etc/prometheus/rules.d/*.rules"], :proxy_server=>"proxy.test", :proxy_type=>"https"} is expected to contain File[prometheus.yaml] that notifies Class[prometheus::service_reload]
Failure/Error:
expect(subject).to contain_file('prometheus.yaml').with(
'ensure' => 'file',
'path' => configpath,
'owner' => 'root',
'group' => 'prometheus',
'mode' => '0640',
'show_diff' => true,
'content' => File.read(fixtures('files', "prometheus#{prom_major}.yaml"))
).that_notifies('Class[prometheus::service_reload]')
expected that the catalogue would contain File[prometheus.yaml] with content set to supplied string
Diff:
@@ -1,23 +1,3 @@
----
-global:
- scrape_interval: 15s
- evaluation_interval: 15s
- external_labels:
- monitor: master
-rule_files:
-- "/etc/prometheus/rules.d/*.rules"
-scrape_configs:
-- job_name: prometheus
- scrape_interval: 10s
- scrape_timeout: 10s
- static_configs:
- - targets:
- - localhost:9090
- labels:
- alias: Prometheus
-alerting:
- alert_relabel_configs: []
- alertmanagers: []
-remote_read: []
-remote_write: []
+
+full_config.to_yaml().gsub(/source_labels: ".+?"/) { |x| x.gsub('"', '') }
|
Puppet 7 (Ruby 2.7):
spec/classes/prometheus_spec.rb#L281
prometheus on ubuntu-22.04-x86_64 with remote write configured with prometheus version 2.0.0-rc.1 is expected to contain File[prometheus.yaml] with ensure => "file", path => "/etc/prometheus/prometheus.yaml", owner => "root", group => "prometheus", show_diff => true and content =~ /http:\/\/domain.tld\/path/
Failure/Error:
expect(subject).to contain_file('prometheus.yaml').with(
'ensure' => 'file',
'path' => configpath,
'owner' => 'root',
'group' => 'prometheus',
'show_diff' => true,
'content' => %r{http://domain.tld/path}
)
expected that the catalogue would contain File[prometheus.yaml] with content set to /http:\/\/domain.tld\/path/ but it is set to "\nfull_config.to_yaml().gsub(/source_labels: \".+?\"/) { |x| x.gsub('\"', '') }\n"
Diff:
@@ -1,2 +1,3 @@
-(?-mix:http:\/\/domain.tld\/path)
+
+full_config.to_yaml().gsub(/source_labels: ".+?"/) { |x| x.gsub('"', '') }
|
Puppet 7 (Ruby 2.7):
spec/classes/prometheus_spec.rb#L120
prometheus on debian-11-x86_64 with parameters {:manage_prometheus_server=>true, :version=>"2.0.0-rc.1", :bin_dir=>"/usr/local/bin", :install_method=>"url", :rule_files=>["/etc/prometheus/rules.d/*.rules"], :proxy_server=>"proxy.test", :proxy_type=>"https"} is expected to contain Systemd::Unit_file[prometheus.service] with content supplied string
Failure/Error:
expect(subject).to contain_systemd__unit_file('prometheus.service').with(
'content' => File.read(fixtures('files', "prometheus#{prom_major}.systemd"))
)
expected that the catalogue would contain Systemd::Unit_file[prometheus.service] with content set to supplied string
Diff:
@@ -12,7 +12,7 @@
--web.console.templates=/usr/local/share/prometheus/consoles \
--web.console.libraries=/usr/local/share/prometheus/console_libraries \
--storage.tsdb.path=/var/lib/prometheus \
- --storage.tsdb.retention=360h
+ --storage.tsdb.retention.time=360h
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=always
|
Puppet 7 - OracleLinux 9:
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 'oracle9-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171635775.pp.USniuW
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[prometheus.yaml] has failures: true
Warning: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Skipping because of failed dependencies
Info: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Unscheduling all events on Service[prometheus]
Info: Class[Prometheus::Service_reload]: Unscheduling all events on Class[Prometheus::Service_reload]
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 1.66 seconds
|
Puppet 7 - OracleLinux 9:
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 'oracle9-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171639362.pp.kbHKwY
Last 10 lines of output were:
Info: Using environment 'production'
Info: Applying configuration version '1716139000'
Error: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-20957-1h5fd5' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-20957-1h5fd5
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-20957-1h5fd5: yaml: line 1: did not find expected key
Error: /Stage[main]/Prometheus::Config/File[prometheus.yaml]/ensure: change from 'absent' to 'file' failed: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-20957-1h5fd5' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-20957-1h5fd5
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-20957-1h5fd5: yaml: line 1: did not find expected key
�[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.12 seconds
|
Puppet 7 - OracleLinux 9:
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 'oracle9-64-puppet7.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:
|
Puppet 7 - OracleLinux 9:
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
|
Puppet 7 - OracleLinux 9:
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
|
Puppet 7 - OracleLinux 9:
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
|
Puppet 7 - OracleLinux 9:
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
|
Puppet 7 - OracleLinux 9:
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
|
Puppet 7 - OracleLinux 9:
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
|
Puppet 7 - OracleLinux 9:
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 'oracle9-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171641723.pp.GFPKha
Last 10 lines of output were:
Info: /Stage[main]/Prometheus::Config/Systemd::Unit_file[prometheus.service]/File[/etc/systemd/system/prometheus.service]: Scheduling refresh of Systemd::Daemon_reload[prometheus.service]
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[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.20 seconds
|
Puppet 7 - Rocky 8:
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 'rocky8-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171639018.pp.oT22vP
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[prometheus.yaml] has failures: true
Warning: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Skipping because of failed dependencies
Info: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Unscheduling all events on Service[prometheus]
Info: Class[Prometheus::Service_reload]: Unscheduling all events on Class[Prometheus::Service_reload]
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 1.63 seconds
|
Puppet 7 - Rocky 8:
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 'rocky8-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171642673.pp.kSGRv6
Last 10 lines of output were:
Info: Using environment 'production'
Info: Applying configuration version '1716139004'
Error: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-20810-1rzdqyw' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-20810-1rzdqyw
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-20810-1rzdqyw: yaml: line 1: did not find expected key
Error: /Stage[main]/Prometheus::Config/File[prometheus.yaml]/ensure: change from 'absent' to 'file' failed: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-20810-1rzdqyw' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-20810-1rzdqyw
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-20810-1rzdqyw: yaml: line 1: did not find expected key
�[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
|
Puppet 7 - Rocky 8:
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 'rocky8-64-puppet7.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:
|
Puppet 7 - Rocky 8:
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
|
Puppet 7 - Rocky 8:
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
|
Puppet 7 - Rocky 8:
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
|
Puppet 7 - Rocky 8:
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
|
Puppet 7 - Rocky 8:
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
|
Puppet 7 - Rocky 8:
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
|
Puppet 7 - Rocky 8:
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 'rocky8-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171645055.pp.gPNEBi
Last 10 lines of output were:
Info: /Stage[main]/Prometheus::Config/Systemd::Unit_file[prometheus.service]/File[/etc/systemd/system/prometheus.service]: Scheduling refresh of Systemd::Daemon_reload[prometheus.service]
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[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.16 seconds
|
Puppet 7 - Rocky 9:
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 'rocky9-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171640083.pp.T56i3m
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[prometheus.yaml] has failures: true
Warning: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Skipping because of failed dependencies
Info: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Unscheduling all events on Service[prometheus]
Info: Class[Prometheus::Service_reload]: Unscheduling all events on Class[Prometheus::Service_reload]
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 1.96 seconds
|
Puppet 7 - Rocky 9:
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 'rocky9-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171644018.pp.7Wnuc7
Last 10 lines of output were:
Info: Using environment 'production'
Info: Applying configuration version '1716139005'
Error: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-22889-x9gogc' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-22889-x9gogc
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-22889-x9gogc: yaml: line 1: did not find expected key
Error: /Stage[main]/Prometheus::Config/File[prometheus.yaml]/ensure: change from 'absent' to 'file' failed: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-22889-x9gogc' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-22889-x9gogc
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-22889-x9gogc: yaml: line 1: did not find expected key
�[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.12 seconds
|
Puppet 7 - Rocky 9:
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 'rocky9-64-puppet7.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:
|
Puppet 7 - Rocky 9:
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
|
Puppet 7 - Rocky 9:
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
|
Puppet 7 - Rocky 9:
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
|
Puppet 7 - Rocky 9:
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
|
Puppet 7 - Rocky 9:
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
|
Puppet 7 - Rocky 9:
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
|
Puppet 7 - Rocky 9:
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 'rocky9-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171646408.pp.4ZN7uU
Last 10 lines of output were:
Info: /Stage[main]/Prometheus::Config/Systemd::Unit_file[prometheus.service]/File[/etc/systemd/system/prometheus.service]: Scheduling refresh of Systemd::Daemon_reload[prometheus.service]
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[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.33 seconds
|
Puppet 7 - AlmaLinux 9:
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 'almalinux9-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171643151.pp.wq8D3E
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[prometheus.yaml] has failures: true
Warning: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Skipping because of failed dependencies
Info: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Unscheduling all events on Service[prometheus]
Info: Class[Prometheus::Service_reload]: Unscheduling all events on Class[Prometheus::Service_reload]
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 1.84 seconds
|
Puppet 7 - AlmaLinux 9:
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 'almalinux9-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171646972.pp.5EpEeU
Last 10 lines of output were:
Info: Using environment 'production'
Info: Applying configuration version '1716139008'
Error: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-24509-5nh5g4' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-24509-5nh5g4
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-24509-5nh5g4: yaml: line 1: did not find expected key
Error: /Stage[main]/Prometheus::Config/File[prometheus.yaml]/ensure: change from 'absent' to 'file' failed: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-24509-5nh5g4' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-24509-5nh5g4
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-24509-5nh5g4: yaml: line 1: did not find expected key
�[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.09 seconds
|
Puppet 7 - AlmaLinux 9:
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 'almalinux9-64-puppet7.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:
|
Puppet 7 - AlmaLinux 9:
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
|
Puppet 7 - AlmaLinux 9:
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
|
Puppet 7 - AlmaLinux 9:
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
|
Puppet 7 - AlmaLinux 9:
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
|
Puppet 7 - AlmaLinux 9:
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
|
Puppet 7 - AlmaLinux 9:
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
|
Puppet 7 - AlmaLinux 9:
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 'almalinux9-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171649391.pp.HA7UP5
Last 10 lines of output were:
Info: /Stage[main]/Prometheus::Config/Systemd::Unit_file[prometheus.service]/File[/etc/systemd/system/prometheus.service]: Scheduling refresh of Systemd::Daemon_reload[prometheus.service]
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[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.18 seconds
|
Puppet 8 - AlmaLinux 8:
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 'almalinux8-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171650014.pp.cFuaMm
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[prometheus.yaml] has failures: true
Warning: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Skipping because of failed dependencies
Info: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Unscheduling all events on Service[prometheus]
Info: Class[Prometheus::Service_reload]: Unscheduling all events on Class[Prometheus::Service_reload]
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 1.71 seconds
|
Puppet 8 - AlmaLinux 8:
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 'almalinux8-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171653810.pp.vQNK8V
Last 10 lines of output were:
Info: Using environment 'production'
Info: Applying configuration version '1716139015'
Error: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-22047-ru9x6e' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-22047-ru9x6e
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-22047-ru9x6e: yaml: line 1: did not find expected key
Error: /Stage[main]/Prometheus::Config/File[prometheus.yaml]/ensure: change from 'absent' to 'file' failed: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-22047-ru9x6e' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-22047-ru9x6e
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-22047-ru9x6e: yaml: line 1: did not find expected key
�[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.10 seconds
|
Puppet 8 - AlmaLinux 8:
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 'almalinux8-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:
|
Puppet 8 - AlmaLinux 8:
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
|
Puppet 8 - AlmaLinux 8:
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
|
Puppet 8 - AlmaLinux 8:
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
|
Puppet 8 - AlmaLinux 8:
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
|
Puppet 8 - AlmaLinux 8:
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
|
Puppet 8 - AlmaLinux 8:
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
|
Puppet 8 - AlmaLinux 8:
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 'almalinux8-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171656346.pp.7Nw1VZ
Last 10 lines of output were:
Info: /Stage[main]/Prometheus::Config/Systemd::Unit_file[prometheus.service]/File[/etc/systemd/system/prometheus.service]: Scheduling refresh of Systemd::Daemon_reload[prometheus.service]
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[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.18 seconds
|
Puppet 8 - CentOS 9:
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 'centos9-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171656399.pp.dWMK1F
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[prometheus.yaml] has failures: true
Warning: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Skipping because of failed dependencies
Info: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Unscheduling all events on Service[prometheus]
Info: Class[Prometheus::Service_reload]: Unscheduling all events on Class[Prometheus::Service_reload]
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 1.55 seconds
|
Puppet 8 - CentOS 9:
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 'centos9-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171700058.pp.ccmt3J
Last 10 lines of output were:
Info: Using environment 'production'
Info: Applying configuration version '1716139021'
Error: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-21113-1hywtw' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-21113-1hywtw
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-21113-1hywtw: yaml: line 1: did not find expected key
Error: /Stage[main]/Prometheus::Config/File[prometheus.yaml]/ensure: change from 'absent' to 'file' failed: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-21113-1hywtw' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-21113-1hywtw
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-21113-1hywtw: yaml: line 1: did not find expected key
�[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.09 seconds
|
Puppet 8 - CentOS 9:
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 'centos9-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:
|
Puppet 8 - CentOS 9:
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
|
Puppet 8 - CentOS 9:
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
|
Puppet 8 - CentOS 9:
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
|
Puppet 8 - CentOS 9:
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
|
Puppet 8 - CentOS 9:
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
|
Puppet 8 - CentOS 9:
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
|
Puppet 8 - CentOS 9:
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 'centos9-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171702521.pp.gH3XUP
Last 10 lines of output were:
Info: /Stage[main]/Prometheus::Config/Systemd::Unit_file[prometheus.service]/File[/etc/systemd/system/prometheus.service]: Scheduling refresh of Systemd::Daemon_reload[prometheus.service]
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[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.19 seconds
|
Puppet 7 - OracleLinux 8:
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 'oracle8-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171705443.pp.RObi4h
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[prometheus.yaml] has failures: true
Warning: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Skipping because of failed dependencies
Info: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Unscheduling all events on Service[prometheus]
Info: Class[Prometheus::Service_reload]: Unscheduling all events on Class[Prometheus::Service_reload]
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 1.58 seconds
|
Puppet 7 - OracleLinux 8:
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 'oracle8-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171709027.pp.Y7Eggt
Last 10 lines of output were:
Info: Using environment 'production'
Info: Applying configuration version '1716139030'
Error: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-19846-s8mmzq' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-19846-s8mmzq
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-19846-s8mmzq: yaml: line 1: did not find expected key
Error: /Stage[main]/Prometheus::Config/File[prometheus.yaml]/ensure: change from 'absent' to 'file' failed: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-19846-s8mmzq' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-19846-s8mmzq
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-19846-s8mmzq: yaml: line 1: did not find expected key
�[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.09 seconds
|
Puppet 7 - OracleLinux 8:
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 'oracle8-64-puppet7.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:
|
Puppet 7 - OracleLinux 8:
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
|
Puppet 7 - OracleLinux 8:
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
|
Puppet 7 - OracleLinux 8:
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
|
Puppet 7 - OracleLinux 8:
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
|
Puppet 7 - OracleLinux 8:
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
|
Puppet 7 - OracleLinux 8:
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
|
Puppet 7 - OracleLinux 8:
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 'oracle8-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171711449.pp.zxuMXj
Last 10 lines of output were:
Info: /Stage[main]/Prometheus::Config/Systemd::Unit_file[prometheus.service]/File[/etc/systemd/system/prometheus.service]: Scheduling refresh of Systemd::Daemon_reload[prometheus.service]
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[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.17 seconds
|
Puppet 8 - Rocky 8:
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 'rocky8-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171705708.pp.d5UKo5
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[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
Info: Class[Prometheus::Service_reload]: Unscheduling all events on Class[Prometheus::Service_reload]
Info: Class[Prometheus::Server]: Unscheduling all events on Class[Prometheus::Server]
Info: Stage[main]: Unscheduling all events on Stage[main]
Warning: /Stage[main]/Prometheus::Service_reload/Exec[prometheus-reload]: Skipping because of failed dependencies
�[mNotice: Applied catalog in 1.63 seconds
|
Puppet 8 - Rocky 8:
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 'rocky8-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171709486.pp.7AGYSK
Last 10 lines of output were:
Info: Using environment 'production'
Info: Applying configuration version '1716139031'
Error: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-20837-bqykq6' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-20837-bqykq6
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-20837-bqykq6: yaml: line 1: did not find expected key
Error: /Stage[main]/Prometheus::Config/File[prometheus.yaml]/ensure: change from 'absent' to 'file' failed: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-20837-bqykq6' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-20837-bqykq6
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-20837-bqykq6: yaml: line 1: did not find expected key
�[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
|
Puppet 8 - Rocky 8:
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 'rocky8-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:
|
Puppet 8 - Rocky 8:
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
|
Puppet 8 - Rocky 8:
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
|
Puppet 8 - Rocky 8:
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
|
Puppet 8 - Rocky 8:
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
|
Puppet 8 - Rocky 8:
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
|
Puppet 8 - Rocky 8:
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
|
Puppet 8 - Rocky 8:
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 'rocky8-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171711988.pp.fbddV5
Last 10 lines of output were:
Info: /Stage[main]/Prometheus::Config/Systemd::Unit_file[prometheus.service]/File[/etc/systemd/system/prometheus.service]: Scheduling refresh of Systemd::Daemon_reload[prometheus.service]
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[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.19 seconds
|
Puppet 7 - CentOS 9:
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 'centos9-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171708071.pp.tmUb9q
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[prometheus.yaml] has failures: true
Warning: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Skipping because of failed dependencies
Info: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Unscheduling all events on Service[prometheus]
Info: Class[Prometheus::Service_reload]: Unscheduling all events on Class[Prometheus::Service_reload]
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.28 seconds
|
Puppet 7 - CentOS 9:
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 'centos9-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171712305.pp.N8Vgmh
Last 10 lines of output were:
Info: Using environment 'production'
Info: Applying configuration version '1716139033'
Error: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-20961-e4rlyh' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-20961-e4rlyh
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-20961-e4rlyh: yaml: line 1: did not find expected key
Error: /Stage[main]/Prometheus::Config/File[prometheus.yaml]/ensure: change from 'absent' to 'file' failed: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-20961-e4rlyh' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-20961-e4rlyh
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-20961-e4rlyh: yaml: line 1: did not find expected key
�[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.12 seconds
|
Puppet 7 - CentOS 9:
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 'centos9-64-puppet7.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:
|
Puppet 7 - CentOS 9:
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
|
Puppet 7 - CentOS 9:
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
|
Puppet 7 - CentOS 9:
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
|
Puppet 7 - CentOS 9:
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
|
Puppet 7 - CentOS 9:
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
|
Puppet 7 - CentOS 9:
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
|
Puppet 7 - CentOS 9:
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 'centos9-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171714683.pp.5O2c6j
Last 10 lines of output were:
Info: /Stage[main]/Prometheus::Config/Systemd::Unit_file[prometheus.service]/File[/etc/systemd/system/prometheus.service]: Scheduling refresh of Systemd::Daemon_reload[prometheus.service]
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[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.19 seconds
|
Puppet 7 - AlmaLinux 8:
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 'almalinux8-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171706926.pp.Pd5oLk
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[prometheus.yaml] has failures: true
Warning: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Skipping because of failed dependencies
Info: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Unscheduling all events on Service[prometheus]
Info: Class[Prometheus::Service_reload]: Unscheduling all events on Class[Prometheus::Service_reload]
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 3.43 seconds
|
Puppet 7 - AlmaLinux 8:
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 'almalinux8-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171712400.pp.1d0tHv
Last 10 lines of output were:
Info: Using environment 'production'
Info: Applying configuration version '1716139034'
Error: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-22173-1k19xm3' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-22173-1k19xm3
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-22173-1k19xm3: yaml: line 1: did not find expected key
Error: /Stage[main]/Prometheus::Config/File[prometheus.yaml]/ensure: change from 'absent' to 'file' failed: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-22173-1k19xm3' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-22173-1k19xm3
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-22173-1k19xm3: yaml: line 1: did not find expected key
�[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.09 seconds
|
Puppet 7 - AlmaLinux 8:
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 'almalinux8-64-puppet7.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:
|
Puppet 7 - AlmaLinux 8:
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
|
Puppet 7 - AlmaLinux 8:
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
|
Puppet 7 - AlmaLinux 8:
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
|
Puppet 7 - AlmaLinux 8:
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
|
Puppet 7 - AlmaLinux 8:
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
|
Puppet 7 - AlmaLinux 8:
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
|
Puppet 7 - AlmaLinux 8:
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 'almalinux8-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171714872.pp.tHDaH7
Last 10 lines of output were:
Info: /Stage[main]/Prometheus::Config/Systemd::Unit_file[prometheus.service]/File[/etc/systemd/system/prometheus.service]: Scheduling refresh of Systemd::Daemon_reload[prometheus.service]
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[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.16 seconds
|
Puppet 7 - CentOS 7:
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 'centos7-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171708111.pp.E5Z7Q3
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[prometheus.yaml] has failures: true
Warning: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Skipping because of failed dependencies
Info: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Unscheduling all events on Service[prometheus]
Info: Class[Prometheus::Service_reload]: Unscheduling all events on Class[Prometheus::Service_reload]
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.15 seconds
|
Puppet 7 - CentOS 7:
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 'centos7-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171712350.pp.FywAXz
Last 10 lines of output were:
Info: Using environment 'production'
Info: Applying configuration version '1716139033'
Error: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-15448-2b1185' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-15448-2b1185
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-15448-2b1185: yaml: line 1: did not find expected key
Error: /Stage[main]/Prometheus::Config/File[prometheus.yaml]/ensure: change from 'absent' to 'file' failed: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-15448-2b1185' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-15448-2b1185
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-15448-2b1185: yaml: line 1: did not find expected key
�[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.12 seconds
|
Puppet 7 - CentOS 7:
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 'centos7-64-puppet7.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:
|
Puppet 7 - CentOS 7:
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
|
Puppet 7 - CentOS 7:
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
|
Puppet 7 - CentOS 7:
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
|
Puppet 7 - CentOS 7:
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
|
Puppet 7 - CentOS 7:
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
|
Puppet 7 - CentOS 7:
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
|
Puppet 7 - CentOS 7:
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 'centos7-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171714759.pp.mwkUzP
Last 10 lines of output were:
Info: /Stage[main]/Prometheus::Config/Systemd::Unit_file[prometheus.service]/File[/etc/systemd/system/prometheus.service]: Scheduling refresh of Systemd::Daemon_reload[prometheus.service]
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[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.15 seconds
|
Puppet 8 - AlmaLinux 9:
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 'almalinux9-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171710820.pp.ObyXPr
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[prometheus.yaml] has failures: true
Warning: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Skipping because of failed dependencies
Info: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Unscheduling all events on Service[prometheus]
Info: Class[Prometheus::Service_reload]: Unscheduling all events on Class[Prometheus::Service_reload]
Info: Class[Prometheus::Server]: Unscheduling all events on Class[Prometheus::Server]
Info: Stage[main]: Unscheduling all events on Stage[main]
Warning: /Stage[main]/Prometheus::Service_reload/Exec[prometheus-reload]: Skipping because of failed dependencies
�[mNotice: Applied catalog in 3.17 seconds
|
Puppet 8 - AlmaLinux 9:
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 'almalinux9-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171716105.pp.JfEGyx
Last 10 lines of output were:
Info: Using environment 'production'
Info: Applying configuration version '1716139037'
Error: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-24112-1vhmk16' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-24112-1vhmk16
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-24112-1vhmk16: yaml: line 1: did not find expected key
Error: /Stage[main]/Prometheus::Config/File[prometheus.yaml]/ensure: change from 'absent' to 'file' failed: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-24112-1vhmk16' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-24112-1vhmk16
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-24112-1vhmk16: yaml: line 1: did not find expected key
�[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
|
Puppet 8 - AlmaLinux 9:
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 'almalinux9-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:
|
Puppet 8 - AlmaLinux 9:
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
|
Puppet 8 - AlmaLinux 9:
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
|
Puppet 8 - AlmaLinux 9:
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
|
Puppet 8 - AlmaLinux 9:
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
|
Puppet 8 - AlmaLinux 9:
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
|
Puppet 8 - AlmaLinux 9:
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
|
Puppet 8 - AlmaLinux 9:
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 'almalinux9-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171718653.pp.hjK2qg
Last 10 lines of output were:
Info: /Stage[main]/Prometheus::Config/Systemd::Unit_file[prometheus.service]/File[/etc/systemd/system/prometheus.service]: Scheduling refresh of Systemd::Daemon_reload[prometheus.service]
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[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.20 seconds
|
Puppet 8 - CentOS 7:
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 'centos7-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171718385.pp.IA9VpA
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[prometheus.yaml] has failures: true
Warning: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Skipping because of failed dependencies
Info: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Unscheduling all events on Service[prometheus]
Info: Class[Prometheus::Service_reload]: Unscheduling all events on Class[Prometheus::Service_reload]
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 1.84 seconds
|
Puppet 8 - CentOS 7:
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 'centos7-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171722496.pp.t2EDou
Last 10 lines of output were:
Info: Using environment 'production'
Info: Applying configuration version '1716139044'
Error: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-15923-1gmtu8q' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-15923-1gmtu8q
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-15923-1gmtu8q: yaml: line 1: did not find expected key
Error: /Stage[main]/Prometheus::Config/File[prometheus.yaml]/ensure: change from 'absent' to 'file' failed: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-15923-1gmtu8q' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-15923-1gmtu8q
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-15923-1gmtu8q: yaml: line 1: did not find expected key
�[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.09 seconds
|
Puppet 8 - CentOS 7:
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 'centos7-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:
|
Puppet 8 - CentOS 7:
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
|
Puppet 8 - CentOS 7:
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
|
Puppet 8 - CentOS 7:
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
|
Puppet 8 - CentOS 7:
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
|
Puppet 8 - CentOS 7:
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
|
Puppet 8 - CentOS 7:
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
|
Puppet 8 - CentOS 7:
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 'centos7-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171725130.pp.Vv9ui4
Last 10 lines of output were:
Info: /Stage[main]/Prometheus::Config/Systemd::Unit_file[prometheus.service]/File[/etc/systemd/system/prometheus.service]: Scheduling refresh of Systemd::Daemon_reload[prometheus.service]
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[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.14 seconds
|
Puppet 8 - Rocky 9:
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 'rocky9-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171716263.pp.nan1IM
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[prometheus.yaml] has failures: true
Warning: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Skipping because of failed dependencies
Info: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Unscheduling all events on Service[prometheus]
Info: Class[Prometheus::Service_reload]: Unscheduling all events on Class[Prometheus::Service_reload]
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 1.93 seconds
|
Puppet 8 - Rocky 9:
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 'rocky9-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171720403.pp.aG7aLw
Last 10 lines of output were:
Info: Using environment 'production'
Info: Applying configuration version '1716139042'
Error: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-22765-1909kqo' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-22765-1909kqo
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-22765-1909kqo: yaml: line 1: did not find expected key
Error: /Stage[main]/Prometheus::Config/File[prometheus.yaml]/ensure: change from 'absent' to 'file' failed: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-22765-1909kqo' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-22765-1909kqo
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-22765-1909kqo: yaml: line 1: did not find expected key
�[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.12 seconds
|
Puppet 8 - Rocky 9:
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 'rocky9-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:
|
Puppet 8 - Rocky 9:
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
|
Puppet 8 - Rocky 9:
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
|
Puppet 8 - Rocky 9:
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
|
Puppet 8 - Rocky 9:
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
|
Puppet 8 - Rocky 9:
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
|
Puppet 8 - Rocky 9:
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
|
Puppet 8 - Rocky 9:
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 'rocky9-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171723048.pp.6LWBsl
Last 10 lines of output were:
Info: /Stage[main]/Prometheus::Config/Systemd::Unit_file[prometheus.service]/File[/etc/systemd/system/prometheus.service]: Scheduling refresh of Systemd::Daemon_reload[prometheus.service]
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[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.22 seconds
|
Puppet 8 - CentOS 8:
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 'centos8-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171728714.pp.4meBY3
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[prometheus.yaml] has failures: true
Warning: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Skipping because of failed dependencies
Info: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Unscheduling all events on Service[prometheus]
Info: Class[Prometheus::Service_reload]: Unscheduling all events on Class[Prometheus::Service_reload]
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 1.66 seconds
|
Puppet 8 - CentOS 8:
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 'centos8-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171732533.pp.BTgFDY
Last 10 lines of output were:
Info: Using environment 'production'
Info: Applying configuration version '1716139054'
Error: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-22713-jmos0b' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-22713-jmos0b
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-22713-jmos0b: yaml: line 1: did not find expected key
Error: /Stage[main]/Prometheus::Config/File[prometheus.yaml]/ensure: change from 'absent' to 'file' failed: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-22713-jmos0b' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-22713-jmos0b
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-22713-jmos0b: yaml: line 1: did not find expected key
�[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.12 seconds
|
Puppet 8 - CentOS 8:
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 'centos8-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:
|
Puppet 8 - CentOS 8:
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
|
Puppet 8 - CentOS 8:
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
|
Puppet 8 - CentOS 8:
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
|
Puppet 8 - CentOS 8:
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
|
Puppet 8 - CentOS 8:
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
|
Puppet 8 - CentOS 8:
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
|
Puppet 8 - CentOS 8:
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 'centos8-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171735201.pp.6LhP2o
Last 10 lines of output were:
Info: /Stage[main]/Prometheus::Config/Systemd::Unit_file[prometheus.service]/File[/etc/systemd/system/prometheus.service]: Scheduling refresh of Systemd::Daemon_reload[prometheus.service]
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[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.22 seconds
|
Puppet 8 - OracleLinux 9:
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 'oracle9-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171724975.pp.IcAvHg
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[prometheus.yaml] has failures: true
Warning: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Skipping because of failed dependencies
Info: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Unscheduling all events on Service[prometheus]
Info: Class[Prometheus::Service_reload]: Unscheduling all events on Class[Prometheus::Service_reload]
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.82 seconds
|
Puppet 8 - OracleLinux 9:
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 'oracle9-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171729894.pp.229yHv
Last 10 lines of output were:
Info: Using environment 'production'
Info: Applying configuration version '1716139051'
Error: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-20834-1bjcf4d' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-20834-1bjcf4d
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-20834-1bjcf4d: yaml: line 1: did not find expected key
Error: /Stage[main]/Prometheus::Config/File[prometheus.yaml]/ensure: change from 'absent' to 'file' failed: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-20834-1bjcf4d' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-20834-1bjcf4d
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-20834-1bjcf4d: yaml: line 1: did not find expected key
�[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.12 seconds
|
Puppet 8 - OracleLinux 9:
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 'oracle9-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:
|
Puppet 8 - OracleLinux 9:
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
|
Puppet 8 - OracleLinux 9:
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
|
Puppet 8 - OracleLinux 9:
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
|
Puppet 8 - OracleLinux 9:
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
|
Puppet 8 - OracleLinux 9:
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
|
Puppet 8 - OracleLinux 9:
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
|
Puppet 8 - OracleLinux 9:
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 'oracle9-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171732472.pp.TQoNm8
Last 10 lines of output were:
Info: /Stage[main]/Prometheus::Config/Systemd::Unit_file[prometheus.service]/File[/etc/systemd/system/prometheus.service]: Scheduling refresh of Systemd::Daemon_reload[prometheus.service]
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[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.26 seconds
|
Puppet 7 - CentOS 8:
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 'centos8-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171740703.pp.pdynEv
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[prometheus.yaml] has failures: true
Warning: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Skipping because of failed dependencies
Info: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Unscheduling all events on Service[prometheus]
Info: Class[Prometheus::Service_reload]: Unscheduling all events on Class[Prometheus::Service_reload]
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.11 seconds
|
Puppet 7 - CentOS 8:
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 'centos8-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171744816.pp.FfUOAR
Last 10 lines of output were:
Info: Using environment 'production'
Info: Applying configuration version '1716139066'
Error: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-22807-6hhkbe' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-22807-6hhkbe
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-22807-6hhkbe: yaml: line 1: did not find expected key
Error: /Stage[main]/Prometheus::Config/File[prometheus.yaml]/ensure: change from 'absent' to 'file' failed: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-22807-6hhkbe' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-22807-6hhkbe
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-22807-6hhkbe: yaml: line 1: did not find expected key
�[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.09 seconds
|
Puppet 7 - CentOS 8:
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 'centos8-64-puppet7.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:
|
Puppet 7 - CentOS 8:
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
|
Puppet 7 - CentOS 8:
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
|
Puppet 7 - CentOS 8:
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
|
Puppet 7 - CentOS 8:
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
|
Puppet 7 - CentOS 8:
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
|
Puppet 7 - CentOS 8:
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
|
Puppet 7 - CentOS 8:
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 'centos8-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171747235.pp.KZLb5A
Last 10 lines of output were:
Info: /Stage[main]/Prometheus::Config/Systemd::Unit_file[prometheus.service]/File[/etc/systemd/system/prometheus.service]: Scheduling refresh of Systemd::Daemon_reload[prometheus.service]
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[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.21 seconds
|
Puppet 8 - OracleLinux 8:
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 'oracle8-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171737240.pp.yQoJJz
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[prometheus.yaml] has failures: true
Info: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Unscheduling all events on Service[prometheus]
Info: Class[Prometheus::Service_reload]: Unscheduling all events on Class[Prometheus::Service_reload]
Info: Class[Prometheus::Server]: Unscheduling all events on Class[Prometheus::Server]
Info: Stage[main]: Unscheduling all events on Stage[main]
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 2.17 seconds
|
Puppet 8 - OracleLinux 8:
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 'oracle8-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171741432.pp.cv809f
Last 10 lines of output were:
Info: Using environment 'production'
Info: Applying configuration version '1716139063'
Error: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-19721-xofktu' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-19721-xofktu
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-19721-xofktu: yaml: line 1: did not find expected key
Error: /Stage[main]/Prometheus::Config/File[prometheus.yaml]/ensure: change from 'absent' to 'file' failed: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-19721-xofktu' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-19721-xofktu
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-19721-xofktu: yaml: line 1: did not find expected key
�[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.09 seconds
|
Puppet 8 - OracleLinux 8:
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 'oracle8-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:
|
Puppet 8 - OracleLinux 8:
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
|
Puppet 8 - OracleLinux 8:
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
|
Puppet 8 - OracleLinux 8:
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
|
Puppet 8 - OracleLinux 8:
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
|
Puppet 8 - OracleLinux 8:
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
|
Puppet 8 - OracleLinux 8:
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
|
Puppet 8 - OracleLinux 8:
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 'oracle8-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171743953.pp.ldx0Cm
Last 10 lines of output were:
Info: /Stage[main]/Prometheus::Config/Systemd::Unit_file[prometheus.service]/File[/etc/systemd/system/prometheus.service]: Scheduling refresh of Systemd::Daemon_reload[prometheus.service]
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[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.20 seconds
|
Puppet 7 - Debian 11
Canceling since a higher priority waiting request for '728/merge' exists
|
Puppet 7 - Debian 11:
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 'debian11-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171804356.pp.0ITZvl
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[prometheus.yaml] has failures: true
Warning: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Skipping because of failed dependencies
Info: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Unscheduling all events on Service[prometheus]
Info: Class[Prometheus::Service_reload]: Unscheduling all events on Class[Prometheus::Service_reload]
Info: Class[Prometheus::Server]: Unscheduling all events on Class[Prometheus::Server]
Info: Stage[main]: Unscheduling all events on Stage[main]
Warning: /Stage[main]/Prometheus::Service_reload/Exec[prometheus-reload]: Skipping because of failed dependencies
�[mNotice: Applied catalog in 1.66 seconds
|
Puppet 7 - Debian 11:
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 'debian11-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171808982.pp.FYNMRs
Last 10 lines of output were:
Info: Using environment 'production'
Info: Applying configuration version '1716139091'
Error: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-16264-1qyycks' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-16264-1qyycks
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-16264-1qyycks: yaml: line 1: did not find expected key
Error: /Stage[main]/Prometheus::Config/File[prometheus.yaml]/ensure: change from 'absent' to 'file' failed: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-16264-1qyycks' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-16264-1qyycks
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-16264-1qyycks: yaml: line 1: did not find expected key
�[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.10 seconds
|
Puppet 7 - Debian 11:
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 'debian11-64-puppet7.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:
|
Puppet 7 - Debian 11:
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
|
Puppet 7 - Debian 11:
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
|
Puppet 7 - Debian 11:
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
|
Puppet 7 - Debian 11:
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
|
Puppet 7 - Debian 11:
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
|
Puppet 7 - Debian 11:
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
|
Puppet 7 - Debian 11:
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 'debian11-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171812285.pp.KejGWo
Last 10 lines of output were:
Info: /Stage[main]/Prometheus::Config/Systemd::Unit_file[prometheus.service]/File[/etc/systemd/system/prometheus.service]: Scheduling refresh of Systemd::Daemon_reload[prometheus.service]
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[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.19 seconds
|
Puppet 8 - Debian 11
Canceling since a higher priority waiting request for '728/merge' exists
|
Puppet 8 - Debian 11:
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 'debian11-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171841624.pp.wBXFzZ
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[prometheus.yaml] has failures: true
Warning: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Skipping because of failed dependencies
Info: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Unscheduling all events on Service[prometheus]
Info: Class[Prometheus::Service_reload]: Unscheduling all events on Class[Prometheus::Service_reload]
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 1.56 seconds
|
Puppet 7 - Debian 12
Canceling since a higher priority waiting request for '728/merge' exists
|
Puppet 8 - Debian 11:
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 'debian11-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171846778.pp.aPoKOY
Last 10 lines of output were:
Info: Using environment 'production'
Info: Applying configuration version '1716139129'
Error: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-16151-95eg3g' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-16151-95eg3g
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-16151-95eg3g: yaml: line 1: did not find expected key
Error: /Stage[main]/Prometheus::Config/File[prometheus.yaml]/ensure: change from 'absent' to 'file' failed: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-16151-95eg3g' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-16151-95eg3g
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-16151-95eg3g: yaml: line 1: did not find expected key
�[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
|
Puppet 7 - Debian 12:
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 'debian12-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171821586.pp.G7bl2R
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[prometheus.yaml] has failures: true
Warning: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Skipping because of failed dependencies
Info: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Unscheduling all events on Service[prometheus]
Info: Class[Prometheus::Service_reload]: Unscheduling all events on Class[Prometheus::Service_reload]
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 1.62 seconds
|
Puppet 8 - Debian 11:
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 'debian11-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:
|
Puppet 7 - Ubuntu 22.04
Canceling since a higher priority waiting request for '728/merge' exists
|
Puppet 8 - Ubuntu 22.04
Canceling since a higher priority waiting request for '728/merge' exists
|
Puppet 7 - Debian 12:
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 'debian12-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171826522.pp.Dzl0Hh
Last 10 lines of output were:
Info: Using environment 'production'
Info: Applying configuration version '1716139109'
Error: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-18857-9jx4zf' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-18857-9jx4zf
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-18857-9jx4zf: yaml: line 1: did not find expected key
Error: /Stage[main]/Prometheus::Config/File[prometheus.yaml]/ensure: change from 'absent' to 'file' failed: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-18857-9jx4zf' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-18857-9jx4zf
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-18857-9jx4zf: yaml: line 1: did not find expected key
�[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
|
Puppet 8 - Debian 11:
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
|
Puppet 7 - Ubuntu 22.04:
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 'ubuntu2204-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171931318.pp.oai3Yu
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[prometheus.yaml] has failures: true
Warning: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Skipping because of failed dependencies
Info: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Unscheduling all events on Service[prometheus]
Info: Class[Prometheus::Service_reload]: Unscheduling all events on Class[Prometheus::Service_reload]
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 1.74 seconds
|
Puppet 8 - Ubuntu 22.04:
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 'ubuntu2204-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171921614.pp.BOVqYw
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[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
Info: Class[Prometheus::Service_reload]: Unscheduling all events on Class[Prometheus::Service_reload]
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 1.62 seconds
|
Puppet 7 - Debian 12:
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 'debian12-64-puppet7.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:
|
Puppet 7 - Ubuntu 22.04:
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 'ubuntu2204-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171937341.pp.LEm6gR
Last 10 lines of output were:
Info: Using environment 'production'
Info: Applying configuration version '1716139181'
Error: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-14884-x0i9zd' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-14884-x0i9zd
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-14884-x0i9zd: yaml: line 1: did not find expected key
Error: /Stage[main]/Prometheus::Config/File[prometheus.yaml]/ensure: change from 'absent' to 'file' failed: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-14884-x0i9zd' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-14884-x0i9zd
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-14884-x0i9zd: yaml: line 1: did not find expected key
�[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.10 seconds
|
Puppet 8 - Debian 11:
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
|
Puppet 8 - Ubuntu 22.04:
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 'ubuntu2204-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171927462.pp.2dAiPj
Last 10 lines of output were:
Info: Using environment 'production'
Info: Applying configuration version '1716139171'
Error: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-14798-41hdn4' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-14798-41hdn4
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-14798-41hdn4: yaml: line 1: did not find expected key
Error: /Stage[main]/Prometheus::Config/File[prometheus.yaml]/ensure: change from 'absent' to 'file' failed: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-14798-41hdn4' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-14798-41hdn4
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-14798-41hdn4: yaml: line 1: did not find expected key
�[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.12 seconds
|
Puppet 7 - Debian 12:
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
|
Puppet 7 - Ubuntu 22.04:
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 'ubuntu2204-64-puppet7.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:
|
Puppet 8 - Debian 11:
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
|
Puppet 8 - Ubuntu 22.04:
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 'ubuntu2204-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:
|
Puppet 7 - Ubuntu 22.04:
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
|
Puppet 7 - Debian 12:
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
|
Puppet 8 - Ubuntu 22.04:
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
|
Puppet 8 - Debian 11:
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
|
Puppet 7 - Ubuntu 22.04:
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
|
Puppet 8 - Ubuntu 22.04:
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
|
Puppet 8 - Debian 11:
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
|
Puppet 7 - Debian 12:
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
|
Puppet 7 - Ubuntu 22.04:
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
|
Puppet 8 - Ubuntu 22.04:
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
|
Puppet 8 - Debian 11:
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
|
Puppet 7 - Debian 12:
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
|
Puppet 7 - Ubuntu 22.04:
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
|
Puppet 8 - Ubuntu 22.04:
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
|
Puppet 8 - Debian 11:
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 'debian11-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171850644.pp.hbkn5N
Last 10 lines of output were:
Info: /Stage[main]/Prometheus::Config/Systemd::Unit_file[prometheus.service]/File[/etc/systemd/system/prometheus.service]: Scheduling refresh of Systemd::Daemon_reload[prometheus.service]
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[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.16 seconds
|
Puppet 7 - Debian 12:
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
|
Puppet 7 - Ubuntu 22.04:
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
|
Puppet 8 - Ubuntu 22.04:
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
|
Puppet 7 - Debian 12:
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
|
Puppet 7 - Ubuntu 22.04:
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
|
Puppet 8 - Ubuntu 22.04:
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
|
Puppet 7 - Ubuntu 22.04:
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 'ubuntu2204-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171941990.pp.Phua03
Last 10 lines of output were:
Info: /Stage[main]/Prometheus::Config/Systemd::Unit_file[prometheus.service]/File[/etc/systemd/system/prometheus.service]: Scheduling refresh of Systemd::Daemon_reload[prometheus.service]
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[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.21 seconds
|
Puppet 7 - Debian 12:
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 'debian12-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171830343.pp.ovhBJJ
Last 10 lines of output were:
Info: /Stage[main]/Prometheus::Config/Systemd::Unit_file[prometheus.service]/File[/etc/systemd/system/prometheus.service]: Scheduling refresh of Systemd::Daemon_reload[prometheus.service]
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[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.25 seconds
|
Puppet 8 - Ubuntu 22.04:
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 'ubuntu2204-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171932058.pp.or5L3B
Last 10 lines of output were:
Info: /Stage[main]/Prometheus::Config/Systemd::Unit_file[prometheus.service]/File[/etc/systemd/system/prometheus.service]: Scheduling refresh of Systemd::Daemon_reload[prometheus.service]
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[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.20 seconds
|
Puppet 8 - Debian 10
Canceling since a higher priority waiting request for '728/merge' exists
|
Puppet 8 - Debian 10:
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 'debian10-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171823978.pp.vZOlbR
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[prometheus.yaml] has failures: true
Info: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Unscheduling all events on Service[prometheus]
Info: Class[Prometheus::Service_reload]: Unscheduling all events on Class[Prometheus::Service_reload]
Info: Class[Prometheus::Server]: Unscheduling all events on Class[Prometheus::Server]
Info: Stage[main]: Unscheduling all events on Stage[main]
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 1.59 seconds
|
Puppet 8 - Debian 10:
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 'debian10-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171828798.pp.xsuV5t
Last 10 lines of output were:
Info: Using environment 'production'
Info: Applying configuration version '1716139111'
Error: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-16240-19h0jxa' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-16240-19h0jxa
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-16240-19h0jxa: yaml: line 1: did not find expected key
Error: /Stage[main]/Prometheus::Config/File[prometheus.yaml]/ensure: change from 'absent' to 'file' failed: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-16240-19h0jxa' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-16240-19h0jxa
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-16240-19h0jxa: yaml: line 1: did not find expected key
�[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.09 seconds
|
Puppet 8 - Debian 10:
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 'debian10-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:
|
Puppet 8 - Debian 10:
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
|
Puppet 8 - Debian 10:
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
|
Puppet 8 - Debian 10:
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
|
Puppet 8 - Debian 10:
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
|
Puppet 8 - Debian 10:
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
|
Puppet 8 - Debian 10:
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
|
Puppet 8 - Debian 10:
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 'debian10-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171832459.pp.TUtOwq
Last 10 lines of output were:
Info: /Stage[main]/Prometheus::Config/Systemd::Unit_file[prometheus.service]/File[/etc/systemd/system/prometheus.service]: Scheduling refresh of Systemd::Daemon_reload[prometheus.service]
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[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.21 seconds
|
Puppet 7 - Ubuntu 20.04
Canceling since a higher priority waiting request for '728/merge' exists
|
Puppet 8 - Ubuntu 20.04
Canceling since a higher priority waiting request for '728/merge' exists
|
Puppet 7 - Ubuntu 20.04:
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-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171931938.pp.AsVN1P
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[prometheus.yaml] has failures: true
Warning: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Skipping because of failed dependencies
Info: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Unscheduling all events on Service[prometheus]
Info: Class[Prometheus::Service_reload]: Unscheduling all events on Class[Prometheus::Service_reload]
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 1.64 seconds
|
Puppet 8 - Ubuntu 20.04
The operation was canceled.
|
Puppet 7 - Ubuntu 20.04:
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-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171937849.pp.S8XDFb
Last 10 lines of output were:
Info: Using environment 'production'
Info: Applying configuration version '1716139181'
Error: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-15179-1emcqfh' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-15179-1emcqfh
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-15179-1emcqfh: yaml: line 1: did not find expected key
Error: /Stage[main]/Prometheus::Config/File[prometheus.yaml]/ensure: change from 'absent' to 'file' failed: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-15179-1emcqfh' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-15179-1emcqfh
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-15179-1emcqfh: yaml: line 1: did not find expected key
�[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
|
Puppet 7 - Ubuntu 20.04:
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-puppet7.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:
|
Puppet 7 - Ubuntu 20.04:
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
|
Puppet 7 - Ubuntu 20.04:
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
|
Puppet 7 - Ubuntu 20.04:
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
|
Puppet 7 - Ubuntu 20.04:
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
|
Puppet 7 - Ubuntu 20.04:
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
|
Puppet 7 - Ubuntu 20.04:
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
|
Puppet 7 - Ubuntu 20.04:
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-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171942587.pp.fN4ooT
Last 10 lines of output were:
Info: /Stage[main]/Prometheus::Config/Systemd::Unit_file[prometheus.service]/File[/etc/systemd/system/prometheus.service]: Scheduling refresh of Systemd::Daemon_reload[prometheus.service]
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[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.25 seconds
|
Puppet 7 - Debian 10
Canceling since a higher priority waiting request for '728/merge' exists
|
Puppet 7 - Debian 10:
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 'debian10-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171840423.pp.UqY9ZY
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[prometheus.yaml] has failures: true
Warning: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Skipping because of failed dependencies
Info: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Unscheduling all events on Service[prometheus]
Info: Class[Prometheus::Service_reload]: Unscheduling all events on Class[Prometheus::Service_reload]
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 1.75 seconds
|
Puppet 7 - Debian 10:
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 'debian10-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171845706.pp.u5o66a
Last 10 lines of output were:
Info: Using environment 'production'
Info: Applying configuration version '1716139128'
Error: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-16025-1juzo30' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-16025-1juzo30
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-16025-1juzo30: yaml: line 1: did not find expected key
Error: /Stage[main]/Prometheus::Config/File[prometheus.yaml]/ensure: change from 'absent' to 'file' failed: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-16025-1juzo30' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-16025-1juzo30
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-16025-1juzo30: yaml: line 1: did not find expected key
�[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.10 seconds
|
Puppet 7 - Debian 10:
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 'debian10-64-puppet7.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:
|
Puppet 7 - Debian 10:
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
|
Puppet 7 - Debian 10:
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
|
Puppet 7 - Debian 10:
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
|
Puppet 7 - Debian 10:
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
|
Puppet 7 - Debian 10:
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
|
Puppet 7 - Debian 10:
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
|
Puppet 7 - Debian 10:
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 'debian10-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171849616.pp.jVs4vC
Last 10 lines of output were:
Info: /Stage[main]/Prometheus::Config/Systemd::Unit_file[prometheus.service]/File[/etc/systemd/system/prometheus.service]: Scheduling refresh of Systemd::Daemon_reload[prometheus.service]
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[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.20 seconds
|
Distro Puppet - Archlinux rolling
Canceling since a higher priority waiting request for '728/merge' exists
|
Distro Puppet - Archlinux rolling:
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 'archlinuxrolling-64.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171849328.pp.DA4E3L
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[prometheus.yaml] has failures: true
Warning: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Skipping because of failed dependencies
Info: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Unscheduling all events on Service[prometheus]
Info: Class[Prometheus::Service_reload]: Unscheduling all events on Class[Prometheus::Service_reload]
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 4.29 seconds
|
Distro Puppet - Archlinux rolling:
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 'archlinuxrolling-64.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171855537.pp.57MPSt
Last 10 lines of output were:
Info: Using environment 'production'
Info: Applying configuration version '1716139137'
Error: Execution of '/usr/bin/promtool check config /etc/prometheus/prometheus.yml20240519-9354-1tg38v1' returned 1: Checking /etc/prometheus/prometheus.yml20240519-9354-1tg38v1
FAILED: parsing YAML file /etc/prometheus/prometheus.yml20240519-9354-1tg38v1: yaml: line 1: did not find expected key
Error: /Stage[main]/Prometheus::Config/File[prometheus.yaml]/content: change from '{sha256}6c568c1bdc95b97c1c35e565f4cd337d328eed000551e49b741d94e639e0a78f' to '{sha256}2e468b9089df66ef2973dd472e781c03e02f522f05313be9e13d9aa53dd34fd9' failed: Execution of '/usr/bin/promtool check config /etc/prometheus/prometheus.yml20240519-9354-1tg38v1' returned 1: Checking /etc/prometheus/prometheus.yml20240519-9354-1tg38v1
FAILED: parsing YAML file /etc/prometheus/prometheus.yml20240519-9354-1tg38v1: yaml: line 1: did not find expected key
�[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.33 seconds
|
Distro Puppet - Archlinux rolling:
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 'archlinuxrolling-64.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:
|
Distro Puppet - Archlinux rolling:
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
|
Distro Puppet - Archlinux rolling:
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
|
Distro Puppet - Archlinux rolling:
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
|
Distro Puppet - Archlinux rolling:
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
|
Distro Puppet - Archlinux rolling:
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
|
Distro Puppet - Archlinux rolling:
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
|
Distro Puppet - Archlinux rolling:
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 'archlinuxrolling-64.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171858009.pp.pmBvif
Last 10 lines of output were:
Info: /Stage[main]/Prometheus::Config/Systemd::Unit_file[prometheus.service]/File[/etc/systemd/system/prometheus.service]: Scheduling refresh of Systemd::Daemon_reload[prometheus.service]
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[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.49 seconds
|
Puppet 8 - Debian 12
Canceling since a higher priority waiting request for '728/merge' exists
|
Puppet 8 - Debian 12:
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 'debian12-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171849446.pp.Hm2r0i
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[prometheus.yaml] has failures: true
Warning: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Skipping because of failed dependencies
Info: /Stage[main]/Prometheus::Run_service/Service[prometheus]: Unscheduling all events on Service[prometheus]
Info: Class[Prometheus::Service_reload]: Unscheduling all events on Class[Prometheus::Service_reload]
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 1.87 seconds
|
Puppet 8 - Debian 12:
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 'debian12-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171854723.pp.OkyZXE
Last 10 lines of output were:
Info: Using environment 'production'
Info: Applying configuration version '1716139137'
Error: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-18744-1l8ang2' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-18744-1l8ang2
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-18744-1l8ang2: yaml: line 1: did not find expected key
Error: /Stage[main]/Prometheus::Config/File[prometheus.yaml]/ensure: change from 'absent' to 'file' failed: Execution of '/usr/local/bin/promtool check config /etc/prometheus/prometheus.yaml20240519-18744-1l8ang2' returned 1: Checking /etc/prometheus/prometheus.yaml20240519-18744-1l8ang2
FAILED: parsing YAML file /etc/prometheus/prometheus.yaml20240519-18744-1l8ang2: yaml: line 1: did not find expected key
�[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.09 seconds
|
Puppet 8 - Debian 12:
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 'debian12-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:
|
Puppet 8 - Debian 12:
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
|
Puppet 8 - Debian 12:
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
|
Puppet 8 - Debian 12:
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
|
Puppet 8 - Debian 12:
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
|
Puppet 8 - Debian 12:
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
|
Puppet 8 - Debian 12:
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
|
Puppet 8 - Debian 12:
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 'debian12-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_171858500.pp.Y5pjxT
Last 10 lines of output were:
Info: /Stage[main]/Prometheus::Config/Systemd::Unit_file[prometheus.service]/File[/etc/systemd/system/prometheus.service]: Scheduling refresh of Systemd::Daemon_reload[prometheus.service]
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[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.23 seconds
|
Setup Test Matrix
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Puppet 8 (Ruby 3.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Puppet 7 (Ruby 2.7)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Puppet 7 - OracleLinux 9
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Puppet 7 - Rocky 8
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Puppet 7 - Rocky 9
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Puppet 7 - AlmaLinux 9
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Puppet 8 - AlmaLinux 8
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Puppet 8 - CentOS 9
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Puppet 7 - OracleLinux 8
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Puppet 8 - Rocky 8
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Puppet 7 - CentOS 9
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Puppet 7 - AlmaLinux 8
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Puppet 7 - CentOS 7
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Puppet 8 - AlmaLinux 9
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Puppet 8 - CentOS 7
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Puppet 8 - Rocky 9
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Puppet 8 - CentOS 8
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Puppet 8 - OracleLinux 9
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Puppet 7 - CentOS 8
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Puppet 8 - OracleLinux 8
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|