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
Retry Kitchen::Provisioner#run_command
after allowed exit codes
#1055
Conversation
Kitchen::Provisioner#run_command
after allowed exit codesKitchen::Provisioner#run_command
after allowed exit codes
I've tested this against Windows, Centos, and Ubuntu guests. The Windows guests worked the most consistently. The Centos and Ubuntu guests were more of a race to see if Chef could finish before the system shut down. (See chef/chef#5026) |
Kitchen::Provisioner#run_command
after allowed exit codesKitchen::Provisioner#run_command
after allowed exit codes
With this PR - all provisioners support three new configuration settings.
|
Appveyor build failure seems specific to the build box. More "symlink is unimplemented" errors, which seem to be common amongst appveyor builds recently. Rebased on master after merging #1057 to fix appveyor tests. |
+1 |
dc43531
to
e4878ed
Compare
@@ -170,17 +170,25 @@ def run_action(action, instances, *args) | |||
concurrency.times do | |||
threads << Thread.new do | |||
while instance = queue.pop | |||
puts "running #{instance.name}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this debug output? If not, we should probably use the logger methods instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had the same question and then noticed puts
getting used for these in several places in TK. a bit weird but separate from this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops.. that should be pulled. I was troubleshooting the difference between actionfailed and instancefailed. Thanks.
Some minor things, all non-blockers. 👍 |
0cf416e
to
f87b3aa
Compare
👍 |
1 similar comment
👍 |
Thanks for doing this @smurawski. This one was a long time coming to TK. Thanks for putting in the effort on chef and TK to get this done. |
Resolves #1016