Hi all,
after following the steps for installation of CF @
https://github.com/cloudfoundry/oss-docs/tree/master/vcap/single_and_multi_node_deployments_with_dev_setupI want to try mit setup as described:
source ~/.cloudfoundry_deployment_local
cd cloudfoundry/vcap
cd tests && bundle package; bundle install && cd ..
rake tests
Though, 3 tests fail:
Failing Scenarios:
cucumber features/erlang.feature:9 # Scenario: Deploy Simple Erlang Application
cucumber features/standalone_apps.feature:47 # Scenario: With Java runtime
cucumber features/standalone_apps.feature:98 # Scenario: With Erlang runtime
199 scenarios (3 failed, 1 skipped, 25 pending, 170 passed)
1904 steps (3 failed, 267 skipped, 25 pending, 1609 passed)
48m5.453s
rake aborted!
More info about two of the failing tests:
Scenario: With Erlang runtime # features/standalone_apps.feature:98
Given I have deployed my application with runtime erlang named standalone_erlang_app # features/step_definitions/appcloud_steps.rb:227
Error 300: Invalid application description (VMC::Client::NotFound)
./features/support/env.rb:294:in `create_app'
./features/step_definitions/appcloud_steps.rb:229:in `/^I have deployed my application with runtime (\w+) named (\w+)$/'
features/standalone_apps.feature:99:in `Given I have deployed my application with runtime erlang named standalone_erlang_app'
When I query status of my application # features/step_definitions/appcloud_steps.rb:116
Then I should get the state of my application # features/step_definitions/appcloud_steps.rb:120
Then I should be able to access my application file logs/stdout.log and see Hello, world! # features/step_definitions/appcloud_steps.rb:687
When I delete my application # features/step_definitions/appcloud_steps.rb:125
Then it should not be on Cloud Foundry # features/step_definitions/canonical_steps.rb:1
Scenario: With Java runtime # features/standalone_apps.feature:47
Given I have deployed my application named standalone_java_app # features/step_definitions/appcloud_steps.rb:187
When I query status of my application # features/step_definitions/appcloud_steps.rb:116
Then I should get the state of my application # features/step_definitions/appcloud_steps.rb:120
Then I should be able to access my application file logs/stdout.log and get text including Hello from the cloud. Java opts: -Xms256m -Xmx256m -Djava.io.tmpdir=appdir/temp # features/step_definitions/appcloud_steps.rb:694
expected: true,
got: false (using ==)
Diff:
@@ -1,2 +1,2 @@
-true
+false
(Spec::Expectations::ExpectationNotMetError)
./features/step_definitions/appcloud_steps.rb:703:in `/^I should be able to access my application file (\S+) and( not)? get text including (.+)$/'
features/standalone_apps.feature:51:in `Then I should be able to access my application file logs/stdout.log and get text including Hello from the cloud. Java opts: -Xms256m -Xmx256m -Djava.io.tmpdir=appdir/temp'
When I delete my application # features/step_definitions/appcloud_steps.rb:125
Then it should not be on Cloud Foundry # features/step_definitions/canonical_steps.rb:1
Any ideas what is going wrong and how I can fix the problems?
Thank you!