Created
May 5, 2014 17:48
-
-
Save bklang/dcf416e5073046774a2f 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
Recipe: stentofon_mojolingo_demo::app | |
* package[pcre] action install | |
[2014-05-05T17:48:06+00:00] INFO: Processing package[pcre] action install (stentofon_mojolingo_demo::app line 7) | |
(up to date) | |
* package[pcre-devel] action install[2014-05-05T17:48:06+00:00] INFO: Processing package[pcre-devel] action install (stentofon_mojolingo_demo::app line 7) | |
(up to date) | |
* package[redhat-lsb] action install[2014-05-05T17:48:06+00:00] INFO: Processing package[redhat-lsb] action install (stentofon_mojolingo_demo::app line 7) | |
(up to date) | |
Recipe: git::default | |
* package[git] action install | |
[2014-05-05T17:48:06+00:00] INFO: Processing package[git] action install (git::default line 31) | |
(up to date) | |
Recipe: rbenv::system_install | |
* package[git] action install[2014-05-05T17:48:06+00:00] INFO: Processing package[git] action install (rbenv::system_install line 43) | |
(up to date) | |
* package[grep] action install[2014-05-05T17:48:06+00:00] INFO: Processing package[grep] action install (rbenv::system_install line 43) | |
(up to date) | |
* directory[/etc/profile.d] action create[2014-05-05T17:48:06+00:00] INFO: Processing directory[/etc/profile.d] action create (rbenv::system_install line 29) | |
(up to date) | |
* template[/etc/profile.d/rbenv.sh] action create[2014-05-05T17:48:06+00:00] INFO: Processing template[/etc/profile.d/rbenv.sh] action create (rbenv::system_install line 34) | |
(up to date) | |
* git[/opt/rbenv] action checkout[2014-05-05T17:48:06+00:00] INFO: Processing git[/opt/rbenv] action checkout (rbenv::system_install line 61) | |
[2014-05-05T17:48:11+00:00] INFO: git[/opt/rbenv] cloning repo git://github.com/sstephenson/rbenv.git to /opt/rbenv | |
- clone from git://github.com/sstephenson/rbenv.git into /opt/rbenv | |
[2014-05-05T17:48:17+00:00] INFO: git[/opt/rbenv] checked out branch: master onto: deploy reference: fe0b2436b865125857eedb4cf3de3ae2cab918fd | |
- checkout ref fe0b2436b865125857eedb4cf3de3ae2cab918fd branch master | |
* bash[Initialize rbenv (system)] action run [2014-05-05T17:48:17+00:00] INFO: Processing bash[Initialize rbenv (system)] action run (rbenv::system_install line 80) | |
[2014-05-05T17:48:17+00:00] INFO: bash[Initialize rbenv (system)] ran successfully | |
- execute "bash" "/tmp/chef-script20140505-24649-s5zd65" | |
* log[rbenv-post-init-system] action write[2014-05-05T17:48:17+00:00] INFO: Processing log[rbenv-post-init-system] action write (rbenv::system_install line 87) | |
[2014-05-05T17:48:17+00:00] INFO: rbenv-post-init-system | |
Recipe: ruby_build::default | |
* package[tar] action install[2014-05-05T17:48:17+00:00] INFO: Processing package[tar] action install (ruby_build::default line 34) | |
(up to date) | |
* package[bash] action install[2014-05-05T17:48:17+00:00] INFO: Processing package[bash] action install (ruby_build::default line 34) | |
(up to date) | |
* package[curl] action install | |
[2014-05-05T17:48:17+00:00] INFO: Processing package[curl] action install (ruby_build::default line 34) | |
(up to date) | |
* package[git] action install[2014-05-05T17:48:17+00:00] INFO: Processing package[git] action install (ruby_build::default line 38) | |
(skipped due to not_if) | |
* execute[Install ruby-build] action nothing [2014-05-05T17:48:17+00:00] INFO: Processing execute[Install ruby-build] action nothing (ruby_build::default line 44) | |
(skipped due to action :nothing) | |
* directory[/tmp/kitchen/cache] action create | |
[2014-05-05T17:48:17+00:00] INFO: Processing directory[/tmp/kitchen/cache] action create (ruby_build::default line 54) | |
(up to date) | |
* git[/tmp/kitchen/cache/ruby-build] action checkout | |
[2014-05-05T17:48:17+00:00] INFO: Processing git[/tmp/kitchen/cache/ruby-build] action checkout (ruby_build::default line 58) | |
(up to date) | |
Recipe: stentofon_mojolingo_demo::ruby | |
* rbenv_ruby[2.1.0] (system) action install[2014-05-05T17:48:23+00:00] INFO: Processing rbenv_ruby[2.1.0] (system) action install (stentofon_mojolingo_demo::ruby line 7) | |
[2014-05-05T17:48:23+00:00] WARN: ruby_build cookbook is missing. Please add to the run_list (Action will be skipped). | |
(up to date) | |
* rbenv_global[2.1.0] (system) action create[2014-05-05T17:48:23+00:00] INFO: Processing rbenv_global[2.1.0] (system) action create (stentofon_mojolingo_demo::ruby line 9) | |
Recipe: <Dynamically Defined Resource> | |
* rbenv_script[rbenv global 2.1.0 (system)] action run[2014-05-05T17:48:23+00:00] INFO: Processing rbenv_script[rbenv global 2.1.0 (system)] action run (/tmp/kitchen/cookbooks/rbenv/providers/global.rb line 28) | |
* rbenv_script[rbenv global 2.1.0 (system)] action nothing[2014-05-05T17:48:23+00:00] INFO: Processing rbenv_script[rbenv global 2.1.0 (system)] action nothing (/tmp/kitchen/cookbooks/rbenv/providers/global.rb line 28) | |
(skipped due to action :nothing) | |
* script[rbenv global 2.1.0 (system)] action run | |
[2014-05-05T17:48:23+00:00] INFO: Processing script[rbenv global 2.1.0 (system)] action run (/tmp/kitchen/cookbooks/rbenv/providers/script.rb line 28) | |
================================================================================ | |
Error executing action `run` on resource 'script[rbenv global 2.1.0 (system)]' | |
================================================================================ | |
Mixlib::ShellOut::ShellCommandFailed | |
------------------------------------ | |
Expected process to exit with [0], but received '1' | |
---- Begin output of "bash" "/tmp/chef-script20140505-24649-yee8oy" ---- | |
STDOUT: | |
STDERR: rbenv: version `global' not installed | |
rbenv: version `2.1.0' not installed | |
---- End output of "bash" "/tmp/chef-script20140505-24649-yee8oy" ---- | |
Ran "bash" "/tmp/chef-script20140505-24649-yee8oy" returned 1 | |
Resource Declaration: | |
--------------------- | |
# In /tmp/kitchen/cookbooks/rbenv/providers/script.rb | |
28: script new_resource.name do | |
29: interpreter "bash" | |
30: code script_code | |
31: user new_resource.user if new_resource.user | |
32: creates new_resource.creates if new_resource.creates | |
33: cwd new_resource.cwd if new_resource.cwd | |
34: group new_resource.group if new_resource.group | |
35: path new_resource.path if new_resource.path | |
36: returns new_resource.returns if new_resource.returns | |
37: timeout new_resource.timeout if new_resource.timeout | |
38: umask new_resource.umask if new_resource.umask | |
39: environment(script_environment) | |
40: end | |
41: | |
Compiled Resource: | |
------------------ | |
# Declared in /tmp/kitchen/cookbooks/rbenv/providers/script.rb:28:in `block in class_from_file' | |
script("rbenv global 2.1.0 (system)") do | |
action "run" | |
retries 0 | |
retry_delay 2 | |
guard_interpreter :default | |
command "\"bash\" \"/tmp/chef-script20140505-24649-yee8oy\"" | |
backup 5 | |
environment {"RBENV_ROOT"=>"/opt/rbenv"} | |
returns [0] | |
code "export RBENV_ROOT=\"/opt/rbenv\"\nexport PATH=\"${RBENV_ROOT}/bin:$PATH\"\neval \"$(rbenv init -)\"\n\nrbenv shell global\n\nrbenv global 2.1.0\n" | |
interpreter "bash" | |
cookbook_name :stentofon_mojolingo_demo | |
end | |
[2014-05-05T17:48:23+00:00] INFO: Running queued delayed notifications before re-raising exception | |
[2014-05-05T17:48:23+00:00] INFO: template[/etc/lumenvox/sre_server.conf] sending restart action to service[lvsred] (delayed) | |
Recipe: lumenvox::sre | |
* service[lvsred] action restart[2014-05-05T17:48:23+00:00] INFO: Processing service[lvsred] action restart (lumenvox::sre line 21) | |
[2014-05-05T17:48:28+00:00] INFO: service[lvsred] restarted | |
- restart service service[lvsred] | |
[2014-05-05T17:48:28+00:00] INFO: template[/etc/lumenvox/media_server.conf] sending restart action to service[lvmediaserverd] (delayed) | |
Recipe: lumenvox::media_server | |
* service[lvmediaserverd] action restart[2014-05-05T17:48:28+00:00] INFO: Processing service[lvmediaserverd] action restart (lumenvox::media_server line 18) | |
[2014-05-05T17:48:32+00:00] INFO: service[lvmediaserverd] restarted | |
- restart service service[lvmediaserverd] | |
Running handlers: | |
[2014-05-05T17:48:32+00:00] ERROR: Running exception handlers | |
Running handlers complete | |
[2014-05-05T17:48:32+00:00] ERROR: Exception handlers complete | |
[2014-05-05T17:48:32+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out | |
Chef Client failed. 17 resources updated in 54.034141601 seconds | |
[2014-05-05T17:48:32+00:00] ERROR: script[rbenv global 2.1.0 (system)] (/tmp/kitchen/cookbooks/rbenv/providers/script.rb line 28) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' | |
---- Begin output of "bash" "/tmp/chef-script20140505-24649-yee8oy" ---- | |
STDOUT: | |
STDERR: rbenv: version `global' not installed | |
rbenv: version `2.1.0' not installed | |
---- End output of "bash" "/tmp/chef-script20140505-24649-yee8oy" ---- | |
Ran "bash" "/tmp/chef-script20140505-24649-yee8oy" returned 1 | |
[2014-05-05T17:48:32+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1) | |
>>>>>> Converge failed on instance <default-centos-65>. | |
>>>>>> Please see .kitchen/logs/default-centos-65.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