Running the app test suite within the CATs, and the admin_buildpack_lifecycle_test is failing


Jordan Collier
 

`[2015-09-24 15:06:25.24 (UTC)]> cf logout
Logging out...
OK
• Failure [22.809 seconds]
Admin Buildpacks
/Users/localadmin/github.com/cloudfoundry/src/github.com/cloudfoundry/cf-acceptance-tests/apps/admin_buildpack_lifecycle_test.go:172
when the buildpack fails to detect
/Users/localadmin/github.com/cloudfoundry/src/github.com/cloudfoundry/cf-acceptance-tests/apps/admin_buildpack_lifecycle_test.go:129
fails to stage [It]
/Users/localadmin/github.com/cloudfoundry/src/github.com/cloudfoundry/cf-acceptance-tests/apps/admin_buildpack_lifecycle_test.go:128

Got stuck at:
Creating app CATS-APP-5c7775a6-1753-4e2d-4415-7f6abe01a974 in org CATS-ORG-1-2015_09_24-08h01m29.448s / space CATS-SPACE-1-2015_09_24-08h01m29.448s as CATS-USER-1-2015_09_24-08h01m29.448s...
OK

Creating route cats-app-5c7775a6-1753-4e2d-4415-7f6abe01a974.switchollie.allstate.com...
OK

Binding cats-app-5c7775a6-1753-4e2d-4415-7f6abe01a974.switchollie.allstate.com to CATS-APP-5c7775a6-1753-4e2d-4415-7f6abe01a974...
OK

Uploading CATS-APP-5c7775a6-1753-4e2d-4415-7f6abe01a974...
Uploading app files from: /var/folders/ph/tg82ppzd6kngwm_g2tbzpccc0000gn/T/matching-app824262495
Uploading 132, 1 files
Done uploading
OK

Starting app CATS-APP-5c7775a6-1753-4e2d-4415-7f6abe01a974 in org CATS-ORG-1-2015_09_24-08h01m29.448s / space CATS-SPACE-1-2015_09_24-08h01m29.448s as CATS-USER-1-2015_09_24-08h01m29.448s...
-----> Downloaded app package (4.0K)
Staging failed: An application could not be detected by any available buildpack


FAILED
Server error, status code: 400, error code: 170003, message: An app was not successfully detected by any available buildpack

TIP: use 'cf logs CATS-APP-5c7775a6-1753-4e2d-4415-7f6abe01a974 --recent' for more information

Waiting for:
NoAppDetectedError

/Users/localadmin/github.com/cloudfoundry/src/github.com/cloudfoundry/cf-acceptance-tests/apps/admin_buildpack_lifecycle_test.go:127`

It looks as if it is failing for the correct reason, is there something I am missing?


Jordan Collier
 

I was unclear on what I am asking, the real question is as follows:

What is the best way to run the apps test suite within the CATS on an older version of cloud foundry? (for example I am running these tests on version 208)


Christopher Piraino <cpiraino@...>
 

Jordan,

The Cloud Foundry bosh release comes with an errand called
"acceptance_tests" that contains the version of CATs which that version of
CF was tested with. You can run these by doing "bosh run errand
acceptance_tests".

There are also some manifest properties that you might need to set for the
CATs to run correctly. The list of all possible properties for the
acceptance_tests errand can be found here:
https://github.com/cloudfoundry/cf-release/blob/develop/jobs/acceptance-tests/spec
.


- Chris Piraino

On Thu, Sep 24, 2015 at 11:27 AM, Jordan Collier <jordanicollier(a)gmail.com>
wrote:

I was unclear on what I am asking, the real question is as follows:

What is the best way to run the apps test suite within the CATS on an
older version of cloud foundry? (for example I am running these tests on
version 208)


CF Runtime
 

You can also check out the v208 tag of cf-release, then run the
acceptance-tests from src/github.com/cloudfoundry/cf-acceptance-tests

Joseph
CF Release Integration Team

On Thu, Sep 24, 2015 at 2:53 PM, Christopher Piraino <cpiraino(a)pivotal.io>
wrote:

Jordan,

The Cloud Foundry bosh release comes with an errand called
"acceptance_tests" that contains the version of CATs which that version of
CF was tested with. You can run these by doing "bosh run errand
acceptance_tests".

There are also some manifest properties that you might need to set for the
CATs to run correctly. The list of all possible properties for the
acceptance_tests errand can be found here:
https://github.com/cloudfoundry/cf-release/blob/develop/jobs/acceptance-tests/spec
.


- Chris Piraino

On Thu, Sep 24, 2015 at 11:27 AM, Jordan Collier <jordanicollier(a)gmail.com
wrote:
I was unclear on what I am asking, the real question is as follows:

What is the best way to run the apps test suite within the CATS on an
older version of cloud foundry? (for example I am running these tests on
version 208)


JT Archie <jarchie@...>
 

Jordan,

Try the CATs with the deployment, just to be sure, but that being said...

It is also possible that your deployment may not have all the buildpacks
installed.

If you run the command `cf buildpacks`. It returns a list of uploaded
buildpacks on your CF deployment.

If you happen to have one missing that's it.

Cheers,

JT and Amin

On Thu, Sep 24, 2015 at 6:17 PM, CF Runtime <cfruntime(a)gmail.com> wrote:

You can also check out the v208 tag of cf-release, then run the
acceptance-tests from src/github.com/cloudfoundry/cf-acceptance-tests

Joseph
CF Release Integration Team

On Thu, Sep 24, 2015 at 2:53 PM, Christopher Piraino <cpiraino(a)pivotal.io>
wrote:

Jordan,

The Cloud Foundry bosh release comes with an errand called
"acceptance_tests" that contains the version of CATs which that version of
CF was tested with. You can run these by doing "bosh run errand
acceptance_tests".

There are also some manifest properties that you might need to set for
the CATs to run correctly. The list of all possible properties for the
acceptance_tests errand can be found here:
https://github.com/cloudfoundry/cf-release/blob/develop/jobs/acceptance-tests/spec
.


- Chris Piraino

On Thu, Sep 24, 2015 at 11:27 AM, Jordan Collier <
jordanicollier(a)gmail.com> wrote:

I was unclear on what I am asking, the real question is as follows:

What is the best way to run the apps test suite within the CATS on an
older version of cloud foundry? (for example I am running these tests on
version 208)