Created
September 12, 2013 22:17
-
-
Save wickett/6544592 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
$ bundle exec rake | |
librarian-chef install | |
Installing chef_gem (0.1.0) | |
Installing rvm (0.9.1) | |
Installing cloudsourcery-promo (0.1.0) | |
foodcritic cookbooks/cloudsourcery-promo --epic-fail any | |
rspec cookbooks/cloudsourcery-promo | |
cloudsourcery-promo::default | |
================================================================================ | |
Recipe Compile Error in /Users/jwickett/mentor/cloudsourcery-promo/chef-repo/my_cookbooks/cloudsourcery-promo/cookbooks/cloudsourcery-promo/recipes/default.rb | |
================================================================================ | |
LoadError | |
--------- | |
cannot load such file -- rvm | |
Cookbook Trace: | |
--------------- | |
/Users/jwickett/mentor/cloudsourcery-promo/chef-repo/my_cookbooks/cloudsourcery-promo/cookbooks/rvm/recipes/default.rb:25:in `require' | |
/Users/jwickett/mentor/cloudsourcery-promo/chef-repo/my_cookbooks/cloudsourcery-promo/cookbooks/rvm/recipes/default.rb:25:in `from_file' | |
/Users/jwickett/mentor/cloudsourcery-promo/chef-repo/my_cookbooks/cloudsourcery-promo/cookbooks/cloudsourcery-promo/recipes/default.rb:10:in `from_file' | |
/Users/jwickett/mentor/cloudsourcery-promo/chef-repo/my_cookbooks/cloudsourcery-promo/cookbooks/cloudsourcery-promo/spec/default_spec.rb:6:in `block (2 levels) in <top (required)>' | |
/Users/jwickett/mentor/cloudsourcery-promo/chef-repo/my_cookbooks/cloudsourcery-promo/cookbooks/cloudsourcery-promo/spec/default_spec.rb:10:in `block (2 levels) in <top (required)>' | |
Relevant File Content: | |
---------------------- | |
/Users/jwickett/mentor/cloudsourcery-promo/chef-repo/my_cookbooks/cloudsourcery-promo/cookbooks/rvm/recipes/default.rb: | |
18: # | |
19: | |
20: # install rvm api gem during chef compile phase | |
21: chef_gem 'rvm' do | |
22: action :install | |
23: version '>= 1.11.3.6' | |
24: end | |
25>> require 'rvm' | |
26: | |
27: create_rvm_shell_chef_wrapper | |
28: create_rvm_chef_user_environment | |
29: | |
30: class Chef::Resource | |
31: # mix in #rvm_cmd_wrap helper into resources | |
32: include Chef::RVM::ShellHelpers | |
33: end | |
34: | |
installs git (FAILED - 1) | |
================================================================================ | |
Recipe Compile Error in /Users/jwickett/mentor/cloudsourcery-promo/chef-repo/my_cookbooks/cloudsourcery-promo/cookbooks/cloudsourcery-promo/recipes/default.rb | |
================================================================================ | |
LoadError | |
--------- | |
cannot load such file -- rvm | |
Cookbook Trace: | |
--------------- | |
/Users/jwickett/mentor/cloudsourcery-promo/chef-repo/my_cookbooks/cloudsourcery-promo/cookbooks/rvm/recipes/default.rb:25:in `require' | |
/Users/jwickett/mentor/cloudsourcery-promo/chef-repo/my_cookbooks/cloudsourcery-promo/cookbooks/rvm/recipes/default.rb:25:in `from_file' | |
/Users/jwickett/mentor/cloudsourcery-promo/chef-repo/my_cookbooks/cloudsourcery-promo/cookbooks/cloudsourcery-promo/recipes/default.rb:10:in `from_file' | |
/Users/jwickett/mentor/cloudsourcery-promo/chef-repo/my_cookbooks/cloudsourcery-promo/cookbooks/cloudsourcery-promo/spec/default_spec.rb:6:in `block (2 levels) in <top (required)>' | |
/Users/jwickett/mentor/cloudsourcery-promo/chef-repo/my_cookbooks/cloudsourcery-promo/cookbooks/cloudsourcery-promo/spec/default_spec.rb:14:in `block (2 levels) in <top (required)>' | |
Relevant File Content: | |
---------------------- | |
/Users/jwickett/mentor/cloudsourcery-promo/chef-repo/my_cookbooks/cloudsourcery-promo/cookbooks/rvm/recipes/default.rb: | |
18: # | |
19: | |
20: # install rvm api gem during chef compile phase | |
21: chef_gem 'rvm' do | |
22: action :install | |
23: version '>= 1.11.3.6' | |
24: end | |
25>> require 'rvm' | |
26: | |
27: create_rvm_shell_chef_wrapper | |
28: create_rvm_chef_user_environment | |
29: | |
30: class Chef::Resource | |
31: # mix in #rvm_cmd_wrap helper into resources | |
32: include Chef::RVM::ShellHelpers | |
33: end | |
34: | |
includes rvm cookbook (FAILED - 2) | |
installs datadog | |
has the latest ssl certs | |
Chef::RVM::RecipeHelpers | |
.build_script_flags | |
sets branch and version flags (FAILED - 3) | |
sets a missing branch to "head" (FAILED - 4) | |
only emits version with branch=stable and version=x.y.z (FAILED - 5) | |
only emits version with branch=master and version=x.y.z (FAILED - 6) | |
only emits version with branch=none and version=x.y.z (FAILED - 7) | |
emits version and branch with branch not stable|master and version=x.y.z (FAILED - 8) | |
Failures: | |
1) cloudsourcery-promo::default installs git | |
Failure/Error: run.converge('cloudsourcery-promo::default') | |
LoadError: | |
cannot load such file -- rvm | |
# ./cookbooks/rvm/recipes/default.rb:25:in `require' | |
# ./cookbooks/rvm/recipes/default.rb:25:in `from_file' | |
# ./cookbooks/cloudsourcery-promo/recipes/default.rb:10:in `from_file' | |
# ./cookbooks/cloudsourcery-promo/spec/default_spec.rb:6:in `block (2 levels) in <top (required)>' | |
# ./cookbooks/cloudsourcery-promo/spec/default_spec.rb:10:in `block (2 levels) in <top (required)>' | |
2) cloudsourcery-promo::default includes rvm cookbook | |
Failure/Error: run.converge('cloudsourcery-promo::default') | |
LoadError: | |
cannot load such file -- rvm | |
# ./cookbooks/rvm/recipes/default.rb:25:in `require' | |
# ./cookbooks/rvm/recipes/default.rb:25:in `from_file' | |
# ./cookbooks/cloudsourcery-promo/recipes/default.rb:10:in `from_file' | |
# ./cookbooks/cloudsourcery-promo/spec/default_spec.rb:6:in `block (2 levels) in <top (required)>' | |
# ./cookbooks/cloudsourcery-promo/spec/default_spec.rb:14:in `block (2 levels) in <top (required)>' | |
3) Chef::RVM::RecipeHelpers .build_script_flags sets branch and version flags | |
Failure/Error: subject.build_script_flags("stable", "head"). | |
NameError: | |
uninitialized class variable @@current in MiniTest::Unit::TestCase | |
# (eval):8:in `must_equal' | |
# ./cookbooks/cloudsourcery-promo/tmp/librarian/cache/source/git/164abaa0a591fc1b/test/unit/chef/rvm/recipe_helpers_spec.rb:44:in `block (3 levels) in <top (required)>' | |
4) Chef::RVM::RecipeHelpers .build_script_flags sets a missing branch to "head" | |
Failure/Error: subject.build_script_flags("cool"). | |
NameError: | |
uninitialized class variable @@current in MiniTest::Unit::TestCase | |
# (eval):8:in `must_equal' | |
# ./cookbooks/cloudsourcery-promo/tmp/librarian/cache/source/git/164abaa0a591fc1b/test/unit/chef/rvm/recipe_helpers_spec.rb:49:in `block (3 levels) in <top (required)>' | |
5) Chef::RVM::RecipeHelpers .build_script_flags only emits version with branch=stable and version=x.y.z | |
Failure/Error: subject.build_script_flags("stable", "1.2.3"). | |
NameError: | |
uninitialized class variable @@current in MiniTest::Unit::TestCase | |
# (eval):8:in `must_equal' | |
# ./cookbooks/cloudsourcery-promo/tmp/librarian/cache/source/git/164abaa0a591fc1b/test/unit/chef/rvm/recipe_helpers_spec.rb:54:in `block (3 levels) in <top (required)>' | |
6) Chef::RVM::RecipeHelpers .build_script_flags only emits version with branch=master and version=x.y.z | |
Failure/Error: subject.build_script_flags("master", "4.5.6"). | |
NameError: | |
uninitialized class variable @@current in MiniTest::Unit::TestCase | |
# (eval):8:in `must_equal' | |
# ./cookbooks/cloudsourcery-promo/tmp/librarian/cache/source/git/164abaa0a591fc1b/test/unit/chef/rvm/recipe_helpers_spec.rb:59:in `block (3 levels) in <top (required)>' | |
7) Chef::RVM::RecipeHelpers .build_script_flags only emits version with branch=none and version=x.y.z | |
Failure/Error: subject.build_script_flags("none", "7.3.5"). | |
NameError: | |
uninitialized class variable @@current in MiniTest::Unit::TestCase | |
# (eval):8:in `must_equal' | |
# ./cookbooks/cloudsourcery-promo/tmp/librarian/cache/source/git/164abaa0a591fc1b/test/unit/chef/rvm/recipe_helpers_spec.rb:64:in `block (3 levels) in <top (required)>' | |
8) Chef::RVM::RecipeHelpers .build_script_flags emits version and branch with branch not stable|master and version=x.y.z | |
Failure/Error: subject.build_script_flags("foo/bar", "0.9.8"). | |
NameError: | |
uninitialized class variable @@current in MiniTest::Unit::TestCase | |
# (eval):8:in `must_equal' | |
# ./cookbooks/cloudsourcery-promo/tmp/librarian/cache/source/git/164abaa0a591fc1b/test/unit/chef/rvm/recipe_helpers_spec.rb:69:in `block (3 levels) in <top (required)>' | |
Finished in 0.0818 seconds | |
10 examples, 8 failures | |
Failed examples: | |
rspec ./cookbooks/cloudsourcery-promo/spec/default_spec.rb:9 # cloudsourcery-promo::default installs git | |
rspec ./cookbooks/cloudsourcery-promo/spec/default_spec.rb:13 # cloudsourcery-promo::default includes rvm cookbook | |
rspec ./cookbooks/cloudsourcery-promo/tmp/librarian/cache/source/git/164abaa0a591fc1b/test/unit/chef/rvm/recipe_helpers_spec.rb:43 # Chef::RVM::RecipeHelpers .build_script_flags sets branch and version flags | |
rspec ./cookbooks/cloudsourcery-promo/tmp/librarian/cache/source/git/164abaa0a591fc1b/test/unit/chef/rvm/recipe_helpers_spec.rb:48 # Chef::RVM::RecipeHelpers .build_script_flags sets a missing branch to "head" | |
rspec ./cookbooks/cloudsourcery-promo/tmp/librarian/cache/source/git/164abaa0a591fc1b/test/unit/chef/rvm/recipe_helpers_spec.rb:53 # Chef::RVM::RecipeHelpers .build_script_flags only emits version with branch=stable and version=x.y.z | |
rspec ./cookbooks/cloudsourcery-promo/tmp/librarian/cache/source/git/164abaa0a591fc1b/test/unit/chef/rvm/recipe_helpers_spec.rb:58 # Chef::RVM::RecipeHelpers .build_script_flags only emits version with branch=master and version=x.y.z | |
rspec ./cookbooks/cloudsourcery-promo/tmp/librarian/cache/source/git/164abaa0a591fc1b/test/unit/chef/rvm/recipe_helpers_spec.rb:63 # Chef::RVM::RecipeHelpers .build_script_flags only emits version with branch=none and version=x.y.z | |
rspec ./cookbooks/cloudsourcery-promo/tmp/librarian/cache/source/git/164abaa0a591fc1b/test/unit/chef/rvm/recipe_helpers_spec.rb:68 # Chef::RVM::RecipeHelpers .build_script_flags emits version and branch with branch not stable|master and version=x.y.z | |
Run options: --seed 54532 | |
# Running tests: | |
Finished tests in 0.000284s, 0.0000 tests/s, 0.0000 assertions/s. | |
0 tests, 0 assertions, 0 failures, 0 errors, 0 skips | |
rake aborted! | |
Command failed with status (1): [rspec cookbooks/cloudsourcery-promo...] | |
/Users/jwickett/mentor/cloudsourcery-promo/chef-repo/my_cookbooks/cloudsourcery-promo/Rakefile:8:in `block in <top (required)>' | |
/Users/jwickett/.rvm/gems/ruby-1.9.3-p448/bin/ruby_noexec_wrapper:14:in `eval' | |
/Users/jwickett/.rvm/gems/ruby-1.9.3-p448/bin/ruby_noexec_wrapper:14:in `<main>' | |
Tasks: TOP => default => test | |
(See full trace by running task with --trace) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment