Make output from check_logs less verbose

This commit changes the output of check_logs.py to be a bit more
concise and clear. Instead of printing out every instance of errors
found in the log files it will only print out which individual files
had errors. If a file is marked as not allowing ERRORS or TRACES it
also prints that along with the filename. This should hopefully avoid
confusion around the operation of this script running in the gate.

Change-Id: Ib2a9a9736470cd3b445fb51a95a1a6c6696bb2cc
Fix unstable assertion in test_cinder_endpoints

In simple_read_only.test_cinder.test_cinder_endpoints, the test case
assumes that the first table of 'cinder endpoints' always ['nova',
'Value']. However, it is sometimes wrong.
So in this commit, the test verifies that they have 2 or more headers
and has a 'Value' header.

Change-Id: Idb3f2ebc6b7e05178621ac3701b7c3d02e1d7591
Closes-Bug: #1363018
Closes-Bug: #1362703
Backward compatibility to credentials in conf

Before switching to the YAML based configuration as the default for
credentials, we need to introduce backward compatibility to allow
credentials to be configured in tempest.conf.

Partially implements bp:test-accounts

Change-Id: I29c66c87d02f442b1d5b0b2d7c82ff2a140c111f
Migrate test_server_cfn_init to tempest clients

Migrate the test and change OrchestrationScenarioTest used by the test.
This is a part of the migrating all scenario tests to using tempest own
clients.

Change-Id: Iafc1b021fe8a9a5daa0e2d7eef0542b7929c415a
Partially-implements: bp:tempest-client-scenarios
Fix scenarios not passing down specific network

Nova v2 api expects nics in specific networks to be passed
down in an array of "networks". nics is used in novaclient
but converted to networks in
python-novaclient/tree/novaclient/v1_1/servers.py#n520

Apply the conversion to the parameters to make the check
pass in case where there would be multiple networks
matching the requirements. Also remove a case where scenario
manager forced in the wrong network into the tests.

Closes-Bug: #1368834
Change-Id: Ic0b87377c5878e240a0fbcc6549023c828dd97ab
Removes bogus negative create image compute

Removes test_create_image_specify_multibyte_character_image_name
as it is not a valid test. It currently does not send an
invalid utf-8 sequence, but a valid unicode one. Also we can't actually
send an invalid utf-8 sequence via JSON as it is not possible to
encode an invalid UTF-8 sequence into a series of unicode characters
which is what JSON uses as strings. So its not possible for it
to fail this way. And we don't do XML testing for this type of test.

Change-Id: I39b5c017c8a173f8dd56a14c1bc7dc6952ac787d
Partially-Closes: 1006725
Framework for resource safe class level fixtures

Modify BaseTestCase, add resource_setup and resource_cleanup
methods, invoked by setUpClass and tearDownClass respectively.

Partially-implements bp:resource-cleanup

Change-Id: I5f025b4f76d6d85fbefbada9475daf784425037a
Migrate computev2 API tests to resource_* fixtures

Partially-implements bp:resource-cleanup

Change-Id: I59eb2d9789368c812282ce12ae7e571be720badb
Migrate computev3 API tests to resource_* fixtures

Partially-implements bp:resource-cleanup

Change-Id: I581a9301d759c314e9f532caade580846d672287
Migrate identity API tests to resource_* fixtures

Partially-implements bp:resource-cleanup

Change-Id: I44e2661e5dfbb9a8267b912c704272861ebec17a
Migrate network API tests to resource_* fixtures

Partially-implements bp resource-cleanup

Change-Id: I455c372f7356343f4398f69255c6150c3521b953
Migrate baremetal API tests to resource_* fixtures

Partially-implements bp resource-cleanup

Change-Id: I5a721874d3d6cfd61a3a9c773835078a4f4dc0b3
Make cli test namespace include test files

This commit adds the missing init files from the cli test suite. When
the test files were moved into subdirs as part of change
82e667ef4eaa79c20bbb7a528abda358edfb6a83 init files weren't included.
This meant that discovery couldn't find the tests and they weren't
runnable. Also, by enabling the tests unfixed paths also neede to be
updated in the heat tests, because they were referring to the
incorrect location.

Change-Id: I5807bb2f1f70cb0747c7831425e5df2bc48dd6ed
Typo fixes "tryies", "snaphot", "Retruns"

Misspellings and grammatical errors found in docstrings
of test.py

Change-Id: Id4d548fa4ae00056aca7434b878eaf8eb09333cc
Add missing baremetal API tests

This adds some missing API test coverage for listing ports by
node id, node by instance uuid, node by chassis id, and listing
nodes by instance association status.  In addition to the required
client changes, this adds a common waiter for baremetal nodes which
can be leveraged in the future by the baremetal scenario tests.

Change-Id: I175da30516d697a2b3115353f405e0fe3e1ccc76
Migrate baremetal_basic_ops to tempest clients

Partially-implements: bp:tempest-client-scenarios
Change-Id: I64fbae7c2554edb08573caa2bd151f6d1d1a896e
Delete baremetal resources in correct order

This de-randomizes the order in which baremetal resources are
deleted; foreign keys in Ironic end up requiring a certain order.

Change-Id: I3835e5e98a7520fa69157ac5d16f6d1292adb7b0
Closes-Bug: 1371755
Merge "Migrate test_server_cfn_init to tempest clients"
Merge "Typo fixes "tryies", "snaphot", "Retruns""
Merge "Fix unstable assertion in test_cinder_endpoints"