Created
May 24, 2012 08:46
-
-
Save takekawa/2780269 to your computer and use it in GitHub Desktop.
MCF-22 result
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
~/work/bob (feature/unpause_an_instance) $ run/tag @jira-MCF-22 | |
Verifying requirements tagged with @jira-MCF-22 | |
Start at 2012-05-24-08:40:13 GMT | |
Disabling profiles... | |
Driver: selenium | |
Verifying requirements against http://mc.cb-1-1.morphcloud.net | |
Your Unique.alpha value is TAKEKAWAGUAVOTQSHSRXXEAKMBOLSFKWBNQIGIPMOGIRWWUEBY | |
@jira-MCF-22 | |
Feature: Unpause a Paused Instance | |
As a user, I want to unpause a paused instance so that I can use it again after | |
I'm done doing any maintenance work on it. | |
From the OpenStack docs (http://goo.gl/NtOfW): | |
Pausing an instance freezes the instance but keeps it in memory (RAM). For | |
more information on which hypervisors support pausing/unpausing an instance, | |
see this page: http://goo.gl/3IRX3 | |
Background: # features/feature_files/instances/unpause_an_instance.feature:11 | |
* A project exists in the system # features/step_definitions/projects_steps.rb:5 | |
* The project has 1 paused instance # features/step_definitions/projects_steps.rb:34 | |
@permissions | |
Scenario Outline: Check User Permissions # features/feature_files/instances/unpause_an_instance.feature:17 | |
Given I have a role of <Role> in the project # features/step_definitions/projects_steps.rb:56 | |
Then I <Can or Cannot Unpause> the instance # features/step_definitions/instances_steps.rb:473 | |
Scenarios: Authorized Roles | |
| Role | Can or Cannot Unpause | | |
| Member | Can Unpause | | |
| Project Manager | Can Unpause | | |
Scenario: Unpause an Instance # features/feature_files/instances/unpause_an_instance.feature:27 | |
Given I am authorized to unpause instances in the project # features/step_definitions/instances_steps.rb:12 | |
When I unpause the instance in the project # features/step_definitions/instances_steps.rb:217 | |
Then I can connect to that instance via SSH # features/step_definitions/instances_steps.rb:284 | |
Timed out after 5 tries (tried every 1 second) | |
Expected([200, 202]) <=> Actual(400 Bad Request) | |
request => {:connect_timeout=>60, :headers=>{"Content-Type"=>"application/json", "X-Auth-Token"=>"3f28fe47e81e40618934dd4e768fd6e6", "Host"=>"mc.cb-1-1.morphcloud.net:8774", "Content-Length"=>13}, :instrumentor_name=>"excon", :mock=>false, :read_timeout=>60, :retry_limit=>4, :ssl_ca_file=>"/Users/takekawa/.rvm/gems/ruby-1.9.3-p125@mcloud-features/gems/excon-0.13.4/data/cacert.pem", :ssl_verify_peer=>true, :write_timeout=>60, :host=>"mc.cb-1-1.morphcloud.net", :path=>"/v1.1/5abfe53206b7477e920cc737ec5d036e/os-floating-ips.json", :port=>"8774", :query=>"ignore_awful_caching1337848940", :scheme=>"http", :body=>"{\"pool\":null}", :expects=>[200, 202], :method=>"POST"} | |
response => #<Excon::Response:0x007f8c1c2a77b8 @body="{\"badRequest\": {\"message\": \"No more floating ips available.\", \"code\": 400}}", @headers={"Content-Length"=>"75", "Content-Type"=>"application/json; charset=UTF-8", "X-Compute-Request-Id"=>"req-42e9b696-5453-40c9-8107-1c84c371ea9d", "Date"=>"Thu, 24 May 2012 08:42:20 GMT"}, @status=400> (Anticipate::TimeoutError) | |
/Users/takekawa/.rvm/gems/ruby-1.9.3-p125@mcloud-features/gems/excon-0.13.4/lib/excon/connection.rb:266:in `request_kernel' | |
/Users/takekawa/.rvm/gems/ruby-1.9.3-p125@mcloud-features/gems/excon-0.13.4/lib/excon/connection.rb:97:in `request' | |
/Users/takekawa/.rvm/gems/ruby-1.9.3-p125@mcloud-features/bundler/gems/fog-654bcdec5264/lib/fog/core/connection.rb:20:in `request' | |
/Users/takekawa/.rvm/gems/ruby-1.9.3-p125@mcloud-features/bundler/gems/fog-654bcdec5264/lib/fog/openstack/compute.rb:273:in `request' | |
/Users/takekawa/.rvm/gems/ruby-1.9.3-p125@mcloud-features/bundler/gems/fog-654bcdec5264/lib/fog/openstack/requests/compute/allocate_address.rb:12:in `allocate_address' | |
./features/cloud_services/compute_service.rb:69:in `block (2 levels) in ensure_project_floating_ip_count' | |
./features/cloud_services/compute_service.rb:68:in `times' | |
./features/cloud_services/compute_service.rb:68:in `block in ensure_project_floating_ip_count' | |
./features/cloud_services/base_cloud_service.rb:45:in `block in keep_trying' | |
/Users/takekawa/.rvm/gems/ruby-1.9.3-p125@mcloud-features/gems/anticipate-0.0.2/lib/anticipate/dsl.rb:60:in `block in tries' | |
/Users/takekawa/.rvm/gems/ruby-1.9.3-p125@mcloud-features/gems/anticipate-0.0.2/lib/anticipate/dsl.rb:43:in `block in exec' | |
/Users/takekawa/.rvm/gems/ruby-1.9.3-p125@mcloud-features/gems/anticipate-0.0.2/lib/anticipate/anticipator.rb:12:in `anticipate' | |
/Users/takekawa/.rvm/gems/ruby-1.9.3-p125@mcloud-features/gems/anticipate-0.0.2/lib/anticipate/dsl.rb:42:in `exec' | |
/Users/takekawa/.rvm/gems/ruby-1.9.3-p125@mcloud-features/gems/anticipate-0.0.2/lib/anticipate/dsl.rb:60:in `tries' | |
./features/cloud_services/base_cloud_service.rb:44:in `keep_trying' | |
./features/cloud_services/compute_service.rb:61:in `ensure_project_floating_ip_count' | |
./features/step_definitions/instances_steps.rb:286:in `/^I can connect to that instance via (.+)/' | |
features/feature_files/instances/unpause_an_instance.feature:30:in `Then I can connect to that instance via SSH' | |
Failing Scenarios: | |
cucumber features/feature_files/instances/unpause_an_instance.feature:27 # Scenario: Unpause an Instance | |
3 scenarios (1 failed, 2 passed) | |
13 steps (1 failed, 12 passed) | |
1m53.224s | |
Deleting test objects (Cancel with Ctrl-C) | |
Deleting test users and their memberships... | |
rstark_TAKEKAWA... | |
Deleting test projects and their resources... | |
project TAKEKAWAGUAVOTQS... | |
Deleting instances... | |
DELETED: Eddie Tillman (id: 7c668ba0-335b-43c1-9a62-75857a0707e8) | |
Deleting volumes... | |
Deleting project TAKEKAWAGUAVOTQS... | |
Finished at 2012-05-24-08:42:35 GMT | |
~/work/bob (feature/unpause_an_instance) $ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment