Skip to content

Instantly share code, notes, and snippets.

@fujin
Created July 22, 2015 23:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fujin/d16e992f744c8ee00564 to your computer and use it in GitHub Desktop.
Save fujin/d16e992f744c8ee00564 to your computer and use it in GitHub Desktop.
aj@zeta  ~/workspace/pantheon-cookbooks/pantheon_package_repository   add-skel ●  make spec
chef exec rspec --format documentation --color test/spec
pantheon_package_repository::default
installs yum priority support (FAILED - 1)
configures yum priority plugin (FAILED - 2)
adds the pantheon packagecloud repos (FAILED - 3)
defines a runner method (FAILED - 4)
Failures:
1) pantheon_package_repository::default installs yum priority support
Failure/Error: let(:chef_run) { ChefSpec::SoloRunner.converge(described_recipe) }
Chef::Exceptions::CookbookNotFound:
Cookbook pantheon_package_repository not found. If you're loading pantheon_package_repository from another cookbook, make sure you configure the dependency in your metadata
# /home/aj/.chefdk/gem/ruby/2.1.0/gems/ohai-8.4.0/lib/ohai/mash.rb:77:in `yield'
# /home/aj/.chefdk/gem/ruby/2.1.0/gems/ohai-8.4.0/lib/ohai/mash.rb:77:in `default'
# /home/aj/.chefdk/gem/ruby/2.1.0/gems/ohai-8.4.0/lib/ohai/mash.rb:77:in `default'
# ./test/spec/default_spec.rb:4:in `block (2 levels) in <top (required)>'
# ./test/spec/default_spec.rb:28:in `block (2 levels) in <top (required)>'
2) pantheon_package_repository::default configures yum priority plugin
Failure/Error: let(:chef_run) { ChefSpec::SoloRunner.converge(described_recipe) }
Chef::Exceptions::CookbookNotFound:
Cookbook pantheon_package_repository not found. If you're loading pantheon_package_repository from another cookbook, make sure you configure the dependency in your metadata
# /home/aj/.chefdk/gem/ruby/2.1.0/gems/ohai-8.4.0/lib/ohai/mash.rb:77:in `yield'
# /home/aj/.chefdk/gem/ruby/2.1.0/gems/ohai-8.4.0/lib/ohai/mash.rb:77:in `default'
# /home/aj/.chefdk/gem/ruby/2.1.0/gems/ohai-8.4.0/lib/ohai/mash.rb:77:in `default'
# ./test/spec/default_spec.rb:4:in `block (2 levels) in <top (required)>'
# ./test/spec/default_spec.rb:32:in `block (2 levels) in <top (required)>'
3) pantheon_package_repository::default adds the pantheon packagecloud repos
Failure/Error: let(:chef_run) { ChefSpec::SoloRunner.converge(described_recipe) }
Chef::Exceptions::CookbookNotFound:
Cookbook pantheon_package_repository not found. If you're loading pantheon_package_repository from another cookbook, make sure you configure the dependency in your metadata
# /home/aj/.chefdk/gem/ruby/2.1.0/gems/ohai-8.4.0/lib/ohai/mash.rb:77:in `yield'
# /home/aj/.chefdk/gem/ruby/2.1.0/gems/ohai-8.4.0/lib/ohai/mash.rb:77:in `default'
# /home/aj/.chefdk/gem/ruby/2.1.0/gems/ohai-8.4.0/lib/ohai/mash.rb:77:in `default'
# ./test/spec/default_spec.rb:4:in `block (2 levels) in <top (required)>'
# ./test/spec/default_spec.rb:37:in `block (3 levels) in <top (required)>'
# ./test/spec/default_spec.rb:36:in `each'
# ./test/spec/default_spec.rb:36:in `block (2 levels) in <top (required)>'
4) pantheon_package_repository::default defines a runner method
Failure/Error: let(:chef_run) { ChefSpec::SoloRunner.converge(described_recipe) }
Chef::Exceptions::CookbookNotFound:
Cookbook pantheon_package_repository not found. If you're loading pantheon_package_repository from another cookbook, make sure you configure the dependency in your metadata
# /home/aj/.chefdk/gem/ruby/2.1.0/gems/ohai-8.4.0/lib/ohai/mash.rb:77:in `yield'
# /home/aj/.chefdk/gem/ruby/2.1.0/gems/ohai-8.4.0/lib/ohai/mash.rb:77:in `default'
# /home/aj/.chefdk/gem/ruby/2.1.0/gems/ohai-8.4.0/lib/ohai/mash.rb:77:in `default'
# ./test/spec/default_spec.rb:4:in `block (2 levels) in <top (required)>'
# ./test/spec/default_spec.rb:42:in `block (2 levels) in <top (required)>'
Finished in 0.02043 seconds (files took 7.26 seconds to load)
4 examples, 4 failures
Failed examples:
rspec ./test/spec/default_spec.rb:27 # pantheon_package_repository::default installs yum priority support
rspec ./test/spec/default_spec.rb:31 # pantheon_package_repository::default configures yum priority plugin
rspec ./test/spec/default_spec.rb:35 # pantheon_package_repository::default adds the pantheon packagecloud repos
rspec ./test/spec/default_spec.rb:41 # pantheon_package_repository::default defines a runner method
Makefile:14: recipe for target 'spec' failed
make: *** [spec] Error 1
✘ aj@zeta  ~/workspace/pantheon-cookbooks/pantheon_package_repository   add-skel ●  make spec
✘ aj@zeta  ~/workspace/pantheon-cookbooks/pantheon_package_repository   add-skel ●  rspec -fd
No examples found.
Finished in 0.00011 seconds (files took 0.02975 seconds to load)
0 examples, 0 failures
aj@zeta  ~/workspace/pantheon-cookbooks/pantheon_package_repository   add-skel ●  rspec -fd test/spec
pantheon_package_repository::default
installs yum priority support (FAILED - 1)
configures yum priority plugin (FAILED - 2)
adds the pantheon packagecloud repos (FAILED - 3)
defines a runner method (FAILED - 4)
Failures:
1) pantheon_package_repository::default installs yum priority support
Failure/Error: let(:chef_run) { ChefSpec::SoloRunner.converge(described_recipe) }
Chef::Exceptions::CookbookNotFound:
Cookbook pantheon_package_repository not found. If you're loading pantheon_package_repository from another cookbook, make sure you configure the dependency in your metadata
# /home/aj/.chefdk/gem/ruby/2.1.0/gems/ohai-8.4.0/lib/ohai/mash.rb:77:in `yield'
# /home/aj/.chefdk/gem/ruby/2.1.0/gems/ohai-8.4.0/lib/ohai/mash.rb:77:in `default'
# /home/aj/.chefdk/gem/ruby/2.1.0/gems/ohai-8.4.0/lib/ohai/mash.rb:77:in `default'
# ./test/spec/default_spec.rb:4:in `block (2 levels) in <top (required)>'
# ./test/spec/default_spec.rb:28:in `block (2 levels) in <top (required)>'
2) pantheon_package_repository::default configures yum priority plugin
Failure/Error: let(:chef_run) { ChefSpec::SoloRunner.converge(described_recipe) }
Chef::Exceptions::CookbookNotFound:
Cookbook pantheon_package_repository not found. If you're loading pantheon_package_repository from another cookbook, make sure you configure the dependency in your metadata
# /home/aj/.chefdk/gem/ruby/2.1.0/gems/ohai-8.4.0/lib/ohai/mash.rb:77:in `yield'
# /home/aj/.chefdk/gem/ruby/2.1.0/gems/ohai-8.4.0/lib/ohai/mash.rb:77:in `default'
# /home/aj/.chefdk/gem/ruby/2.1.0/gems/ohai-8.4.0/lib/ohai/mash.rb:77:in `default'
# ./test/spec/default_spec.rb:4:in `block (2 levels) in <top (required)>'
# ./test/spec/default_spec.rb:32:in `block (2 levels) in <top (required)>'
3) pantheon_package_repository::default adds the pantheon packagecloud repos
Failure/Error: let(:chef_run) { ChefSpec::SoloRunner.converge(described_recipe) }
Chef::Exceptions::CookbookNotFound:
Cookbook pantheon_package_repository not found. If you're loading pantheon_package_repository from another cookbook, make sure you configure the dependency in your metadata
# /home/aj/.chefdk/gem/ruby/2.1.0/gems/ohai-8.4.0/lib/ohai/mash.rb:77:in `yield'
# /home/aj/.chefdk/gem/ruby/2.1.0/gems/ohai-8.4.0/lib/ohai/mash.rb:77:in `default'
# /home/aj/.chefdk/gem/ruby/2.1.0/gems/ohai-8.4.0/lib/ohai/mash.rb:77:in `default'
# ./test/spec/default_spec.rb:4:in `block (2 levels) in <top (required)>'
# ./test/spec/default_spec.rb:37:in `block (3 levels) in <top (required)>'
# ./test/spec/default_spec.rb:36:in `each'
# ./test/spec/default_spec.rb:36:in `block (2 levels) in <top (required)>'
4) pantheon_package_repository::default defines a runner method
Failure/Error: let(:chef_run) { ChefSpec::SoloRunner.converge(described_recipe) }
Chef::Exceptions::CookbookNotFound:
Cookbook pantheon_package_repository not found. If you're loading pantheon_package_repository from another cookbook, make sure you configure the dependency in your metadata
# /home/aj/.chefdk/gem/ruby/2.1.0/gems/ohai-8.4.0/lib/ohai/mash.rb:77:in `yield'
# /home/aj/.chefdk/gem/ruby/2.1.0/gems/ohai-8.4.0/lib/ohai/mash.rb:77:in `default'
# /home/aj/.chefdk/gem/ruby/2.1.0/gems/ohai-8.4.0/lib/ohai/mash.rb:77:in `default'
# ./test/spec/default_spec.rb:4:in `block (2 levels) in <top (required)>'
# ./test/spec/default_spec.rb:42:in `block (2 levels) in <top (required)>'
Finished in 0.02072 seconds (files took 6.71 seconds to load)
4 examples, 4 failures
Failed examples:
rspec ./test/spec/default_spec.rb:27 # pantheon_package_repository::default installs yum priority support
rspec ./test/spec/default_spec.rb:31 # pantheon_package_repository::default configures yum priority plugin
rspec ./test/spec/default_spec.rb:35 # pantheon_package_repository::default adds the pantheon packagecloud repos
rspec ./test/spec/default_spec.rb:41 # pantheon_package_repository::default defines a runner method
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment