Created
December 2, 2012 20:53
-
-
Save tknerr/4191017 to your computer and use it in GitHub Desktop.
minitest handler errors
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
[2012-12-02T20:47:49+00:00] INFO: *** Chef 10.16.2 *** | |
[2012-12-02T20:47:50+00:00] INFO: Setting the run_list to ["recipe[minitest-handler]", "recipe[tdd-example::default]"] from JSON | |
[2012-12-02T20:47:50+00:00] INFO: Run List is [recipe[minitest-handler], recipe[tdd-example::default]] | |
[2012-12-02T20:47:50+00:00] INFO: Run List expands to [minitest-handler, tdd-example::default] | |
[2012-12-02T20:47:50+00:00] INFO: Starting Chef Run for tdd-example-vm | |
[2012-12-02T20:47:50+00:00] INFO: Running start handlers | |
[2012-12-02T20:47:50+00:00] INFO: Start handlers complete. | |
[2012-12-02T20:47:51+00:00] INFO: Processing chef_gem[minitest] action nothing (minitest-handler::default line 2) | |
[2012-12-02T20:47:51+00:00] INFO: Processing chef_gem[minitest] action install (minitest-handler::default line 2) | |
[2012-12-02T20:47:51+00:00] INFO: Processing chef_gem[minitest-chef-handler] action nothing (minitest-handler::default line 7) | |
[2012-12-02T20:47:51+00:00] INFO: Processing chef_gem[minitest-chef-handler] action install (minitest-handler::default line 7) | |
[2012-12-02T20:47:51+00:00] INFO: Enabling minitest-chef-handler as a report handler | |
[2012-12-02T20:47:51+00:00] INFO: Processing chef_gem[minitest] action nothing (minitest-handler::default line 2) | |
[2012-12-02T20:47:51+00:00] INFO: Processing chef_gem[minitest-chef-handler] action nothing (minitest-handler::default line 7) | |
[2012-12-02T20:47:51+00:00] INFO: Processing directory[minitest test location] action create (minitest-handler::default line 22) | |
[2012-12-02T20:47:51+00:00] INFO: Processing ruby_block[delete tests from old cookbooks] action create (minitest-handler::default line 30) | |
[2012-12-02T20:47:51+00:00] INFO: Cookbook tdd-example no longer in run list, remove minitest tests | |
[2012-12-02T20:47:51+00:00] INFO: ruby_block[delete tests from old cookbooks] called | |
[2012-12-02T20:47:51+00:00] INFO: Processing directory[/var/chef/minitest/minitest-handler] action create (minitest-handler::default line 50) | |
[2012-12-02T20:47:51+00:00] INFO: Processing cookbook_file[tests-minitest-handler-default] action create (minitest-handler::default line 53) | |
[2012-12-02T20:47:51+00:00] ERROR: cookbook_file[tests-minitest-handler-default] (minitest-handler::default line 53) had an error: Cookbook 'minitest-hand | |
ler' (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 | |
[2012-12-02T20:47:51+00:00] INFO: Processing remote_directory[tests-support-minitest-handler-default] action create (minitest-handler::default line 60) | |
[2012-12-02T20:47:51+00:00] INFO: remote_directory[tests-support-minitest-handler-default] created directory /var/chef/minitest/minitest-handler/support | |
[2012-12-02T20:47:51+00:00] ERROR: remote_directory[tests-support-minitest-handler-default] (minitest-handler::default line 60) had an error: cookbook min | |
itest-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" | |
end | |
[2012-12-02T20:47:51+00:00] INFO: Processing directory[/var/chef/minitest/tdd-example] action create (minitest-handler::default line 50) | |
[2012-12-02T20:47:51+00:00] INFO: directory[/var/chef/minitest/tdd-example] created directory /var/chef/minitest/tdd-example | |
[2012-12-02T20:47:51+00:00] INFO: Processing cookbook_file[tests-tdd-example-default] action create (minitest-handler::default line 53) | |
[2012-12-02T20:47:52+00:00] INFO: cookbook_file[tests-tdd-example-default] created file /var/chef/minitest/tdd-example/default_test.rb | |
[2012-12-02T20:47:52+00:00] INFO: Processing remote_directory[tests-support-tdd-example-default] action create (minitest-handler::default line 60) | |
[2012-12-02T20:47:52+00:00] INFO: remote_directory[tests-support-tdd-example-default] created directory /var/chef/minitest/tdd-example/support | |
[2012-12-02T20:47:52+00:00] ERROR: remote_directory[tests-support-tdd-example-default] (minitest-handler::default line 60) had an error: cookbook tdd-exam | |
ple has no directory files/default/tests/minitest/support; ignore_failure is set, continuing | |
================================================================================ | |
Error executing action `create` on resource 'remote_directory[tests-support-tdd-example-default]' | |
================================================================================ | |
Chef::Exceptions::FileNotFound | |
------------------------------ | |
cookbook tdd-example 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-tdd-example-default") do | |
provider Chef::Provider::RemoteDirectory | |
action :create | |
ignore_failure true | |
retries 0 | |
retry_delay 2 | |
path "/var/chef/minitest/tdd-example/support" | |
recursive true | |
source "tests/minitest/support" | |
files_backup 5 | |
files_mode 420 | |
overwrite true | |
cookbook "tdd-example" | |
cookbook_name :"minitest-handler" | |
recipe_name "default" | |
end | |
[2012-12-02T20:47:52+00:00] INFO: Processing file[/tmp/foo] action create (tdd-example::default line 10) | |
[2012-12-02T20:47:52+00:00] INFO: Chef Run complete in 1.103731376 seconds | |
[2012-12-02T20:47:52+00:00] INFO: Running report handlers | |
Run options: -v --seed 41486 | |
# Running tests: | |
tdd-example::default#test_0002_should_populate_tmp_foo_file_with_the_node_platform = | |
0.00 s = | |
. | |
tdd-example::default#test_0001_should_create_the_file_tmp_foo_ = | |
0.00 s = | |
. | |
Finished tests in 0.015383s, 130.0139 tests/s, 130.0139 assertions/s. | |
2 tests, 2 assertions, 0 failures, 0 errors, 0 skips | |
[2012-12-02T20:47:52+00:00] INFO: Report handlers complete |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment