Created
January 2, 2014 08:57
-
-
Save trinitronx/8216591 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-----> Cleaning up any prior instances of <image-lwrp-fedora-19> | |
-----> Destroying <image-lwrp-fedora-19>... | |
Finished destroying <image-lwrp-fedora-19> (0m0.00s). | |
-----> Testing <image-lwrp-fedora-19> | |
-----> Creating <image-lwrp-fedora-19>... | |
Bringing machine 'default' up with 'virtualbox' provider... | |
[default] Importing base box 'opscode-fedora-19'... | |
[default] Matching MAC address for NAT networking... | |
[default] Setting the name of the VM... | |
[default] Clearing any previously set forwarded ports... | |
[Berkshelf] Skipping Berkshelf with --no-provision | |
[default] Fixed port collision for 22 => 2222. Now on port 2206. | |
[default] Creating shared folders metadata... | |
[default] Clearing any previously set network interfaces... | |
[default] Preparing network interfaces based on configuration... | |
[default] Forwarding ports... | |
[default] -- 22 => 2206 (adapter 1) | |
[default] Running 'pre-boot' VM customizations... | |
[default] Booting VM... | |
[default] Waiting for machine to boot. This may take a few minutes... | |
[default] Machine booted and ready! | |
[default] The guest additions on this VM do not match the installed version of | |
VirtualBox! In most cases this is fine, but in rare cases it can | |
cause things such as shared folders to not work properly. If you see | |
shared folder errors, please update the guest additions within the | |
virtual machine and reload your VM. | |
Guest Additions Version: 4.2.12 | |
VirtualBox Version: 4.3 | |
[default] Setting hostname... | |
[default] Mounting shared folders... | |
Vagrant instance <image-lwrp-fedora-19> created. | |
Finished creating <image-lwrp-fedora-19> (0m52.01s). | |
-----> Converging <image-lwrp-fedora-19>... | |
Preparing files for transfer | |
Resolving cookbook dependencies with Berkshelf... | |
Removing non-cookbook files before transfer | |
-----> Installing Chef Omnibus (11.8) | |
downloading https://www.opscode.com/chef/install.sh | |
to file /tmp/install.sh | |
trying wget... | |
Downloading Chef for el... | |
downloading https://www.opscode.com/chef/metadata?v=&prerelease=false&p=el&pv=6&m=x86_64 | |
to file /tmp/install.sh.1428/metadata.txt | |
trying wget... | |
url https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-11.8.2-1.el6.x86_64.rpm | |
md5 10f3d0da82efa973fe91cc24a6a74549 | |
sha256 044558f38d25bbf75dbd5790ccce892a38e5e9f2a091ed55367ab914fbd1cfed | |
downloaded metadata file looks valid... | |
downloading https://opscode-omnibus-packages.s3.amazonaws.com/el/6/x86_64/chef-11.8.2-1.el6.x86_64.rpm | |
to file /tmp/install.sh.1428/chef-.x86_64.rpm | |
trying wget... | |
Checksum compare with sha256sum succeeded. | |
Installing Chef | |
installing with rpm... | |
warning: /tmp/install.sh.1428/chef-.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 83ef826a: NOKEY | |
Preparing... ################################# [100%] | |
Updating / installing... | |
1:chef-11.8.2-1.el6 ################################# [100%] | |
Thank you for installing Chef! | |
Transfering files to <image-lwrp-fedora-19> | |
[2014-01-02T08:31:21+00:00] INFO: Forking chef instance to converge... | |
Starting Chef Client, version 11.8.2 | |
[2014-01-02T08:31:21+00:00] INFO: *** Chef 11.8.2 *** | |
[2014-01-02T08:31:21+00:00] INFO: Chef-client pid: 1515 | |
[2014-01-02T08:31:26+00:00] INFO: Setting the run_list to ["recipe[minitest-handler]", "recipe[docker_test::default]", "recipe[docker_test::image_lwrp]", "recipe[docker_test::container_lwrp]"] from JSON | |
[2014-01-02T08:31:26+00:00] INFO: Run List is [recipe[minitest-handler], recipe[docker_test::default], recipe[docker_test::image_lwrp], recipe[docker_test::container_lwrp]] | |
[2014-01-02T08:31:26+00:00] INFO: Run List expands to [minitest-handler, docker_test::default, docker_test::image_lwrp, docker_test::container_lwrp] | |
[2014-01-02T08:31:26+00:00] INFO: Starting Chef Run for image-lwrp-fedora-19 | |
[2014-01-02T08:31:26+00:00] INFO: Running start handlers | |
[2014-01-02T08:31:26+00:00] INFO: Start handlers complete. | |
Compiling Cookbooks... | |
Recipe: minitest-handler::default | |
* chef_gem[minitest] action nothing[2014-01-02T08:31:27+00:00] INFO: Processing chef_gem[minitest] action nothing (minitest-handler::default line 6) | |
(skipped due to action :nothing) | |
* chef_gem[minitest] action install[2014-01-02T08:31:27+00:00] INFO: Processing chef_gem[minitest] action install (minitest-handler::default line 6) | |
(skipped due to only_if) | |
* chef_gem[minitest-chef-handler] action nothing[2014-01-02T08:31:27+00:00] INFO: Processing chef_gem[minitest-chef-handler] action nothing (minitest-handler::default line 13) | |
(skipped due to action :nothing) | |
* chef_gem[minitest-chef-handler] action install[2014-01-02T08:31:27+00:00] INFO: Processing chef_gem[minitest-chef-handler] action install (minitest-handler::default line 13) | |
- install version 1.0.1 of package minitest-chef-handler | |
[2014-01-02T08:32:11+00:00] WARN: Cloning resource attributes for docker_image[base] from prior resource (CHEF-3694) | |
[2014-01-02T08:32:11+00:00] WARN: Previous docker_image[base]: /tmp/kitchen/cookbooks/docker_test/recipes/image_lwrp.rb:1:in `from_file' | |
[2014-01-02T08:32:11+00:00] WARN: Current docker_image[base]: /tmp/kitchen/cookbooks/docker_test/recipes/image_lwrp.rb:5:in `from_file' | |
[2014-01-02T08:32:11+00:00] WARN: Cloning resource attributes for docker_image[myImage] from prior resource (CHEF-3694) | |
[2014-01-02T08:32:11+00:00] WARN: Previous docker_image[myImage]: /tmp/kitchen/cookbooks/docker_test/recipes/image_lwrp.rb:15:in `from_file' | |
[2014-01-02T08:32:11+00:00] WARN: Current docker_image[myImage]: /tmp/kitchen/cookbooks/docker_test/recipes/image_lwrp.rb:21:in `from_file' | |
[2014-01-02T08:32:11+00:00] WARN: Cloning resource attributes for docker_container[busybox] from prior resource (CHEF-3694) | |
[2014-01-02T08:32:11+00:00] WARN: Previous docker_container[busybox]: /tmp/kitchen/cookbooks/docker_test/recipes/container_lwrp.rb:1:in `from_file' | |
[2014-01-02T08:32:11+00:00] WARN: Current docker_container[busybox]: /tmp/kitchen/cookbooks/docker_test/recipes/container_lwrp.rb:7:in `from_file' | |
[2014-01-02T08:32:11+00:00] WARN: Cloning resource attributes for docker_container[busybox] from prior resource (CHEF-3694) | |
[2014-01-02T08:32:11+00:00] WARN: Previous docker_container[busybox]: /tmp/kitchen/cookbooks/docker_test/recipes/container_lwrp.rb:7:in `from_file' | |
[2014-01-02T08:32:11+00:00] WARN: Current docker_container[busybox]: /tmp/kitchen/cookbooks/docker_test/recipes/container_lwrp.rb:13:in `from_file' | |
[2014-01-02T08:32:11+00:00] WARN: Cloning resource attributes for docker_container[busybox] from prior resource (CHEF-3694) | |
[2014-01-02T08:32:11+00:00] WARN: Previous docker_container[busybox]: /tmp/kitchen/cookbooks/docker_test/recipes/container_lwrp.rb:13:in `from_file' | |
[2014-01-02T08:32:11+00:00] WARN: Current docker_container[busybox]: /tmp/kitchen/cookbooks/docker_test/recipes/container_lwrp.rb:19:in `from_file' | |
[2014-01-02T08:32:11+00:00] WARN: Cloning resource attributes for docker_container[busybox] from prior resource (CHEF-3694) | |
[2014-01-02T08:32:11+00:00] WARN: Previous docker_container[busybox]: /tmp/kitchen/cookbooks/docker_test/recipes/container_lwrp.rb:19:in `from_file' | |
[2014-01-02T08:32:11+00:00] WARN: Current docker_container[busybox]: /tmp/kitchen/cookbooks/docker_test/recipes/container_lwrp.rb:25:in `from_file' | |
[2014-01-02T08:32:11+00:00] WARN: Cloning resource attributes for docker_container[busybox] from prior resource (CHEF-3694) | |
[2014-01-02T08:32:11+00:00] WARN: Previous docker_container[busybox]: /tmp/kitchen/cookbooks/docker_test/recipes/container_lwrp.rb:25:in `from_file' | |
[2014-01-02T08:32:11+00:00] WARN: Current docker_container[busybox]: /tmp/kitchen/cookbooks/docker_test/recipes/container_lwrp.rb:31:in `from_file' | |
[2014-01-02T08:32:11+00:00] WARN: Cloning resource attributes for docker_container[busybox] from prior resource (CHEF-3694) | |
[2014-01-02T08:32:11+00:00] WARN: Previous docker_container[busybox]: /tmp/kitchen/cookbooks/docker_test/recipes/container_lwrp.rb:31:in `from_file' | |
[2014-01-02T08:32:11+00:00] WARN: Current docker_container[busybox]: /tmp/kitchen/cookbooks/docker_test/recipes/container_lwrp.rb:38:in `from_file' | |
[2014-01-02T08:32:11+00:00] WARN: Cloning resource attributes for docker_container[busybox] from prior resource (CHEF-3694) | |
[2014-01-02T08:32:11+00:00] WARN: Previous docker_container[busybox]: /tmp/kitchen/cookbooks/docker_test/recipes/container_lwrp.rb:38:in `from_file' | |
[2014-01-02T08:32:11+00:00] WARN: Current docker_container[busybox]: /tmp/kitchen/cookbooks/docker_test/recipes/container_lwrp.rb:44:in `from_file' | |
[2014-01-02T08:32:11+00:00] WARN: Cloning resource attributes for docker_container[busybox] from prior resource (CHEF-3694) | |
[2014-01-02T08:32:11+00:00] WARN: Previous docker_container[busybox]: /tmp/kitchen/cookbooks/docker_test/recipes/container_lwrp.rb:44:in `from_file' | |
[2014-01-02T08:32:11+00:00] WARN: Current docker_container[busybox]: /tmp/kitchen/cookbooks/docker_test/recipes/container_lwrp.rb:50:in `from_file' | |
[2014-01-02T08:32:11+00:00] WARN: Cloning resource attributes for docker_container[busybox] from prior resource (CHEF-3694) | |
[2014-01-02T08:32:11+00:00] WARN: Previous docker_container[busybox]: /tmp/kitchen/cookbooks/docker_test/recipes/container_lwrp.rb:50:in `from_file' | |
[2014-01-02T08:32:11+00:00] WARN: Current docker_container[busybox]: /tmp/kitchen/cookbooks/docker_test/recipes/container_lwrp.rb:56:in `from_file' | |
[2014-01-02T08:32:11+00:00] WARN: Cloning resource attributes for docker_container[busybox] from prior resource (CHEF-3694) | |
[2014-01-02T08:32:11+00:00] WARN: Previous docker_container[busybox]: /tmp/kitchen/cookbooks/docker_test/recipes/container_lwrp.rb:56:in `from_file' | |
[2014-01-02T08:32:11+00:00] WARN: Current docker_container[busybox]: /tmp/kitchen/cookbooks/docker_test/recipes/container_lwrp.rb:62:in `from_file' | |
Converging 32 resources | |
* chef_gem[minitest] action nothing[2014-01-02T08:32:11+00:00] INFO: Processing chef_gem[minitest] action nothing (minitest-handler::default line 6) | |
(skipped due to action :nothing) | |
* chef_gem[minitest-chef-handler] action nothing[2014-01-02T08:32:11+00:00] INFO: Processing chef_gem[minitest-chef-handler] action nothing (minitest-handler::default line 13) | |
(skipped due to action :nothing) | |
* directory[delete minitest test location] action delete[2014-01-02T08:32:11+00:00] INFO: Processing directory[delete minitest test location] action delete (minitest-handler::default line 33) | |
(up to date) | |
* directory[delete /tmp/kitchen/cache/minitest_scratch] action delete[2014-01-02T08:32:11+00:00] INFO: Processing directory[delete /tmp/kitchen/cache/minitest_scratch] action delete (minitest-handler::default line 42) | |
(up to date) | |
* directory[create minitest test location] action create[2014-01-02T08:32:11+00:00] INFO: Processing directory[create minitest test location] action create (minitest-handler::default line 33) | |
[2014-01-02T08:32:11+00:00] INFO: directory[create minitest test location] created directory /var/chef/minitest | |
- create new directory /var/chef/minitest[2014-01-02T08:32:11+00:00] INFO: directory[create minitest test location] owner changed to 0 | |
[2014-01-02T08:32:11+00:00] INFO: directory[create minitest test location] group changed to 0 | |
[2014-01-02T08:32:11+00:00] INFO: directory[create minitest test location] mode changed to 775 | |
- change mode from '' to '0775' | |
- change owner from '' to 'root' | |
- change group from '' to 'root' | |
* directory[create /tmp/kitchen/cache/minitest_scratch] action create[2014-01-02T08:32:11+00:00] INFO: Processing directory[create /tmp/kitchen/cache/minitest_scratch] action create (minitest-handler::default line 42) | |
[2014-01-02T08:32:11+00:00] INFO: directory[create /tmp/kitchen/cache/minitest_scratch] created directory /tmp/kitchen/cache/minitest_scratch | |
- create new directory /tmp/kitchen/cache/minitest_scratch[2014-01-02T08:32:11+00:00] INFO: directory[create /tmp/kitchen/cache/minitest_scratch] owner changed to 0 | |
[2014-01-02T08:32:11+00:00] INFO: directory[create /tmp/kitchen/cache/minitest_scratch] group changed to 0 | |
[2014-01-02T08:32:11+00:00] INFO: directory[create /tmp/kitchen/cache/minitest_scratch] mode changed to 775 | |
- change mode from '' to '0775' | |
- change owner from '' to 'root' | |
- change group from '' to 'root' | |
* ruby_block[load tests] action run[2014-01-02T08:32:11+00:00] INFO: Processing ruby_block[load tests] action run (minitest-handler::default line 53) | |
Recipe: <Dynamically Defined Resource> | |
* directory[/var/chef/minitest/minitest-handler] action create[2014-01-02T08:32:11+00:00] INFO: Processing directory[/var/chef/minitest/minitest-handler] action create (dynamically defined) | |
[2014-01-02T08:32:11+00:00] INFO: directory[/var/chef/minitest/minitest-handler] created directory /var/chef/minitest/minitest-handler | |
- create new directory /var/chef/minitest/minitest-handler | |
* directory[/var/chef/minitest/docker_test] action create[2014-01-02T08:32:11+00:00] INFO: Processing directory[/var/chef/minitest/docker_test] action create (dynamically defined) | |
[2014-01-02T08:32:11+00:00] INFO: directory[/var/chef/minitest/docker_test] created directory /var/chef/minitest/docker_test | |
- create new directory /var/chef/minitest/docker_test | |
* directory[/var/chef/minitest/docker] action create[2014-01-02T08:32:11+00:00] INFO: Processing directory[/var/chef/minitest/docker] action create (dynamically defined) | |
[2014-01-02T08:32:11+00:00] INFO: directory[/var/chef/minitest/docker] created directory /var/chef/minitest/docker | |
- create new directory /var/chef/minitest/docker | |
* directory[/var/chef/minitest/docker] action create[2014-01-02T08:32:11+00:00] INFO: Processing directory[/var/chef/minitest/docker] action create (dynamically defined) | |
(up to date) | |
* directory[/var/chef/minitest/docker] action create[2014-01-02T08:32:11+00:00] INFO: Processing directory[/var/chef/minitest/docker] action create (dynamically defined) | |
(up to date) | |
* directory[/var/chef/minitest/docker_test] action create[2014-01-02T08:32:11+00:00] INFO: Processing directory[/var/chef/minitest/docker_test] action create (dynamically defined) | |
(up to date) | |
* directory[/var/chef/minitest/docker_test] action create[2014-01-02T08:32:11+00:00] INFO: Processing directory[/var/chef/minitest/docker_test] action create (dynamically defined) | |
(up to date) | |
[2014-01-02T08:32:11+00:00] INFO: Enabling minitest-chef-handler as a report handler | |
[2014-01-02T08:32:11+00:00] INFO: ruby_block[load tests] called | |
- execute the ruby block load tests | |
Recipe: docker::package | |
* package[docker-io] action install[2014-01-02T08:32:11+00:00] INFO: Processing package[docker-io] action install (docker::package line 10) | |
[2014-01-02T08:32:57+00:00] INFO: package[docker-io] installing docker-io-0.7.0-14.fc19 from updates repository | |
- install version 0.7.0-14.fc19 of package docker-io | |
Recipe: docker::systemd | |
* execute[systemctl-daemon-reload] action nothing[2014-01-02T08:33:08+00:00] INFO: Processing execute[systemctl-daemon-reload] action nothing (docker::systemd line 1) | |
(skipped due to action :nothing) | |
* template[/usr/lib/systemd/system/docker.socket] action create[2014-01-02T08:33:08+00:00] INFO: Processing template[/usr/lib/systemd/system/docker.socket] action create (docker::systemd line 6) | |
[2014-01-02T08:33:08+00:00] INFO: template[/usr/lib/systemd/system/docker.socket] created file /usr/lib/systemd/system/docker.socket | |
- create new file /usr/lib/systemd/system/docker.socket[2014-01-02T08:33:08+00:00] INFO: template[/usr/lib/systemd/system/docker.socket] updated file contents /usr/lib/systemd/system/docker.socket | |
- update content in file /usr/lib/systemd/system/docker.socket from none to 6c260b | |
--- /usr/lib/systemd/system/docker.socket 2014-01-02 08:33:08.569899543 +0000 | |
+++ /tmp/chef-rendered-template20140102-1515-1p9d1kh 2014-01-02 08:33:08.571900543 +0000 | |
@@ -1 +1,9 @@ | |
+[Unit] | |
+Description=Docker Daemon Socket | |
+ | |
+[Socket] | |
+ListenStream=/var/run/docker.sock | |
+ | |
+[Install] | |
+WantedBy=sockets.target[2014-01-02T08:33:08+00:00] INFO: template[/usr/lib/systemd/system/docker.socket] owner changed to 0 | |
[2014-01-02T08:33:08+00:00] INFO: template[/usr/lib/systemd/system/docker.socket] group changed to 0 | |
[2014-01-02T08:33:08+00:00] INFO: template[/usr/lib/systemd/system/docker.socket] mode changed to 644 | |
- change mode from '' to '0644' | |
- change owner from '' to 'root' | |
- change group from '' to 'root' | |
* template[/usr/lib/systemd/system/docker.service] action create[2014-01-02T08:33:08+00:00] INFO: Processing template[/usr/lib/systemd/system/docker.service] action create (docker::systemd line 13) | |
[2014-01-02T08:33:08+00:00] INFO: template[/usr/lib/systemd/system/docker.service] backed up to /tmp/kitchen/backup/usr/lib/systemd/system/docker.service.chef-20140102083308.592052 | |
[2014-01-02T08:33:08+00:00] INFO: template[/usr/lib/systemd/system/docker.service] updated file contents /usr/lib/systemd/system/docker.service | |
- update content in file /usr/lib/systemd/system/docker.service from 11d209 to 45303a | |
--- /usr/lib/systemd/system/docker.service 2013-12-02 16:03:47.000000000 +0000 | |
+++ /tmp/chef-rendered-template20140102-1515-562ybn 2014-01-02 08:33:08.590910044 +0000 | |
@@ -6,7 +6,7 @@ | |
[Service] | |
Type=simple | |
ExecStartPre=/usr/sbin/sysctl -w net.ipv4.ip_forward=1 net.ipv6.conf.all.forwarding=1 | |
-ExecStart=/usr/bin/docker -d | |
+ExecStart=/usr/bin/docker -d -H unix:///var/run/docker.sock -r=false | |
Restart=on-failure | |
[Install] | |
[2014-01-02T08:33:08+00:00] INFO: template[/usr/lib/systemd/system/docker.service] sending run action to execute[systemctl-daemon-reload] (immediate) | |
* execute[systemctl-daemon-reload] action run[2014-01-02T08:33:08+00:00] INFO: Processing execute[systemctl-daemon-reload] action run (docker::systemd line 1) | |
[2014-01-02T08:33:08+00:00] INFO: execute[systemctl-daemon-reload] ran successfully | |
- execute /bin/systemctl --system daemon-reload | |
[2014-01-02T08:33:08+00:00] INFO: template[/usr/lib/systemd/system/docker.service] sending restart action to service[docker] (immediate) | |
* service[docker] action restart[2014-01-02T08:33:08+00:00] INFO: Processing service[docker] action restart (docker::systemd line 22) | |
[2014-01-02T08:33:08+00:00] INFO: service[docker] restarted | |
- restart service service[docker] | |
* service[docker] action start[2014-01-02T08:33:08+00:00] INFO: Processing service[docker] action start (docker::systemd line 22) | |
(up to date) | |
* service[docker] action enable[2014-01-02T08:33:08+00:00] INFO: Processing service[docker] action enable (docker::systemd line 22) | |
[2014-01-02T08:33:08+00:00] INFO: service[docker] enabled | |
- enable service service[docker] | |
Recipe: docker_test::image_lwrp | |
* docker_image[base] action pull[2014-01-02T08:33:08+00:00] INFO: Processing docker_image[base] action pull (docker_test::image_lwrp line 1) | |
* docker_image[busybox] action pull[2014-01-02T08:33:09+00:00] INFO: Processing docker_image[busybox] action pull (docker_test::image_lwrp line 2) | |
* docker_image[bflad/testcontainerd] action pull[2014-01-02T08:33:09+00:00] INFO: Processing docker_image[bflad/testcontainerd] action pull (docker_test::image_lwrp line 3) | |
* docker_image[base] action remove[2014-01-02T08:33:10+00:00] INFO: Processing docker_image[base] action remove (docker_test::image_lwrp line 5) | |
(up to date) | |
* cookbook_file[/tmp/docker_image_build.dockerfile] action create[2014-01-02T08:33:10+00:00] INFO: Processing cookbook_file[/tmp/docker_image_build.dockerfile] action create (docker_test::image_lwrp line 11) | |
[2014-01-02T08:33:10+00:00] INFO: cookbook_file[/tmp/docker_image_build.dockerfile] created file /tmp/docker_image_build.dockerfile | |
- create new file /tmp/docker_image_build.dockerfile[2014-01-02T08:33:10+00:00] INFO: cookbook_file[/tmp/docker_image_build.dockerfile] updated file contents /tmp/docker_image_build.dockerfile | |
- update content in file /tmp/docker_image_build.dockerfile from none to 2248db | |
--- /tmp/docker_image_build.dockerfile 2014-01-02 08:33:10.140684602 +0000 | |
+++ /tmp/.docker_image_build.dockerfile20140102-1515-j8ozqg 2014-01-02 08:33:10.142685603 +0000 | |
@@ -1 +1,3 @@ | |
+FROM busybox | |
+RUN /bin/echo hello world | |
* docker_image[myImage] action build[2014-01-02T08:33:10+00:00] INFO: Processing docker_image[myImage] action build (docker_test::image_lwrp line 15) | |
* docker_image[myImage] action remove[2014-01-02T08:33:10+00:00] INFO: Processing docker_image[myImage] action remove (docker_test::image_lwrp line 21) | |
(up to date) | |
Recipe: docker_test::container_lwrp | |
* docker_container[busybox] action run[2014-01-02T08:33:11+00:00] INFO: Processing docker_container[busybox] action run (docker_test::container_lwrp line 1) | |
================================================================================ | |
Error executing action `run` on resource 'docker_container[busybox]' | |
================================================================================ | |
Mixlib::ShellOut::ShellCommandFailed | |
------------------------------------ | |
Expected process to exit with [0], but received '1' | |
---- Begin output of docker run -d busybox sleep 1111 ---- | |
STDOUT: | |
STDERR: 2014/01/02 08:33:11 dial unix /var/run/docker.sock: no such file or directory | |
---- End output of docker run -d busybox sleep 1111 ---- | |
Ran docker run -d busybox sleep 1111 returned 1 | |
Cookbook Trace: | |
--------------- | |
/tmp/kitchen/cookbooks/docker/providers/container.rb:157:in `run' | |
/tmp/kitchen/cookbooks/docker/providers/container.rb:43:in `block in class_from_file' | |
Resource Declaration: | |
--------------------- | |
# In /tmp/kitchen/cookbooks/docker_test/recipes/container_lwrp.rb | |
1: docker_container "busybox" do | |
2: command "sleep 1111" | |
3: detach true | |
4: init_type false | |
5: end | |
6: | |
Compiled Resource: | |
------------------ | |
# Declared in /tmp/kitchen/cookbooks/docker_test/recipes/container_lwrp.rb:1:in `from_file' | |
docker_container("busybox") do | |
action :run | |
retries 0 | |
retry_delay 2 | |
cookbook_name :docker_test | |
recipe_name "container_lwrp" | |
command "sleep 1111" | |
detach true | |
cmd_timeout 30 | |
image "busybox" | |
end | |
[2014-01-02T08:33:11+00:00] INFO: Running queued delayed notifications before re-raising exception | |
[2014-01-02T08:33:11+00:00] ERROR: Running exception handlers | |
[2014-01-02T08:33:11+00:00] ERROR: Exception handlers complete | |
[2014-01-02T08:33:11+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out | |
Chef Client failed. 18 resources updated | |
[2014-01-02T08:33:12+00:00] ERROR: docker_container[busybox] (docker_test::container_lwrp line 1) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' | |
---- Begin output of docker run -d busybox sleep 1111 ---- | |
STDOUT: | |
STDERR: 2014/01/02 08:33:11 dial unix /var/run/docker.sock: no such file or directory | |
---- End output of docker run -d busybox sleep 1111 ---- | |
Ran docker run -d busybox sleep 1111 returned 1 | |
[2014-01-02T08:33:12+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1) | |
>>>>>> Converge failed on instance <image-lwrp-fedora-19>. | |
>>>>>> Please see .kitchen/logs/image-lwrp-fedora-19.log for more details | |
>>>>>> ------Exception------- | |
>>>>>> Class: Kitchen::ActionFailed | |
>>>>>> Message: SSH exited (1) for command: [sudo -E chef-solo --config /tmp/kitchen/solo.rb --json-attributes /tmp/kitchen/dna.json --log_level info] | |
>>>>>> ---------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment