Created
October 6, 2015 08:23
-
-
Save chasebolt/5f68e302377a2597067a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
✗ kitchen converge timeout-ubuntu-1504 | |
-----> Starting Kitchen (v1.4.2) | |
-----> Converging <timeout-ubuntu-1504>... | |
$$$$$$ Running legacy converge for 'DigitalOcean' Driver | |
Preparing files for transfer | |
Preparing dna.json | |
Resolving cookbook dependencies with Berkshelf 3.3.0... | |
Removing non-cookbook files before transfer | |
Preparing validation.pem | |
Preparing client.rb | |
-----> Chef Omnibus installation detected (install only if missing) | |
Transferring files to <timeout-ubuntu-1504> | |
Starting Chef Client, version 12.4.3 | |
[2015-10-06T04:08:53-04:00] WARN: Child with name 'dna.json' found in multiple directories: /tmp/kitchen/dna.json and /tmp/kitchen/dna.json | |
resolving cookbooks for run list: ["apt", "docker_test::timeout"] | |
Synchronizing Cookbooks: | |
- docker_test | |
- apt | |
- docker | |
Compiling Cookbooks... | |
Converging 16 resources | |
Recipe: apt::default | |
* file[/var/lib/apt/periodic/update-success-stamp] action nothing (skipped due to action :nothing) | |
* directory[/etc/apt/apt.conf.d] action create (up to date) | |
* cookbook_file[/etc/apt/apt.conf.d/15update-stamp] action create (up to date) | |
* execute[apt-get-update] action run (skipped due to not_if) | |
* execute[apt-get update] action nothing (skipped due to action :nothing) | |
* execute[apt-get autoremove] action nothing (skipped due to action :nothing) | |
* execute[apt-get autoclean] action nothing (skipped due to action :nothing) | |
* execute[apt-get-update-periodic] action run (skipped due to only_if) | |
* directory[/var/cache/local] action create (up to date) | |
* directory[/var/cache/local/preseeding] action create (up to date) | |
Recipe: docker_test::default | |
* docker_service[default] action create | |
* remote_file[/usr/bin/docker] action create (up to date) | |
(up to date) | |
* docker_service[default] action start | |
* template[/lib/systemd/system/docker.service] action create (up to date) | |
* execute[systemctl daemon-reload] action nothing (skipped due to action :nothing) | |
* template[/usr/lib/tmpfiles.d/docker.conf] action create (up to date) | |
* service[docker] action enable (up to date) | |
* service[docker] action start (up to date) | |
* bash[docker-wait-ready] action run (skipped due to not_if) | |
(up to date) | |
Recipe: docker_test::timeout | |
* docker_image[centos] action pull | |
chase: | |
chase: Docker::Connection { :url => unix:///, :options => {:socket=>"/var/run/docker.sock", "read_timeout"=>120} } | |
(up to date) | |
[2015-10-06T04:08:56-04:00] ERROR: execute[rmi kkeane/image.4] (docker_test::timeout line 13) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' | |
---- Begin output of docker rmi kkeane/image.4:chef ---- | |
STDOUT: | |
STDERR: Error response from daemon: No such image: kkeane/image.4:chef | |
Error: failed to remove images: [kkeane/image.4:chef] | |
---- End output of docker rmi kkeane/image.4:chef ---- | |
Ran docker rmi kkeane/image.4:chef returned 1; ignore_failure is set, continuing | |
================================================================================ | |
Error executing action `run` on resource 'execute[rmi kkeane/image.4]' | |
================================================================================ | |
Mixlib::ShellOut::ShellCommandFailed | |
------------------------------------ | |
Expected process to exit with [0], but received '1' | |
---- Begin output of docker rmi kkeane/image.4:chef ---- | |
STDOUT: | |
STDERR: Error response from daemon: No such image: kkeane/image.4:chef | |
Error: failed to remove images: [kkeane/image.4:chef] | |
---- End output of docker rmi kkeane/image.4:chef ---- | |
Ran docker rmi kkeane/image.4:chef returned 1 | |
Resource Declaration: | |
--------------------- | |
# In /tmp/kitchen/cache/cookbooks/docker_test/recipes/timeout.rb | |
13: execute 'rmi kkeane/image.4' do | |
14: command 'docker rmi kkeane/image.4:chef' | |
15: ignore_failure true | |
16: action :run | |
17: end | |
18: | |
Compiled Resource: | |
------------------ | |
# Declared in /tmp/kitchen/cache/cookbooks/docker_test/recipes/timeout.rb:13:in `from_file' | |
execute("rmi kkeane/image.4") do | |
action [:run] | |
ignore_failure true | |
retries 0 | |
retry_delay 2 | |
default_guard_interpreter :execute | |
command "docker rmi kkeane/image.4:chef" | |
backup 5 | |
returns 0 | |
declared_type :execute | |
cookbook_name "docker_test" | |
recipe_name "timeout" | |
end | |
* directory[/usr/local/src/container4] action create (up to date) | |
* cookbook_file[/usr/local/src/container4/Dockerfile] action create (up to date) | |
* docker_image[timeout test image] action build_if_missing | |
DEBUG: Docker::Connection { :url => unix:///, :options => {:socket=>"/var/run/docker.sock", "read_timeout"=>3600, "write_timeout"=>3600} } | |
================================================================================ | |
Error executing action `build_if_missing` on resource 'docker_image[timeout test image]' | |
================================================================================ | |
Docker::Error::TimeoutError | |
--------------------------- | |
read timeout reached | |
Cookbook Trace: | |
--------------- | |
/tmp/kitchen/cache/cookbooks/docker/files/default/vendor/gems/docker-api-1.22.4/lib/docker/connection.rb:52:in `rescue in request' | |
/tmp/kitchen/cache/cookbooks/docker/files/default/vendor/gems/docker-api-1.22.4/lib/docker/connection.rb:38:in `request' | |
/tmp/kitchen/cache/cookbooks/docker/files/default/vendor/gems/docker-api-1.22.4/lib/docker/connection.rb:65:in `block (2 levels) in <class:Connection>' | |
/tmp/kitchen/cache/cookbooks/docker/files/default/vendor/gems/docker-api-1.22.4/lib/docker/image.rb:227:in `build_from_tar' | |
/tmp/kitchen/cache/cookbooks/docker/files/default/vendor/gems/docker-api-1.22.4/lib/docker/image.rb:246:in `build_from_dir' | |
/tmp/kitchen/cache/cookbooks/docker/libraries/helpers_image.rb:8:in `build_from_directory' | |
/tmp/kitchen/cache/cookbooks/docker/libraries/helpers_image.rb:45:in `build_image' | |
/tmp/kitchen/cache/cookbooks/docker/libraries/provider_docker_image.rb:29:in `block in <class:DockerImage>' | |
/tmp/kitchen/cache/cookbooks/docker/libraries/provider_docker_image.rb:35:in `block in <class:DockerImage>' | |
Resource Declaration: | |
--------------------- | |
# In /tmp/kitchen/cache/cookbooks/docker_test/recipes/timeout.rb | |
28: docker_image 'timeout test image' do | |
29: repo 'kkeane/image.4' | |
30: read_timeout 3600 # 1 hour | |
31: write_timeout 3600 # 1 hour | |
32: tag 'chef' | |
33: source '/usr/local/src/container4' | |
34: action :build_if_missing | |
35: end | |
Compiled Resource: | |
------------------ | |
# Declared in /tmp/kitchen/cache/cookbooks/docker_test/recipes/timeout.rb:28:in `from_file' | |
docker_image("timeout test image") do | |
action [:build_if_missing] | |
retries 0 | |
retry_delay 2 | |
default_guard_interpreter :default | |
declared_type :docker_image | |
cookbook_name "docker_test" | |
recipe_name "timeout" | |
repo "kkeane/image.4" | |
read_timeout 3600 | |
write_timeout 3600 | |
tag "chef" | |
source "/usr/local/src/container4" | |
rm true | |
end | |
Running handlers: | |
[2015-10-06T04:18:56-04:00] ERROR: Running exception handlers | |
Running handlers complete | |
[2015-10-06T04:18:56-04:00] ERROR: Exception handlers complete | |
Chef Client failed. 0 resources updated in 604.719655651 seconds | |
[2015-10-06T04:18:57-04:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out | |
[2015-10-06T04:18:57-04:00] ERROR: docker_image[timeout test image] (docker_test::timeout line 28) had an error: Docker::Error::TimeoutError: read timeout reached | |
[2015-10-06T04:18:57-04:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1) | |
>>>>>> Converge failed on instance <timeout-ubuntu-1504>. | |
>>>>>> Please see .kitchen/logs/timeout-ubuntu-1504.log for more details | |
>>>>>> ------Exception------- | |
>>>>>> Class: Kitchen::ActionFailed | |
>>>>>> Message: SSH exited (1) for command: [sh -c ' | |
sudo -E /opt/chef/bin/chef-client --local-mode --config /tmp/kitchen/client.rb --log_level auto --force-formatter --no-color --json-attributes /tmp/kitchen/dna.json --chef-zero-port 8889 | |
'] | |
>>>>>> ---------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment