Chef Test Kitchen – Verifications

There are a few gotchas I find trying to use test kitchen.
Hope this is the place

  1. I try to run test kitchen inside a cookbook (using the single-repo-per-cookbook mentality), but then test kitchen fails to find the recipe and throws an error.
    When I place the kitchen.yml outside the cookbook directory, it works just fine.
    Can I somehow configure the base path for the kitchen to run from?

  2. Xdebug Netbeans Php Docker
  3. Root user inside Composer container
  4. How can I connect Sendmail MTA and PHP-FPM docker containers
  5. Passing arguments for Dockerfiles using Docker compose
  6. Dockerfile for adding volumes to a gerrit container
  7. gevent not valid running Docker Registry
  8. When I try to login to a node in the kitchen list, it asks me for a password for kitchen@localhost. in whatever tutorial I’ve seen, including the test kitchen own site, a password was not required.

  9. Just wondering, although it’s not fully related – I’m using the kitchen-docker driver, and I’m trying to have a base image in which chef is already installed. When I tried to do that manually it failed to ssh for some reason. Am I missing something?

  • adding jenkins user to docker group usermod vs gpasswd
  • Docker app in Exited (0) status
  • Stack/Docker/IHaskell weird behaviour
  • docker python SDK - pipe output to a file in exec_run
  • Apache Drill in Docker container: java.net.BindException: Address already in use
  • Kubernetes restarting pods
  • One Solution collect form web for “Chef Test Kitchen – Verifications”

    1. Thanks, the metadata was missing from the kitchen.yml file, so it didn’t add the current cookbook.

    2. For future reference – not sure if it’s intended, but the password is “kitchen” for the user kitchen, and it can be set otherwise via driver config.

    3. Probably something was wrong with the image.
      Rebuilt and it worked perfect.
      checkout https://gist.github.com/iwfmp/9631593 for an easy build.
      Thanks:)

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.