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 'ubuntu2004-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_212240245.b2HXFH.pp
Last 10 lines of output were:
�[mNotice: /Stage[main]/Zabbix::Web/File[/etc/zabbix/zabbix.conf.php]/ensure: created
�[mNotice: /Stage[main]/Zabbix::Web/Apache::Vhost[localhost]/Concat[25-localhost.conf]/File[/etc/apache2/sites-available/25-localhost.conf]/ensure: defined content as '{sha256}a0e7595477dc79cb52876368e234fb40bd17e55dee6ac1e54656313f1ba30d0c'
Info: Concat[25-localhost.conf]: Scheduling refresh of Class[Apache::Service]
�[mNotice: /Stage[main]/Zabbix::Web/Apache::Vhost[localhost]/File[25-localhost.conf symlink]/ensure: created
Info: /Stage[main]/Zabbix::Web/Apache::Vhost[localhost]/File[25-localhost.conf symlink]: 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 68.53 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 'ubuntu2004-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_212354463.aliDq3.pp
Last 10 lines of output were:
Info: Applying configuration version '1719350638'
Error: 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.
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
�[mNotice: Applied catalog in 15.22 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 'ubuntu2004-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_212415217.KdtPVG.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 ubuntu2004-64-puppet7.example.com in environment production in 0.01 seconds
Info: Using environment 'production'
Info: Applying configuration version '1719350659'
Error: Could not find a suitable provider for zabbix_application
�[mNotice: Applied catalog in 0.04 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 'ubuntu2004-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_212419306.5bIVtE.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 ubuntu2004-64-puppet7.example.com in environment production in 0.01 seconds
Info: Using environment 'production'
Info: Applying configuration version '1719350663'
Error: Could not find a suitable provider for zabbix_application
�[mNotice: Applied catalog in 0.04 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 'ubuntu2004-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_212432331.dtk1vZ.pp
Last 10 lines of output were:
�[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
�[mNotice: /Stage[main]/Zabbix::Web/Package[zabbix-frontend-php]/ensure: created
�[mNotice: /Stage[main]/Zabbix::Web/File[/etc/zabbix/web]/owner: owner changed 'www-data' to 'zabbix'
�[mNotice: /Stage[main]/Zabbix::Web/File[/etc/zabbix/web]/group: group changed 'root' to 'zabbix'
�[mNotice: /Stage[main]/Zabbix::Web/File[/etc/zabbix/web/zabbix.conf.php]/ensure: defined content as '{sha256}4f99b916dd16bdc322416df4e2b6dac9aeab2828f30562816073edaf1e43d902'
�[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 29.62 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 'ubuntu2004-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_212507549.X1kOzx.pp
Last 10 lines of output were:
Info: Applying configuration version '1719350711'
Error: 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.
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
�[mNotice: Applied catalog in 15.12 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 'ubuntu2004-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_212528146.jL5LL6.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 ubuntu2004-64-puppet7.example.com in environment production in 0.02 seconds
Info: Using environment 'production'
Info: Applying configuration version '1719350732'
Error: Could not find a suitable provider for zabbix_host
�[mNotice: Applied catalog in 0.05 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 'ubuntu2004-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_212532314.CIDTtl.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 ubuntu2004-64-puppet7.example.com in environment production in 0.02 seconds
Info: Using environment 'production'
Info: Applying configuration version '1719350736'
Error: Could not find a suitable provider for zabbix_host
�[mNotice: Applied catalog in 0.05 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 'ubuntu2004-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_212536418.zcb01J.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 ubuntu2004-64-puppet7.example.com in environment production in 0.02 seconds
Info: Using environment 'production'
Info: Applying configuration version '1719350740'
Error: Could not find a suitable provider for zabbix_host
�[mNotice: Applied catalog in 0.05 seconds
|
This job failed
Loading