refactor - _is_timed_out using instance timeout

Each _is_timed_out client specified self.timeout as timeout parameter.
As _is_timed_out is an instance method, timeout parameter could be
retrieved from the object itself.

Change-Id: I56c6d5a21a36cf052d3bde86c454d7be72b22a7c
uniforms skip messages

this is an attempt to uniform skip messages and ensure multi-line
skips are correctly accounted by https://review.openstack.org/#/c/42424/
I think a future update to hacking/checks.py is also needed

Change-Id: I8ef1ac22a8b137f397847d217467df5572afde43
Stress ssh_floating test

Add stress test for floating IP association
 with multiple configuration options.

Change-Id: I184ce2df1ee58043cf9b26c46637c1d8160910e8
Updating HACKING.rst

* Adding a test case independence rule
* assertTrue/assertFalse msg argument
* Encouraging  matcher usage for assertion

Change-Id: I89612a0dd66513f10e8bf53632f6a3d81ccf4129
Add logging to the python-clients

The python-clients are very different in how they are logging,
the cinder and nova clients needs and additional option.

This change enables the http request/response logging to the
 nova and cinder python client.

The nova and cinder python client wants to create unnecessary logger
 to the console, unless you add a handler earlier.

Change-Id: I5bc72e52d16d2380ee36c8586cd1694ac1b4fa3d
Move the network api tests to smoke

Make the existing neutron tests voting.
However what should be smoke test, does not
have clear definition yet, but this change let these tests to vote.

Change-Id: I02612b3591057c4f59d6571e90acda74de802444
emit warning while running flake8 without virtual env

run_tests.sh -N -p
it will call the flake8 installed on your host to detect PEP8, and
the flake8 plugin "OpenStack hacking" may not installed on your
host, so this command may not detect the OpenStack Style Commandment
supplied by hacking(e.g H202).

run_tests.sh -p
it will call the flake8 from virtual env, flake8 plugin "OpenStack
hacking" installed in virtual env will be triggered.

The result from "run_tests.sh -p" should be trusted, and jenkins uses
virtual env to run flake8 too.

When "-N" is enabled, emit warning to stderr to remind user.

Bug #1215405

Change-Id: Ic0fc8d39a87942e175256453c6c4347f6a5cfbba
KeyError when tearDownClass called from setUpClass

The setUpclass full chain detection realys on calling at leat
 one test_method, but this is not happening when the setUpClass
failing.

Partially Fixing Bug: 1218279

Change-Id: I679d328591b10c8f0a8f3cb66ba250cdff2ecf05
Increase default test timeout for timeout fixture

This commit increases the default timeout for a test specified in
.testr.conf from 250 secs to 500 secs. The default build timeout
used for waiting for resource deletion is 400 secs. By using a test
timeout that was smaller than the build timeout some slow async
resource creation and deletions weren't completing before the test
was marked as failed for taking to long

Change-Id: Ia6292e68a8c3a0a0c03667a15f528c2ec6a5fbed
Partial-Bug: #1218585
Add more detailed message about the volumes missing

Instead of just showing the ones that were missing,
show the ones that were expected, the list that was
retrieved and the difference in one message. This
makes it much easier to see what the failure was.

Change-Id: I3ecb39fd2347af265f72e072e4827946c10fb2f6
Remove unused LOG variable in scenario tests

In some scenario tests, there are unused LOG variables.
This commit removes them and their 'import log' too.

Change-Id: I318fa5783ddb55796082963052ab73135a697988
Add handling for inherited stress attributes

In some cases inheritance is used for test cases (like XML/JSON tests).
For many of those cases inherited stress attribute are misleading
since they will execute nearly the same load on the system.

To avoid this issue we skip all inherited stress attributes by default
and add parameters to deactivate this on a global level and function
level.

Change-Id: I4260844ed15917106436d836c939157e32a59554
Fixes: bug #1219402
raise assertion error if output is falsy

No error was being raised when output was {}, but the following line
"output.split('\n')" raised an AssertionError.

Change-Id: I37d27f8b890941d9333e71c64b1af6127505d766
Added missing xml tests of volume

Volume test is only running for json
because some tests are missing in xml
Here added these missing tests in xml:-
*attach-volume
*detach-volume
*upload volume
added "xml" interface also for running the xml tests.

Also fixes: bug #1219779

Change-Id: Ifcb57f873c2522d2a2103d6adab2f4a9f53a39c8
add flavor creation tests

1. verify that it can deal with string ram parameter
2. make sure it can detect invalid ram and vcpus

Change-Id: Ic439cdf6b8ff99c7b13efc849afb92b4b0865392
Restrict Volume type deletion with volumes assoc

Updated the delete_volume method to wait till the
volume is deleted before type is delted.

Closes-Bug: #1215329

tag:doc-impact

Change-Id: I7a5d4b473588757d21b461337df493e8046e1d09
fix test_flavors_extra_specs failure

tempest.api.compute.admin.test_flavors_extra_specs.FlavorsExtraSpecsTestXML
failed due to test_flavor2 already exists

Fixing Bug 1220034

Change-Id: I259f4202978ac20d341349d1d227c6ef14c31d9b
Add tests for Swift's StaticWeb middelware

Creates the tests in a new file and test 2 headers:
 + web-index
 + web-listings

blueprint test-swift-staticweb-middelware
Change-Id: Ib914ffe4b45b96276b4f1f20d3e9828d04958d14
Merge "Remove unused LOG variable in scenario tests"
Merge "Increase default test timeout for timeout fixture"