[openstack-dev] [qa] [rfc] move scenario tests to tempest client
sean at dague.net
Thu Jul 10 11:23:00 UTC 2014
As I've been staring at failures in the gate a lot over the past month,
we've managed to increasingly tune the tempest client for readability
and debugability. So when something fails in an API test, pin pointing
it's failure point is getting easier. The scenario tests... not so much.
Using the official clients in the scenario tests was originally thought
of as a way to get some extra testing on those clients through Tempest.
However it has a ton of debt associated with it. And I think that client
testing should be done as functional tests in the client trees, not
as a side effect of Tempest.
* It makes the output of a fail path radically different between the 2
* It adds a bunch of complexity on tenant isolation (and basic
duplication between building accounts for both clients)
* It generates a whole bunch of complexity around "waiting for"
resources, and safe creates which garbage collect. All of which has to
be done above the client level because the official clients don't
provide that functionality.
In addition the official clients don't do the right thing when hitting
API rate limits, so are dubious in running on real clouds. There was a
proposed ugly monkey patch approach which was just too much for us to
Migrating to tempest clients I think would clean up a ton of complexity,
and provide for a more straight forward debuggable experience when using
I'd like to take a temperature on this though, so comments welcomed.
(see New Thinking about our validation layers)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 482 bytes
Desc: OpenPGP digital signature
More information about the OpenStack-dev