Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

release-candidate: Errand `acceptance-tests' completed with error #20

Closed
weberstephanhd opened this issue Jan 25, 2015 · 9 comments
Closed

Comments

@weberstephanhd
Copy link

I use the newest bosh-lite (Commit: 9a3577c71daf9bbe5c5c8967793ae604bef2f9a8) and cf-riak-cs-release (Commit: 67d0533)
My virtualbox runs on mac with 10GB base memory, Ruby 2.1.5, Go 1.4.1

After creating a new instance via
vagrant up --provider=virtualbox
./bin/provision_cf
I'm following the instructions of the cf-riak-cs-release README.md.

minor issue: bosh create release

  • when downloading infos like "downloading 72.1M (13%)" override previous lines in the terminal so the prompt for "Please enter development release name" gets a little 'hidden'.

BUT two out of three acceptance-tests fail:
[Fail] [BeforeEach] Riak CS Nodes Register a Route Allows users to access the riak-cs service using external url instead of IP of single machine after register the route
/var/vcap/packages/acceptance-tests/vendor/src/github.com/cloudfoundry-incubator/cf-test-helpers/services/context_setup/context_setup.go:67

[Fail] Riak CS Service Lifecycle [It] Allows users to create, bind, write to, read from, unbind, and destroy the service instance
/var/vcap/data/packages/acceptance-tests/d33481868dd13b9fdd20957a8d1b6d512bd3f23e.1-2fdbd84d3369d8f1ebbe60e65acce2359c089755/riak-cs-service/riak_cs_test.go:41

How can I fix that?
Best regards, Stephan

Here's the full output:
$ bosh run errand broker-registrar

Processing deployment manifest

Director task 9
Started preparing deployment
Started preparing deployment > Binding deployment. Done (00:00:00)
Started preparing deployment > Binding releases. Done (00:00:00)
Started preparing deployment > Binding existing deployment. Done (00:00:00)
Started preparing deployment > Binding resource pools. Done (00:00:00)
Started preparing deployment > Binding stemcells. Done (00:00:00)
Started preparing deployment > Binding templates. Done (00:00:00)
Started preparing deployment > Binding properties. Done (00:00:00)
Started preparing deployment > Binding unallocated VMs. Done (00:00:00)
Started preparing deployment > Binding instance networks. Done (00:00:00)
Done preparing deployment (00:00:00)
Started preparing package compilation > Finding packages to compile. Done (00:00:00)
Started creating bound missing vms > broker-pool/0. Done (00:00:02)
Started binding instance vms > broker-registrar/0. Done (00:00:00)
Started updating job broker-registrar > broker-registrar/0 (canary). Done (00:00:38)
Started running errand > broker-registrar/0. Done (00:00:03)
Started fetching logs for broker-registrar/0 > Finding and packing log files. Done (00:00:01)
Started deleting errand instances broker-registrar > b2220f8f-3c4f-4293-6b2d-970b60535fae. Done (00:00:01)

Task 9 done

Started 2015-01-25 22:42:51 UTC
Finished 2015-01-25 22:43:36 UTC
Duration 00:00:45

[stdout]

bundle exec ./bin/broker-registrar register
--cf-address https://api.10.244.0.34.xip.io
--cf-username admin
--cf-password ********
--broker-name p-riakcs
--broker-url http://p-riakcs-broker.10.244.0.34.xip.io:80
--broker-username admin
--broker-password ********

I, [2015-01-25T22:43:33.904866 #93] INFO -- : Registered service broker [p-riakcs]
I, [2015-01-25T22:43:34.168393 #93] INFO -- : Made service plan [developer] public

[stderr]
None

Errand `broker-registrar' completed successfully (exit code 0)

23:43:37 d025876@WDFM32407851A /cf/cf-riak-cs-release @ (release-candidate)
$ bosh run errand acceptance-tests

Processing deployment manifest

Director task 10
Started preparing deployment
Started preparing deployment > Binding deployment. Done (00:00:00)
Started preparing deployment > Binding releases. Done (00:00:00)
Started preparing deployment > Binding existing deployment. Done (00:00:00)
Started preparing deployment > Binding resource pools. Done (00:00:00)
Started preparing deployment > Binding stemcells. Done (00:00:00)
Started preparing deployment > Binding templates. Done (00:00:00)
Started preparing deployment > Binding properties. Done (00:00:00)
Started preparing deployment > Binding unallocated VMs. Done (00:00:00)
Started preparing deployment > Binding instance networks. Done (00:00:00)
Done preparing deployment (00:00:00)
Started preparing package compilation > Finding packages to compile. Done (00:00:00)
Started creating bound missing vms > broker-pool/0. Done (00:00:02)
Started binding instance vms > acceptance-tests/0. Done (00:00:00)
Started updating job acceptance-tests > acceptance-tests/0 (canary). Done (00:00:41)
Started running errand > acceptance-tests/0. Done (00:01:52)
Started fetching logs for acceptance-tests/0 > Finding and packing log files. Done (00:00:01)
Started deleting errand instances acceptance-tests > bd696e21-9134-41b5-42d8-30c4d206e751. Done (00:00:01)

Task 10 done

Started 2015-01-25 22:44:11 UTC
Finished 2015-01-25 22:46:48 UTC
Duration 00:02:37

[stdout]
/var/vcap/packages/golang/bin/go

Running Suite: Riak CS Services Suite

Random Seed: 1422225895
Will run 3 of 3 specs

Riak CS Nodes Register a Route
Allows users to access the riak-cs service using external url instead of IP of single machine after register the route
/var/vcap/data/packages/acceptance-tests/d33481868dd13b9fdd20957a8d1b6d512bd3f23e.1-2fdbd84d3369d8f1ebbe60e65acce2359c089755/riak-cs-service/route_register_test.go:23

[2015-01-25 22:44:57.27 (UTC)]> cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK

API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.

[2015-01-25 22:44:57.50 (UTC)]> cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space

[2015-01-25 22:44:58.04 (UTC)]> cf create-user RiakCSATS-USER-1-2015_01_25-22h44m57.277s meow
Creating user RiakCSATS-USER-1-2015_01_25-22h44m57.277s as admin...

[2015-01-25 22:45:08.05 (UTC)]> cf logout
Logging out...
OK

[2015-01-25 22:45:08.10 (UTC)]> cf logout
Logging out...
OK

[2015-01-25 22:45:08.15 (UTC)]> cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK

API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.

[2015-01-25 22:45:08.24 (UTC)]> cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK

TIP: Assign roles with 'cf set-org-role' and 'cf set-space-role'
OK
Use 'cf target' to view or set your target org and space

[2015-01-25 22:45:08.53 (UTC)]> cf delete-user -f RiakCSATS-USER-1-2015_01_25-22h44m57.277s
Deleting user RiakCSATS-USER-1-2015_01_25-22h44m57.277s as admin...
OK

[2015-01-25 22:45:14.01 (UTC)]> cf delete-org -f RiakCSATS-ORG-1-2015_01_25-22h44m57.277s
Deleting org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s as admin...
OK
Org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s does not exist.

[2015-01-25 22:45:14.09 (UTC)]> cf curl /v2/quota_definitions/?recursive=true -X DELETE -d
{
"code": 10000,
"description": "Unknown request",
"error_code": "CF-NotFound"
}

[2015-01-25 22:45:14.21 (UTC)]> cf logout
Logging out...
OK

• Failure [16.986 seconds]
Riak CS Nodes Register a Route [BeforeEach]
/var/vcap/data/packages/acceptance-tests/d33481868dd13b9fdd20957a8d1b6d512bd3f23e.1-2fdbd84d3369d8f1ebbe60e65acce2359c089755/riak-cs-service/route_register_test.go:24
Allows users to access the riak-cs service using external url instead of IP of single machine after register the route
/var/vcap/data/packages/acceptance-tests/d33481868dd13b9fdd20957a8d1b6d512bd3f23e.1-2fdbd84d3369d8f1ebbe60e65acce2359c089755/riak-cs-service/route_register_test.go:23

failed to create user

/var/vcap/packages/acceptance-tests/vendor/src/github.com/cloudfoundry-incubator/cf-test-helpers/services/context_setup/context_setup.go:67

Riak Broker Registers a Route
Allows users to access the riak-cs broker using a url
/var/vcap/data/packages/acceptance-tests/d33481868dd13b9fdd20957a8d1b6d512bd3f23e.1-2fdbd84d3369d8f1ebbe60e65acce2359c089755/riak-cs-service/route_register_test.go:37

[2015-01-25 22:45:14.26 (UTC)]> cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK

API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.

[2015-01-25 22:45:14.34 (UTC)]> cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space

[2015-01-25 22:45:14.75 (UTC)]> cf create-user RiakCSATS-USER-1-2015_01_25-22h44m57.277s meow
Creating user RiakCSATS-USER-1-2015_01_25-22h44m57.277s as admin...
OK

TIP: Assign roles with 'cf set-org-role' and 'cf set-space-role'

[2015-01-25 22:45:14.96 (UTC)]> cf curl /v2/quota_definitions -X POST -d {"name":"RiakCSATS-QUOTA-1-2015_01_25-22h44m57.277s","non_basic_services_allowed":true,"total_services":100,"total_routes":1000,"memory_limit":10240}
{
"metadata": {
"guid": "d82cff98-3aa8-4841-aace-cd74015600ec",
"url": "/v2/quota_definitions/d82cff98-3aa8-4841-aace-cd74015600ec",
"created_at": "2015-01-25T22:45:15+00:00",
"updated_at": null
},
"entity": {
"name": "RiakCSATS-QUOTA-1-2015_01_25-22h44m57.277s",
"non_basic_services_allowed": true,
"total_services": 100,
"total_routes": 1000,
"memory_limit": 10240,
"trial_db_allowed": false,
"instance_memory_limit": -1
}
}

[2015-01-25 22:45:15.06 (UTC)]> cf create-org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s
Creating org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s as admin...
OK

TIP: Use 'cf target -o RiakCSATS-ORG-1-2015_01_25-22h44m57.277s' to target new org

[2015-01-25 22:45:15.16 (UTC)]> cf set-quota RiakCSATS-ORG-1-2015_01_25-22h44m57.277s RiakCSATS-QUOTA-1-2015_01_25-22h44m57.277s
Setting quota RiakCSATS-QUOTA-1-2015_01_25-22h44m57.277s to org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s as admin...
OK

[2015-01-25 22:45:15.35 (UTC)]> cf logout
Logging out...
OK

[2015-01-25 22:45:15.39 (UTC)]> cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK

API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.

[2015-01-25 22:45:15.47 (UTC)]> cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space

[2015-01-25 22:45:15.73 (UTC)]> cf create-space -o RiakCSATS-ORG-1-2015_01_25-22h44m57.277s RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s
Creating space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s as admin...
OK
Assigning role SpaceManager to user admin in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as admin...
OK
Assigning role SpaceDeveloper to user admin in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as admin...
OK

TIP: Use 'cf target -o RiakCSATS-ORG-1-2015_01_25-22h44m57.277s -s RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s' to target new space

[2015-01-25 22:45:16.10 (UTC)]> cf set-space-role RiakCSATS-USER-1-2015_01_25-22h44m57.277s RiakCSATS-ORG-1-2015_01_25-22h44m57.277s RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s SpaceManager
Assigning role SpaceManager to user RiakCSATS-USER-1-2015_01_25-22h44m57.277s in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as admin...
OK

[2015-01-25 22:45:16.40 (UTC)]> cf set-space-role RiakCSATS-USER-1-2015_01_25-22h44m57.277s RiakCSATS-ORG-1-2015_01_25-22h44m57.277s RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s SpaceDeveloper
Assigning role SpaceDeveloper to user RiakCSATS-USER-1-2015_01_25-22h44m57.277s in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as admin...
OK

[2015-01-25 22:45:16.83 (UTC)]> cf set-space-role RiakCSATS-USER-1-2015_01_25-22h44m57.277s RiakCSATS-ORG-1-2015_01_25-22h44m57.277s RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s SpaceAuditor
Assigning role SpaceAuditor to user RiakCSATS-USER-1-2015_01_25-22h44m57.277s in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as admin...
OK

[2015-01-25 22:45:17.13 (UTC)]> cf logout
Logging out...
OK

[2015-01-25 22:45:17.17 (UTC)]> cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK

API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.

[2015-01-25 22:45:17.25 (UTC)]> cf auth RiakCSATS-USER-1-2015_01_25-22h44m57.277s meow
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space

[2015-01-25 22:45:17.52 (UTC)]> cf target -o RiakCSATS-ORG-1-2015_01_25-22h44m57.277s -s RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
User: RiakCSATS-USER-1-2015_01_25-22h44m57.277s
Org: RiakCSATS-ORG-1-2015_01_25-22h44m57.277s
Space: RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s

[2015-01-25 22:45:17.70 (UTC)]> curl -s -k -s -w %{http_code} http://p-riakcs-broker.10.244.0.34.xip.io/v2/catalog -o /dev/null
401
[2015-01-25 22:45:17.84 (UTC)]> cf logout
Logging out...
OK

[2015-01-25 22:45:17.88 (UTC)]> cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK

API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.

[2015-01-25 22:45:17.95 (UTC)]> cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space

[2015-01-25 22:45:18.21 (UTC)]> cf delete-user -f RiakCSATS-USER-1-2015_01_25-22h44m57.277s
Deleting user RiakCSATS-USER-1-2015_01_25-22h44m57.277s as admin...
OK

[2015-01-25 22:45:23.47 (UTC)]> cf delete-org -f RiakCSATS-ORG-1-2015_01_25-22h44m57.277s
Deleting org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s as admin...
OK

[2015-01-25 22:45:28.69 (UTC)]> cf curl /v2/quota_definitions/d82cff98-3aa8-4841-aace-cd74015600ec?recursive=true -X DELETE -d

[2015-01-25 22:45:28.78 (UTC)]> cf logout
Logging out...
OK

Riak CS Service Lifecycle
Allows users to create, bind, write to, read from, unbind, and destroy the service instance
/var/vcap/data/packages/acceptance-tests/d33481868dd13b9fdd20957a8d1b6d512bd3f23e.1-2fdbd84d3369d8f1ebbe60e65acce2359c089755/riak-cs-service/riak_cs_test.go:54

[2015-01-25 22:45:28.82 (UTC)]> cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK

API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.

[2015-01-25 22:45:28.90 (UTC)]> cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space

[2015-01-25 22:45:29.20 (UTC)]> cf create-user RiakCSATS-USER-1-2015_01_25-22h44m57.277s meow
Creating user RiakCSATS-USER-1-2015_01_25-22h44m57.277s as admin...
OK

TIP: Assign roles with 'cf set-org-role' and 'cf set-space-role'

[2015-01-25 22:45:29.44 (UTC)]> cf curl /v2/quota_definitions -X POST -d {"name":"RiakCSATS-QUOTA-1-2015_01_25-22h44m57.277s","non_basic_services_allowed":true,"total_services":100,"total_routes":1000,"memory_limit":10240}
{
"metadata": {
"guid": "289025cc-bcc1-42d7-bc2b-380f9a175a45",
"url": "/v2/quota_definitions/289025cc-bcc1-42d7-bc2b-380f9a175a45",
"created_at": "2015-01-25T22:45:29+00:00",
"updated_at": null
},
"entity": {
"name": "RiakCSATS-QUOTA-1-2015_01_25-22h44m57.277s",
"non_basic_services_allowed": true,
"total_services": 100,
"total_routes": 1000,
"memory_limit": 10240,
"trial_db_allowed": false,
"instance_memory_limit": -1
}
}

[2015-01-25 22:45:29.52 (UTC)]> cf create-org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s
Creating org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s as admin...
OK

TIP: Use 'cf target -o RiakCSATS-ORG-1-2015_01_25-22h44m57.277s' to target new org

[2015-01-25 22:45:29.61 (UTC)]> cf set-quota RiakCSATS-ORG-1-2015_01_25-22h44m57.277s RiakCSATS-QUOTA-1-2015_01_25-22h44m57.277s
Setting quota RiakCSATS-QUOTA-1-2015_01_25-22h44m57.277s to org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s as admin...
OK

[2015-01-25 22:45:29.81 (UTC)]> cf logout
Logging out...
OK

[2015-01-25 22:45:29.85 (UTC)]> cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK

API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.

[2015-01-25 22:45:29.94 (UTC)]> cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space

[2015-01-25 22:45:30.20 (UTC)]> cf create-space -o RiakCSATS-ORG-1-2015_01_25-22h44m57.277s RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s
Creating space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s as admin...
OK
Assigning role SpaceManager to user admin in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as admin...
OK
Assigning role SpaceDeveloper to user admin in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as admin...
OK

TIP: Use 'cf target -o RiakCSATS-ORG-1-2015_01_25-22h44m57.277s -s RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s' to target new space

[2015-01-25 22:45:30.56 (UTC)]> cf set-space-role RiakCSATS-USER-1-2015_01_25-22h44m57.277s RiakCSATS-ORG-1-2015_01_25-22h44m57.277s RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s SpaceManager
Assigning role SpaceManager to user RiakCSATS-USER-1-2015_01_25-22h44m57.277s in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as admin...
OK

[2015-01-25 22:45:30.86 (UTC)]> cf set-space-role RiakCSATS-USER-1-2015_01_25-22h44m57.277s RiakCSATS-ORG-1-2015_01_25-22h44m57.277s RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s SpaceDeveloper
Assigning role SpaceDeveloper to user RiakCSATS-USER-1-2015_01_25-22h44m57.277s in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as admin...
OK

[2015-01-25 22:45:31.16 (UTC)]> cf set-space-role RiakCSATS-USER-1-2015_01_25-22h44m57.277s RiakCSATS-ORG-1-2015_01_25-22h44m57.277s RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s SpaceAuditor
Assigning role SpaceAuditor to user RiakCSATS-USER-1-2015_01_25-22h44m57.277s in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as admin...
OK

[2015-01-25 22:45:31.47 (UTC)]> cf logout
Logging out...
OK

[2015-01-25 22:45:31.51 (UTC)]> cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK

API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.

[2015-01-25 22:45:31.59 (UTC)]> cf auth RiakCSATS-USER-1-2015_01_25-22h44m57.277s meow
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space

[2015-01-25 22:45:31.85 (UTC)]> cf target -o RiakCSATS-ORG-1-2015_01_25-22h44m57.277s -s RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
User: RiakCSATS-USER-1-2015_01_25-22h44m57.277s
Org: RiakCSATS-ORG-1-2015_01_25-22h44m57.277s
Space: RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s

[2015-01-25 22:45:32.03 (UTC)]> cf push 9dbdf53b-51ca-422f-535f-ff3f207bd275 -m 256M -p ../assets/app_sinatra_service -no-start
Creating app 9dbdf53b-51ca-422f-535f-ff3f207bd275 in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as RiakCSATS-USER-1-2015_01_25-22h44m57.277s...
OK

Creating route 9dbdf53b-51ca-422f-535f-ff3f207bd275.10.244.0.34.xip.io...
OK

Binding 9dbdf53b-51ca-422f-535f-ff3f207bd275.10.244.0.34.xip.io to 9dbdf53b-51ca-422f-535f-ff3f207bd275...
OK

Uploading 9dbdf53b-51ca-422f-535f-ff3f207bd275...
Uploading app files from: ../assets/app_sinatra_service
Uploading 10.7M, 22 files
OK

Endpoint deprecated

[2015-01-25 22:45:38.30 (UTC)]> cf create-service p-riakcs developer ac6e2e9c-d6de-4117-6609-6c818dd06200
Creating service ac6e2e9c-d6de-4117-6609-6c818dd06200 in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as RiakCSATS-USER-1-2015_01_25-22h44m57.277s...
OK

[2015-01-25 22:45:40.38 (UTC)]> cf bind-service 9dbdf53b-51ca-422f-535f-ff3f207bd275 ac6e2e9c-d6de-4117-6609-6c818dd06200
Binding service ac6e2e9c-d6de-4117-6609-6c818dd06200 to app 9dbdf53b-51ca-422f-535f-ff3f207bd275 in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as RiakCSATS-USER-1-2015_01_25-22h44m57.277s...
OK
TIP: Use 'cf push' to ensure your env variable changes take effect

[2015-01-25 22:45:41.82 (UTC)]> cf start 9dbdf53b-51ca-422f-535f-ff3f207bd275
Starting app 9dbdf53b-51ca-422f-535f-ff3f207bd275 in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as RiakCSATS-USER-1-2015_01_25-22h44m57.277s...
OK
-----> Downloaded app package (11M)
-------> Buildpack version 1.2.0
-----> Compiling Ruby/Rack
-----> Using Ruby version: ruby-2.0.0
-----> Installing dependencies using 1.6.3
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
Installing formatador 0.2.4
Installing builder 3.2.2
Installing excon 0.31.0
Installing multi_json 1.8.4
Installing mime-types 2.1
Installing ruby-hmac 0.4.0
Installing mini_portile 0.5.2
Installing tilt 1.4.1
Using bundler 1.6.3
Installing net-ssh 2.8.0
Installing net-scp 1.1.2
Installing rack 1.5.2
Installing rack-protection 1.5.2
Installing sinatra 1.4.4
Installing nokogiri 1.6.1
Installing fog 1.19.0
Your bundle is complete!
Gems in the groups development and test were not installed.
It was installed into ./vendor/bundle
Bundle completed (7.84s)
Cleaning up the bundler cache.

WARNING:
   You have not declared a Ruby version in your Gemfile.
   To set your Ruby version add this line to your Gemfile:
   ruby '2.0.0'
   # See https://devcenter.heroku.com/articles/ruby-versions for more information.
WARNING:
   No Procfile detected, using the default web server (webrick)
   https://devcenter.heroku.com/articles/ruby-default-web-server

-----> Uploading droplet (34M)

1 of 1 instances running

App started

Showing health and status for app 9dbdf53b-51ca-422f-535f-ff3f207bd275 in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as RiakCSATS-USER-1-2015_01_25-22h44m57.277s...
OK

requested state: started
instances: 1/1
usage: 256M x 1 instances
urls: 9dbdf53b-51ca-422f-535f-ff3f207bd275.10.244.0.34.xip.io

 state     since                    cpu    memory        disk   

#0 running 2015-01-25 10:46:11 PM 0.0% 75M of 256M 0 of 1G

Posting to url: https://9dbdf53b-51ca-422f-535f-ff3f207bd275.10.244.0.34.xip.io/service/blobstore/ac6e2e9c-d6de-4117-6609-6c818dd06200/mykey

[2015-01-25 22:46:22.80 (UTC)]> curl -s -k -d myvalue https://9dbdf53b-51ca-422f-535f-ff3f207bd275.10.244.0.34.xip.io/service/blobstore/ac6e2e9c-d6de-4117-6609-6c818dd06200/mykey
Error: Connection refused - connect(2) (Errno::ECONNREFUSED)

Backtrace: /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:195:in connect_nonblock' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:195:inrescue in block in connect'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:171:in block in connect' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:167:ineach'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:167:in connect' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/ssl_socket.rb:97:inconnect'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:28:in initialize' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/ssl_socket.rb:9:ininitialize'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:410:in new' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:410:insocket'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:122:in request_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/mock.rb:42:inrequest_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/instrumentor.rb:22:in request_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:15:inrequest_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:15:in request_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:15:inrequest_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:265:in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/idempotent.rb:12:inerror_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in error_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:inerror_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:288:in rescue in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:225:inrequest'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/idempotent.rb:12:in error_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:inerror_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in error_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:288:inrescue in request'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:225:in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/idempotent.rb:12:inerror_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in error_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:inerror_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:288:in rescue in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:225:inrequest'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/xml/sax_parser_connection.rb:36:in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/core/deprecated/connection.rb:18:inrequest'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/aws/storage.rb:539:in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/aws/requests/storage/get_bucket.rb:44:inget_bucket'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/aws/models/storage/directories.rb:24:in get' /home/vcap/app/main.rb:48:inblock in <top (required)>'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1593:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1593:inblock in compile!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:957:in []' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:957:inblock (3 levels) in route!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:976:in route_eval' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:957:inblock (2 levels) in route!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:997:in block in process_route' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:995:incatch'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:995:in process_route' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:955:inblock in route!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:954:in each' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:954:inroute!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1067:in block in dispatch!' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:inblock in invoke'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in catch' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:ininvoke'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1064:in dispatch!' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:889:inblock in call!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in block in invoke' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:incatch'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in invoke' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:889:incall!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:877:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/xss_header.rb:18:incall'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/path_traversal.rb:16:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/json_csrf.rb:18:incall'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/base.rb:50:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/base.rb:50:incall'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/frame_options.rb:31:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/logger.rb:15:incall'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/commonlogger.rb:33:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:217:incall'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:210:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/head.rb:11:incall'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:180:incall'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:2004:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1469:inblock in call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1778:in synchronize' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1469:incall'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in service' /home/vcap/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:inservice'
/home/vcap/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in run' /home/vcap/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:inblock in start_thread'

[2015-01-25 22:46:27.81 (UTC)]> cf delete 9dbdf53b-51ca-422f-535f-ff3f207bd275 -f
Deleting app 9dbdf53b-51ca-422f-535f-ff3f207bd275 in org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s / space RiakCSATS-SPACE-1-2015_01_25-22h44m57.277s as RiakCSATS-USER-1-2015_01_25-22h44m57.277s...
OK

[2015-01-25 22:46:29.14 (UTC)]> cf logout
Logging out...
OK

[2015-01-25 22:46:29.19 (UTC)]> cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK

API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.

[2015-01-25 22:46:29.26 (UTC)]> cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space

[2015-01-25 22:46:29.53 (UTC)]> cf delete-user -f RiakCSATS-USER-1-2015_01_25-22h44m57.277s
Deleting user RiakCSATS-USER-1-2015_01_25-22h44m57.277s as admin...
OK

[2015-01-25 22:46:34.95 (UTC)]> cf delete-org -f RiakCSATS-ORG-1-2015_01_25-22h44m57.277s
Deleting org RiakCSATS-ORG-1-2015_01_25-22h44m57.277s as admin...
OK

[2015-01-25 22:46:45.25 (UTC)]> cf curl /v2/quota_definitions/289025cc-bcc1-42d7-bc2b-380f9a175a45?recursive=true -X DELETE -d

[2015-01-25 22:46:45.36 (UTC)]> cf logout
Logging out...
OK

• Failure [76.582 seconds]
Riak CS Service Lifecycle
/var/vcap/data/packages/acceptance-tests/d33481868dd13b9fdd20957a8d1b6d512bd3f23e.1-2fdbd84d3369d8f1ebbe60e65acce2359c089755/riak-cs-service/riak_cs_test.go:55
Allows users to create, bind, write to, read from, unbind, and destroy the service instance [It]
/var/vcap/data/packages/acceptance-tests/d33481868dd13b9fdd20957a8d1b6d512bd3f23e.1-2fdbd84d3369d8f1ebbe60e65acce2359c089755/riak-cs-service/riak_cs_test.go:54

No future change is possible. Bailing out early after 5.007s.
Got stuck at:
Error: Connection refused - connect(2) (Errno::ECONNREFUSED)

  Backtrace: /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:195:in `connect_nonblock'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:195:in `rescue in block in connect'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:171:in `block in connect'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:167:in `each'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:167:in `connect'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/ssl_socket.rb:97:in `connect'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:28:in `initialize'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/ssl_socket.rb:9:in `initialize'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:410:in `new'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:410:in `socket'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:122:in `request_call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/mock.rb:42:in `request_call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/instrumentor.rb:22:in `request_call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:15:in `request_call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:15:in `request_call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:15:in `request_call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:265:in `request'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/idempotent.rb:12:in `error_call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in `error_call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in `error_call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:288:in `rescue in request'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:225:in `request'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/idempotent.rb:12:in `error_call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in `error_call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in `error_call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:288:in `rescue in request'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:225:in `request'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/idempotent.rb:12:in `error_call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in `error_call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in `error_call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:288:in `rescue in request'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:225:in `request'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/xml/sax_parser_connection.rb:36:in `request'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/core/deprecated/connection.rb:18:in `request'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/aws/storage.rb:539:in `request'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/aws/requests/storage/get_bucket.rb:44:in `get_bucket'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/aws/models/storage/directories.rb:24:in `get'
  /home/vcap/app/main.rb:48:in `block in <top (required)>'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1593:in `call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1593:in `block in compile!'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:957:in `[]'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:957:in `block (3 levels) in route!'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:976:in `route_eval'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:957:in `block (2 levels) in route!'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:997:in `block in process_route'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:995:in `catch'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:995:in `process_route'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:955:in `block in route!'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:954:in `each'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:954:in `route!'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1067:in `block in dispatch!'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in `block in invoke'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in `catch'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in `invoke'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1064:in `dispatch!'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:889:in `block in call!'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in `block in invoke'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in `catch'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in `invoke'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:889:in `call!'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:877:in `call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/xss_header.rb:18:in `call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/path_traversal.rb:16:in `call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/json_csrf.rb:18:in `call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/base.rb:50:in `call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/base.rb:50:in `call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/frame_options.rb:31:in `call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/logger.rb:15:in `call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/commonlogger.rb:33:in `call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:217:in `call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:210:in `call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:180:in `call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:2004:in `call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1469:in `block in call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1778:in `synchronize'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1469:in `call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
  /home/vcap/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
  /home/vcap/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
  /home/vcap/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'

Waiting for:
myvalue

/var/vcap/data/packages/acceptance-tests/d33481868dd13b9fdd20957a8d1b6d512bd3f23e.1-2fdbd84d3369d8f1ebbe60e65acce2359c089755/riak-cs-service/riak_cs_test.go:41

Summarizing 2 Failures:

[Fail] [BeforeEach] Riak CS Nodes Register a Route Allows users to access the riak-cs service using external url instead of IP of single machine after register the route
/var/vcap/packages/acceptance-tests/vendor/src/github.com/cloudfoundry-incubator/cf-test-helpers/services/context_setup/context_setup.go:67

[Fail] Riak CS Service Lifecycle [It] Allows users to create, bind, write to, read from, unbind, and destroy the service instance
/var/vcap/data/packages/acceptance-tests/d33481868dd13b9fdd20957a8d1b6d512bd3f23e.1-2fdbd84d3369d8f1ebbe60e65acce2359c089755/riak-cs-service/riak_cs_test.go:41

Ran 3 of 3 Specs in 108.130 seconds
FAIL! -- 1 Passed | 2 Failed | 0 Pending | 0 Skipped --- FAIL: TestServices (108.13s)
FAIL

Ginkgo ran 1 suite in 1m49.561745033s
Test Suite Failed

[stderr]

  • bin/test
  • set -u
  • which go
  • GOPATH=/var/vcap/packages/acceptance-tests/vendor
  • go install github.com/onsi/ginkgo/ginkgo
  • go fmt ./riak-cs-service/...
  • GOPATH=/var/vcap/packages/acceptance-tests/vendor
  • CF_COLOR=false
  • CF_VERBOSE_OUTPUT=true
  • vendor/bin/ginkgo -v -slowSpecThreshold=300 ./riak-cs-service

Errand `acceptance-tests' completed with error (exit code 1)

@weberstephanhd
Copy link
Author

I forgot: cf-release is on tag 196

@weberstephanhd
Copy link
Author

If I use cf-riak-cs-release v7 I only have one failing acceptance test:

$ bosh run errand acceptance-tests

Processing deployment manifest

Director task 7
Started preparing deployment
Started preparing deployment > Binding deployment. Done (00:00:00)
Started preparing deployment > Binding releases. Done (00:00:00)
Started preparing deployment > Binding existing deployment. Done (00:00:01)
Started preparing deployment > Binding resource pools. Done (00:00:00)
Started preparing deployment > Binding stemcells. Done (00:00:00)
Started preparing deployment > Binding templates. Done (00:00:00)
Started preparing deployment > Binding properties. Done (00:00:00)
Started preparing deployment > Binding unallocated VMs. Done (00:00:00)
Started preparing deployment > Binding instance networks. Done (00:00:00)
Done preparing deployment (00:00:01)

Started preparing package compilation > Finding packages to compile. Done (00:00:00)

Started creating bound missing vms > broker-pool/0. Done (00:00:01)

Started binding instance vms > acceptance-tests/0. Done (00:00:00)

Started updating job acceptance-tests > acceptance-tests/0 (canary). Done (00:00:41)

Started running errand > acceptance-tests/0. Done (00:01:59)

Started fetching logs for acceptance-tests/0 > Finding and packing log files. Done (00:00:01)

Started deleting errand instances acceptance-tests > 5f4c279a-d638-4971-6f12-161154bdc9fc. Done (00:00:01)

Task 7 done

Started 2015-01-26 18:38:03 UTC
Finished 2015-01-26 18:40:47 UTC
Duration 00:02:44

[stdout]
/var/vcap/packages/golang/bin/go

Running Suite: Riak CS Services Suite

Random Seed: 1422297528
Will run 3 of 3 specs

Riak CS Nodes Register a Route
Allows users to access the riak-cs service using external url instead of IP of single machine after register the route
/var/vcap/data/packages/acceptance-tests/cd135e633f376c9e41a5458fd0881bfb338eefd1.1-93facb3369d9be27eb6acc6574c6a756e925290e/riak-cs-service/route_register_test.go:22

cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK

API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.

cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space

cf create-user RiakCSATS-USER-1-2015_01_26-18h38m49.762s meow
Creating user RiakCSATS-USER-1-2015_01_26-18h38m49.762s as admin...
OK

TIP: Assign roles with 'cf set-org-role' and 'cf set-space-role'

cf curl /v2/quota_definitions -X POST -d {"name":"RiakCSATS-QUOTA-1-2015_01_26-18h38m49.762s","non_basic_services_allowed":true,"total_services":100,"total_routes":1000,"memory_limit":10240}
{
"metadata": {
"guid": "3af175d9-3a4c-4b9d-a162-82f344730f36",
"url": "/v2/quota_definitions/3af175d9-3a4c-4b9d-a162-82f344730f36",
"created_at": "2015-01-26T18:38:50+00:00",
"updated_at": null
},
"entity": {
"name": "RiakCSATS-QUOTA-1-2015_01_26-18h38m49.762s",
"non_basic_services_allowed": true,
"total_services": 100,
"total_routes": 1000,
"memory_limit": 10240,
"trial_db_allowed": false,
"instance_memory_limit": -1
}
}

cf create-org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s
Creating org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s as admin...
OK

TIP: Use 'cf target -o RiakCSATS-ORG-1-2015_01_26-18h38m49.762s' to target new org

cf set-quota RiakCSATS-ORG-1-2015_01_26-18h38m49.762s RiakCSATS-QUOTA-1-2015_01_26-18h38m49.762s
Setting quota RiakCSATS-QUOTA-1-2015_01_26-18h38m49.762s to org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s as admin...
OK

cf logout
Logging out...
OK

cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK

API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.

cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space

cf create-space -o RiakCSATS-ORG-1-2015_01_26-18h38m49.762s RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s
Creating space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s as admin...
OK
Assigning role SpaceManager to user admin in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as admin...
OK
Assigning role SpaceDeveloper to user admin in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as admin...
OK

TIP: Use 'cf target -o RiakCSATS-ORG-1-2015_01_26-18h38m49.762s -s RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s' to target new space

cf set-space-role RiakCSATS-USER-1-2015_01_26-18h38m49.762s RiakCSATS-ORG-1-2015_01_26-18h38m49.762s RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s SpaceManager
Assigning role SpaceManager to user RiakCSATS-USER-1-2015_01_26-18h38m49.762s in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as admin...
OK

cf set-space-role RiakCSATS-USER-1-2015_01_26-18h38m49.762s RiakCSATS-ORG-1-2015_01_26-18h38m49.762s RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s SpaceDeveloper
Assigning role SpaceDeveloper to user RiakCSATS-USER-1-2015_01_26-18h38m49.762s in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as admin...
OK

cf set-space-role RiakCSATS-USER-1-2015_01_26-18h38m49.762s RiakCSATS-ORG-1-2015_01_26-18h38m49.762s RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s SpaceAuditor
Assigning role SpaceAuditor to user RiakCSATS-USER-1-2015_01_26-18h38m49.762s in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as admin...
OK

cf logout
Logging out...
OK

cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK

API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.

cf auth RiakCSATS-USER-1-2015_01_26-18h38m49.762s meow
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space

cf target -o RiakCSATS-ORG-1-2015_01_26-18h38m49.762s -s RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
User: RiakCSATS-USER-1-2015_01_26-18h38m49.762s
Org: RiakCSATS-ORG-1-2015_01_26-18h38m49.762s
Space: RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s

curl -s -k https://p-riakcs.10.244.0.34.xip.io/riak-cs/ping
OK
cf logout
Logging out...
OK

cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK

API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.

cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space

cf delete-user -f RiakCSATS-USER-1-2015_01_26-18h38m49.762s
Deleting user RiakCSATS-USER-1-2015_01_26-18h38m49.762s as admin...
OK

cf delete-org -f RiakCSATS-ORG-1-2015_01_26-18h38m49.762s
Deleting org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s as admin...
OK

cf curl /v2/quota_definitions/3af175d9-3a4c-4b9d-a162-82f344730f36?recursive=true -X DELETE -d

cf logout
Logging out...
OK

Riak CS Service Lifecycle
Allows users to create, bind, write to, read from, unbind, and destroy the service instance
/var/vcap/data/packages/acceptance-tests/cd135e633f376c9e41a5458fd0881bfb338eefd1.1-93facb3369d9be27eb6acc6574c6a756e925290e/riak-cs-service/riak_cs_test.go:53

cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK

API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.

cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space

cf create-user RiakCSATS-USER-1-2015_01_26-18h38m49.762s meow
Creating user RiakCSATS-USER-1-2015_01_26-18h38m49.762s as admin...
OK

TIP: Assign roles with 'cf set-org-role' and 'cf set-space-role'

cf curl /v2/quota_definitions -X POST -d {"name":"RiakCSATS-QUOTA-1-2015_01_26-18h38m49.762s","non_basic_services_allowed":true,"total_services":100,"total_routes":1000,"memory_limit":10240}
{
"metadata": {
"guid": "315f1ac4-b55c-4de8-8dba-4dcb36108cfd",
"url": "/v2/quota_definitions/315f1ac4-b55c-4de8-8dba-4dcb36108cfd",
"created_at": "2015-01-26T18:39:06+00:00",
"updated_at": null
},
"entity": {
"name": "RiakCSATS-QUOTA-1-2015_01_26-18h38m49.762s",
"non_basic_services_allowed": true,
"total_services": 100,
"total_routes": 1000,
"memory_limit": 10240,
"trial_db_allowed": false,
"instance_memory_limit": -1
}
}

cf create-org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s
Creating org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s as admin...
OK

TIP: Use 'cf target -o RiakCSATS-ORG-1-2015_01_26-18h38m49.762s' to target new org

cf set-quota RiakCSATS-ORG-1-2015_01_26-18h38m49.762s RiakCSATS-QUOTA-1-2015_01_26-18h38m49.762s
Setting quota RiakCSATS-QUOTA-1-2015_01_26-18h38m49.762s to org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s as admin...
OK

cf logout
Logging out...
OK

cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK

API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.

cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space

cf create-space -o RiakCSATS-ORG-1-2015_01_26-18h38m49.762s RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s
Creating space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s as admin...
OK
Assigning role SpaceManager to user admin in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as admin...
OK
Assigning role SpaceDeveloper to user admin in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as admin...
OK

TIP: Use 'cf target -o RiakCSATS-ORG-1-2015_01_26-18h38m49.762s -s RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s' to target new space

cf set-space-role RiakCSATS-USER-1-2015_01_26-18h38m49.762s RiakCSATS-ORG-1-2015_01_26-18h38m49.762s RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s SpaceManager
Assigning role SpaceManager to user RiakCSATS-USER-1-2015_01_26-18h38m49.762s in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as admin...
OK

cf set-space-role RiakCSATS-USER-1-2015_01_26-18h38m49.762s RiakCSATS-ORG-1-2015_01_26-18h38m49.762s RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s SpaceDeveloper
Assigning role SpaceDeveloper to user RiakCSATS-USER-1-2015_01_26-18h38m49.762s in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as admin...
OK

cf set-space-role RiakCSATS-USER-1-2015_01_26-18h38m49.762s RiakCSATS-ORG-1-2015_01_26-18h38m49.762s RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s SpaceAuditor
Assigning role SpaceAuditor to user RiakCSATS-USER-1-2015_01_26-18h38m49.762s in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as admin...
OK

cf logout
Logging out...
OK

cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK

API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.

cf auth RiakCSATS-USER-1-2015_01_26-18h38m49.762s meow
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space

cf target -o RiakCSATS-ORG-1-2015_01_26-18h38m49.762s -s RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
User: RiakCSATS-USER-1-2015_01_26-18h38m49.762s
Org: RiakCSATS-ORG-1-2015_01_26-18h38m49.762s
Space: RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s

cf push 9f7e89de-2a49-4576-7446-258b30a85e6f -m 256M -p ../assets/app_sinatra_service -no-start
Creating app 9f7e89de-2a49-4576-7446-258b30a85e6f in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as RiakCSATS-USER-1-2015_01_26-18h38m49.762s...
OK

Creating route 9f7e89de-2a49-4576-7446-258b30a85e6f.10.244.0.34.xip.io...
OK

Binding 9f7e89de-2a49-4576-7446-258b30a85e6f.10.244.0.34.xip.io to 9f7e89de-2a49-4576-7446-258b30a85e6f...
OK

Uploading 9f7e89de-2a49-4576-7446-258b30a85e6f...
Uploading app files from: ../assets/app_sinatra_service
Uploading 10.7M, 22 files
OK

Endpoint deprecated

cf create-service p-riakcs developer 31e9d180-966e-4223-7606-5f1af2a856e0
Creating service 31e9d180-966e-4223-7606-5f1af2a856e0 in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as RiakCSATS-USER-1-2015_01_26-18h38m49.762s...
OK

cf bind-service 9f7e89de-2a49-4576-7446-258b30a85e6f 31e9d180-966e-4223-7606-5f1af2a856e0
Binding service 31e9d180-966e-4223-7606-5f1af2a856e0 to app 9f7e89de-2a49-4576-7446-258b30a85e6f in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as RiakCSATS-USER-1-2015_01_26-18h38m49.762s...
OK
TIP: Use 'cf push' to ensure your env variable changes take effect

cf start 9f7e89de-2a49-4576-7446-258b30a85e6f
Starting app 9f7e89de-2a49-4576-7446-258b30a85e6f in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as RiakCSATS-USER-1-2015_01_26-18h38m49.762s...
OK
-----> Downloaded app package (11M)
-------> Buildpack version 1.2.0
-----> Compiling Ruby/Rack
-----> Using Ruby version: ruby-2.0.0
-----> Installing dependencies using 1.6.3
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
Installing formatador 0.2.4
Installing builder 3.2.2
Installing excon 0.31.0
Installing mime-types 2.1
Installing multi_json 1.8.4
Installing mini_portile 0.5.2
Installing ruby-hmac 0.4.0
Installing tilt 1.4.1
Using bundler 1.6.3
Installing net-ssh 2.8.0
Installing rack 1.5.2
Installing net-scp 1.1.2
Installing rack-protection 1.5.2
Installing sinatra 1.4.4
Installing nokogiri 1.6.1
Installing fog 1.19.0
Your bundle is complete!
Gems in the groups development and test were not installed.
It was installed into ./vendor/bundle
Bundle completed (7.51s)
Cleaning up the bundler cache.

WARNING:
   You have not declared a Ruby version in your Gemfile.
   To set your Ruby version add this line to your Gemfile:
   ruby '2.0.0'
   # See https://devcenter.heroku.com/articles/ruby-versions for more information.
WARNING:
   No Procfile detected, using the default web server (webrick)
   https://devcenter.heroku.com/articles/ruby-default-web-server

-----> Uploading droplet (34M)

1 of 1 instances running

App started

Showing health and status for app 9f7e89de-2a49-4576-7446-258b30a85e6f in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as RiakCSATS-USER-1-2015_01_26-18h38m49.762s...
OK

requested state: started
instances: 1/1
usage: 256M x 1 instances
urls: 9f7e89de-2a49-4576-7446-258b30a85e6f.10.244.0.34.xip.io

 state     since                    cpu    memory          disk   

#0 running 2015-01-26 06:40:02 PM 0.0% 71.7M of 256M 0 of 1G
Posting to url: https://9f7e89de-2a49-4576-7446-258b30a85e6f.10.244.0.34.xip.io/service/blobstore/31e9d180-966e-4223-7606-5f1af2a856e0/mykey

curl -s -k -d myvalue https://9f7e89de-2a49-4576-7446-258b30a85e6f.10.244.0.34.xip.io/service/blobstore/31e9d180-966e-4223-7606-5f1af2a856e0/mykey
Error: Connection refused - connect(2) (Errno::ECONNREFUSED)

Backtrace: /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:195:in connect_nonblock' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:195:inrescue in block in connect'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:171:in block in connect' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:167:ineach'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:167:in connect' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/ssl_socket.rb:97:inconnect'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:28:in initialize' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/ssl_socket.rb:9:ininitialize'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:410:in new' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:410:insocket'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:122:in request_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/mock.rb:42:inrequest_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/instrumentor.rb:22:in request_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:15:inrequest_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:15:in request_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:15:inrequest_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:265:in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/idempotent.rb:12:inerror_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in error_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:inerror_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:288:in rescue in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:225:inrequest'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/idempotent.rb:12:in error_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:inerror_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in error_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:288:inrescue in request'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:225:in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/idempotent.rb:12:inerror_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in error_call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:inerror_call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:288:in rescue in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:225:inrequest'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/xml/sax_parser_connection.rb:36:in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/core/deprecated/connection.rb:18:inrequest'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/aws/storage.rb:539:in request' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/aws/requests/storage/get_bucket.rb:44:inget_bucket'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/aws/models/storage/directories.rb:24:in get' /home/vcap/app/main.rb:48:inblock in <top (required)>'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1593:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1593:inblock in compile!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:957:in []' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:957:inblock (3 levels) in route!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:976:in route_eval' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:957:inblock (2 levels) in route!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:997:in block in process_route' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:995:incatch'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:995:in process_route' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:955:inblock in route!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:954:in each' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:954:inroute!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1067:in block in dispatch!' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:inblock in invoke'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in catch' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:ininvoke'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1064:in dispatch!' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:889:inblock in call!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in block in invoke' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:incatch'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in invoke' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:889:incall!'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:877:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/xss_header.rb:18:incall'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/path_traversal.rb:16:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/json_csrf.rb:18:incall'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/base.rb:50:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/base.rb:50:incall'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/frame_options.rb:31:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/logger.rb:15:incall'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/commonlogger.rb:33:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:217:incall'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:210:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/head.rb:11:incall'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:180:incall'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:2004:in call' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1469:inblock in call'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1778:in synchronize' /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1469:incall'
/home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in service' /home/vcap/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:inservice'
/home/vcap/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in run' /home/vcap/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:inblock in start_thread'

cf delete 9f7e89de-2a49-4576-7446-258b30a85e6f -f
Deleting app 9f7e89de-2a49-4576-7446-258b30a85e6f in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as RiakCSATS-USER-1-2015_01_26-18h38m49.762s...
OK

cf logout
Logging out...
OK

cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK

API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.

cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space

cf delete-user -f RiakCSATS-USER-1-2015_01_26-18h38m49.762s
Deleting user RiakCSATS-USER-1-2015_01_26-18h38m49.762s as admin...
OK

cf delete-org -f RiakCSATS-ORG-1-2015_01_26-18h38m49.762s
Deleting org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s as admin...
OK

cf curl /v2/quota_definitions/315f1ac4-b55c-4de8-8dba-4dcb36108cfd?recursive=true -X DELETE -d

cf logout
Logging out...
OK

• Failure [84.957 seconds]
Riak CS Service Lifecycle
/var/vcap/data/packages/acceptance-tests/cd135e633f376c9e41a5458fd0881bfb338eefd1.1-93facb3369d9be27eb6acc6574c6a756e925290e/riak-cs-service/riak_cs_test.go:54
Allows users to create, bind, write to, read from, unbind, and destroy the service instance [It]
/var/vcap/data/packages/acceptance-tests/cd135e633f376c9e41a5458fd0881bfb338eefd1.1-93facb3369d9be27eb6acc6574c6a756e925290e/riak-cs-service/riak_cs_test.go:53

No future change is possible. Bailing out early after 5.010s.
Got stuck at:
Error: Connection refused - connect(2) (Errno::ECONNREFUSED)

  Backtrace: /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:195:in `connect_nonblock'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:195:in `rescue in block in connect'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:171:in `block in connect'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:167:in `each'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:167:in `connect'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/ssl_socket.rb:97:in `connect'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/socket.rb:28:in `initialize'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/ssl_socket.rb:9:in `initialize'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:410:in `new'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:410:in `socket'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:122:in `request_call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/mock.rb:42:in `request_call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/instrumentor.rb:22:in `request_call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:15:in `request_call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:15:in `request_call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:15:in `request_call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:265:in `request'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/idempotent.rb:12:in `error_call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in `error_call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in `error_call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:288:in `rescue in request'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:225:in `request'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/idempotent.rb:12:in `error_call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in `error_call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in `error_call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:288:in `rescue in request'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:225:in `request'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/idempotent.rb:12:in `error_call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in `error_call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:10:in `error_call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:288:in `rescue in request'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:225:in `request'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/xml/sax_parser_connection.rb:36:in `request'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/core/deprecated/connection.rb:18:in `request'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/aws/storage.rb:539:in `request'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/aws/requests/storage/get_bucket.rb:44:in `get_bucket'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/fog-1.19.0/lib/fog/aws/models/storage/directories.rb:24:in `get'
  /home/vcap/app/main.rb:48:in `block in <top (required)>'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1593:in `call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1593:in `block in compile!'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:957:in `[]'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:957:in `block (3 levels) in route!'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:976:in `route_eval'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:957:in `block (2 levels) in route!'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:997:in `block in process_route'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:995:in `catch'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:995:in `process_route'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:955:in `block in route!'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:954:in `each'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:954:in `route!'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1067:in `block in dispatch!'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in `block in invoke'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in `catch'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in `invoke'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1064:in `dispatch!'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:889:in `block in call!'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in `block in invoke'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in `catch'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in `invoke'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:889:in `call!'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:877:in `call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/xss_header.rb:18:in `call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/path_traversal.rb:16:in `call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/json_csrf.rb:18:in `call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/base.rb:50:in `call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/base.rb:50:in `call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-protection-1.5.2/lib/rack/protection/frame_options.rb:31:in `call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/logger.rb:15:in `call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/commonlogger.rb:33:in `call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:217:in `call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:210:in `call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:180:in `call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:2004:in `call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1469:in `block in call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1778:in `synchronize'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1469:in `call'
  /home/vcap/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:60:in `service'
  /home/vcap/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
  /home/vcap/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
  /home/vcap/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'

Waiting for:
myvalue

/var/vcap/data/packages/acceptance-tests/cd135e633f376c9e41a5458fd0881bfb338eefd1.1-93facb3369d9be27eb6acc6574c6a756e925290e/riak-cs-service/riak_cs_test.go:40

Riak Broker Registers a Route
Allows users to access the riak-cs broker using a url
/var/vcap/data/packages/acceptance-tests/cd135e633f376c9e41a5458fd0881bfb338eefd1.1-93facb3369d9be27eb6acc6574c6a756e925290e/riak-cs-service/route_register_test.go:36

cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK

API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.

cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space

cf create-user RiakCSATS-USER-1-2015_01_26-18h38m49.762s meow
Creating user RiakCSATS-USER-1-2015_01_26-18h38m49.762s as admin...
OK

TIP: Assign roles with 'cf set-org-role' and 'cf set-space-role'

cf curl /v2/quota_definitions -X POST -d {"name":"RiakCSATS-QUOTA-1-2015_01_26-18h38m49.762s","non_basic_services_allowed":true,"total_services":100,"total_routes":1000,"memory_limit":10240}
{
"metadata": {
"guid": "240340c4-4581-4d3b-9376-930cbc61a804",
"url": "/v2/quota_definitions/240340c4-4581-4d3b-9376-930cbc61a804",
"created_at": "2015-01-26T18:40:31+00:00",
"updated_at": null
},
"entity": {
"name": "RiakCSATS-QUOTA-1-2015_01_26-18h38m49.762s",
"non_basic_services_allowed": true,
"total_services": 100,
"total_routes": 1000,
"memory_limit": 10240,
"trial_db_allowed": false,
"instance_memory_limit": -1
}
}

cf create-org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s
Creating org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s as admin...
OK

TIP: Use 'cf target -o RiakCSATS-ORG-1-2015_01_26-18h38m49.762s' to target new org

cf set-quota RiakCSATS-ORG-1-2015_01_26-18h38m49.762s RiakCSATS-QUOTA-1-2015_01_26-18h38m49.762s
Setting quota RiakCSATS-QUOTA-1-2015_01_26-18h38m49.762s to org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s as admin...
OK

cf logout
Logging out...
OK

cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK

API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.

cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space

cf create-space -o RiakCSATS-ORG-1-2015_01_26-18h38m49.762s RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s
Creating space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s as admin...
OK
Assigning role SpaceManager to user admin in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as admin...
OK
Assigning role SpaceDeveloper to user admin in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as admin...
OK

TIP: Use 'cf target -o RiakCSATS-ORG-1-2015_01_26-18h38m49.762s -s RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s' to target new space

cf set-space-role RiakCSATS-USER-1-2015_01_26-18h38m49.762s RiakCSATS-ORG-1-2015_01_26-18h38m49.762s RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s SpaceManager
Assigning role SpaceManager to user RiakCSATS-USER-1-2015_01_26-18h38m49.762s in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as admin...
OK

cf set-space-role RiakCSATS-USER-1-2015_01_26-18h38m49.762s RiakCSATS-ORG-1-2015_01_26-18h38m49.762s RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s SpaceDeveloper
Assigning role SpaceDeveloper to user RiakCSATS-USER-1-2015_01_26-18h38m49.762s in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as admin...
OK

cf set-space-role RiakCSATS-USER-1-2015_01_26-18h38m49.762s RiakCSATS-ORG-1-2015_01_26-18h38m49.762s RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s SpaceAuditor
Assigning role SpaceAuditor to user RiakCSATS-USER-1-2015_01_26-18h38m49.762s in org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s / space RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s as admin...
OK

cf logout
Logging out...
OK

cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK

API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.

cf auth RiakCSATS-USER-1-2015_01_26-18h38m49.762s meow
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space

cf target -o RiakCSATS-ORG-1-2015_01_26-18h38m49.762s -s RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s
API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
User: RiakCSATS-USER-1-2015_01_26-18h38m49.762s
Org: RiakCSATS-ORG-1-2015_01_26-18h38m49.762s
Space: RiakCSATS-SPACE-1-2015_01_26-18h38m49.762s

curl -s -k -s -w %{http_code} http://p-riakcs-broker.10.244.0.34.xip.io/v2/catalog -o /dev/null
401
cf logout
Logging out...
OK

cf api https://api.10.244.0.34.xip.io --skip-ssl-validation
Setting api endpoint to https://api.10.244.0.34.xip.io...
OK

API endpoint: https://api.10.244.0.34.xip.io (API version: 2.21.0)
Not logged in. Use 'cf login' to log in.

cf auth admin admin
API endpoint: https://api.10.244.0.34.xip.io
Authenticating...
OK
Use 'cf target' to view or set your target org and space

cf delete-user -f RiakCSATS-USER-1-2015_01_26-18h38m49.762s
Deleting user RiakCSATS-USER-1-2015_01_26-18h38m49.762s as admin...
OK

cf delete-org -f RiakCSATS-ORG-1-2015_01_26-18h38m49.762s
Deleting org RiakCSATS-ORG-1-2015_01_26-18h38m49.762s as admin...
OK

cf curl /v2/quota_definitions/240340c4-4581-4d3b-9376-930cbc61a804?recursive=true -X DELETE -d

cf logout
Logging out...
OK

Summarizing 1 Failure:

[Fail] Riak CS Service Lifecycle [It] Allows users to create, bind, write to, read from, unbind, and destroy the service instance
/var/vcap/data/packages/acceptance-tests/cd135e633f376c9e41a5458fd0881bfb338eefd1.1-93facb3369d9be27eb6acc6574c6a756e925290e/riak-cs-service/riak_cs_test.go:40

Ran 3 of 3 Specs in 115.302 seconds
FAIL! -- 2 Passed | 1 Failed | 0 Pending | 0 Skipped --- FAIL: TestServices (115.30 seconds)
FAIL

Ginkgo ran 1 suite in 1m56.825919671s
Test Suite Failed

[stderr]

  • bin/test
  • set -u
  • which go
  • GOPATH=/var/vcap/packages/acceptance-tests/vendor
  • go install github.com/onsi/ginkgo/ginkgo
  • go fmt ./riak-cs-service/...
  • GOPATH=/var/vcap/packages/acceptance-tests/vendor
  • CF_COLOR=false
  • CF_VERBOSE_OUTPUT=true
  • vendor/bin/ginkgo -v -slowSpecThreshold=300 ./riak-cs-service

Errand `acceptance-tests' completed with error (exit code 1)

@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/86965628.

@karlkfi
Copy link
Contributor

karlkfi commented Feb 27, 2015

Have you been able to get these acceptance tests running successfully since then?

It looks like the first error you got was on executing cf create-user during test setup. Unfortunately, that setup doesn't print much in the way of failure output. So it's hard to diagnose.

The second error is equally perplexing. It looks like a curl to put a new object in the blobstore failed with Connection refused.

Without more details it's hard to diagnose the problem, but it seems like it might be networking related. Can you share your (sanitized) deployment manifest?

Also, for future reference, it's easier to read error logs if they're in an unformatted gist, rather than letting github try to parse them as markdown.

Karl & Lyle
CF Core Services Team

@weberstephanhd
Copy link
Author

I just tried it again with v8. Find bosh vms, cf-manifest and riak-manifest and the test-log at: https://gist.github.com/weberstephanhd/558653cc83e627ef2336

Super easy to reproduce (at least on my box):
Setup new bosh-lite from scratch, deploy cf-warden, deploy cf-riak-cs-release v8 (warden), run errand with acceptance-tests. Now two out of three tests succeed...

@karlkfi
Copy link
Contributor

karlkfi commented Mar 17, 2015

Did you run the broker-registrar errand before running the acceptance-tests errand?

It looks like the service broker either hasn't been registered, or the plans haven't been made public.

Use bosh run errand broker-registrar to register the p-riakcs service and make its plans public.

@weberstephanhd
Copy link
Author

The acceptance tests are running successfully now. The missing piece was "security groups". From the order of the steps in the README I understood that the acceptance tests can be executed without the following topic "security groups" or that this is done by the test errand automatically... obviously this is not the case.

@karlkfi
Copy link
Contributor

karlkfi commented Mar 17, 2015

We updated the cf-release warden spiff templates recently to include a load_balancer security group, provided you're using a recent enough version:

cloudfoundry-attic/cf-release#591
cloudfoundry-attic/cf-release#606

@shalako
Copy link
Contributor

shalako commented Mar 17, 2015

I moved the Security Group section above the Acceptance Tests section. I hope this improves the experience for the next user. Thank you for letting us know; sorry for the trouble!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants