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

RHEL/CentOS 6 Kitchen tests are terminated by the chef-client restart action #726

Open
chrisminton opened this issue Mar 23, 2021 · 0 comments

Comments

@chrisminton
Copy link

chrisminton commented Mar 23, 2021

#717 causes issues running Test Kitchen tests with both RHEL and CentOS 6. The restart action kills the Kitchen test run.

this is reproducible in Docker (using Kitchen Dokken) and on e.g. AWS EC2

Recipe: chef-client::init_service
  * service[chef-client] action restart/opt/kitchen/run_command: line 4:    15 Killed                  sh -c '
TEST_KITCHEN="1"; export TEST_KITCHEN
/opt/chef/bin/chef-client -z -l warn -F doc -c /opt/kitchen/client.rb -j /opt/kitchen/dna.json --config /opt/kitchen/client.rb --log_level auto --force-formatter --no-color --json-attributes /opt/kitchen/dna.json --chef-zero-port 8889
'
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: 1 actions failed.
>>>>>>     Converge failed on instance <default-centos-6>.  Please see .kitchen/logs/default-centos-6.log for more details
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration
@chrisminton chrisminton changed the title CentOS 6 Kitchen tests are terminated by the chef-client restart action RHEL/CentOS 6 Kitchen tests are terminated by the chef-client restart action Mar 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant