← Back to team overview

cf-charmers team mailing list archive

SSO / Service Broker test failures

 

We're down to two tests failing in CATS, and would like to request
some assistance from our friends at Pivotal.

The failures seem to stem from the same issue, specifically that
OAuth2 authorization against a service broker fail.  The specific
tests that are failing are:

* SSO Lifecycle When a service broker is created [It] can perform an
operation on a user's behalf using sso
* SSO Lifecycle When a service broker is updated [It] can perform an
operation on a user's behalf using sso

The test failure outputs can be found respectively at:

* http://pastebin.ubuntu.com/8047028/
* http://pastebin.ubuntu.com/8046470/

The tests both first fail on the shelpers.RequestScopes(...) lines,
with the requests to http://login.<domain>/oauth/authorize returning a
401 response (at lines 311 and 363, respectively, in the test
outputs).

(Note: The Expect checking around those calls is slightly flawed and
the tests continue further before ultimately failing.  Specifically,
in RequestScopes, authCode is pre-initialized to `initialized` so will
never be nil, and neither is the returned httpCode checked in the test
case to ensure the RequestScope call was successful.)

We have a deployment up (of release 175) that we can give access to,
with the service brokers available to test against.  We would
appreciate any assistance that can be provided, as these are the only
tests we are missing from having a fully passing deployment.


Thanks,
Cory


Follow ups