firewalld-formula icon indicating copy to clipboard operation
firewalld-formula copied to clipboard

[BUG] kitchen converge is failing with CentOS 8

Open saeedgenmills opened this issue 3 years ago • 0 comments

Kitchen is failing with CentOS 8.

Getting below error.

   ----------
             ID: reload_firewalld
       Function: cmd.wait
           Name: firewall-cmd --reload
         Result: False
        Comment: Command "firewall-cmd --reload" run
        Started: 07:47:16.273429
       Duration: 906.76 ms
        Changes:
          ----------
          pid:
              381
          retcode:
              13
          stderr:
              Error: COMMAND_FAILED: 'handle'
          stdout:

   Summary for local
   -------------
   Succeeded: 13 (changed=6)
   Failed:     1
   -------------
   Total states run:     14
   Total run time:   23.381 s

------Exception------- Class: Kitchen::ActionFailed Message: 1 actions failed. Converge failed on instance . Please see .kitchen/logs/default-centos-8-3003-3-py3.log for more details

Please see .kitchen/logs/kitchen.log for more details Also try running kitchen diagnose --all for configuration

Log file ... .kitchen/logs/default-centos-8-3003-3-py3.log

I, [2021-11-29T01:47:17.223037 #1067803] INFO -- default-centos-8-3003-3-py3: ^[[0;32mSucceeded: 13^[[0;0m (^[[0;32mchanged=6^[[0;0m) I, [2021-11-29T01:47:17.223052 #1067803] INFO -- default-centos-8-3003-3-py3: ^[[0;31mFailed: 1^[[0;0m I, [2021-11-29T01:47:17.223067 #1067803] INFO -- default-centos-8-3003-3-py3: ^[[0;36m------------- I, [2021-11-29T01:47:17.223081 #1067803] INFO -- default-centos-8-3003-3-py3: Total states run: 14^[[0;0m I, [2021-11-29T01:47:17.223096 #1067803] INFO -- default-centos-8-3003-3-py3: ^[[0;36mTotal run time: 23.381 s^[[0;0m E, [2021-11-29T01:47:17.557454 #1067803] ERROR -- default-centos-8-3003-3-py3: Converge failed on instance . E, [2021-11-29T01:47:17.557712 #1067803] ERROR -- default-centos-8-3003-3-py3: ------Exception------- E, [2021-11-29T01:47:17.557749 #1067803] ERROR -- default-centos-8-3003-3-py3: Class: Kitchen::ActionFailed E, [2021-11-29T01:47:17.557765 #1067803] ERROR -- default-centos-8-3003-3-py3: Message: SSH exited (2) for command: [sudo -E chmod +x /tmp/kitchen/.sh;sudo -E /tmp/kitchen/dependencies.sh;sudo -E salt-call --state-output=changes --config-dir=/tmp/kitchen/etc/salt state.highstate --log-level=debug --retcode-passthrough] E, [2021-11-29T01:47:17.557779 #1067803] ERROR -- default-centos-8-3003-3-py3: ---------------------- E, [2021-11-29T01:47:17.557791 #1067803] ERROR -- default-centos-8-3003-3-py3: ------Backtrace------- E, [2021-11-29T01:47:17.557802 #1067803] ERROR -- default-centos-8-3003-3-py3: /home/a555066/.rvm/gems/ruby-2.6.6/gems/test-kitchen-3.2.0/lib/kitchen/provisioner/base.rb:100:in rescue in call' E, [2021-11-29T01:47:17.557813 #1067803] ERROR -- default-centos-8-3003-3-py3: /home/a555066/.rvm/gems/ruby-2.6.6/gems/test-kitchen-3.2.0/lib/kitchen/provisioner/base.rb:99:in call' E, [2021-11-29T01:47:17.557825 #1067803] ERROR -- default-centos-8-3003-3-py3: /home/a555066/.rvm/gems/ruby-2.6.6/gems/test-kitchen-3.2.0/lib/kitchen/instance.rb:419:in block in converge_action' E, [2021-11-29T01:47:17.557836 #1067803] ERROR -- default-centos-8-3003-3-py3: /home/a555066/.rvm/gems/ruby-2.6.6/gems/test-kitchen-3.2.0/lib/kitchen/instance.rb:563:in synchronize_or_call' E, [2021-11-29T01:47:17.557847 #1067803] ERROR -- default-centos-8-3003-3-py3: /home/a555066/.rvm/gems/ruby-2.6.6/gems/test-kitchen-3.2.0/lib/kitchen/instance.rb:524:in block in action' E, [2021-11-29T01:47:17.557858 #1067803] ERROR -- default-centos-8-3003-3-py3: /home/a555066/.rvm/rubies/ruby-2.6.6/lib/ruby/2.6.0/benchmark.rb:293:in measure' E, [2021-11-29T01:47:17.557890 #1067803] ERROR -- default-centos-8-3003-3-py3: /home/a555066/.rvm/gems/ruby-2.6.6/gems/test-kitchen-3.2.0/lib/kitchen/instance.rb:523:in action' E, [2021-11-29T01:47:17.557905 #1067803] ERROR -- default-centos-8-3003-3-py3: /home/a555066/.rvm/gems/ruby-2.6.6/gems/test-kitchen-3.2.0/lib/kitchen/instance.rb:414:in converge_action' E, [2021-11-29T01:47:17.557917 #1067803] ERROR -- default-centos-8-3003-3-py3: /home/a555066/.rvm/gems/ruby-2.6.6/gems/test-kitchen-3.2.0/lib/kitchen/instance.rb:392:in block (2 levels) in transition_to' E, [2021-11-29T01:47:17.557928 #1067803] ERROR -- default-centos-8-3003-3-py3: /home/a555066/.rvm/gems/ruby-2.6.6/gems/test-kitchen-3.2.0/lib/kitchen/lifecycle_hooks.rb:47:in run_with_hooks' E, [2021-11-29T01:47:17.557939 #1067803] ERROR -- default-centos-8-3003-3-py3: /home/a555066/.rvm/gems/ruby-2.6.6/gems/test-kitchen-3.2.0/lib/kitchen/instance.rb:391:in block in transition_to' E, [2021-11-29T01:47:17.557950 #1067803] ERROR -- default-centos-8-3003-3-py3: /home/a555066/.rvm/gems/ruby-2.6.6/gems/test-kitchen-3.2.0/lib/kitchen/instance.rb:390:in each' E, [2021-11-29T01:47:17.557962 #1067803] ERROR -- default-centos-8-3003-3-py3: /home/a555066/.rvm/gems/ruby-2.6.6/gems/test-kitchen-3.2.0/lib/kitchen/instance.rb:390:in transition_to' E, [2021-11-29T01:47:17.557973 #1067803] ERROR -- default-centos-8-3003-3-py3: /home/a555066/.rvm/gems/ruby-2.6.6/gems/test-kitchen-3.2.0/lib/kitchen/instance.rb:139:in converge' E, [2021-11-29T01:47:17.557984 #1067803] ERROR -- default-centos-8-3003-3-py3: /home/a555066/.rvm/gems/ruby-2.6.6/gems/test-kitchen-3.2.0/lib/kitchen/command.rb:195:in public_send' E, [2021-11-29T01:47:17.557996 #1067803] ERROR -- default-centos-8-3003-3-py3: /home/a555066/.rvm/gems/ruby-2.6.6/gems/test-kitchen-3.2.0/lib/kitchen/command.rb:195:in run_action_in_thread' E, [2021-11-29T01:47:17.558007 #1067803] ERROR -- default-centos-8-3003-3-py3: /home/a555066/.rvm/gems/ruby-2.6.6/gems/test-kitchen-3.2.0/lib/kitchen/command.rb:166:in block (2 levels) in run_action' E, [2021-11-29T01:47:17.558018 #1067803] ERROR -- default-centos-8-3003-3-py3: /home/a555066/.rvm/gems/ruby-2.6.6/gems/logging-2.3.0/lib/logging/diagnostic_context.rb:474:in block in create_with_logging_context' E, [2021-11-29T01:47:17.558034 #1067803] ERROR -- default-centos-8-3003-3-py3: ----End Backtrace----- E, [2021-11-29T01:47:17.558046 #1067803] ERROR -- default-centos-8-3003-3-py3: ---Nested Exception--- E, [2021-11-29T01:47:17.558057 #1067803] ERROR -- default-centos-8-3003-3-py3: Class: Kitchen::Transport::SshFailed E, [2021-11-29T01:47:17.558068 #1067803] ERROR -- default-centos-8-3003-3-py3: Message: SSH exited (2) for command: [sudo -E chmod +x /tmp/kitchen/.sh;sudo -E /tmp/kitchen/dependencies.sh;sudo -E salt-call --state-output=changes --config-dir=/tmp/kitchen/etc/salt state.highstate --log-level=debug --retcode-passthrough] E, [2021-11-29T01:47:17.558080 #1067803] ERROR -- default-centos-8-3003-3-py3: ---------------------- E, [2021-11-29T01:47:17.558091 #1067803] ERROR -- default-centos-8-3003-3-py3: ------Backtrace------- E, [2021-11-29T01:47:17.558102 #1067803] ERROR -- default-centos-8-3003-3-py3: /home/a555066/.rvm/gems/ruby-2.6.6/gems/test-kitchen-3.2.0/lib/kitchen/provisioner/base.rb:100:in rescue in call' E, [2021-11-29T01:47:17.558114 #1067803] ERROR -- default-centos-8-3003-3-py3: /home/a555066/.rvm/gems/ruby-2.6.6/gems/test-kitchen-3.2.0/lib/kitchen/provisioner/base.rb:99:in call' E, [2021-11-29T01:47:17.558125 #1067803] ERROR -- default-centos-8-3003-3-py3: /home/a555066/.rvm/gems/ruby-2.6.6/gems/test-kitchen-3.2.0/lib/kitchen/instance.rb:419:in block in converge_action' E, [2021-11-29T01:47:17.558136 #1067803] ERROR -- default-centos-8-3003-3-py3: /home/a555066/.rvm/gems/ruby-2.6.6/gems/test-kitchen-3.2.0/lib/kitchen/instance.rb:563:in synchronize_or_call' E, [2021-11-29T01:47:17.558148 #1067803] ERROR -- default-centos-8-3003-3-py3: /home/a555066/.rvm/gems/ruby-2.6.6/gems/test-kitchen-3.2.0/lib/kitchen/instance.rb:524:in block in action' E, [2021-11-29T01:47:17.558159 #1067803] ERROR -- default-centos-8-3003-3-py3: /home/a555066/.rvm/rubies/ruby-2.6.6/lib/ruby/2.6.0/benchmark.rb:293:in measure' E, [2021-11-29T01:47:17.558170 #1067803] ERROR -- default-centos-8-3003-3-py3: /home/a555066/.rvm/gems/ruby-2.6.6/gems/test-kitchen-3.2.0/lib/kitchen/instance.rb:523:in action' E, [2021-11-29T01:47:17.558181 #1067803] ERROR -- default-centos-8-3003-3-py3: /home/a555066/.rvm/gems/ruby-2.6.6/gems/test-kitchen-3.2.0/lib/kitchen/instance.rb:414:in converge_action' E, [2021-11-29T01:47:17.558193 #1067803] ERROR -- default-centos-8-3003-3-py3: /home/a555066/.rvm/gems/ruby-2.6.6/gems/test-kitchen-3.2.0/lib/kitchen/instance.rb:392:in `block (2 levels) in transition_to'

saeedgenmills avatar Nov 29 '21 07:11 saeedgenmills