Test kitchen exit codes

Is there a comprehensive list of the possible exist codes from test-kitchen?


Stephen Corbesero

200 Crossing Boulevard
Bridgewater, NJ 08807


Looks like that image didn’t upload properly so I can’t see what you’re referencing but regardless there isn’t a canonical list of the exit codes for kitchen. What are you trying to do with these exit codes and for what purpose?

Our CI/CD system is a little temperamental with virtualizing nodes via VirtualBox. So, sometimes a kitchen run will fail, not because of the cookbook, but because the vagrant image was not properly instantiated. I was wondering if I would be able to tell the difference via the kitchen exit code, so that the CI/CD job could intelligently decide if it is worth trying to run the job again.