feat: allow uninstalling the Zabbix agent #803
Annotations
10 errors
spec/acceptance/zabbix_application_spec.rb#L39
zabbix_application type create zabbix_application resources with zabbix version 5.0 works with no error on the first apply
Failure/Error: apply_manifest(pp1, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'almalinux8-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_212100854.hpvRsm.pp
Last 10 lines of output were:
Info: /Stage[main]/Zabbix::Web/File[/etc/php-fpm.d/zabbix.conf]: Scheduling refresh of Service[php-fpm]
�[mNotice: /Stage[main]/Zabbix::Web/Service[php-fpm]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Web/Service[php-fpm]: Unscheduling refresh on Service[php-fpm]
�[mNotice: /Stage[main]/Zabbix::Web/Apache::Vhost[localhost]/Concat[25-localhost.conf]/File[/etc/httpd/conf.d/25-localhost.conf]/ensure: defined content as '{sha256}5624606b137b70fe6e34b2f22f12f7aab06e840773e9ddfca614fe86af5ff461'
Info: Concat[25-localhost.conf]: Scheduling refresh of Class[Apache::Service]
Info: Class[Apache::Service]: Scheduling refresh of Service[httpd]
�[mNotice: /Stage[main]/Apache::Service/Service[httpd]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Apache::Service/Service[httpd]: Unscheduling refresh on Service[httpd]
Info: Stage[main]: Unscheduling all events on Stage[main]
�[mNotice: Applied catalog in 44.50 seconds
|
spec/acceptance/zabbix_application_spec.rb#L46
zabbix_application type create zabbix_application resources with zabbix version 5.0 works with no error on the second apply
Failure/Error: apply_manifest(pp1, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'almalinux8-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_212148260.Qffy6b.pp
Last 10 lines of output were:
public_suffix requires Ruby version >= 3.0. The current ruby version is 2.7.8.225.
Error: /Stage[main]/Zabbix::Zabbixapi/Package[zabbixapi]/ensure: change from 'absent' to '5.0.0-alpha1' failed: Could not update: Execution of '/opt/puppetlabs/puppet/bin/gem install -v 5.0.0-alpha1 --no-document zabbixapi' returned 1: ERROR: Error installing zabbixapi:
The last version of public_suffix (>= 2.0.2, < 7.0) to support your Ruby & RubyGems was 5.1.1. Try installing it with `gem install public_suffix -v 5.1.1` and then running the current command again
public_suffix requires Ruby version >= 3.0. The current ruby version is 2.7.8.225.
�[mNotice: /Stage[main]/Zabbix::Resources::Web/File[/etc/zabbix/api.conf]: Dependency Package[zabbixapi] has failures: true
Warning: /Stage[main]/Zabbix::Resources::Web/File[/etc/zabbix/api.conf]: Skipping because of failed dependencies
Info: Class[Apache::Service]: Scheduling refresh of Service[httpd]
�[mNotice: /Stage[main]/Apache::Service/Service[httpd]: Triggered 'refresh' from 1 event
Info: Stage[main]: Unscheduling all events on Stage[main]
�[mNotice: Applied catalog in 14.48 seconds
|
spec/acceptance/zabbix_application_spec.rb#L51
zabbix_application type create zabbix_application resources with zabbix version 5.0 works with no error on the third apply
Failure/Error: apply_manifest(pp2, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'almalinux8-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_212205602.cnQjo9.pp
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for almalinux8-64-puppet7.example.com in environment production in 0.01 seconds
Info: Using environment 'production'
Info: Applying configuration version '1719350527'
Error: Could not find a suitable provider for zabbix_application
�[mNotice: Applied catalog in 0.03 seconds
|
spec/acceptance/zabbix_application_spec.rb#L55
zabbix_application type create zabbix_application resources with zabbix version 5.0 works without changes on the fourth apply
Failure/Error: apply_manifest(pp2, catch_changes: true)
Beaker::Host::CommandFailure:
Host 'almalinux8-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_212207282.pd7JDn.pp
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for almalinux8-64-puppet7.example.com in environment production in 0.01 seconds
Info: Using environment 'production'
Info: Applying configuration version '1719350528'
Error: Could not find a suitable provider for zabbix_application
�[mNotice: Applied catalog in 0.03 seconds
|
spec/acceptance/zabbix_application_spec.rb#L67
zabbix_application type TestApplication1 is attached to Template OS Linux by Zabbix agent
Failure/Error: expect(template1['applications'].map { |a| a['name'] }).to include('TestApplication1')
expected ["CPU", "Filesystems", "General", "Inventory", "Memory", "Monitoring agent", "Network interfaces", "Security", "Status", "Storage", "Zabbix raw items"] to include "TestApplication1"
|
spec/acceptance/zabbix_host_spec.rb#L39
zabbix_host type create zabbix_host resources with zabbix version 5.0 works with no error on the first apply
Failure/Error: apply_manifest(pp1, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'almalinux8-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_212214066.VKuUTT.pp
Last 10 lines of output were:
�[mNotice: /Stage[main]/Zabbix::Web/File[/etc/zabbix/web]/owner: owner changed 'root' to 'zabbix'
�[mNotice: /Stage[main]/Zabbix::Web/File[/etc/zabbix/web]/group: group changed 'root' to 'zabbix'
�[mNotice: /Stage[main]/Zabbix::Web/File[/etc/php-fpm.d/zabbix.conf]/content: content changed '{sha256}cc427a703b2ff307cd0c332770f678000f50ceea294e04bd21e240cbbe851516' to '{sha256}6a1a98179d7e4b4c03dabfe27caf73dc98bef993bac0e9e75968da8e483763cb'
Info: /Stage[main]/Zabbix::Web/File[/etc/php-fpm.d/zabbix.conf]: Scheduling refresh of Service[php-fpm]
�[mNotice: /Stage[main]/Zabbix::Web/Service[php-fpm]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Zabbix::Web/Service[php-fpm]: Unscheduling refresh on Service[php-fpm]
�[mNotice: /Stage[main]/Apache::Service/Service[httpd]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Apache::Service/Service[httpd]: Unscheduling refresh on Service[httpd]
Info: Stage[main]: Unscheduling all events on Stage[main]
�[mNotice: Applied catalog in 34.55 seconds
|
spec/acceptance/zabbix_host_spec.rb#L46
zabbix_host type create zabbix_host resources with zabbix version 5.0 works with no error on the second apply
Failure/Error: apply_manifest(pp1, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'almalinux8-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_212251477.B5www0.pp
Last 10 lines of output were:
public_suffix requires Ruby version >= 3.0. The current ruby version is 2.7.8.225.
Error: /Stage[main]/Zabbix::Zabbixapi/Package[zabbixapi]/ensure: change from 'absent' to '5.0.0-alpha1' failed: Could not update: Execution of '/opt/puppetlabs/puppet/bin/gem install -v 5.0.0-alpha1 --no-document zabbixapi' returned 1: ERROR: Error installing zabbixapi:
The last version of public_suffix (>= 2.0.2, < 7.0) to support your Ruby & RubyGems was 5.1.1. Try installing it with `gem install public_suffix -v 5.1.1` and then running the current command again
public_suffix requires Ruby version >= 3.0. The current ruby version is 2.7.8.225.
�[mNotice: /Stage[main]/Zabbix::Resources::Web/File[/etc/zabbix/api.conf]: Dependency Package[zabbixapi] has failures: true
Warning: /Stage[main]/Zabbix::Resources::Web/File[/etc/zabbix/api.conf]: Skipping because of failed dependencies
Info: Class[Apache::Service]: Scheduling refresh of Service[httpd]
�[mNotice: /Stage[main]/Apache::Service/Service[httpd]: Triggered 'refresh' from 1 event
Info: Stage[main]: Unscheduling all events on Stage[main]
�[mNotice: Applied catalog in 14.42 seconds
|
spec/acceptance/zabbix_host_spec.rb#L72
zabbix_host type create zabbix_host resources with zabbix version 5.0 works with no error on the third apply
Failure/Error: apply_manifest(pp2, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'almalinux8-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_212308718.NEp05P.pp
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for almalinux8-64-puppet7.example.com in environment production in 0.02 seconds
Info: Using environment 'production'
Info: Applying configuration version '1719350590'
Error: Could not find a suitable provider for zabbix_host
�[mNotice: Applied catalog in 0.04 seconds
|
spec/acceptance/zabbix_host_spec.rb#L76
zabbix_host type create zabbix_host resources with zabbix version 5.0 works without changes on the fourth apply
Failure/Error: apply_manifest(pp2, catch_changes: true)
Beaker::Host::CommandFailure:
Host 'almalinux8-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_212310414.0SNYmh.pp
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for almalinux8-64-puppet7.example.com in environment production in 0.02 seconds
Info: Using environment 'production'
Info: Applying configuration version '1719350591'
Error: Could not find a suitable provider for zabbix_host
�[mNotice: Applied catalog in 0.04 seconds
|
spec/acceptance/zabbix_host_spec.rb#L101
zabbix_host type create zabbix_host resources with zabbix version 5.0 creates hosts with SNMP interface and details without errors
Failure/Error: apply_manifest(pp3, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'almalinux8-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_212312106.m9jZ9R.pp
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for almalinux8-64-puppet7.example.com in environment production in 0.02 seconds
Info: Using environment 'production'
Info: Applying configuration version '1719350593'
Error: Could not find a suitable provider for zabbix_host
�[mNotice: Applied catalog in 0.04 seconds
|
This job failed
Loading