Skip to content

Instantly share code, notes, and snippets.

@ranjib
Created March 19, 2013 22:26
Show Gist options
  • Save ranjib/5200708 to your computer and use it in GitHub Desktop.
Save ranjib/5200708 to your computer and use it in GitHub Desktop.
kitech test fails on bluepill
community-cookbooks/bluepill [master] $ bundle exec kitchen test
-----> Starting Kitchen
-----> Cleaning up any prior instances of <default-ubuntu-1204>
-----> Destroying <default-ubuntu-1204>
[vagrant command] BEGIN (vagrant destroy default-ubuntu-1204 -f)
[default-ubuntu-1204] Forcing shutdown of VM...
[Berkshelf] cleaning Vagrant's shelf
[default-ubuntu-1204] Destroying VM and associated drives...
[vagrant command] END (0m4.37s)
Vagrant instance <default-ubuntu-1204> destroyed.
Finished destroying <default-ubuntu-1204> (0m4.82s).
-----> Testing <default-ubuntu-1204>
-----> Creating <default-ubuntu-1204>
[vagrant command] BEGIN (vagrant up default-ubuntu-1204 --no-provision)
[default-ubuntu-1204] Importing base box 'canonical-ubuntu-12.04'...
[default-ubuntu-1204] Matching MAC address for NAT networking...
[default-ubuntu-1204] Clearing any previously set forwarded ports...
[default-ubuntu-1204] Forwarding ports...
[default-ubuntu-1204] -- 22 => 2222 (adapter 1)
[Berkshelf] installing cookbooks...
[Berkshelf] Using bluepill (2.2.2) at path: '/Users/ranjib/workspace/foss/community-cookbooks/bluepill'
[Berkshelf] Using apt (1.9.0)
[Berkshelf] Using yum (2.1.0)
[Berkshelf] Using minitest-handler (0.1.2)
[Berkshelf] Using bluepill_test (0.0.1) at path: './test/cookbooks/bluepill_test'
[Berkshelf] Using rsyslog (1.5.0)
[Berkshelf] Using chef_handler (1.1.4)
[default-ubuntu-1204] Creating shared folders metadata...
[default-ubuntu-1204] Clearing any previously set network interfaces...
[default-ubuntu-1204] Running any VM customizations...
[default-ubuntu-1204] Booting VM...
[default-ubuntu-1204] Waiting for VM to boot. This can take a few minutes.
[default-ubuntu-1204] VM booted and ready for use!
[default-ubuntu-1204] The guest additions on this VM do not match the install version of
VirtualBox! This may cause things such as forwarded ports, shared
folders, and more to not work properly. If any of those things fail on
this machine, please update the guest additions and repackage the
box.
Guest Additions Version: 4.1.12
VirtualBox Version: 4.2.10
[default-ubuntu-1204] Setting host name...
[default-ubuntu-1204] Mounting shared folders...
[default-ubuntu-1204] -- v-root: /vagrant
[default-ubuntu-1204] -- v-csc-1: /tmp/vagrant-chef-1/chef-solo-1/cookbooks
[vagrant command] END (1m3.51s)
Vagrant instance <default-ubuntu-1204> created.
Finished creating <default-ubuntu-1204> (1m9.54s).
-----> Converging <default-ubuntu-1204>
[vagrant command] BEGIN (vagrant ssh default-ubuntu-1204 --command 'should_update_chef() {\n...')
-----> Installing Chef Omnibus (11.4.0)
Downloading Chef 11.4.0 for ubuntu...
Installing Chef 11.4.0
Selecting previously unselected package chef.
(Reading database ... 61044 files and directories currently installed.)
Unpacking chef (from .../chef_11.4.0_amd64.deb) ...
Setting up chef (11.4.0-1.ubuntu.11.04) ...
Thank you for installing Chef!
[vagrant command] END (0m45.02s)
[vagrant command] BEGIN (vagrant provision default-ubuntu-1204)
[Berkshelf] installing cookbooks...
[Berkshelf] Using bluepill (2.2.2) at path: '/Users/ranjib/workspace/foss/community-cookbooks/bluepill'
[Berkshelf] Using apt (1.9.0)
[Berkshelf] Using yum (2.1.0)
[Berkshelf] Using minitest-handler (0.1.2)
[Berkshelf] Using bluepill_test (0.0.1) at path: './test/cookbooks/bluepill_test'
[Berkshelf] Using rsyslog (1.5.0)
[Berkshelf] Using chef_handler (1.1.4)
[default-ubuntu-1204] Running provisioner: Vagrant::Provisioners::ChefSolo...
[default-ubuntu-1204] Generating chef JSON and uploading...
[default-ubuntu-1204] Running chef-solo...
stdin: is not a tty
[2013-03-19T21:56:46+00:00] INFO: *** Chef 11.4.0 ***
[2013-03-19T21:56:47+00:00] INFO: Setting the run_list to ["recipe[apt]", "recipe[minitest-handler]", "recipe[bluepill_test]"] from JSON
[2013-03-19T21:56:47+00:00] INFO: Run List is [recipe[apt], recipe[minitest-handler], recipe[bluepill_test]]
[2013-03-19T21:56:47+00:00] INFO: Run List expands to [apt, minitest-handler, bluepill_test]
[2013-03-19T21:56:47+00:00] INFO: Starting Chef Run for default-ubuntu-1204.vagrantup.com
[2013-03-19T21:56:47+00:00] INFO: Running start handlers
[2013-03-19T21:56:47+00:00] INFO: Start handlers complete.
[2013-03-19T21:56:48+00:00] INFO: Processing chef_gem[minitest] action nothing (minitest-handler::default line 2)
[2013-03-19T21:56:48+00:00] INFO: Processing chef_gem[minitest] action install (minitest-handler::default line 2)
[2013-03-19T21:56:54+00:00] INFO: Processing chef_gem[minitest-chef-handler] action nothing (minitest-handler::default line 7)
[2013-03-19T21:56:54+00:00] INFO: Processing chef_gem[minitest-chef-handler] action install (minitest-handler::default line 7)
[2013-03-19T21:57:18+00:00] INFO: Enabling minitest-chef-handler as a report handler
[2013-03-19T21:57:18+00:00] INFO: Processing execute[apt-get-update] action run (apt::default line 22)
[2013-03-19T21:57:18+00:00] INFO: Processing execute[apt-get update] action nothing (apt::default line 29)
[2013-03-19T21:57:18+00:00] INFO: Processing execute[apt-get autoremove] action nothing (apt::default line 36)
[2013-03-19T21:57:18+00:00] INFO: Processing execute[apt-get autoclean] action nothing (apt::default line 42)
[2013-03-19T21:57:18+00:00] INFO: Processing package[update-notifier-common] action install (apt::default line 48)
[2013-03-19T21:57:19+00:00] INFO: Processing execute[apt-get-update-periodic] action run (apt::default line 52)
[2013-03-19T21:57:58+00:00] INFO: execute[apt-get-update-periodic] ran successfully
[2013-03-19T21:57:58+00:00] INFO: Processing directory[/var/cache/local] action create (apt::default line 62)
[2013-03-19T21:57:58+00:00] INFO: directory[/var/cache/local] created directory /var/cache/local
[2013-03-19T21:57:58+00:00] INFO: directory[/var/cache/local] owner changed to 0
[2013-03-19T21:57:58+00:00] INFO: directory[/var/cache/local] group changed to 0
[2013-03-19T21:57:58+00:00] INFO: directory[/var/cache/local] mode changed to 755
[2013-03-19T21:57:58+00:00] INFO: Processing directory[/var/cache/local/preseeding] action create (apt::default line 62)
[2013-03-19T21:57:58+00:00] INFO: directory[/var/cache/local/preseeding] created directory /var/cache/local/preseeding
[2013-03-19T21:57:58+00:00] INFO: directory[/var/cache/local/preseeding] owner changed to 0
[2013-03-19T21:57:58+00:00] INFO: directory[/var/cache/local/preseeding] group changed to 0
[2013-03-19T21:57:58+00:00] INFO: directory[/var/cache/local/preseeding] mode changed to 755
[2013-03-19T21:57:58+00:00] INFO: Processing chef_gem[minitest] action nothing (minitest-handler::default line 2)
[2013-03-19T21:57:58+00:00] INFO: Processing chef_gem[minitest-chef-handler] action nothing (minitest-handler::default line 7)
[2013-03-19T21:57:58+00:00] INFO: Processing directory[minitest test location] action create (minitest-handler::default line 22)
[2013-03-19T21:57:58+00:00] INFO: directory[minitest test location] created directory /var/chef/minitest
[2013-03-19T21:57:58+00:00] INFO: directory[minitest test location] owner changed to 0
[2013-03-19T21:57:58+00:00] INFO: directory[minitest test location] group changed to 0
[2013-03-19T21:57:58+00:00] INFO: directory[minitest test location] mode changed to 775
[2013-03-19T21:57:58+00:00] INFO: Processing ruby_block[delete tests from old cookbooks] action run (minitest-handler::default line 30)
[2013-03-19T21:57:58+00:00] INFO: ruby_block[delete tests from old cookbooks] called
[2013-03-19T21:57:58+00:00] INFO: Processing directory[/var/chef/minitest/apt] action create (minitest-handler::default line 50)
[2013-03-19T21:57:58+00:00] INFO: directory[/var/chef/minitest/apt] created directory /var/chef/minitest/apt
[2013-03-19T21:57:58+00:00] INFO: Processing cookbook_file[tests-apt-default] action create (minitest-handler::default line 53)
[2013-03-19T21:57:58+00:00] ERROR: cookbook_file[tests-apt-default] (minitest-handler::default line 53) had an error: Cookbook 'apt' (1.9.0) does not contain a file at any of these locations:
files/ubuntu-12.04/tests/minitest/default_test.rb
files/ubuntu/tests/minitest/default_test.rb
files/default/tests/minitest/default_test.rb
This cookbook _does_ contain: ['/tmp/vagrant-chef-1/chef-solo-1/cookbooks/apt/files/default/apt-proxy-v2.conf']; ignore_failure is set, continuing
================================================================================
Error executing action `create` on resource 'cookbook_file[tests-apt-default]'
================================================================================
Chef::Exceptions::FileNotFound
------------------------------
Cookbook 'apt' (1.9.0) does not contain a file at any of these locations:
files/ubuntu-12.04/tests/minitest/default_test.rb
files/ubuntu/tests/minitest/default_test.rb
files/default/tests/minitest/default_test.rb
This cookbook _does_ contain: ['/tmp/vagrant-chef-1/chef-solo-1/cookbooks/apt/files/default/apt-proxy-v2.conf']
Resource Declaration:
---------------------
# In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/minitest-handler/recipes/default.rb
53: cookbook_file "tests-#{cookbook_name}-#{recipe_name}" do
54: source "tests/minitest/#{recipe_name}_test.rb"
55: cookbook cookbook_name
56: path "#{node['minitest']['path']}/#{cookbook_name}/#{recipe_name}_test.rb"
57: ignore_failure true
58: end
59: # copy any helper files from the support directory
Compiled Resource:
------------------
# Declared in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/minitest-handler/recipes/default.rb:53:in `block in from_file'
cookbook_file("tests-apt-default") do
provider Chef::Provider::CookbookFile
action "create"
ignore_failure true
retries 0
retry_delay 2
path "/var/chef/minitest/apt/default_test.rb"
backup 5
source "tests/minitest/default_test.rb"
cookbook "apt"
cookbook_name :"minitest-handler"
recipe_name "default"
end
[2013-03-19T21:57:59+00:00] INFO: Processing remote_directory[tests-support-apt-default] action create (minitest-handler::default line 60)
[2013-03-19T21:57:59+00:00] INFO: remote_directory[tests-support-apt-default] created directory /var/chef/minitest/apt/support
[2013-03-19T21:57:59+00:00] ERROR: remote_directory[tests-support-apt-default] (minitest-handler::default line 60) had an error: cookbook apt has no directory files/default/tests/minitest/support; ignore_failure is set, continuing
================================================================================
Error executing action `create` on resource 'remote_directory[tests-support-apt-default]'
================================================================================
Chef::Exceptions::FileNotFound
------------------------------
cookbook apt has no directory files/default/tests/minitest/support
Resource Declaration:
---------------------
# In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/minitest-handler/recipes/default.rb
60: remote_directory "tests-support-#{cookbook_name}-#{recipe_name}" do
61: source "tests/minitest/support"
62: cookbook cookbook_name
63: path "#{node['minitest']['path']}/#{cookbook_name}/support"
64: recursive true
65: ignore_failure true
66: end
67: end
Compiled Resource:
------------------
# Declared in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/minitest-handler/recipes/default.rb:60:in `block in from_file'
remote_directory("tests-support-apt-default") do
provider Chef::Provider::RemoteDirectory
action :create
ignore_failure true
retries 0
retry_delay 2
path "/var/chef/minitest/apt/support"
recursive true
source "tests/minitest/support"
files_backup 5
files_mode 420
overwrite true
cookbook "apt"
cookbook_name :"minitest-handler"
recipe_name "default"
mode "0755"
owner "root"
group "root"
end
[2013-03-19T21:57:59+00:00] INFO: Processing directory[/var/chef/minitest/minitest-handler] action create (minitest-handler::default line 50)
[2013-03-19T21:57:59+00:00] INFO: directory[/var/chef/minitest/minitest-handler] created directory /var/chef/minitest/minitest-handler
[2013-03-19T21:57:59+00:00] INFO: Processing cookbook_file[tests-minitest-handler-default] action create (minitest-handler::default line 53)
[2013-03-19T21:57:59+00:00] ERROR: cookbook_file[tests-minitest-handler-default] (minitest-handler::default line 53) had an error: Cookbook 'minitest-handler' (0.1.2) does not contain a file at any of these locations:
files/ubuntu-12.04/tests/minitest/default_test.rb
files/ubuntu/tests/minitest/default_test.rb
files/default/tests/minitest/default_test.rb; ignore_failure is set, continuing
================================================================================
Error executing action `create` on resource 'cookbook_file[tests-minitest-handler-default]'
================================================================================
Chef::Exceptions::FileNotFound
------------------------------
Cookbook 'minitest-handler' (0.1.2) does not contain a file at any of these locations:
files/ubuntu-12.04/tests/minitest/default_test.rb
files/ubuntu/tests/minitest/default_test.rb
files/default/tests/minitest/default_test.rb
Resource Declaration:
---------------------
# In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/minitest-handler/recipes/default.rb
53: cookbook_file "tests-#{cookbook_name}-#{recipe_name}" do
54: source "tests/minitest/#{recipe_name}_test.rb"
55: cookbook cookbook_name
56: path "#{node['minitest']['path']}/#{cookbook_name}/#{recipe_name}_test.rb"
57: ignore_failure true
58: end
59: # copy any helper files from the support directory
Compiled Resource:
------------------
# Declared in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/minitest-handler/recipes/default.rb:53:in `block in from_file'
cookbook_file("tests-minitest-handler-default") do
provider Chef::Provider::CookbookFile
action "create"
ignore_failure true
retries 0
retry_delay 2
path "/var/chef/minitest/minitest-handler/default_test.rb"
backup 5
source "tests/minitest/default_test.rb"
cookbook "minitest-handler"
cookbook_name :"minitest-handler"
recipe_name "default"
end
[2013-03-19T21:57:59+00:00] INFO: Processing remote_directory[tests-support-minitest-handler-default] action create (minitest-handler::default line 60)
[2013-03-19T21:57:59+00:00] INFO: remote_directory[tests-support-minitest-handler-default] created directory /var/chef/minitest/minitest-handler/support
[2013-03-19T21:57:59+00:00] ERROR: remote_directory[tests-support-minitest-handler-default] (minitest-handler::default line 60) had an error: cookbook minitest-handler has no directory files/default/tests/minitest/support; ignore_failure is set, continuing
================================================================================
Error executing action `create` on resource 'remote_directory[tests-support-minitest-handler-default]'
================================================================================
Chef::Exceptions::FileNotFound
------------------------------
cookbook minitest-handler has no directory files/default/tests/minitest/support
Resource Declaration:
---------------------
# In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/minitest-handler/recipes/default.rb
60: remote_directory "tests-support-#{cookbook_name}-#{recipe_name}" do
61: source "tests/minitest/support"
62: cookbook cookbook_name
63: path "#{node['minitest']['path']}/#{cookbook_name}/support"
64: recursive true
65: ignore_failure true
66: end
67: end
Compiled Resource:
------------------
# Declared in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/minitest-handler/recipes/default.rb:60:in `block in from_file'
remote_directory("tests-support-minitest-handler-default") do
provider Chef::Provider::RemoteDirectory
action :create
ignore_failure true
retries 0
retry_delay 2
path "/var/chef/minitest/minitest-handler/support"
recursive true
source "tests/minitest/support"
files_backup 5
files_mode 420
overwrite true
cookbook "minitest-handler"
cookbook_name :"minitest-handler"
recipe_name "default"
mode "0755"
owner "root"
group "root"
end
[2013-03-19T21:57:59+00:00] INFO: Processing directory[/var/chef/minitest/bluepill_test] action create (minitest-handler::default line 50)
[2013-03-19T21:57:59+00:00] INFO: directory[/var/chef/minitest/bluepill_test] created directory /var/chef/minitest/bluepill_test
[2013-03-19T21:57:59+00:00] INFO: Processing cookbook_file[tests-bluepill_test-default] action create (minitest-handler::default line 53)
[2013-03-19T21:57:59+00:00] INFO: cookbook_file[tests-bluepill_test-default] created file /var/chef/minitest/bluepill_test/default_test.rb
[2013-03-19T21:57:59+00:00] INFO: Processing remote_directory[tests-support-bluepill_test-default] action create (minitest-handler::default line 60)
[2013-03-19T21:57:59+00:00] INFO: remote_directory[tests-support-bluepill_test-default] created directory /var/chef/minitest/bluepill_test/support
[2013-03-19T21:57:59+00:00] INFO: Processing cookbook_file[/var/chef/minitest/bluepill_test/support/helpers.rb] action create (dynamically defined)
[2013-03-19T21:58:00+00:00] INFO: cookbook_file[/var/chef/minitest/bluepill_test/support/helpers.rb] mode changed to 644
[2013-03-19T21:58:00+00:00] INFO: cookbook_file[/var/chef/minitest/bluepill_test/support/helpers.rb] created file /var/chef/minitest/bluepill_test/support/helpers.rb
[2013-03-19T21:58:00+00:00] INFO: Processing gem_package[i18n] action install (bluepill::default line 20)
[2013-03-19T21:58:05+00:00] INFO: Processing gem_package[bluepill] action install (bluepill::default line 24)
[2013-03-19T21:58:26+00:00] INFO: Processing directory[/etc/bluepill] action create (bluepill::default line 34)
[2013-03-19T21:58:26+00:00] INFO: directory[/etc/bluepill] created directory /etc/bluepill
[2013-03-19T21:58:27+00:00] INFO: directory[/etc/bluepill] owner changed to 0
[2013-03-19T21:58:27+00:00] INFO: directory[/etc/bluepill] group changed to 0
[2013-03-19T21:58:27+00:00] INFO: Processing directory[/var/run/bluepill] action create (bluepill::default line 34)
[2013-03-19T21:58:27+00:00] INFO: directory[/var/run/bluepill] created directory /var/run/bluepill
[2013-03-19T21:58:27+00:00] INFO: directory[/var/run/bluepill] owner changed to 0
[2013-03-19T21:58:27+00:00] INFO: directory[/var/run/bluepill] group changed to 0
[2013-03-19T21:58:27+00:00] INFO: Processing directory[/var/lib/bluepill] action create (bluepill::default line 34)
[2013-03-19T21:58:27+00:00] INFO: directory[/var/lib/bluepill] created directory /var/lib/bluepill
[2013-03-19T21:58:27+00:00] INFO: directory[/var/lib/bluepill] owner changed to 0
[2013-03-19T21:58:27+00:00] INFO: directory[/var/lib/bluepill] group changed to 0
[2013-03-19T21:58:27+00:00] INFO: Processing file[/var/log/bluepill.log] action create_if_missing (bluepill::default line 41)
[2013-03-19T21:58:27+00:00] INFO: entered create
[2013-03-19T21:58:27+00:00] INFO: file[/var/log/bluepill.log] owner changed to 0
[2013-03-19T21:58:27+00:00] INFO: file[/var/log/bluepill.log] group changed to 0
[2013-03-19T21:58:27+00:00] INFO: file[/var/log/bluepill.log] mode changed to 755
[2013-03-19T21:58:27+00:00] INFO: file[/var/log/bluepill.log] created file /var/log/bluepill.log
[2013-03-19T21:58:27+00:00] INFO: Processing package[nc] action install (bluepill_test::default line 4)
[2013-03-19T21:58:37+00:00] INFO: Processing template[/etc/bluepill/test_app.pill] action create (bluepill_test::default line 16)
[2013-03-19T21:58:37+00:00] INFO: template[/etc/bluepill/test_app.pill] updated content
[2013-03-19T21:58:37+00:00] INFO: Processing bluepill_service[test_app] action enable (bluepill_test::default line 18)
[2013-03-19T21:58:37+00:00] INFO: Processing bluepill_service[test_app] action load (bluepill_test::default line 18)
================================================================================
Error executing action `load` on resource 'bluepill_service[test_app]'
================================================================================
Errno::ENOENT
-------------
No such file or directory - /opt/chef/embedded/bin/bluepill load /etc/bluepill/test_app.pill
Cookbook Trace:
---------------
/tmp/vagrant-chef-1/chef-solo-1/cookbooks/bluepill/providers/service.rb:58:in `block in class_from_file'
Resource Declaration:
---------------------
# In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/bluepill_test/recipes/default.rb
18: bluepill_service node['bluepill_test']['service_name'] do
19: action [:enable, :load, :start]
20: end
Compiled Resource:
------------------
# Declared in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/bluepill_test/recipes/default.rb:18:in `from_file'
bluepill_service("test_app") do
action [:enable, :load, :start]
updated true
retries 0
retry_delay 2
cookbook_name :bluepill_test
recipe_name "default"
service_name "test_app"
end
[2013-03-19T21:58:37+00:00] INFO: Running queued delayed notifications before re-raising exception
[2013-03-19T21:58:37+00:00] ERROR: Running exception handlers
[2013-03-19T21:58:37+00:00] ERROR: Exception handlers complete
[2013-03-19T21:58:37+00:00] FATAL: Stacktrace dumped to /tmp/vagrant-chef-1/chef-stacktrace.out
[2013-03-19T21:58:37+00:00] FATAL: Errno::ENOENT: bluepill_service[test_app] (bluepill_test::default line 18) had an error: Errno::ENOENT: No such file or directory - /opt/chef/embedded/bin/bluepill load /etc/bluepill/test_app.pill
[vagrant command] END (1m59.60s)
/Users/ranjib/workspace/foss/community-cookbooks/bluepill/.bundle/ruby/1.9.1/bundler/gems/test-kitchen-82662508c2ad/lib/kitchen/instance.rb:263:in `rescue in action': Failed to complete #converge action: [Expected process to exit with [0], but received '231' (Kitchen::ActionFailed)
---- Begin output of vagrant provision default-ubuntu-1204 ----
STDOUT: [Berkshelf] installing cookbooks...
[Berkshelf] Using bluepill (2.2.2) at path: '/Users/ranjib/workspace/foss/community-cookbooks/bluepill'
[Berkshelf] Using apt (1.9.0)
[Berkshelf] Using yum (2.1.0)
[Berkshelf] Using minitest-handler (0.1.2)
[Berkshelf] Using bluepill_test (0.0.1) at path: './test/cookbooks/bluepill_test'
[Berkshelf] Using rsyslog (1.5.0)
[Berkshelf] Using chef_handler (1.1.4)
[default-ubuntu-1204] Running provisioner: Vagrant::Provisioners::ChefSolo...
[default-ubuntu-1204] Generating chef JSON and uploading...
[default-ubuntu-1204] Running chef-solo...
stdin: is not a tty
[2013-03-19T21:56:46+00:00] INFO: *** Chef 11.4.0 ***
[2013-03-19T21:56:47+00:00] INFO: Setting the run_list to ["recipe[apt]", "recipe[minitest-handler]", "recipe[bluepill_test]"] from JSON
[2013-03-19T21:56:47+00:00] INFO: Run List is [recipe[apt], recipe[minitest-handler], recipe[bluepill_test]]
[2013-03-19T21:56:47+00:00] INFO: Run List expands to [apt, minitest-handler, bluepill_test]
[2013-03-19T21:56:47+00:00] INFO: Starting Chef Run for default-ubuntu-1204.vagrantup.com
[2013-03-19T21:56:47+00:00] INFO: Running start handlers
[2013-03-19T21:56:47+00:00] INFO: Start handlers complete.
[2013-03-19T21:56:48+00:00] INFO: Processing chef_gem[minitest] action nothing (minitest-handler::default line 2)
[2013-03-19T21:56:48+00:00] INFO: Processing chef_gem[minitest] action install (minitest-handler::default line 2)
[2013-03-19T21:56:54+00:00] INFO: Processing chef_gem[minitest-chef-handler] action nothing (minitest-handler::default line 7)
[2013-03-19T21:56:54+00:00] INFO: Processing chef_gem[minitest-chef-handler] action install (minitest-handler::default line 7)
[2013-03-19T21:57:18+00:00] INFO: Enabling minitest-chef-handler as a report handler
[2013-03-19T21:57:18+00:00] INFO: Processing execute[apt-get-update] action run (apt::default line 22)
[2013-03-19T21:57:18+00:00] INFO: Processing execute[apt-get update] action nothing (apt::default line 29)
[2013-03-19T21:57:18+00:00] INFO: Processing execute[apt-get autoremove] action nothing (apt::default line 36)
[2013-03-19T21:57:18+00:00] INFO: Processing execute[apt-get autoclean] action nothing (apt::default line 42)
[2013-03-19T21:57:18+00:00] INFO: Processing package[update-notifier-common] action install (apt::default line 48)
[2013-03-19T21:57:19+00:00] INFO: Processing execute[apt-get-update-periodic] action run (apt::default line 52)
[2013-03-19T21:57:58+00:00] INFO: execute[apt-get-update-periodic] ran successfully
[2013-03-19T21:57:58+00:00] INFO: Processing directory[/var/cache/local] action create (apt::default line 62)
[2013-03-19T21:57:58+00:00] INFO: directory[/var/cache/local] created directory /var/cache/local
[2013-03-19T21:57:58+00:00] INFO: directory[/var/cache/local] owner changed to 0
[2013-03-19T21:57:58+00:00] INFO: directory[/var/cache/local] group changed to 0
[2013-03-19T21:57:58+00:00] INFO: directory[/var/cache/local] mode changed to 755
[2013-03-19T21:57:58+00:00] INFO: Processing directory[/var/cache/local/preseeding] action create (apt::default line 62)
[2013-03-19T21:57:58+00:00] INFO: directory[/var/cache/local/preseeding] created directory /var/cache/local/preseeding
[2013-03-19T21:57:58+00:00] INFO: directory[/var/cache/local/preseeding] owner changed to 0
[2013-03-19T21:57:58+00:00] INFO: directory[/var/cache/local/preseeding] group changed to 0
[2013-03-19T21:57:58+00:00] INFO: directory[/var/cache/local/preseeding] mode changed to 755
[2013-03-19T21:57:58+00:00] INFO: Processing chef_gem[minitest] action nothing (minitest-handler::default line 2)
[2013-03-19T21:57:58+00:00] INFO: Processing chef_gem[minitest-chef-handler] action nothing (minitest-handler::default line 7)
[2013-03-19T21:57:58+00:00] INFO: Processing directory[minitest test location] action create (minitest-handler::default line 22)
[2013-03-19T21:57:58+00:00] INFO: directory[minitest test location] created directory /var/chef/minitest
[2013-03-19T21:57:58+00:00] INFO: directory[minitest test location] owner changed to 0
[2013-03-19T21:57:58+00:00] INFO: directory[minitest test location] group changed to 0
[2013-03-19T21:57:58+00:00] INFO: directory[minitest test location] mode changed to 775
[2013-03-19T21:57:58+00:00] INFO: Processing ruby_block[delete tests from old cookbooks] action run (minitest-handler::default line 30)
[2013-03-19T21:57:58+00:00] INFO: ruby_block[delete tests from old cookbooks] called
[2013-03-19T21:57:58+00:00] INFO: Processing directory[/var/chef/minitest/apt] action create (minitest-handler::default line 50)
[2013-03-19T21:57:58+00:00] INFO: directory[/var/chef/minitest/apt] created directory /var/chef/minitest/apt
[2013-03-19T21:57:58+00:00] INFO: Processing cookbook_file[tests-apt-default] action create (minitest-handler::default line 53)
[2013-03-19T21:57:58+00:00] ERROR: cookbook_file[tests-apt-default] (minitest-handler::default line 53) had an error: Cookbook 'apt' (1.9.0) does not contain a file at any of these locations:
files/ubuntu-12.04/tests/minitest/default_test.rb
files/ubuntu/tests/minitest/default_test.rb
files/default/tests/minitest/default_test.rb
This cookbook _does_ contain: ['/tmp/vagrant-chef-1/chef-solo-1/cookbooks/apt/files/default/apt-proxy-v2.conf']; ignore_failure is set, continuing
================================================================================
Error executing action `create` on resource 'cookbook_file[tests-apt-default]'
================================================================================
Chef::Exceptions::FileNotFound
------------------------------
Cookbook 'apt' (1.9.0) does not contain a file at any of these locations:
files/ubuntu-12.04/tests/minitest/default_test.rb
files/ubuntu/tests/minitest/default_test.rb
files/default/tests/minitest/default_test.rb
This cookbook _does_ contain: ['/tmp/vagrant-chef-1/chef-solo-1/cookbooks/apt/files/default/apt-proxy-v2.conf']
Resource Declaration:
---------------------
# In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/minitest-handler/recipes/default.rb
53: cookbook_file "tests-#{cookbook_name}-#{recipe_name}" do
54: source "tests/minitest/#{recipe_name}_test.rb"
55: cookbook cookbook_name
56: path "#{node['minitest']['path']}/#{cookbook_name}/#{recipe_name}_test.rb"
57: ignore_failure true
58: end
59: # copy any helper files from the support directory
Compiled Resource:
------------------
# Declared in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/minitest-handler/recipes/default.rb:53:in `block in from_file'
cookbook_file("tests-apt-default") do
provider Chef::Provider::CookbookFile
action "create"
ignore_failure true
retries 0
retry_delay 2
path "/var/chef/minitest/apt/default_test.rb"
backup 5
source "tests/minitest/default_test.rb"
cookbook "apt"
cookbook_name :"minitest-handler"
recipe_name "default"
end
[2013-03-19T21:57:59+00:00] INFO: Processing remote_directory[tests-support-apt-default] action create (minitest-handler::default line 60)
[2013-03-19T21:57:59+00:00] INFO: remote_directory[tests-support-apt-default] created directory /var/chef/minitest/apt/support
[2013-03-19T21:57:59+00:00] ERROR: remote_directory[tests-support-apt-default] (minitest-handler::default line 60) had an error: cookbook apt has no directory files/default/tests/minitest/support; ignore_failure is set, continuing
================================================================================
Error executing action `create` on resource 'remote_directory[tests-support-apt-default]'
================================================================================
Chef::Exceptions::FileNotFound
------------------------------
cookbook apt has no directory files/default/tests/minitest/support
Resource Declaration:
---------------------
# In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/minitest-handler/recipes/default.rb
60: remote_directory "tests-support-#{cookbook_name}-#{recipe_name}" do
61: source "tests/minitest/support"
62: cookbook cookbook_name
63: path "#{node['minitest']['path']}/#{cookbook_name}/support"
64: recursive true
65: ignore_failure true
66: end
67: end
Compiled Resource:
------------------
# Declared in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/minitest-handler/recipes/default.rb:60:in `block in from_file'
remote_directory("tests-support-apt-default") do
provider Chef::Provider::RemoteDirectory
action :create
ignore_failure true
retries 0
retry_delay 2
path "/var/chef/minitest/apt/support"
recursive true
source "tests/minitest/support"
files_backup 5
files_mode 420
overwrite true
cookbook "apt"
cookbook_name :"minitest-handler"
recipe_name "default"
mode "0755"
owner "root"
group "root"
end
[2013-03-19T21:57:59+00:00] INFO: Processing directory[/var/chef/minitest/minitest-handler] action create (minitest-handler::default line 50)
[2013-03-19T21:57:59+00:00] INFO: directory[/var/chef/minitest/minitest-handler] created directory /var/chef/minitest/minitest-handler
[2013-03-19T21:57:59+00:00] INFO: Processing cookbook_file[tests-minitest-handler-default] action create (minitest-handler::default line 53)
[2013-03-19T21:57:59+00:00] ERROR: cookbook_file[tests-minitest-handler-default] (minitest-handler::default line 53) had an error: Cookbook 'minitest-handler' (0.1.2) does not contain a file at any of these locations:
files/ubuntu-12.04/tests/minitest/default_test.rb
files/ubuntu/tests/minitest/default_test.rb
files/default/tests/minitest/default_test.rb; ignore_failure is set, continuing
================================================================================
Error executing action `create` on resource 'cookbook_file[tests-minitest-handler-default]'
================================================================================
Chef::Exceptions::FileNotFound
------------------------------
Cookbook 'minitest-handler' (0.1.2) does not contain a file at any of these locations:
files/ubuntu-12.04/tests/minitest/default_test.rb
files/ubuntu/tests/minitest/default_test.rb
files/default/tests/minitest/default_test.rb
Resource Declaration:
---------------------
# In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/minitest-handler/recipes/default.rb
53: cookbook_file "tests-#{cookbook_name}-#{recipe_name}" do
54: source "tests/minitest/#{recipe_name}_test.rb"
55: cookbook cookbook_name
56: path "#{node['minitest']['path']}/#{cookbook_name}/#{recipe_name}_test.rb"
57: ignore_failure true
58: end
59: # copy any helper files from the support directory
Compiled Resource:
------------------
# Declared in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/minitest-handler/recipes/default.rb:53:in `block in from_file'
cookbook_file("tests-minitest-handler-default") do
provider Chef::Provider::CookbookFile
action "create"
ignore_failure true
retries 0
retry_delay 2
path "/var/chef/minitest/minitest-handler/default_test.rb"
backup 5
source "tests/minitest/default_test.rb"
cookbook "minitest-handler"
cookbook_name :"minitest-handler"
recipe_name "default"
end
[2013-03-19T21:57:59+00:00] INFO: Processing remote_directory[tests-support-minitest-handler-default] action create (minitest-handler::default line 60)
[2013-03-19T21:57:59+00:00] INFO: remote_directory[tests-support-minitest-handler-default] created directory /var/chef/minitest/minitest-handler/support
[2013-03-19T21:57:59+00:00] ERROR: remote_directory[tests-support-minitest-handler-default] (minitest-handler::default line 60) had an error: cookbook minitest-handler has no directory files/default/tests/minitest/support; ignore_failure is set, continuing
================================================================================
Error executing action `create` on resource 'remote_directory[tests-support-minitest-handler-default]'
================================================================================
Chef::Exceptions::FileNotFound
------------------------------
cookbook minitest-handler has no directory files/default/tests/minitest/support
Resource Declaration:
---------------------
# In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/minitest-handler/recipes/default.rb
60: remote_directory "tests-support-#{cookbook_name}-#{recipe_name}" do
61: source "tests/minitest/support"
62: cookbook cookbook_name
63: path "#{node['minitest']['path']}/#{cookbook_name}/support"
64: recursive true
65: ignore_failure true
66: end
67: end
Compiled Resource:
------------------
# Declared in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/minitest-handler/recipes/default.rb:60:in `block in from_file'
remote_directory("tests-support-minitest-handler-default") do
provider Chef::Provider::RemoteDirectory
action :create
ignore_failure true
retries 0
retry_delay 2
path "/var/chef/minitest/minitest-handler/support"
recursive true
source "tests/minitest/support"
files_backup 5
files_mode 420
overwrite true
cookbook "minitest-handler"
cookbook_name :"minitest-handler"
recipe_name "default"
mode "0755"
owner "root"
group "root"
end
[2013-03-19T21:57:59+00:00] INFO: Processing directory[/var/chef/minitest/bluepill_test] action create (minitest-handler::default line 50)
[2013-03-19T21:57:59+00:00] INFO: directory[/var/chef/minitest/bluepill_test] created directory /var/chef/minitest/bluepill_test
[2013-03-19T21:57:59+00:00] INFO: Processing cookbook_file[tests-bluepill_test-default] action create (minitest-handler::default line 53)
[2013-03-19T21:57:59+00:00] INFO: cookbook_file[tests-bluepill_test-default] created file /var/chef/minitest/bluepill_test/default_test.rb
[2013-03-19T21:57:59+00:00] INFO: Processing remote_directory[tests-support-bluepill_test-default] action create (minitest-handler::default line 60)
[2013-03-19T21:57:59+00:00] INFO: remote_directory[tests-support-bluepill_test-default] created directory /var/chef/minitest/bluepill_test/support
[2013-03-19T21:57:59+00:00] INFO: Processing cookbook_file[/var/chef/minitest/bluepill_test/support/helpers.rb] action create (dynamically defined)
[2013-03-19T21:58:00+00:00] INFO: cookbook_file[/var/chef/minitest/bluepill_test/support/helpers.rb] mode changed to 644
[2013-03-19T21:58:00+00:00] INFO: cookbook_file[/var/chef/minitest/bluepill_test/support/helpers.rb] created file /var/chef/minitest/bluepill_test/support/helpers.rb
[2013-03-19T21:58:00+00:00] INFO: Processing gem_package[i18n] action install (bluepill::default line 20)
[2013-03-19T21:58:05+00:00] INFO: Processing gem_package[bluepill] action install (bluepill::default line 24)
[2013-03-19T21:58:26+00:00] INFO: Processing directory[/etc/bluepill] action create (bluepill::default line 34)
[2013-03-19T21:58:26+00:00] INFO: directory[/etc/bluepill] created directory /etc/bluepill
[2013-03-19T21:58:27+00:00] INFO: directory[/etc/bluepill] owner changed to 0
[2013-03-19T21:58:27+00:00] INFO: directory[/etc/bluepill] group changed to 0
[2013-03-19T21:58:27+00:00] INFO: Processing directory[/var/run/bluepill] action create (bluepill::default line 34)
[2013-03-19T21:58:27+00:00] INFO: directory[/var/run/bluepill] created directory /var/run/bluepill
[2013-03-19T21:58:27+00:00] INFO: directory[/var/run/bluepill] owner changed to 0
[2013-03-19T21:58:27+00:00] INFO: directory[/var/run/bluepill] group changed to 0
[2013-03-19T21:58:27+00:00] INFO: Processing directory[/var/lib/bluepill] action create (bluepill::default line 34)
[2013-03-19T21:58:27+00:00] INFO: directory[/var/lib/bluepill] created directory /var/lib/bluepill
[2013-03-19T21:58:27+00:00] INFO: directory[/var/lib/bluepill] owner changed to 0
[2013-03-19T21:58:27+00:00] INFO: directory[/var/lib/bluepill] group changed to 0
[2013-03-19T21:58:27+00:00] INFO: Processing file[/var/log/bluepill.log] action create_if_missing (bluepill::default line 41)
[2013-03-19T21:58:27+00:00] INFO: entered create
[2013-03-19T21:58:27+00:00] INFO: file[/var/log/bluepill.log] owner changed to 0
[2013-03-19T21:58:27+00:00] INFO: file[/var/log/bluepill.log] group changed to 0
[2013-03-19T21:58:27+00:00] INFO: file[/var/log/bluepill.log] mode changed to 755
[2013-03-19T21:58:27+00:00] INFO: file[/var/log/bluepill.log] created file /var/log/bluepill.log
[2013-03-19T21:58:27+00:00] INFO: Processing package[nc] action install (bluepill_test::default line 4)
[2013-03-19T21:58:37+00:00] INFO: Processing template[/etc/bluepill/test_app.pill] action create (bluepill_test::default line 16)
[2013-03-19T21:58:37+00:00] INFO: template[/etc/bluepill/test_app.pill] updated content
[2013-03-19T21:58:37+00:00] INFO: Processing bluepill_service[test_app] action enable (bluepill_test::default line 18)
[2013-03-19T21:58:37+00:00] INFO: Processing bluepill_service[test_app] action load (bluepill_test::default line 18)
================================================================================
Error executing action `load` on resource 'bluepill_service[test_app]'
================================================================================
from /Users/ranjib/workspace/foss/community-cookbooks/bluepill/.bundle/ruby/1.9.1/bundler/gems/test-kitchen-82662508c2ad/lib/kitchen/instance.rb:218:in `transition_to'
from /Users/ranjib/workspace/foss/community-cookbooks/bluepill/.bundle/ruby/1.9.1/bundler/gems/test-kitchen-82662508c2ad/lib/kitchen/instance.rb:143:in `verify'
from /Users/ranjib/workspace/foss/community-cookbooks/bluepill/.bundle/ruby/1.9.1/bundler/gems/test-kitchen-82662508c2ad/lib/kitchen/instance.rb:172:in `block in test'
from /Users/ranjib/.rbenv/versions/1.9.3-p392/lib/ruby/1.9.1/benchmark.rb:280:in `measure'
from /Users/ranjib/workspace/foss/community-cookbooks/bluepill/.bundle/ruby/1.9.1/bundler/gems/test-kitchen-82662508c2ad/lib/kitchen/instance.rb:168:in `test'
from /Users/ranjib/workspace/foss/community-cookbooks/bluepill/.bundle/ruby/1.9.1/bundler/gems/test-kitchen-82662508c2ad/lib/kitchen/cli.rb:166:in `public_send'
from /Users/ranjib/workspace/foss/community-cookbooks/bluepill/.bundle/ruby/1.9.1/bundler/gems/test-kitchen-82662508c2ad/lib/kitchen/cli.rb:166:in `block in run_serial'
from /Users/ranjib/workspace/foss/community-cookbooks/bluepill/.bundle/ruby/1.9.1/bundler/gems/test-kitchen-82662508c2ad/lib/kitchen/cli.rb:166:in `map'
from /Users/ranjib/workspace/foss/community-cookbooks/bluepill/.bundle/ruby/1.9.1/bundler/gems/test-kitchen-82662508c2ad/lib/kitchen/cli.rb:166:in `run_serial'
from /Users/ranjib/workspace/foss/community-cookbooks/bluepill/.bundle/ruby/1.9.1/bundler/gems/test-kitchen-82662508c2ad/lib/kitchen/cli.rb:105:in `block in test'
from /Users/ranjib/.rbenv/versions/1.9.3-p392/lib/ruby/1.9.1/benchmark.rb:280:in `measure'
from /Users/ranjib/workspace/foss/community-cookbooks/bluepill/.bundle/ruby/1.9.1/bundler/gems/test-kitchen-82662508c2ad/lib/kitchen/cli.rb:97:in `test'
from /Users/ranjib/workspace/foss/community-cookbooks/bluepill/.bundle/ruby/1.9.1/gems/thor-0.16.0/lib/thor/task.rb:27:in `run'
from /Users/ranjib/workspace/foss/community-cookbooks/bluepill/.bundle/ruby/1.9.1/gems/thor-0.16.0/lib/thor/invocation.rb:120:in `invoke_task'
from /Users/ranjib/workspace/foss/community-cookbooks/bluepill/.bundle/ruby/1.9.1/gems/thor-0.16.0/lib/thor.rb:275:in `dispatch'
from /Users/ranjib/workspace/foss/community-cookbooks/bluepill/.bundle/ruby/1.9.1/gems/thor-0.16.0/lib/thor/base.rb:425:in `start'
from /Users/ranjib/workspace/foss/community-cookbooks/bluepill/.bundle/ruby/1.9.1/bundler/gems/test-kitchen-82662508c2ad/bin/kitchen:12:in `<top (required)>'
from /Users/ranjib/workspace/foss/community-cookbooks/bluepill/.bundle/ruby/1.9.1/bin/kitchen:23:in `load'
from /Users/ranjib/workspace/foss/community-cookbooks/bluepill/.bundle/ruby/1.9.1/bin/kitchen:23:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment