Add parametric tests of Swift object API, part 4

Add positive tests of Swift object "COPY" APIs from the viewpoint of
completeness of query parameters.

Change-Id: Iada4a9e00ce66dccd46993fd3edcc39c625c9022
Remove unnecessary log message

This commit removes a useless log message from call_until_true. The
debug log there provides no useful debug information, just printing
that the sleep loop iterated doesn't enable any extra debugging. In
the worst case it ends up polluting the logs with the same message
while the loop times out. So let's just remove it.

Closes-Bug: #1336591
Change-Id: Ia0cec5c699470554a25c077082878772158f4c5a
Adds new v3 projects tests to Keystone

This submission adds a new test script "test_list_projects.py"
which has list projects with filters test cases. Also adds
missing v2 tests in v3 projects test script. Hence made
required changes in support functions too. As there is a new
script test_list_projects.py with list cases in it, hence removed
the test_list_projects test case from test_projects.py script and
added it to test_list_projects.py

Change-Id: I2db83e7cb70d89e7516c92eba4cb24115203e143
Add new shelve compute feature flag

Shelving/unshelving is not supported across all drivers (e.g., Ironic).
This adds a new compute feature flag and skips tests where this function
is performed.

Change-Id: Ib94b479db2b691e73c6121c17cb47ae1c25636a8
Sahara: preparations for job tests

* create/list/get/delete methods to Sahara API client for jobs
  were added
* Method "create_job" was added
* tearDownClass method was expanded

Partially implements: blueprint savanna-api-tests

Change-Id: I8d52a7505aeb25b7de3f6c8479daa056b8c6eae7
Sahara: add API tests for jobs

* create/list/get/delete API tests for jobs were added

Implements: blueprint savanna-api-tests

Change-Id: I8110f4e62c6934967aa316a7027987390d5135a8
Separate create server schema for admin password

admin password attribute in create server API's response
depend on the conf variable "enable_instance_password".

This patch separate create server schema based on this conf variable.

Partially implements blueprint nova-api-attribute-test

Change-Id: I897dd22dd5e130b4597b84c0e80eaed68c3e96a9
Fix skip_path logic if path part is empty

This was the case for the image client.

Change-Id: I5568bf6781ad57524c033868c2ab9f2ba4bb566d
Tag test_nova_keypair_resources as gate, not slow

This test doesn't boot any servers (not even cirros) so it can be
a standard gate test.

Change-Id: I73b84816d0fbedb65b395d7bc2ab3644262d898c
Partial-Bug: #1350099
Enable some volumes v2 tests by sharing codes part2

1. Rename volumes v1 client to a base client, then create
   v1 and v2 clients inheriting base client.
2. create volumes v2 tests using the existent test class.
3. create a new test class for v1, which inherits v2.

This patch includes the following volumes tests:
- test_availability_zone.py
- test_extensions.py

Partially implements: blueprint cinder-v2-api-tests

Change-Id: Ie21ebc184710e9abe894cdc20ed7a39aacc94ded
Skip test_rescope_token

There are several problems with revocation events in Keystone and
the test is currently failing on postgres. There's several fixes
proposed in Keystone to fix these but until they're merged this
test isn't working.

Change-Id: I9182d542fae0b4a5280dc482300203f84c8f4d8c
Closes-Bug: #1351026
Merge "Fix skip_path logic if path part is empty"
More comments to doc strings

This patch continues to change comments back to doc strings.

Co-Authored With: Jamie Lennox <jamielennox@redhat.com>

Change-Id: I1618344f49cf151cf30ed5470417b27962a70999
Merge "Adds new v3 projects tests to Keystone"
Merge "Add parametric tests of Swift object API, part 4"
Merge "Separate create server schema for admin password"
Merge "Tag test_nova_keypair_resources as gate, not slow"
Allow out of quota failure status code to be 413 or 403

The commit I2bb8a60ef254afbfed514cfeebe75355d0de4475 tries to change
error codes of quota-out to suitable ones (HTTPForbidden).
We need to allow both HTTP413 and HTTP403 because branchless Tempest
needs to support both master and icehouse/stable branches.

Change-Id: I4a867ba9ffa43801bb05ce1d33687cb5b9a3e0fb
Related-Bug: #1298131
Merge "Enable some volumes v2 tests by sharing codes part2"
Set python hash seed to 0 in tox.ini

New tox (>=1.7.0) sets a random python hash seed by default. This is
generally good for testing because it will help keep projects working
regardless of the hash seed, but tempest unittests don't currently
pass a with a random hash seed so set it to the python default seed.

This change will allow us to use new tox again and remove the
restriction on tox<=1.6.1 to run unittests.

Change-Id: Ib54364877a251db48c54dfdc43c503281ea1f04a