See <https://hudson.apache.org/hudson/job/apache-deltacloud-core/72/changes>

Changes:

[mfojtik] Added with_config method to client to allow switching 
drivers/providers using Ruby block syntax

------------------------------------------
[...truncated 2738 lines...]
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:706:in
 `instance_eval'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:706:in
 `invoke'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:706:in
 `catch'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:706:in
 `invoke'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:530:in
 `call!'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:516:in
 `call'
    
./tests/drivers/mock/../../../tests/../lib/sinatra/rack_driver_select.rb:20:in 
`call'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/rack-accept-0.4.3/lib/rack/accept/context.rb:22:in
 `call'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/rack-1.2.1/lib/rack/methodoverride.rb:24:in
 `call'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:1142:in
 `call'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:1168:in
 `synchronize'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:1142:in
 `call'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/rack-test-0.5.6/lib/rack/mock_session.rb:30:in
 `request'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/rack-test-0.5.6/lib/rack/test.rb:209:in
 `process_request'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/rack-test-0.5.6/lib/rack/test.rb:57:in
 `get'
    ./tests/drivers/mock/../../../tests/common.rb:67:in `do_request'
    
./tests/drivers/mock/../../../tests/../tests/drivers/mock/../../../tests/drivers/mock/api_test.rb:25:in
 `test_it_responses_to_html'

  2) Error:
test_it_responses_to_html(DeltacloudUnitTest::HardwareProfilesTest):
TypeError: can't dup NilClass
    
./tests/drivers/mock/../../../tests/../lib/deltacloud/helpers/application_helper.rb:161:in
 `dup'
    
./tests/drivers/mock/../../../tests/../lib/deltacloud/helpers/application_helper.rb:161:in
 `link_to_documentation'
    
./tests/drivers/mock/../../../tests/../lib/deltacloud/helpers/application_helper.rb:37:in
 `bread_crumb'
    ./tests/drivers/mock/../../../tests/../views/layout.html.haml:17:in 
`__tilt_4ace8887c30b875a8bef28fcda039963'
    ./tests/drivers/mock/../../../tests/../views/layout.html.haml:-8:in 
`instance_eval'
    ./tests/drivers/mock/../../../tests/../views/layout.html.haml:-8:in 
`__tilt_4ace8887c30b875a8bef28fcda039963'
    /home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/tilt-1.1/lib/tilt.rb:189:in 
`send'
    /home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/tilt-1.1/lib/tilt.rb:189:in 
`evaluate'
    /home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/tilt-1.1/lib/tilt.rb:495:in 
`evaluate'
    /home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/tilt-1.1/lib/tilt.rb:128:in 
`render'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:452:in
 `render_without_format'
    ./tests/drivers/mock/../../../tests/../lib/sinatra/respond_to.rb:129:in 
`render'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:459:in
 `render_without_format'
    ./tests/drivers/mock/../../../tests/../lib/sinatra/respond_to.rb:129:in 
`render'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:370:in
 `haml'
    
./tests/drivers/mock/../../../tests/../lib/deltacloud/helpers/application_helper.rb:80:in
 `filter_all'
    ./tests/drivers/mock/../../../tests/../lib/sinatra/respond_to.rb:242:in 
`call'
    ./tests/drivers/mock/../../../tests/../lib/sinatra/respond_to.rb:242:in 
`respond_to'
    
./tests/drivers/mock/../../../tests/../lib/deltacloud/helpers/application_helper.rb:79:in
 `filter_all'
    ./tests/drivers/mock/../../../tests/../server.rb:147
    ./tests/drivers/mock/../../../tests/../lib/sinatra/rabbit.rb:65:in 
`instance_eval'
    ./tests/drivers/mock/../../../tests/../lib/sinatra/rabbit.rb:65:in `GET 
/api/images'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:1032:in
 `call'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:1032:in
 `compile!'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:620:in
 `instance_eval'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:620:in
 `route_eval'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:604:in
 `route!'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:656:in
 `process_route'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:653:in
 `catch'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:653:in
 `process_route'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:603:in
 `route!'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:602:in
 `each'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:602:in
 `route!'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:741:in
 `dispatch!'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:530:in
 `call!'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:706:in
 `instance_eval'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:706:in
 `invoke'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:706:in
 `catch'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:706:in
 `invoke'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:530:in
 `call!'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:516:in
 `call'
    
./tests/drivers/mock/../../../tests/../lib/sinatra/rack_driver_select.rb:20:in 
`call'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/rack-accept-0.4.3/lib/rack/accept/context.rb:22:in
 `call'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/rack-1.2.1/lib/rack/methodoverride.rb:24:in
 `call'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:1142:in
 `call'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:1168:in
 `synchronize'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:1142:in
 `call'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/rack-test-0.5.6/lib/rack/mock_session.rb:30:in
 `request'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/rack-test-0.5.6/lib/rack/test.rb:209:in
 `process_request'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/rack-test-0.5.6/lib/rack/test.rb:57:in
 `get'
    ./tests/drivers/mock/../../../tests/common.rb:67:in `do_request'
    
./tests/drivers/mock/../../../tests/../tests/drivers/mock/../../../tests/drivers/mock/../../../tests/drivers/mock/../../../tests/drivers/mock/images_test.rb:93:in
 `test_it_responses_to_html'

  3) Error:
test_it_returns_error_on_wrong_name(DeltacloudUnitTest::HardwareProfilesTest):
TypeError: can't dup NilClass
    
./tests/drivers/mock/../../../tests/../lib/deltacloud/helpers/application_helper.rb:161:in
 `dup'
    
./tests/drivers/mock/../../../tests/../lib/deltacloud/helpers/application_helper.rb:161:in
 `link_to_documentation'
    
./tests/drivers/mock/../../../tests/../lib/deltacloud/helpers/application_helper.rb:37:in
 `bread_crumb'
    ./tests/drivers/mock/../../../tests/../views/error.html.haml:17:in 
`__tilt_c06ed6380a5862e77d3121cb0c81e319'
    ./tests/drivers/mock/../../../tests/../views/error.html.haml:-8:in 
`instance_eval'
    ./tests/drivers/mock/../../../tests/../views/error.html.haml:-8:in 
`__tilt_c06ed6380a5862e77d3121cb0c81e319'
    /home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/tilt-1.1/lib/tilt.rb:192:in 
`send'
    /home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/tilt-1.1/lib/tilt.rb:192:in 
`evaluate'
    /home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/tilt-1.1/lib/tilt.rb:495:in 
`evaluate'
    /home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/tilt-1.1/lib/tilt.rb:128:in 
`render'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:452:in
 `render_without_format'
    ./tests/drivers/mock/../../../tests/../lib/sinatra/respond_to.rb:129:in 
`render'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:459:in
 `render_without_format'
    ./tests/drivers/mock/../../../tests/../lib/sinatra/respond_to.rb:129:in 
`render'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:370:in
 `haml'
    
./tests/drivers/mock/../../../tests/../lib/deltacloud/helpers/application_helper.rb:105:in
 `report_error'
    ./tests/drivers/mock/../../../tests/../lib/sinatra/respond_to.rb:242:in 
`call'
    ./tests/drivers/mock/../../../tests/../lib/sinatra/respond_to.rb:242:in 
`respond_to'
    
./tests/drivers/mock/../../../tests/../lib/deltacloud/helpers/application_helper.rb:103:in
 `report_error'
    ./tests/drivers/mock/../../../tests/../server.rb:397
    ./tests/drivers/mock/../../../tests/../lib/sinatra/rabbit.rb:65:in 
`instance_eval'
    ./tests/drivers/mock/../../../tests/../lib/sinatra/rabbit.rb:65:in `GET 
/api/hardware_profiles/:id'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:1032:in
 `call'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:1032:in
 `compile!'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:620:in
 `instance_eval'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:620:in
 `route_eval'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:604:in
 `route!'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:656:in
 `process_route'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:653:in
 `catch'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:653:in
 `process_route'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:603:in
 `route!'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:602:in
 `each'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:602:in
 `route!'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:741:in
 `dispatch!'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:530:in
 `call!'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:706:in
 `instance_eval'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:706:in
 `invoke'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:706:in
 `catch'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:706:in
 `invoke'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:530:in
 `call!'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:516:in
 `call'
    
./tests/drivers/mock/../../../tests/../lib/sinatra/rack_driver_select.rb:20:in 
`call'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/rack-accept-0.4.3/lib/rack/accept/context.rb:22:in
 `call'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/rack-1.2.1/lib/rack/methodoverride.rb:24:in
 `call'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:1142:in
 `call'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:1168:in
 `synchronize'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:1142:in
 `call'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/rack-test-0.5.6/lib/rack/mock_session.rb:30:in
 `request'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/rack-test-0.5.6/lib/rack/test.rb:209:in
 `process_request'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/rack-test-0.5.6/lib/rack/test.rb:57:in
 `get'
    ./tests/drivers/mock/../../../tests/common.rb:67:in `do_request'
    ./tests/drivers/mock/hardware_profiles_test.rb:83:in 
`test_it_returns_error_on_wrong_name'

  4) Error:
test_it_responses_to_html(DeltacloudUnitTest::InstancesTest):
TypeError: can't dup NilClass
    
./tests/drivers/mock/../../../tests/../lib/deltacloud/helpers/application_helper.rb:161:in
 `dup'
    
./tests/drivers/mock/../../../tests/../lib/deltacloud/helpers/application_helper.rb:161:in
 `link_to_documentation'
    
./tests/drivers/mock/../../../tests/../lib/deltacloud/helpers/application_helper.rb:37:in
 `bread_crumb'
    ./tests/drivers/mock/../../../tests/../views/layout.html.haml:17:in 
`__tilt_4ace8887c30b875a8bef28fcda039963'
    ./tests/drivers/mock/../../../tests/../views/layout.html.haml:-8:in 
`instance_eval'
    ./tests/drivers/mock/../../../tests/../views/layout.html.haml:-8:in 
`__tilt_4ace8887c30b875a8bef28fcda039963'
    /home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/tilt-1.1/lib/tilt.rb:189:in 
`send'
    /home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/tilt-1.1/lib/tilt.rb:189:in 
`evaluate'
    /home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/tilt-1.1/lib/tilt.rb:495:in 
`evaluate'
    /home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/tilt-1.1/lib/tilt.rb:128:in 
`render'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:452:in
 `render_without_format'
    ./tests/drivers/mock/../../../tests/../lib/sinatra/respond_to.rb:129:in 
`render'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:459:in
 `render_without_format'
    ./tests/drivers/mock/../../../tests/../lib/sinatra/respond_to.rb:129:in 
`render'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:370:in
 `haml'
    
./tests/drivers/mock/../../../tests/../lib/deltacloud/helpers/application_helper.rb:80:in
 `filter_all'
    ./tests/drivers/mock/../../../tests/../lib/sinatra/respond_to.rb:242:in 
`call'
    ./tests/drivers/mock/../../../tests/../lib/sinatra/respond_to.rb:242:in 
`respond_to'
    
./tests/drivers/mock/../../../tests/../lib/deltacloud/helpers/application_helper.rb:79:in
 `filter_all'
    ./tests/drivers/mock/../../../tests/../server.rb:298
    ./tests/drivers/mock/../../../tests/../lib/sinatra/rabbit.rb:65:in 
`instance_eval'
    ./tests/drivers/mock/../../../tests/../lib/sinatra/rabbit.rb:65:in `GET 
/api/instances'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:1032:in
 `call'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:1032:in
 `compile!'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:620:in
 `instance_eval'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:620:in
 `route_eval'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:604:in
 `route!'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:656:in
 `process_route'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:653:in
 `catch'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:653:in
 `process_route'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:603:in
 `route!'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:602:in
 `each'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:602:in
 `route!'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:741:in
 `dispatch!'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:530:in
 `call!'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:706:in
 `instance_eval'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:706:in
 `invoke'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:706:in
 `catch'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:706:in
 `invoke'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:530:in
 `call!'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:516:in
 `call'
    
./tests/drivers/mock/../../../tests/../lib/sinatra/rack_driver_select.rb:20:in 
`call'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/rack-accept-0.4.3/lib/rack/accept/context.rb:22:in
 `call'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/rack-1.2.1/lib/rack/methodoverride.rb:24:in
 `call'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:1142:in
 `call'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:1168:in
 `synchronize'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:1142:in
 `call'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/rack-test-0.5.6/lib/rack/mock_session.rb:30:in
 `request'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/rack-test-0.5.6/lib/rack/test.rb:209:in
 `process_request'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/rack-test-0.5.6/lib/rack/test.rb:57:in
 `get'
    ./tests/drivers/mock/../../../tests/common.rb:67:in `do_request'
    
./tests/drivers/mock/../../../tests/../tests/drivers/mock/instances_test.rb:61:in
 `test_it_responses_to_html'

  5) Error:
test_it_responses_to_html(DeltacloudUnitTest::RealmsTest):
TypeError: can't dup NilClass
    
./tests/drivers/mock/../../../tests/../lib/deltacloud/helpers/application_helper.rb:161:in
 `dup'
    
./tests/drivers/mock/../../../tests/../lib/deltacloud/helpers/application_helper.rb:161:in
 `link_to_documentation'
    
./tests/drivers/mock/../../../tests/../lib/deltacloud/helpers/application_helper.rb:37:in
 `bread_crumb'
    ./tests/drivers/mock/../../../tests/../views/layout.html.haml:17:in 
`__tilt_4ace8887c30b875a8bef28fcda039963'
    ./tests/drivers/mock/../../../tests/../views/layout.html.haml:-8:in 
`instance_eval'
    ./tests/drivers/mock/../../../tests/../views/layout.html.haml:-8:in 
`__tilt_4ace8887c30b875a8bef28fcda039963'
    /home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/tilt-1.1/lib/tilt.rb:189:in 
`send'
    /home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/tilt-1.1/lib/tilt.rb:189:in 
`evaluate'
    /home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/tilt-1.1/lib/tilt.rb:495:in 
`evaluate'
    /home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/tilt-1.1/lib/tilt.rb:128:in 
`render'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:452:in
 `render_without_format'
    ./tests/drivers/mock/../../../tests/../lib/sinatra/respond_to.rb:129:in 
`render'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:459:in
 `render_without_format'
    ./tests/drivers/mock/../../../tests/../lib/sinatra/respond_to.rb:129:in 
`render'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:370:in
 `haml'
    ./tests/drivers/mock/../../../tests/../server.rb:177
    ./tests/drivers/mock/../../../tests/../lib/sinatra/respond_to.rb:242:in 
`call'
    ./tests/drivers/mock/../../../tests/../lib/sinatra/respond_to.rb:242:in 
`respond_to'
    ./tests/drivers/mock/../../../tests/../server.rb:165
    ./tests/drivers/mock/../../../tests/../lib/sinatra/rabbit.rb:65:in 
`instance_eval'
    ./tests/drivers/mock/../../../tests/../lib/sinatra/rabbit.rb:65:in `GET 
/api/instance_states'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:1032:in
 `call'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:1032:in
 `compile!'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:620:in
 `instance_eval'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:620:in
 `route_eval'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:604:in
 `route!'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:656:in
 `process_route'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:653:in
 `catch'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:653:in
 `process_route'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:603:in
 `route!'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:602:in
 `each'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:602:in
 `route!'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:741:in
 `dispatch!'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:530:in
 `call!'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:706:in
 `instance_eval'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:706:in
 `invoke'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:706:in
 `catch'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:706:in
 `invoke'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:530:in
 `call!'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:516:in
 `call'
    
./tests/drivers/mock/../../../tests/../lib/sinatra/rack_driver_select.rb:20:in 
`call'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/rack-accept-0.4.3/lib/rack/accept/context.rb:22:in
 `call'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/rack-1.2.1/lib/rack/methodoverride.rb:24:in
 `call'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:1142:in
 `call'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:1168:in
 `synchronize'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/sinatra-1.1.0/lib/sinatra/base.rb:1142:in
 `call'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/rack-test-0.5.6/lib/rack/mock_session.rb:30:in
 `request'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/rack-test-0.5.6/lib/rack/test.rb:209:in
 `process_request'
    
/home/hudson/.rvm/gems/ruby-1.8.7-p302/gems/rack-test-0.5.6/lib/rack/test.rb:57:in
 `get'
    ./tests/drivers/mock/../../../tests/common.rb:67:in `do_request'
    
./tests/drivers/mock/../../../tests/../tests/drivers/mock/../../../tests/drivers/mock/../../../tests/drivers/mock/../../../tests/drivers/mock/../../../tests/drivers/mock/../../../tests/drivers/mock/instance_states_test.rb:40:in
 `test_it_responses_to_html'

55 tests, 0 assertions, 0 failures, 5 errors
rake aborted!
Command failed with status (1): [/home/hudson/.rvm/rubies/ruby-1.8.7-p302/b...]

(See full trace by running task with --trace)
+ rm -rf /home/hudson/.rvm/tmp/16510
Archiving artifacts
Recording test results

Reply via email to