Skip to content

Instantly share code, notes, and snippets.

@rberger
Created May 24, 2012 06:27
Show Gist options
  • Save rberger/2779803 to your computer and use it in GitHub Desktop.
Save rberger/2779803 to your computer and use it in GitHub Desktop.
Failed bundle exec rake spec in ironfan repo
$ bundle exec rake spec
/Users/rberger/.rvm/rubies/ruby-1.9.3-p125/bin/ruby -S rspec spec/ironfan/cluster_spec.rb spec/ironfan/facet_spec.rb spec/ironfan/server_slice_spec.rb spec/ironfan/server_spec.rb spec/ironfan_spec.rb
No DRb server is running. Running in local process instead ...
Ironfan::Cluster
discover!
enumerates chef nodes (FAILED - 1)
Ironfan::Facet
slicing
has servers
servers have bogosity if out of range (FAILED - 2)
returns all on nil or "", but [] means none (FAILED - 3)
slice returns all by default
with an array returns specified indexes (bogus or not) in sorted order
with an array does not create new dummy servers
with a string, converts to intervals
Ironfan::ServerSlice
attributes
security groups (FAILED - 4)
Ironfan::Server
volumes
#composite_volumes
<Ironfan::Server {"name"=>"hi-there-0" chef: fog: false}>
assembles cluster, facet and server volumes (FAILED - 5)
WARNING: Duplicate server [<Ironfan::Server {"name"=>"hi-there-0" chef: fog: false}>, :there, 0] vs <Ironfan::Server {"name"=>"hi-there-0" chef: fog: false}>
<Ironfan::Server {"name"=>"hi-there-0" chef: fog: false}>
composites server attributes onto a volume defined in the facet (FAILED - 6)
WARNING: Duplicate server [<Ironfan::Server {"name"=>"hi-there-0" chef: fog: false}>, :there, 0] vs <Ironfan::Server {"name"=>"hi-there-0" chef: fog: false}>
<Ironfan::Server {"name"=>"hi-there-0" chef: fog: false}>
makes block_device_mapping for non-ephemeral storage (FAILED - 7)
WARNING: Duplicate server [<Ironfan::Server {"name"=>"hi-there-0" chef: fog: false}>, :there, 0] vs <Ironfan::Server {"name"=>"hi-there-0" chef: fog: false}>
<Ironfan::Server {"name"=>"hi-there-0" chef: fog: false}>
skips block_device_mapping for non-ephemeral storage if volume id is present (FAILED - 8)
launch
#fog_launch_description
WARNING: Duplicate server [<Ironfan::Server {"name"=>"hi-there-0" chef: fog: false}>, :there, 0] vs <Ironfan::Server {"name"=>"hi-there-0" chef: fog: false}>
<Ironfan::Server {"name"=>"hi-there-0" chef: fog: false}>
has right attributes (FAILED - 9)
WARNING: Duplicate server [<Ironfan::Server {"name"=>"hi-there-0" chef: fog: false}>, :there, 0] vs <Ironfan::Server {"name"=>"hi-there-0" chef: fog: false}>
<Ironfan::Server {"name"=>"hi-there-0" chef: fog: false}>
has right user_data (FAILED - 10)
ironfan
successfuly runs example
webserver_demo:
loads successfuly (FAILED - 11)
cluster is right (FAILED - 12)
defaults cluster (FAILED - 13)
cluster cloud is right (FAILED - 14)
facet cloud is right (FAILED - 15)
webnode facets are right (FAILED - 16)
dbnode facets are right (FAILED - 17)
esnode facets are right (FAILED - 18)
cluster security groups are right (FAILED - 19)
facet webnode security groups are right (FAILED - 20)
facet dbnode security groups are right (FAILED - 21)
facet esnode security groups are right (FAILED - 22)
has servers (FAILED - 23)
resolving servers gets right
attributes (FAILED - 24)
security groups (FAILED - 25)
run list (FAILED - 26)
user_data (FAILED - 27)
cloud settings (FAILED - 28)
Failures:
1) Ironfan::Cluster discover! enumerates chef nodes
Failure/Error: let(:cluster){ get_example_cluster(:monkeyballs) }
LoadError:
cannot load such file -- /Users/rberger/work/Ironfan/ironfan/clusters/monkeyballs.rb
# ./spec/ironfan/cluster_spec.rb:7:in `block (3 levels) in <top (required)>'
# ./spec/ironfan/cluster_spec.rb:10:in `block (3 levels) in <top (required)>'
2) Ironfan::Facet slicing servers have bogosity if out of range
Failure/Error: facet.server(69).should be_bogus
expected bogus? to return true, got false
# ./spec/ironfan/facet_spec.rb:24:in `block (3 levels) in <top (required)>'
3) Ironfan::Facet slicing returns all on nil or "", but [] means none
Failure/Error: facet.slice([] ).map(&:facet_index).should == []
expected: []
got: [0, 1, 2, 3, 4, 69] (using ==)
# ./spec/ironfan/facet_spec.rb:34:in `block (3 levels) in <top (required)>'
4) Ironfan::ServerSlice attributes security groups
Failure/Error: @slice = Ironfan.slice('webserver_demo')
NoMethodError:
undefined method `slice' for Ironfan:Module
# ./spec/ironfan/server_slice_spec.rb:6:in `block (2 levels) in <top (required)>'
5) Ironfan::Server volumes#composite_volumes assembles cluster, facet and server volumes
Failure/Error: puts foo.chef_node
ArgumentError:
Attribute to_ary is not defined!
# ./spec/ironfan/server_spec.rb:25:in `puts'
# ./spec/ironfan/server_spec.rb:25:in `puts'
# ./spec/ironfan/server_spec.rb:25:in `block (2 levels) in <top (required)>'
6) Ironfan::Server volumes#composite_volumes composites server attributes onto a volume defined in the facet
Failure/Error: puts foo.chef_node
ArgumentError:
Attribute to_ary is not defined!
# ./spec/ironfan/server_spec.rb:25:in `puts'
# ./spec/ironfan/server_spec.rb:25:in `puts'
# ./spec/ironfan/server_spec.rb:25:in `block (2 levels) in <top (required)>'
7) Ironfan::Server volumes#composite_volumes makes block_device_mapping for non-ephemeral storage
Failure/Error: puts foo.chef_node
ArgumentError:
Attribute to_ary is not defined!
# ./spec/ironfan/server_spec.rb:25:in `puts'
# ./spec/ironfan/server_spec.rb:25:in `puts'
# ./spec/ironfan/server_spec.rb:25:in `block (2 levels) in <top (required)>'
8) Ironfan::Server volumes#composite_volumes skips block_device_mapping for non-ephemeral storage if volume id is present
Failure/Error: puts foo.chef_node
ArgumentError:
Attribute to_ary is not defined!
# ./spec/ironfan/server_spec.rb:25:in `puts'
# ./spec/ironfan/server_spec.rb:25:in `puts'
# ./spec/ironfan/server_spec.rb:25:in `block (2 levels) in <top (required)>'
9) Ironfan::Server launch#fog_launch_description has right attributes
Failure/Error: puts foo.chef_node
ArgumentError:
Attribute to_ary is not defined!
# ./spec/ironfan/server_spec.rb:25:in `puts'
# ./spec/ironfan/server_spec.rb:25:in `puts'
# ./spec/ironfan/server_spec.rb:25:in `block (2 levels) in <top (required)>'
10) Ironfan::Server launch#fog_launch_description has right user_data
Failure/Error: puts foo.chef_node
ArgumentError:
Attribute to_ary is not defined!
# ./spec/ironfan/server_spec.rb:25:in `puts'
# ./spec/ironfan/server_spec.rb:25:in `puts'
# ./spec/ironfan/server_spec.rb:25:in `block (2 levels) in <top (required)>'
11) ironfan successfuly runs example webserver_demo: loads successfuly
Failure/Error: @cluster = get_example_cluster(:webserver_demo)
LoadError:
cannot load such file -- /Users/rberger/work/Ironfan/ironfan/clusters/webserver_demo.rb
# ./spec/ironfan_spec.rb:10:in `block (4 levels) in <top (required)>'
12) ironfan successfuly runs example webserver_demo: cluster is right
Failure/Error: @cluster = get_example_cluster(:webserver_demo)
LoadError:
cannot load such file -- /Users/rberger/work/Ironfan/ironfan/clusters/webserver_demo.rb
# ./spec/ironfan_spec.rb:10:in `block (4 levels) in <top (required)>'
13) ironfan successfuly runs example webserver_demo: defaults cluster
Failure/Error: @cluster = get_example_cluster(:webserver_demo)
LoadError:
cannot load such file -- /Users/rberger/work/Ironfan/ironfan/clusters/webserver_demo.rb
# ./spec/ironfan_spec.rb:10:in `block (4 levels) in <top (required)>'
14) ironfan successfuly runs example webserver_demo: cluster cloud is right
Failure/Error: @cluster = get_example_cluster(:webserver_demo)
LoadError:
cannot load such file -- /Users/rberger/work/Ironfan/ironfan/clusters/webserver_demo.rb
# ./spec/ironfan_spec.rb:10:in `block (4 levels) in <top (required)>'
15) ironfan successfuly runs example webserver_demo: facet cloud is right
Failure/Error: @cluster = get_example_cluster(:webserver_demo)
LoadError:
cannot load such file -- /Users/rberger/work/Ironfan/ironfan/clusters/webserver_demo.rb
# ./spec/ironfan_spec.rb:10:in `block (4 levels) in <top (required)>'
16) ironfan successfuly runs example webserver_demo: webnode facets are right
Failure/Error: @cluster = get_example_cluster(:webserver_demo)
LoadError:
cannot load such file -- /Users/rberger/work/Ironfan/ironfan/clusters/webserver_demo.rb
# ./spec/ironfan_spec.rb:10:in `block (4 levels) in <top (required)>'
17) ironfan successfuly runs example webserver_demo: dbnode facets are right
Failure/Error: @cluster = get_example_cluster(:webserver_demo)
LoadError:
cannot load such file -- /Users/rberger/work/Ironfan/ironfan/clusters/webserver_demo.rb
# ./spec/ironfan_spec.rb:10:in `block (4 levels) in <top (required)>'
18) ironfan successfuly runs example webserver_demo: esnode facets are right
Failure/Error: @cluster = get_example_cluster(:webserver_demo)
LoadError:
cannot load such file -- /Users/rberger/work/Ironfan/ironfan/clusters/webserver_demo.rb
# ./spec/ironfan_spec.rb:10:in `block (4 levels) in <top (required)>'
19) ironfan successfuly runs example webserver_demo: cluster security groups are right
Failure/Error: @cluster = get_example_cluster(:webserver_demo)
LoadError:
cannot load such file -- /Users/rberger/work/Ironfan/ironfan/clusters/webserver_demo.rb
# ./spec/ironfan_spec.rb:10:in `block (4 levels) in <top (required)>'
20) ironfan successfuly runs example webserver_demo: facet webnode security groups are right
Failure/Error: @cluster = get_example_cluster(:webserver_demo)
LoadError:
cannot load such file -- /Users/rberger/work/Ironfan/ironfan/clusters/webserver_demo.rb
# ./spec/ironfan_spec.rb:10:in `block (4 levels) in <top (required)>'
21) ironfan successfuly runs example webserver_demo: facet dbnode security groups are right
Failure/Error: @cluster = get_example_cluster(:webserver_demo)
LoadError:
cannot load such file -- /Users/rberger/work/Ironfan/ironfan/clusters/webserver_demo.rb
# ./spec/ironfan_spec.rb:10:in `block (4 levels) in <top (required)>'
22) ironfan successfuly runs example webserver_demo: facet esnode security groups are right
Failure/Error: @cluster = get_example_cluster(:webserver_demo)
LoadError:
cannot load such file -- /Users/rberger/work/Ironfan/ironfan/clusters/webserver_demo.rb
# ./spec/ironfan_spec.rb:10:in `block (4 levels) in <top (required)>'
23) ironfan successfuly runs example webserver_demo: has servers
Failure/Error: @cluster = get_example_cluster(:webserver_demo)
LoadError:
cannot load such file -- /Users/rberger/work/Ironfan/ironfan/clusters/webserver_demo.rb
# ./spec/ironfan_spec.rb:10:in `block (4 levels) in <top (required)>'
24) ironfan successfuly runs example webserver_demo: resolving servers gets right attributes
Failure/Error: @cluster = get_example_cluster(:webserver_demo)
LoadError:
cannot load such file -- /Users/rberger/work/Ironfan/ironfan/clusters/webserver_demo.rb
# ./spec/ironfan_spec.rb:10:in `block (4 levels) in <top (required)>'
25) ironfan successfuly runs example webserver_demo: resolving servers gets right security groups
Failure/Error: @cluster = get_example_cluster(:webserver_demo)
LoadError:
cannot load such file -- /Users/rberger/work/Ironfan/ironfan/clusters/webserver_demo.rb
# ./spec/ironfan_spec.rb:10:in `block (4 levels) in <top (required)>'
26) ironfan successfuly runs example webserver_demo: resolving servers gets right run list
Failure/Error: @cluster = get_example_cluster(:webserver_demo)
LoadError:
cannot load such file -- /Users/rberger/work/Ironfan/ironfan/clusters/webserver_demo.rb
# ./spec/ironfan_spec.rb:10:in `block (4 levels) in <top (required)>'
27) ironfan successfuly runs example webserver_demo: resolving servers gets right user_data
Failure/Error: @cluster = get_example_cluster(:webserver_demo)
LoadError:
cannot load such file -- /Users/rberger/work/Ironfan/ironfan/clusters/webserver_demo.rb
# ./spec/ironfan_spec.rb:10:in `block (4 levels) in <top (required)>'
28) ironfan successfuly runs example webserver_demo: resolving servers gets right cloud settings
Failure/Error: @cluster = get_example_cluster(:webserver_demo)
LoadError:
cannot load such file -- /Users/rberger/work/Ironfan/ironfan/clusters/webserver_demo.rb
# ./spec/ironfan_spec.rb:10:in `block (4 levels) in <top (required)>'
Finished in 0.04731 seconds
33 examples, 28 failures
Failed examples:
rspec ./spec/ironfan/cluster_spec.rb:9 # Ironfan::Cluster discover! enumerates chef nodes
rspec ./spec/ironfan/facet_spec.rb:23 # Ironfan::Facet slicing servers have bogosity if out of range
rspec ./spec/ironfan/facet_spec.rb:30 # Ironfan::Facet slicing returns all on nil or "", but [] means none
rspec ./spec/ironfan/server_slice_spec.rb:10 # Ironfan::ServerSlice attributes security groups
rspec ./spec/ironfan/server_spec.rb:34 # Ironfan::Server volumes#composite_volumes assembles cluster, facet and server volumes
rspec ./spec/ironfan/server_spec.rb:41 # Ironfan::Server volumes#composite_volumes composites server attributes onto a volume defined in the facet
rspec ./spec/ironfan/server_spec.rb:57 # Ironfan::Server volumes#composite_volumes makes block_device_mapping for non-ephemeral storage
rspec ./spec/ironfan/server_spec.rb:67 # Ironfan::Server volumes#composite_volumes skips block_device_mapping for non-ephemeral storage if volume id is present
rspec ./spec/ironfan/server_spec.rb:77 # Ironfan::Server launch#fog_launch_description has right attributes
rspec ./spec/ironfan/server_spec.rb:99 # Ironfan::Server launch#fog_launch_description has right user_data
rspec ./spec/ironfan_spec.rb:14 # ironfan successfuly runs example webserver_demo: loads successfuly
rspec ./spec/ironfan_spec.rb:19 # ironfan successfuly runs example webserver_demo: cluster is right
rspec ./spec/ironfan_spec.rb:28 # ironfan successfuly runs example webserver_demo: defaults cluster
rspec ./spec/ironfan_spec.rb:44 # ironfan successfuly runs example webserver_demo: cluster cloud is right
rspec ./spec/ironfan_spec.rb:60 # ironfan successfuly runs example webserver_demo: facet cloud is right
rspec ./spec/ironfan_spec.rb:68 # ironfan successfuly runs example webserver_demo: webnode facets are right
rspec ./spec/ironfan_spec.rb:80 # ironfan successfuly runs example webserver_demo: dbnode facets are right
rspec ./spec/ironfan_spec.rb:93 # ironfan successfuly runs example webserver_demo: esnode facets are right
rspec ./spec/ironfan_spec.rb:105 # ironfan successfuly runs example webserver_demo: cluster security groups are right
rspec ./spec/ironfan_spec.rb:110 # ironfan successfuly runs example webserver_demo: facet webnode security groups are right
rspec ./spec/ironfan_spec.rb:116 # ironfan successfuly runs example webserver_demo: facet dbnode security groups are right
rspec ./spec/ironfan_spec.rb:121 # ironfan successfuly runs example webserver_demo: facet esnode security groups are right
rspec ./spec/ironfan_spec.rb:129 # ironfan successfuly runs example webserver_demo: has servers
rspec ./spec/ironfan_spec.rb:144 # ironfan successfuly runs example webserver_demo: resolving servers gets right attributes
rspec ./spec/ironfan_spec.rb:158 # ironfan successfuly runs example webserver_demo: resolving servers gets right security groups
rspec ./spec/ironfan_spec.rb:161 # ironfan successfuly runs example webserver_demo: resolving servers gets right run list
rspec ./spec/ironfan_spec.rb:165 # ironfan successfuly runs example webserver_demo: resolving servers gets right user_data
rspec ./spec/ironfan_spec.rb:173 # ironfan successfuly runs example webserver_demo: resolving servers gets right cloud settings
rake aborted!
/Users/rberger/.rvm/rubies/ruby-1.9.3-p125/bin/ruby -S rspec spec/ironfan/cluster_spec.rb spec/ironfan/facet_spec.rb spec/ironfan/server_slice_spec.rb spec/ironfan/server_spec.rb spec/ironfan_spec.rb failed
Tasks: TOP => spec
(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