Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beaker test failure #158

Open
silug opened this issue Jan 3, 2025 · 0 comments · May be fixed by #160
Open

Beaker test failure #158

silug opened this issue Jan 3, 2025 · 0 comments · May be fixed by #160

Comments

@silug
Copy link
Contributor

silug commented Jan 3, 2025

server-1 16:22:54$ puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162254239.pp.eSMaWP
  Info: Loading facts
  Info: Loading facts
  Info: Loading facts
  Info: Loading facts
  Info: Loading facts
  Info: Loading facts
  Info: Loading facts
  Info: Loading facts
  Warning: This function is deprecated, please use stdlib::ensure_packages instead. at ["/etc/puppetlabs/code/environments/production/modules/iptables/manifests/install.pp", 21]:["/etc/puppetlabs/code/environments/production/modules/iptables/manifests/init.pp", 124]
     (location: /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:35:in `deprecation')
  Notice: Compiled catalog for server-1.beaker.test in environment production in 0.22 seconds
  Info: Using environment 'production'
  Info: Applying configuration version '1735856577'
  Notice: /Stage[main]/Simp_firewalld/Firewalld_zone[99_simp]/purge_services: purge_services changed 'purgable' to 'true'
  Error: undefined method `split' for nil:NilClass
  Error: /Stage[main]/Rsyslog::Server::Selinux/Selboolean[nis_enabled]/value: change from 'off' to 'on' failed: undefined method `split' for nil:NilClass
  Notice: /Stage[main]/Rsyslog::Config/Rsyslog::Rule[00_simp_pre_logging/global.conf]/File[/etc/rsyslog.simp.d/00_simp_pre_logging/global.conf]/content: content changed '{sha256}d3d6d223fd73c6b9c00173561c5d6af70c717ff8dda5fd2389af4eb22ccbb9f8' to '{sha256}a245d976799c542f89b7e2eee99239dd556e60603bfac9acb24c280bef431ada'
  Info: /Stage[main]/Rsyslog::Config/Rsyslog::Rule[00_simp_pre_logging/global.conf]/File[/etc/rsyslog.simp.d/00_simp_pre_logging/global.conf]: Scheduling refresh of Class[Rsyslog::Service]
  Info: Class[Rsyslog::Config]: Scheduling refresh of Class[Rsyslog::Service]
  Info: Class[Rsyslog::Service]: Unscheduling all events on Class[Rsyslog::Service]
  Notice: /Stage[main]/Rsyslog::Service/Service[rsyslog]: Dependency Selboolean[nis_enabled] has failures: true
  Info: Class[Rsyslog]: Unscheduling all events on Class[Rsyslog]
  Info: Stage[main]: Unscheduling all events on Stage[main]
  Warning: /Stage[main]/Rsyslog::Service/Service[rsyslog]: Skipping because of failed dependencies
  Warning: /Stage[main]/Rsyslog::Config::Logrotate/Logrotate::Rule[syslog]/File[/etc/logrotate.simp.d/syslog]: Skipping because of failed dependencies
  Warning: /Stage[main]/Rsyslog::Server::Firewall/Iptables::Listen::Udp[syslog_udp]/Simp_firewalld::Rule[udp_syslog_udp]/Firewalld_custom_service[simp_udp_syslog_udp]: Skipping because of failed dependencies
  Warning: /Stage[main]/Rsyslog::Server::Firewall/Iptables::Listen::Udp[syslog_udp]/Simp_firewalld::Rule[udp_syslog_udp]/Firewalld_service[simp_udp_syslog_udp]: Skipping because of failed dependencies
  Warning: /Stage[main]/Firewalld::Reload/Exec[firewalld::reload]: Skipping because of failed dependencies
  Warning: /Stage[main]/Firewalld::Reload::Complete/Exec[firewalld::complete-reload]: Skipping because of failed dependencies
  Notice: Applied catalog in 4.90 seconds

server-1 executed in 8.30 seconds
Exited: 6
    configures the server without errors (FAILED - 1)

Pending: (Failures listed here are expected and do not affect your suite's status)

  1) rsyslog class default parameters (no pki) collects firewall log messages
     # firewall tests are well exercised via simp/simp_rsyslog
     # ./spec/acceptance/suites/default/00_default_spec.rb:128


Failures:

  1) rsyslog class client -> server over UDP configures the server without errors
     Failure/Error: apply_manifest_on(server, server_manifest, catch_failures: true)
     Beaker::Host::CommandFailure:
       Host 'server-1' exited with 6 running:
        puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_162254239.pp.eSMaWP
       Last 10 lines of output were:
       	Notice: /Stage[main]/Rsyslog::Service/Service[rsyslog]: Dependency Selboolean[nis_enabled] has failures: true
       	Info: Class[Rsyslog]: Unscheduling all events on Class[Rsyslog]
       	Info: Stage[main]: Unscheduling all events on Stage[main]
       	Warning: /Stage[main]/Rsyslog::Service/Service[rsyslog]: Skipping because of failed dependencies
       	Warning: /Stage[main]/Rsyslog::Config::Logrotate/Logrotate::Rule[syslog]/File[/etc/logrotate.simp.d/syslog]: Skipping because of failed dependencies
       	Warning: /Stage[main]/Rsyslog::Server::Firewall/Iptables::Listen::Udp[syslog_udp]/Simp_firewalld::Rule[udp_syslog_udp]/Firewalld_custom_service[simp_udp_syslog_udp]: Skipping because of failed dependencies
       	Warning: /Stage[main]/Rsyslog::Server::Firewall/Iptables::Listen::Udp[syslog_udp]/Simp_firewalld::Rule[udp_syslog_udp]/Firewalld_service[simp_udp_syslog_udp]: Skipping because of failed dependencies
       	Warning: /Stage[main]/Firewalld::Reload/Exec[firewalld::reload]: Skipping because of failed dependencies
       	Warning: /Stage[main]/Firewalld::Reload::Complete/Exec[firewalld::complete-reload]: Skipping because of failed dependencies
       	Notice: Applied catalog in 4.90 seconds
       
     # ./vendor/ruby/3.3.0/gems/beaker-4.42.0/lib/beaker/host.rb:396:in `exec'
     # ./vendor/ruby/3.3.0/gems/beaker-4.42.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
     # ./vendor/ruby/3.3.0/gems/beaker-4.42.0/lib/beaker/shared/host_manager.rb:129:in `run_block_on'
     # ./vendor/ruby/3.3.0/gems/beaker-4.42.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
     # ./vendor/ruby/3.3.0/gems/beaker-4.42.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
     # ./vendor/ruby/3.3.0/gems/beaker-puppet-2.1.0/lib/beaker-puppet/helpers/puppet_helpers.rb:522:in `block in apply_manifest_on'
     # ./vendor/ruby/3.3.0/gems/beaker-4.42.0/lib/beaker/shared/host_manager.rb:129:in `run_block_on'
     # ./vendor/ruby/3.3.0/gems/beaker-4.42.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
     # ./vendor/ruby/3.3.0/gems/beaker-puppet-2.1.0/lib/beaker-puppet/helpers/puppet_helpers.rb:451:in `apply_manifest_on'
     # ./spec/acceptance/suites/default/02_client_server_udp_spec.rb:78:in `block (3 levels) in <top (required)>'

Finished in 6 minutes 3 seconds (files took 5 minutes 17 seconds to load)
22 examples, 1 failure, 1 pending

Failed examples:

rspec ./spec/acceptance/suites/default/02_client_server_udp_spec.rb:76 # rsyslog class client -> server over UDP configures the server without errors
@op-ct op-ct added this to Org Triage Jan 3, 2025
@silug silug moved this from New to In Progress in Org Triage Jan 6, 2025
silug added a commit to silug/pupmod-simp-rsyslog that referenced this issue Jan 6, 2025
@silug silug linked a pull request Jan 6, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

1 participant