Skip to content

Instantly share code, notes, and snippets.

@schinen
Created May 24, 2012 15:44
Show Gist options
  • Save schinen/2782305 to your computer and use it in GitHub Desktop.
Save schinen/2782305 to your computer and use it in GitHub Desktop.
UAA BVT Results
vcap@ubuntu:~/cloudfoundry/vcap-tests$ bundle exec cucumber --backtrace features/uaa.feature:14
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:28: warning: already initialized constant TEST_AUTOMATION_USER_ID
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:29: warning: already initialized constant TEST_AUTOMATION_PASSWORD
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:30: warning: already initialized constant SIMPLE_APP
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:31: warning: already initialized constant SIMPLE_APP2
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:32: warning: already initialized constant SIMPLE_APP3
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:33: warning: already initialized constant REDIS_LB_APP
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:34: warning: already initialized constant ENV_TEST_APP
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:35: warning: already initialized constant TINY_JAVA_APP
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:36: warning: already initialized constant SIMPLE_DB_APP
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:37: warning: already initialized constant SIMPLE_PHP_APP
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:38: warning: already initialized constant BROKEN_APP
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:39: warning: already initialized constant RAILS3_APP
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:40: warning: already initialized constant JPA_APP
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:41: warning: already initialized constant HIBERNATE_APP
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:42: warning: already initialized constant DBRAILS_APP
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:43: warning: already initialized constant DBRAILS_BROKEN_APP
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:44: warning: already initialized constant GRAILS_APP
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:45: warning: already initialized constant ROO_APP
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:46: warning: already initialized constant SIMPLE_ERLANG_APP
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:47: warning: already initialized constant SIMPLE_LIFT_APP
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:48: warning: already initialized constant LIFT_DB_APP
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:49: warning: already initialized constant TOMCAT_VERSION_CHECK_APP
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:50: warning: already initialized constant NEO4J_APP
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:51: warning: already initialized constant ATMOS_APP
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:52: warning: already initialized constant SIMPLE_PYTHON_APP
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:53: warning: already initialized constant PYTHON_APP_WITH_DEPENDENCIES
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:54: warning: already initialized constant SIMPLE_DJANGO_APP
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:55: warning: already initialized constant SPRING_ENV_APP
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:56: warning: already initialized constant AUTO_RECONFIG_TEST_APP
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:57: warning: already initialized constant AUTO_RECONFIG_MISSING_DEPS_TEST_APP
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:58: warning: already initialized constant SIMPLE_KV_APP
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:59: warning: already initialized constant BROKERED_SERVICE_APP
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:60: warning: already initialized constant JAVA_APP_WITH_STARTUP_DELAY
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:61: warning: already initialized constant RAILS_CONSOLE_TEST_APP
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:62: warning: already initialized constant VBLOB_APP
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:63: warning: already initialized constant SERVICE_QUOTA_APP
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:64: warning: already initialized constant SPRING_APP_WITH_JAVAEE_NS
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:65: warning: already initialized constant AUTO_RECONFIG_ANNOTATION_APP
/home/vcap/cloudfoundry/vcap-tests/features/support/env.rb:66: warning: already initialized constant MEMCACHED_APP
Feature: UAA Service
As a deployer of Cloud Foundry
I want to be sure that the UAA Service is available
Background: Setup base URL # features/uaa.feature:5
** VCAP_BVT_TARGET = 'vcap.me' (set environment variable to override) **
** Running as user: 'satoru.chinen@gmail.com' (set environment variables VCAP_BVT_USER / VCAP_BVT_USER_PASSWD to override) **
** VCAP CloudController = 'http://api.vcap.me' **
** Using admin client: 'admin' (set environment variables VCAP_BVT_ADMIN_CLIENT / VCAP_BVT_ADMIN_SECRET to override) **
Given I know the UAA service base URL # features/step_definitions/uaa.rb:89
@uaa @smoke
Scenario: Get approval prompts # features/uaa.feature:14
Given I am registered # features/step_definitions/appcloud_steps.rb:35
Given I have an authenticated user session # features/step_definitions/uaa.rb:95
expected: "http://uaa.vcap.me/",
got: "http://uaa.vcap.me/login;jsessionid=AE8C937A3F7F170AA22AA40115B32B94?error=true" (using ==)
Diff:
@@ -1,2 +1,2 @@
-http://uaa.vcap.me/
+http://uaa.vcap.me/login;jsessionid=AE8C937A3F7F170AA22AA40115B32B94?error=true
(Spec::Expectations::ExpectationNotMetError)
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/rspec-1.3.0/lib/spec/expectations/fail_with.rb:41:in `fail_with'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/rspec-1.3.0/lib/spec/matchers/operator_matcher.rb:39:in `fail_with_message'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/rspec-1.3.0/lib/spec/matchers/operator_matcher.rb:61:in `__delegate_operator'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/rspec-1.3.0/lib/spec/matchers/operator_matcher.rb:51:in `eval_match'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/rspec-1.3.0/lib/spec/matchers/operator_matcher.rb:29:in `block in use_custom_matcher_or_delegate'
/home/vcap/cloudfoundry/vcap-tests/features/step_definitions/uaa.rb:98:in `block in <top (required)>'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/core_ext/instance_exec.rb:48:in `instance_exec'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/core_ext/instance_exec.rb:48:in `block in cucumber_instance_exec'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/core_ext/instance_exec.rb:69:in `cucumber_run_with_backtrace_filtering'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/core_ext/instance_exec.rb:36:in `cucumber_instance_exec'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/rb_support/rb_step_definition.rb:62:in `invoke'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/step_match.rb:25:in `invoke'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/ast/step_invocation.rb:59:in `invoke'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/ast/step_invocation.rb:38:in `accept'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/ast/tree_walker.rb:99:in `block in visit_step'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/ast/tree_walker.rb:163:in `broadcast'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/ast/tree_walker.rb:98:in `visit_step'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/ast/step_collection.rb:15:in `block in accept'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/ast/step_collection.rb:14:in `each'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/ast/step_collection.rb:14:in `accept'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/ast/tree_walker.rb:93:in `block in visit_steps'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/ast/tree_walker.rb:163:in `broadcast'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/ast/tree_walker.rb:92:in `visit_steps'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/ast/scenario.rb:55:in `block (2 levels) in accept'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/runtime.rb:80:in `block (2 levels) in with_hooks'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/runtime.rb:96:in `before_and_after'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/runtime.rb:79:in `block in with_hooks'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/runtime/support_code.rb:120:in `call'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/runtime/support_code.rb:120:in `block (3 levels) in around'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/language_support/language_methods.rb:9:in `block in around'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/language_support/language_methods.rb:91:in `call'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/language_support/language_methods.rb:91:in `execute_around'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/language_support/language_methods.rb:8:in `around'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/runtime/support_code.rb:119:in `block (2 levels) in around'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/runtime/support_code.rb:117:in `call'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/runtime/support_code.rb:117:in `around'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/runtime.rb:91:in `around'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/runtime.rb:78:in `with_hooks
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/ast/scenario.rb:53:in `block in accept'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/ast/scenario.rb:108:in `with_visitor'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/ast/scenario.rb:47:in `accept'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/ast/tree_walker.rb:51:in `block in visit_feature_element'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/ast/tree_walker.rb:163:in `broadcast'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/ast/tree_walker.rb:50:in `visit_feature_element'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/ast/feature.rb:43:in `block in accept'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/ast/feature.rb:42:in `each'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/ast/feature.rb:42:in `accept'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/ast/tree_walker.rb:20:in `block in visit_feature'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/ast/tree_walker.rb:163:in `broadcast'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/ast/tree_walker.rb:19:in `visit_feature'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/ast/features.rb:29:in `block in accept'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/ast/features.rb:17:in `each'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/ast/features.rb:17:in `each'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/ast/features.rb:28:in `accept'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/ast/tree_walker.rb:14:in `block in visit_features'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/ast/tree_walker.rb:163:in `broadcast'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/ast/tree_walker.rb:13:in `visit_features'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/runtime.rb:46:in `run!'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/cli/main.rb:43:in `execute!'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/lib/cucumber/cli/main.rb:20:in `execute'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/gems/cucumber-1.1.3/bin/cucumber:14:in `<top (required)>'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/bin/cucumber:19:in `load'
/home/vcap/cloudfoundry/.deployments/devbox/deploy/rubies/ruby-1.9.2-p180/lib/ruby/gems/1.9.1/bin/cucumber:19:in `<main>'
features/uaa.feature:16:in `Given I have an authenticated user session'
Given there is a registered webapp client # features/step_definitions/uaa.rb:101
When I get the approval prompts # features/step_definitions/uaa.rb:106
Then the content should contain the correct paths # features/step_definitions/uaa.rb:112
Failing Scenarios:
cucumber features/uaa.feature:14 # Scenario: Get approval prompts
1 scenario (1 failed)
6 steps (1 failed, 3 skipped, 2 passed)
0m2.091s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment