Skip to content

Instantly share code, notes, and snippets.

@jkeiser
Created September 30, 2015 16:58
Show Gist options
  • Save jkeiser/437679a61edb174e8473 to your computer and use it in GitHub Desktop.
Save jkeiser/437679a61edb174e8473 to your computer and use it in GitHub Desktop.
halite failures in my crazy bundle
~/src/chef> bundle exec rake halite_spec
Updating git://github.com/poise/poise.git
Updating git://github.com/poise/poise-boiler.git
Fetching gem metadata from https://rubygems.org/........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies...................................
Using rake 10.4.2
Using addressable 2.3.8
Using backports 3.6.6
Using multipart-post 2.0.0
Using faraday 0.9.1
Using httpclient 2.6.0.1
Using berkshelf-api-client 1.3.0
Using buff-extensions 1.0.0
Using hashie 2.1.2
Using varia_model 0.4.0
Using buff-config 1.0.1
Using buff-ruby_engine 0.1.0
Using buff-shell_out 0.2.0
Using hitimes 1.2.3
Using timers 4.0.4
Using celluloid 0.16.1
Using nio4r 1.1.1
Using celluloid-io 0.16.2
Using cleanroom 1.0.0
Using minitar 0.5.4
Using sawyer 0.6.0
Using octokit 3.8.0
Using retryable 2.0.2
Using buff-ignore 1.1.1
Using erubis 2.7.0
Using json 1.8.3
Using mixlib-log 1.6.0
Using mixlib-authentication 1.3.0
Using net-http-persistent 2.9.4
Using semverse 1.2.1
Using ridley 4.2.0
Using dep-selector-libgecode 1.0.2
Using ffi 1.9.10
Using dep_selector 1.0.3
Using solve 1.2.1
Using thor 0.19.1
Using berkshelf 3.3.0
Using builder 3.2.2
Using bundler 1.10.6
Using mixlib-config 2.2.1
Using mixlib-shellout 2.2.1
Using chef-config 12.5.0.current.0 from source at /Users/jkeiser/src/chef
Using libyajl2 1.2.0
Using ffi-yajl 2.2.2
Using rack 1.6.4
Using uuidtools 2.1.5
Using chef-zero 4.3.1
Using diff-lcs 1.2.5
Using highline 1.7.7
Using mixlib-cli 1.5.0
Using net-ssh 2.9.2
Using net-ssh-gateway 1.2.0
Using net-ssh-multi 1.2.1
Using ipaddress 0.8.0
Using mime-types 2.6.2
Using systemu 2.6.5
Using wmi-lite 1.0.0
Using ohai 8.6.0
Using plist 3.1.0
Using coderay 1.1.0
Using method_source 0.8.2
Using slop 3.6.0
Using pry 0.9.12.6
Using rspec-support 3.3.0
Using rspec-core 3.3.2
Using rspec-expectations 3.3.1
Using rspec-mocks 3.3.2
Using rspec_junit_formatter 0.2.3
Using multi_json 1.11.2
Using rspec 3.3.0
Using rspec-its 1.2.0
Using net-scp 1.2.1
Using net-telnet 0.1.1
Using sfl 2.2
Using specinfra 2.43.10
Using serverspec 2.24.1
Using syslog-logger 1.6.8
Using chef 12.5.0.current.0 from source at /Users/jkeiser/src/chef
Using logify 0.2.0
Using chef-api 0.5.0
Using fauxhai 2.3.0
Using chefspec 4.3.0
Using docile 1.1.5
Using simplecov-html 0.10.0
Using simplecov 0.10.0
Using codeclimate-test-reporter 0.4.8
Using url 0.3.2
Using codecov 0.1.1
Using ethon 0.8.0
Using faraday_middleware 0.10.0
Using gherkin 2.12.2
Using mini_portile 0.6.2
Using nokogiri 1.6.6.2
Using rufus-lru 1.0.5
Using polyglot 0.3.5
Using treetop 1.6.3
Using yajl-ruby 1.2.1
Using foodcritic 5.0.0
Using ruby-progressbar 1.7.5
Using fuubar 2.0.0
Using net-http-pipeline 1.0.1
Using gh 0.14.0
Using stove 3.2.7
Using halite 1.0.11.pre from source at /usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/bundler/gems/halite-03c45888c5a9
Using safe_yaml 1.0.4
Using test-kitchen 1.4.2
Using kitchen-docker 2.3.0
Using net-sftp 2.1.2
Using kitchen-sync 1.1.1
Using kitchen-vagrant 0.19.0
Using launchy 2.4.3
Using poise 2.4.1.pre from git://github.com/poise/poise.git (at master)
Using websocket 1.2.2
Using pusher-client 0.6.2
Using typhoeus 0.8.0
Using travis 1.8.0
Using vagrant-wrapper 2.0.3
Using yard 0.8.7.6
Using yard-classmethods 1.0.0
Using poise-boiler 1.1.9.pre from git://github.com/poise/poise-boiler.git (at master)
Using rspec-command 1.0.1
Bundle complete! 5 Gemfile dependencies, 121 gems now installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
/usr/local/var/rbenv/versions/2.2.2/bin/ruby -I/usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.2/lib:/usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rspec-support-3.3.0/lib /usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.2/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb --color --format Fuubar --tag ~slow
Run options:
include {:focus=>true}
exclude {:slow=>true}
All examples were filtered out; ignoring {:focus=>true}
Randomized with seed 16966
Progress: |
1) Halite::Gem when loading a Gem::Dependency test1 version
Failure/Error: subject { described_class.new(dependency) }
Halite::Error:
Cannot find a gem to satisfy test1 (>= 0): Could not find 'test1' (>= 0) among 121 total gem(s)
Checked in 'GEM_PATH=/usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0:/Users/jkeiser/.gem/ruby/2.2.0', execute `gem env` for more information
# ./lib/halite/gem.rb:202:in `rescue in dependency_to_spec'
# ./lib/halite/gem.rb:198:in `dependency_to_spec'
# ./lib/halite/gem.rb:42:in `initialize'
# ./spec/gem_spec.rb:147:in `new'
# ./spec/gem_spec.rb:147:in `block (3 levels) in <top (required)>'
# ./spec/gem_spec.rb:151:in `block (4 levels) in <top (required)>'
2) Halite::Gem when loading a Gem::Dependency test4 ~> 2.3 version
Failure/Error: subject { described_class.new(dependency) }
Halite::Error:
Cannot find a gem to satisfy test4 (~> 2.3): Could not find 'test4' (~> 2.3) among 121 total gem(s)
Checked in 'GEM_PATH=/usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0:/Users/jkeiser/.gem/ruby/2.2.0', execute `gem env` for more information
# ./lib/halite/gem.rb:202:in `rescue in dependency_to_spec'
# ./lib/halite/gem.rb:198:in `dependency_to_spec'
# ./lib/halite/gem.rb:42:in `initialize'
# ./spec/gem_spec.rb:147:in `new'
# ./spec/gem_spec.rb:147:in `block (3 levels) in <top (required)>'
# ./spec/gem_spec.rb:175:in `block (4 levels) in <top (required)>'
3) Halite::Gem when loading a Gem::Dependency test1 ~> 1.2 version
Failure/Error: subject { described_class.new(dependency) }
Halite::Error:
Cannot find a gem to satisfy test1 (~> 1.2): Could not find 'test1' (~> 1.2) among 121 total gem(s)
Checked in 'GEM_PATH=/usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0:/Users/jkeiser/.gem/ruby/2.2.0', execute `gem env` for more information
# ./lib/halite/gem.rb:202:in `rescue in dependency_to_spec'
# ./lib/halite/gem.rb:198:in `dependency_to_spec'
# ./lib/halite/gem.rb:42:in `initialize'
# ./spec/gem_spec.rb:147:in `new'
# ./spec/gem_spec.rb:147:in `block (3 levels) in <top (required)>'
# ./spec/gem_spec.rb:169:in `block (4 levels) in <top (required)>'
4) Halite::Gem when loading a Gem::Dependency test1 > 1.2.0 version
Failure/Error: subject { described_class.new(dependency) }
Halite::Error:
Cannot find a gem to satisfy test1 (> 1.2.0): Could not find 'test1' (> 1.2.0) among 121 total gem(s)
Checked in 'GEM_PATH=/usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0:/Users/jkeiser/.gem/ruby/2.2.0', execute `gem env` for more information
# ./lib/halite/gem.rb:202:in `rescue in dependency_to_spec'
# ./lib/halite/gem.rb:198:in `dependency_to_spec'
# ./lib/halite/gem.rb:42:in `initialize'
# ./spec/gem_spec.rb:147:in `new'
# ./spec/gem_spec.rb:147:in `block (3 levels) in <top (required)>'
# ./spec/gem_spec.rb:157:in `block (4 levels) in <top (required)>'
Progress: |=============
5) Halite::Gem when loading test2 license_header
Failure/Error: subject { described_class.new(gem_name, gem_version) }
Halite::Error:
Cannot find a gem to satisfy test2 (>= 0): Could not find 'test2' (>= 0) among 121 total gem(s)
Checked in 'GEM_PATH=/usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0:/Users/jkeiser/.gem/ruby/2.2.0', execute `gem env` for more information
# ./lib/halite/gem.rb:202:in `rescue in dependency_to_spec'
# ./lib/halite/gem.rb:198:in `dependency_to_spec'
# ./lib/halite/gem.rb:57:in `spec'
# ./lib/halite/gem.rb:52:in `initialize'
# ./spec/gem_spec.rb:22:in `new'
# ./spec/gem_spec.rb:22:in `block (2 levels) in <top (required)>'
# ./spec/gem_spec.rb:90:in `block (3 levels) in <top (required)>'
6) Halite::Gem when loading test2 each_library_file
Failure/Error: subject { described_class.new(gem_name, gem_version) }
Halite::Error:
Cannot find a gem to satisfy test2 (>= 0): Could not find 'test2' (>= 0) among 121 total gem(s)
Checked in 'GEM_PATH=/usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0:/Users/jkeiser/.gem/ruby/2.2.0', execute `gem env` for more information
# ./lib/halite/gem.rb:202:in `rescue in dependency_to_spec'
# ./lib/halite/gem.rb:198:in `dependency_to_spec'
# ./lib/halite/gem.rb:57:in `spec'
# ./lib/halite/gem.rb:52:in `initialize'
# ./spec/gem_spec.rb:22:in `new'
# ./spec/gem_spec.rb:22:in `block (2 levels) in <top (required)>'
# ./spec/gem_spec.rb:91:in `block (3 levels) in <top (required)>'
7) Halite::Gem when loading test2 #each_file with no prefixes returns all files
Failure/Error: subject { described_class.new(gem_name, gem_version) }
Halite::Error:
Cannot find a gem to satisfy test2 (>= 0): Could not find 'test2' (>= 0) among 121 total gem(s)
Checked in 'GEM_PATH=/usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0:/Users/jkeiser/.gem/ruby/2.2.0', execute `gem env` for more information
# ./lib/halite/gem.rb:202:in `rescue in dependency_to_spec'
# ./lib/halite/gem.rb:198:in `dependency_to_spec'
# ./lib/halite/gem.rb:57:in `spec'
# ./lib/halite/gem.rb:52:in `initialize'
# ./spec/gem_spec.rb:22:in `new'
# ./spec/gem_spec.rb:22:in `block (2 levels) in <top (required)>'
# ./spec/gem_spec.rb:102:in `block (5 levels) in <top (required)>'
8) Halite::Gem when loading test2 #each_file with a prefix of chef returns only files in that folder
Failure/Error: subject { described_class.new(gem_name, gem_version) }
Halite::Error:
Cannot find a gem to satisfy test2 (>= 0): Could not find 'test2' (>= 0) among 121 total gem(s)
Checked in 'GEM_PATH=/usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0:/Users/jkeiser/.gem/ruby/2.2.0', execute `gem env` for more information
# ./lib/halite/gem.rb:202:in `rescue in dependency_to_spec'
# ./lib/halite/gem.rb:198:in `dependency_to_spec'
# ./lib/halite/gem.rb:57:in `spec'
# ./lib/halite/gem.rb:52:in `initialize'
# ./spec/gem_spec.rb:22:in `new'
# ./spec/gem_spec.rb:22:in `block (2 levels) in <top (required)>'
# ./spec/gem_spec.rb:117:in `block (5 levels) in <top (required)>'
9) Halite::Gem when loading test2 cookbook_name
Failure/Error: subject { described_class.new(gem_name, gem_version) }
Halite::Error:
Cannot find a gem to satisfy test2 (>= 0): Could not find 'test2' (>= 0) among 121 total gem(s)
Checked in 'GEM_PATH=/usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0:/Users/jkeiser/.gem/ruby/2.2.0', execute `gem env` for more information
# ./lib/halite/gem.rb:202:in `rescue in dependency_to_spec'
# ./lib/halite/gem.rb:198:in `dependency_to_spec'
# ./lib/halite/gem.rb:57:in `spec'
# ./lib/halite/gem.rb:52:in `initialize'
# ./spec/gem_spec.rb:22:in `new'
# ./spec/gem_spec.rb:22:in `block (2 levels) in <top (required)>'
# ./spec/gem_spec.rb:87:in `block (3 levels) in <top (required)>'
10) Halite::Gem when loading test2 is_halite_cookbook?
Failure/Error: subject { described_class.new(gem_name, gem_version) }
Halite::Error:
Cannot find a gem to satisfy test2 (>= 0): Could not find 'test2' (>= 0) among 121 total gem(s)
Checked in 'GEM_PATH=/usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0:/Users/jkeiser/.gem/ruby/2.2.0', execute `gem env` for more information
# ./lib/halite/gem.rb:202:in `rescue in dependency_to_spec'
# ./lib/halite/gem.rb:198:in `dependency_to_spec'
# ./lib/halite/gem.rb:57:in `spec'
# ./lib/halite/gem.rb:52:in `initialize'
# ./spec/gem_spec.rb:22:in `new'
# ./spec/gem_spec.rb:22:in `block (2 levels) in <top (required)>'
# ./spec/gem_spec.rb:97:in `block (3 levels) in <top (required)>'
Progress: |=================
11) Halite::Gem when loading test2 cookbook_version
Failure/Error: subject { described_class.new(gem_name, gem_version) }
Halite::Error:
Cannot find a gem to satisfy test2 (>= 0): Could not find 'test2' (>= 0) among 121 total gem(s)
Checked in 'GEM_PATH=/usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0:/Users/jkeiser/.gem/ruby/2.2.0', execute `gem env` for more information
# ./lib/halite/gem.rb:202:in `rescue in dependency_to_spec'
# ./lib/halite/gem.rb:198:in `dependency_to_spec'
# ./lib/halite/gem.rb:57:in `spec'
# ./lib/halite/gem.rb:52:in `initialize'
# ./spec/gem_spec.rb:22:in `new'
# ./spec/gem_spec.rb:22:in `block (2 levels) in <top (required)>'
# ./spec/gem_spec.rb:89:in `block (3 levels) in <top (required)>'
12) Halite::Gem when loading test2 version
Failure/Error: subject { described_class.new(gem_name, gem_version) }
Halite::Error:
Cannot find a gem to satisfy test2 (>= 0): Could not find 'test2' (>= 0) among 121 total gem(s)
Checked in 'GEM_PATH=/usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0:/Users/jkeiser/.gem/ruby/2.2.0', execute `gem env` for more information
# ./lib/halite/gem.rb:202:in `rescue in dependency_to_spec'
# ./lib/halite/gem.rb:198:in `dependency_to_spec'
# ./lib/halite/gem.rb:57:in `spec'
# ./lib/halite/gem.rb:52:in `initialize'
# ./spec/gem_spec.rb:22:in `new'
# ./spec/gem_spec.rb:22:in `block (2 levels) in <top (required)>'
# ./spec/gem_spec.rb:88:in `block (3 levels) in <top (required)>'
13) Halite::Gem when loading test2 cookbook_dependencies
Failure/Error: subject { described_class.new(gem_name, gem_version) }
Halite::Error:
Cannot find a gem to satisfy test2 (>= 0): Could not find 'test2' (>= 0) among 121 total gem(s)
Checked in 'GEM_PATH=/usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0:/Users/jkeiser/.gem/ruby/2.2.0', execute `gem env` for more information
# ./lib/halite/gem.rb:202:in `rescue in dependency_to_spec'
# ./lib/halite/gem.rb:198:in `dependency_to_spec'
# ./lib/halite/gem.rb:57:in `spec'
# ./lib/halite/gem.rb:52:in `initialize'
# ./spec/gem_spec.rb:22:in `new'
# ./spec/gem_spec.rb:22:in `block (2 levels) in <top (required)>'
# ./spec/gem_spec.rb:96:in `block (3 levels) in <top (required)>'
14) Halite::Gem when loading test2 name
Failure/Error: subject { described_class.new(gem_name, gem_version) }
Halite::Error:
Cannot find a gem to satisfy test2 (>= 0): Could not find 'test2' (>= 0) among 121 total gem(s)
Checked in 'GEM_PATH=/usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0:/Users/jkeiser/.gem/ruby/2.2.0', execute `gem env` for more information
# ./lib/halite/gem.rb:202:in `rescue in dependency_to_spec'
# ./lib/halite/gem.rb:198:in `dependency_to_spec'
# ./lib/halite/gem.rb:57:in `spec'
# ./lib/halite/gem.rb:52:in `initialize'
# ./spec/gem_spec.rb:22:in `new'
# ./spec/gem_spec.rb:22:in `block (2 levels) in <top (required)>'
# ./spec/gem_spec.rb:86:in `block (3 levels) in <top (required)>'
15) Halite::Gem when loading test3 is_halite_cookbook?
Failure/Error: subject { described_class.new(gem_name, gem_version) }
Halite::Error:
Cannot find a gem to satisfy test3 (>= 0): Could not find 'test3' (>= 0) among 121 total gem(s)
Checked in 'GEM_PATH=/usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0:/Users/jkeiser/.gem/ruby/2.2.0', execute `gem env` for more information
# ./lib/halite/gem.rb:202:in `rescue in dependency_to_spec'
# ./lib/halite/gem.rb:198:in `dependency_to_spec'
# ./lib/halite/gem.rb:57:in `spec'
# ./lib/halite/gem.rb:52:in `initialize'
# ./spec/gem_spec.rb:22:in `new'
# ./spec/gem_spec.rb:22:in `block (2 levels) in <top (required)>'
# ./spec/gem_spec.rb:131:in `block (3 levels) in <top (required)>'
16) Halite::Gem when loading test3 cookbook_name
Failure/Error: subject { described_class.new(gem_name, gem_version) }
Halite::Error:
Cannot find a gem to satisfy test3 (>= 0): Could not find 'test3' (>= 0) among 121 total gem(s)
Checked in 'GEM_PATH=/usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0:/Users/jkeiser/.gem/ruby/2.2.0', execute `gem env` for more information
# ./lib/halite/gem.rb:202:in `rescue in dependency_to_spec'
# ./lib/halite/gem.rb:198:in `dependency_to_spec'
# ./lib/halite/gem.rb:57:in `spec'
# ./lib/halite/gem.rb:52:in `initialize'
# ./spec/gem_spec.rb:22:in `new'
# ./spec/gem_spec.rb:22:in `block (2 levels) in <top (required)>'
# ./spec/gem_spec.rb:129:in `block (3 levels) in <top (required)>'
17) Halite::Gem when loading test3 cookbook_dependencies
Failure/Error: subject { described_class.new(gem_name, gem_version) }
Halite::Error:
Cannot find a gem to satisfy test3 (>= 0): Could not find 'test3' (>= 0) among 121 total gem(s)
Checked in 'GEM_PATH=/usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0:/Users/jkeiser/.gem/ruby/2.2.0', execute `gem env` for more information
# ./lib/halite/gem.rb:202:in `rescue in dependency_to_spec'
# ./lib/halite/gem.rb:198:in `dependency_to_spec'
# ./lib/halite/gem.rb:57:in `spec'
# ./lib/halite/gem.rb:52:in `initialize'
# ./spec/gem_spec.rb:22:in `new'
# ./spec/gem_spec.rb:22:in `block (2 levels) in <top (required)>'
# ./spec/gem_spec.rb:130:in `block (3 levels) in <top (required)>'
Progress: |======================
18) Halite::Gem when loading test1 #each_file with no prefixes returns all files
Failure/Error: subject { described_class.new(gem_name, gem_version) }
Halite::Error:
Cannot find a gem to satisfy test1 (>= 0): Could not find 'test1' (>= 0) among 121 total gem(s)
Checked in 'GEM_PATH=/usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0:/Users/jkeiser/.gem/ruby/2.2.0', execute `gem env` for more information
# ./lib/halite/gem.rb:202:in `rescue in dependency_to_spec'
# ./lib/halite/gem.rb:198:in `dependency_to_spec'
# ./lib/halite/gem.rb:57:in `spec'
# ./lib/halite/gem.rb:52:in `initialize'
# ./spec/gem_spec.rb:22:in `new'
# ./spec/gem_spec.rb:22:in `block (2 levels) in <top (required)>'
# ./spec/gem_spec.rb:65:in `block (5 levels) in <top (required)>'
19) Halite::Gem when loading test1 #each_file with a prefix that overlaps a filename returns only files in that folder
Failure/Error: subject { described_class.new(gem_name, gem_version) }
Halite::Error:
Cannot find a gem to satisfy test1 (>= 0): Could not find 'test1' (>= 0) among 121 total gem(s)
Checked in 'GEM_PATH=/usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0:/Users/jkeiser/.gem/ruby/2.2.0', execute `gem env` for more information
# ./lib/halite/gem.rb:202:in `rescue in dependency_to_spec'
# ./lib/halite/gem.rb:198:in `dependency_to_spec'
# ./lib/halite/gem.rb:57:in `spec'
# ./lib/halite/gem.rb:52:in `initialize'
# ./spec/gem_spec.rb:22:in `new'
# ./spec/gem_spec.rb:22:in `block (2 levels) in <top (required)>'
# ./spec/gem_spec.rb:76:in `block (5 levels) in <top (required)>'
20) Halite::Gem when loading test1 each_library_file
Failure/Error: subject { described_class.new(gem_name, gem_version) }
Halite::Error:
Cannot find a gem to satisfy test1 (>= 0): Could not find 'test1' (>= 0) among 121 total gem(s)
Checked in 'GEM_PATH=/usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0:/Users/jkeiser/.gem/ruby/2.2.0', execute `gem env` for more information
# ./lib/halite/gem.rb:202:in `rescue in dependency_to_spec'
# ./lib/halite/gem.rb:198:in `dependency_to_spec'
# ./lib/halite/gem.rb:57:in `spec'
# ./lib/halite/gem.rb:52:in `initialize'
# ./spec/gem_spec.rb:22:in `new'
# ./spec/gem_spec.rb:22:in `block (2 levels) in <top (required)>'
# ./spec/gem_spec.rb:55:in `block (3 levels) in <top (required)>'
21) Halite::Gem when loading test1 cookbook_name
Failure/Error: subject { described_class.new(gem_name, gem_version) }
Halite::Error:
Cannot find a gem to satisfy test1 (>= 0): Could not find 'test1' (>= 0) among 121 total gem(s)
Checked in 'GEM_PATH=/usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0:/Users/jkeiser/.gem/ruby/2.2.0', execute `gem env` for more information
# ./lib/halite/gem.rb:202:in `rescue in dependency_to_spec'
# ./lib/halite/gem.rb:198:in `dependency_to_spec'
# ./lib/halite/gem.rb:57:in `spec'
# ./lib/halite/gem.rb:52:in `initialize'
# ./spec/gem_spec.rb:22:in `new'
# ./spec/gem_spec.rb:22:in `block (2 levels) in <top (required)>'
# ./spec/gem_spec.rb:51:in `block (3 levels) in <top (required)>'
22) Halite::Gem when loading test1 name
Failure/Error: subject { described_class.new(gem_name, gem_version) }
Halite::Error:
Cannot find a gem to satisfy test1 (>= 0): Could not find 'test1' (>= 0) among 121 total gem(s)
Checked in 'GEM_PATH=/usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0:/Users/jkeiser/.gem/ruby/2.2.0', execute `gem env` for more information
# ./lib/halite/gem.rb:202:in `rescue in dependency_to_spec'
# ./lib/halite/gem.rb:198:in `dependency_to_spec'
# ./lib/halite/gem.rb:57:in `spec'
# ./lib/halite/gem.rb:52:in `initialize'
# ./spec/gem_spec.rb:22:in `new'
# ./spec/gem_spec.rb:22:in `block (2 levels) in <top (required)>'
# ./spec/gem_spec.rb:50:in `block (3 levels) in <top (required)>'
23) Halite::Gem when loading test1 is_halite_cookbook?
Failure/Error: subject { described_class.new(gem_name, gem_version) }
Halite::Error:
Cannot find a gem to satisfy test1 (>= 0): Could not find 'test1' (>= 0) among 121 total gem(s)
Checked in 'GEM_PATH=/usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0:/Users/jkeiser/.gem/ruby/2.2.0', execute `gem env` for more information
# ./lib/halite/gem.rb:202:in `rescue in dependency_to_spec'
# ./lib/halite/gem.rb:198:in `dependency_to_spec'
# ./lib/halite/gem.rb:57:in `spec'
# ./lib/halite/gem.rb:52:in `initialize'
# ./spec/gem_spec.rb:22:in `new'
# ./spec/gem_spec.rb:22:in `block (2 levels) in <top (required)>'
# ./spec/gem_spec.rb:60:in `block (3 levels) in <top (required)>'
Progress: |=========================
24) Halite::Gem when loading test1 cookbook_version
Failure/Error: subject { described_class.new(gem_name, gem_version) }
Halite::Error:
Cannot find a gem to satisfy test1 (>= 0): Could not find 'test1' (>= 0) among 121 total gem(s)
Checked in 'GEM_PATH=/usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0:/Users/jkeiser/.gem/ruby/2.2.0', execute `gem env` for more information
# ./lib/halite/gem.rb:202:in `rescue in dependency_to_spec'
# ./lib/halite/gem.rb:198:in `dependency_to_spec'
# ./lib/halite/gem.rb:57:in `spec'
# ./lib/halite/gem.rb:52:in `initialize'
# ./spec/gem_spec.rb:22:in `new'
# ./spec/gem_spec.rb:22:in `block (2 levels) in <top (required)>'
# ./spec/gem_spec.rb:53:in `block (3 levels) in <top (required)>'
25) Halite::Gem when loading test1 cookbook_dependencies
Failure/Error: subject { described_class.new(gem_name, gem_version) }
Halite::Error:
Cannot find a gem to satisfy test1 (>= 0): Could not find 'test1' (>= 0) among 121 total gem(s)
Checked in 'GEM_PATH=/usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0:/Users/jkeiser/.gem/ruby/2.2.0', execute `gem env` for more information
# ./lib/halite/gem.rb:202:in `rescue in dependency_to_spec'
# ./lib/halite/gem.rb:198:in `dependency_to_spec'
# ./lib/halite/gem.rb:57:in `spec'
# ./lib/halite/gem.rb:52:in `initialize'
# ./spec/gem_spec.rb:22:in `new'
# ./spec/gem_spec.rb:22:in `block (2 levels) in <top (required)>'
# ./spec/gem_spec.rb:59:in `block (3 levels) in <top (required)>'
26) Halite::Gem when loading test1 version
Failure/Error: subject { described_class.new(gem_name, gem_version) }
Halite::Error:
Cannot find a gem to satisfy test1 (>= 0): Could not find 'test1' (>= 0) among 121 total gem(s)
Checked in 'GEM_PATH=/usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0:/Users/jkeiser/.gem/ruby/2.2.0', execute `gem env` for more information
# ./lib/halite/gem.rb:202:in `rescue in dependency_to_spec'
# ./lib/halite/gem.rb:198:in `dependency_to_spec'
# ./lib/halite/gem.rb:57:in `spec'
# ./lib/halite/gem.rb:52:in `initialize'
# ./spec/gem_spec.rb:22:in `new'
# ./spec/gem_spec.rb:22:in `block (2 levels) in <top (required)>'
# ./spec/gem_spec.rb:52:in `block (3 levels) in <top (required)>'
27) Halite::Gem when loading test1 license_header
Failure/Error: subject { described_class.new(gem_name, gem_version) }
Halite::Error:
Cannot find a gem to satisfy test1 (>= 0): Could not find 'test1' (>= 0) among 121 total gem(s)
Checked in 'GEM_PATH=/usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0:/Users/jkeiser/.gem/ruby/2.2.0', execute `gem env` for more information
# ./lib/halite/gem.rb:202:in `rescue in dependency_to_spec'
# ./lib/halite/gem.rb:198:in `dependency_to_spec'
# ./lib/halite/gem.rb:57:in `spec'
# ./lib/halite/gem.rb:52:in `initialize'
# ./spec/gem_spec.rb:22:in `new'
# ./spec/gem_spec.rb:22:in `block (2 levels) in <top (required)>'
# ./spec/gem_spec.rb:54:in `block (3 levels) in <top (required)>'
28) Halite::Gem when loading test4 cookbook_version
Failure/Error: subject { described_class.new(gem_name, gem_version) }
Halite::Error:
Cannot find a gem to satisfy test4 (>= 0): Could not find 'test4' (>= 0) among 121 total gem(s)
Checked in 'GEM_PATH=/usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0:/Users/jkeiser/.gem/ruby/2.2.0', execute `gem env` for more information
# ./lib/halite/gem.rb:202:in `rescue in dependency_to_spec'
# ./lib/halite/gem.rb:198:in `dependency_to_spec'
# ./lib/halite/gem.rb:57:in `spec'
# ./lib/halite/gem.rb:52:in `initialize'
# ./spec/gem_spec.rb:22:in `new'
# ./spec/gem_spec.rb:22:in `block (2 levels) in <top (required)>'
# ./spec/gem_spec.rb:138:in `block (3 levels) in <top (required)>'
Progress: |============================
29) Halite::Gem when loading test4 cookbook_name
Failure/Error: subject { described_class.new(gem_name, gem_version) }
Halite::Error:
Cannot find a gem to satisfy test4 (>= 0): Could not find 'test4' (>= 0) among 121 total gem(s)
Checked in 'GEM_PATH=/usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0:/Users/jkeiser/.gem/ruby/2.2.0', execute `gem env` for more information
# ./lib/halite/gem.rb:202:in `rescue in dependency_to_spec'
# ./lib/halite/gem.rb:198:in `dependency_to_spec'
# ./lib/halite/gem.rb:57:in `spec'
# ./lib/halite/gem.rb:52:in `initialize'
# ./spec/gem_spec.rb:22:in `new'
# ./spec/gem_spec.rb:22:in `block (2 levels) in <top (required)>'
# ./spec/gem_spec.rb:136:in `block (3 levels) in <top (required)>'
30) Halite::Gem when loading test4 version
Failure/Error: subject { described_class.new(gem_name, gem_version) }
Halite::Error:
Cannot find a gem to satisfy test4 (>= 0): Could not find 'test4' (>= 0) among 121 total gem(s)
Checked in 'GEM_PATH=/usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0:/Users/jkeiser/.gem/ruby/2.2.0', execute `gem env` for more information
# ./lib/halite/gem.rb:202:in `rescue in dependency_to_spec'
# ./lib/halite/gem.rb:198:in `dependency_to_spec'
# ./lib/halite/gem.rb:57:in `spec'
# ./lib/halite/gem.rb:52:in `initialize'
# ./spec/gem_spec.rb:22:in `new'
# ./spec/gem_spec.rb:22:in `block (2 levels) in <top (required)>'
# ./spec/gem_spec.rb:137:in `block (3 levels) in <top (required)>'
Progress: |===============================================================
31) integration tests with test1 gem it should behave like an integration test run rake chef:build should match fixture cookbooks/test1
Failure/Error: it { is_expected.to match_fixture("cookbooks/#{gem_name}", "pkg/#{gem_name}-#{version}") }
expected fixture cookbooks/test1 to match files:
files is not found
files/halite_gem is not found
files/halite_gem/test1 is not found
files/halite_gem/test1.rb is not found
files/halite_gem/test1/version.rb is not found
libraries is not found
libraries/default.rb is not found
metadata.rb is not found
Shared Example Group: "an integration test" called from ./spec/integration_spec.rb:67
# ./spec/integration_spec.rb:62:in `block (4 levels) in <top (required)>'
Progress: |=======================================================================
32) integration tests with test1 gem it should behave like an integration test Halite.convert
Failure/Error: subject { Halite.convert(gem_name, temp_path) }
Halite::Error:
Cannot find a gem to satisfy test1 (>= 0): Could not find 'test1' (>= 0) among 121 total gem(s)
Checked in 'GEM_PATH=/usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0:/Users/jkeiser/.gem/ruby/2.2.0', execute `gem env` for more information
Shared Example Group: "an integration test" called from ./spec/integration_spec.rb:67
# ./lib/halite/gem.rb:202:in `rescue in dependency_to_spec'
# ./lib/halite/gem.rb:198:in `dependency_to_spec'
# ./lib/halite/gem.rb:57:in `spec'
# ./lib/halite/gem.rb:52:in `initialize'
# ./lib/halite.rb:40:in `new'
# ./lib/halite.rb:40:in `convert'
# ./spec/integration_spec.rb:29:in `block (4 levels) in <top (required)>'
# ./spec/integration_spec.rb:30:in `block (4 levels) in <top (required)>'
33) integration tests with test3 gem it should behave like an integration test Halite.convert
Failure/Error: subject { Halite.convert(gem_name, temp_path) }
Halite::Error:
Cannot find a gem to satisfy test3 (>= 0): Could not find 'test3' (>= 0) among 121 total gem(s)
Checked in 'GEM_PATH=/usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0:/Users/jkeiser/.gem/ruby/2.2.0', execute `gem env` for more information
Shared Example Group: "an integration test" called from ./spec/integration_spec.rb:78
# ./lib/halite/gem.rb:202:in `rescue in dependency_to_spec'
# ./lib/halite/gem.rb:198:in `dependency_to_spec'
# ./lib/halite/gem.rb:57:in `spec'
# ./lib/halite/gem.rb:52:in `initialize'
# ./lib/halite.rb:40:in `new'
# ./lib/halite.rb:40:in `convert'
# ./spec/integration_spec.rb:29:in `block (4 levels) in <top (required)>'
# ./spec/integration_spec.rb:30:in `block (4 levels) in <top (required)>'
34) integration tests with test3 gem it should behave like an integration test run rake chef:build should match fixture cookbooks/test3
Failure/Error: it { is_expected.to match_fixture("cookbooks/#{gem_name}", "pkg/#{gem_name}-#{version}") }
expected fixture cookbooks/test3 to match files:
files is not found
files/halite_gem is not found
files/halite_gem/test3 is not found
files/halite_gem/test3.rb is not found
files/halite_gem/test3/dsl.rb is not found
files/halite_gem/test3/version.rb is not found
libraries is not found
libraries/default.rb is not found
metadata.rb is not found
recipes is not found
recipes/default.rb is not found
Shared Example Group: "an integration test" called from ./spec/integration_spec.rb:78
# ./spec/integration_spec.rb:62:in `block (4 levels) in <top (required)>'
Progress: |=========================================================================
35) integration tests with test2 gem it should behave like an integration test Halite.convert
Failure/Error: subject { Halite.convert(gem_name, temp_path) }
Halite::Error:
Cannot find a gem to satisfy test2 (>= 0): Could not find 'test2' (>= 0) among 121 total gem(s)
Checked in 'GEM_PATH=/usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0:/Users/jkeiser/.gem/ruby/2.2.0', execute `gem env` for more information
Shared Example Group: "an integration test" called from ./spec/integration_spec.rb:71
# ./lib/halite/gem.rb:202:in `rescue in dependency_to_spec'
# ./lib/halite/gem.rb:198:in `dependency_to_spec'
# ./lib/halite/gem.rb:57:in `spec'
# ./lib/halite/gem.rb:52:in `initialize'
# ./lib/halite.rb:40:in `new'
# ./lib/halite.rb:40:in `convert'
# ./spec/integration_spec.rb:29:in `block (4 levels) in <top (required)>'
# ./spec/integration_spec.rb:30:in `block (4 levels) in <top (required)>'
36) integration tests with test2 gem it should behave like an integration test run rake chef:build should match fixture cookbooks/test2
Failure/Error: it { is_expected.to match_fixture("cookbooks/#{gem_name}", "pkg/#{gem_name}-#{version}") }
expected fixture cookbooks/test2 to match files:
attributes.rb is not found
files is not found
files/halite_gem is not found
files/halite_gem/test2 is not found
files/halite_gem/test2.rb is not found
files/halite_gem/test2/resource.rb is not found
files/halite_gem/test2/version.rb is not found
libraries is not found
libraries/default.rb is not found
metadata.rb is not found
recipes is not found
recipes/default.rb is not found
templates is not found
templates/default is not found
templates/default/conf.erb is not found
Shared Example Group: "an integration test" called from ./spec/integration_spec.rb:71
# ./spec/integration_spec.rb:62:in `block (4 levels) in <top (required)>'
Progress: |==============================================================================================================|
Finished in 1.59 seconds (files took 1.64 seconds to load)
182 examples, 36 failures
Failed examples:
rspec ./spec/gem_spec.rb:151 # Halite::Gem when loading a Gem::Dependency test1 version
rspec ./spec/gem_spec.rb:175 # Halite::Gem when loading a Gem::Dependency test4 ~> 2.3 version
rspec ./spec/gem_spec.rb:169 # Halite::Gem when loading a Gem::Dependency test1 ~> 1.2 version
rspec ./spec/gem_spec.rb:157 # Halite::Gem when loading a Gem::Dependency test1 > 1.2.0 version
rspec ./spec/gem_spec.rb:90 # Halite::Gem when loading test2 license_header
rspec ./spec/gem_spec.rb:91 # Halite::Gem when loading test2 each_library_file
rspec ./spec/gem_spec.rb:101 # Halite::Gem when loading test2 #each_file with no prefixes returns all files
rspec ./spec/gem_spec.rb:116 # Halite::Gem when loading test2 #each_file with a prefix of chef returns only files in that folder
rspec ./spec/gem_spec.rb:87 # Halite::Gem when loading test2 cookbook_name
rspec ./spec/gem_spec.rb:97 # Halite::Gem when loading test2 is_halite_cookbook?
rspec ./spec/gem_spec.rb:89 # Halite::Gem when loading test2 cookbook_version
rspec ./spec/gem_spec.rb:88 # Halite::Gem when loading test2 version
rspec ./spec/gem_spec.rb:96 # Halite::Gem when loading test2 cookbook_dependencies
rspec ./spec/gem_spec.rb:86 # Halite::Gem when loading test2 name
rspec ./spec/gem_spec.rb:131 # Halite::Gem when loading test3 is_halite_cookbook?
rspec ./spec/gem_spec.rb:129 # Halite::Gem when loading test3 cookbook_name
rspec ./spec/gem_spec.rb:130 # Halite::Gem when loading test3 cookbook_dependencies
rspec ./spec/gem_spec.rb:64 # Halite::Gem when loading test1 #each_file with no prefixes returns all files
rspec ./spec/gem_spec.rb:75 # Halite::Gem when loading test1 #each_file with a prefix that overlaps a filename returns only files in that folder
rspec ./spec/gem_spec.rb:55 # Halite::Gem when loading test1 each_library_file
rspec ./spec/gem_spec.rb:51 # Halite::Gem when loading test1 cookbook_name
rspec ./spec/gem_spec.rb:50 # Halite::Gem when loading test1 name
rspec ./spec/gem_spec.rb:60 # Halite::Gem when loading test1 is_halite_cookbook?
rspec ./spec/gem_spec.rb:53 # Halite::Gem when loading test1 cookbook_version
rspec ./spec/gem_spec.rb:59 # Halite::Gem when loading test1 cookbook_dependencies
rspec ./spec/gem_spec.rb:52 # Halite::Gem when loading test1 version
rspec ./spec/gem_spec.rb:54 # Halite::Gem when loading test1 license_header
rspec ./spec/gem_spec.rb:138 # Halite::Gem when loading test4 cookbook_version
rspec ./spec/gem_spec.rb:136 # Halite::Gem when loading test4 cookbook_name
rspec ./spec/gem_spec.rb:137 # Halite::Gem when loading test4 version
rspec ./spec/integration_spec.rb[1:1:1:3:1] # integration tests with test1 gem it should behave like an integration test run rake chef:build should match fixture cookbooks/test1
rspec ./spec/integration_spec.rb[1:1:1:1:1] # integration tests with test1 gem it should behave like an integration test Halite.convert
rspec ./spec/integration_spec.rb[1:3:1:1:1] # integration tests with test3 gem it should behave like an integration test Halite.convert
rspec ./spec/integration_spec.rb[1:3:1:3:1] # integration tests with test3 gem it should behave like an integration test run rake chef:build should match fixture cookbooks/test3
rspec ./spec/integration_spec.rb[1:2:1:1:1] # integration tests with test2 gem it should behave like an integration test Halite.convert
rspec ./spec/integration_spec.rb[1:2:1:3:1] # integration tests with test2 gem it should behave like an integration test run rake chef:build should match fixture cookbooks/test2
Randomized with seed 16966
Coverage report generated for RSpec to /usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/bundler/gems/halite-03c45888c5a9/coverage. 319 / 352 LOC (90.63%) covered.
/usr/local/var/rbenv/versions/2.2.2/bin/ruby -I/usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.2/lib:/usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rspec-support-3.3.0/lib /usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.2/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb --color --format Fuubar --tag ~slow failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment