add test for command bash-completion

Change-Id: Ic9f02e05f8f99a30adf40266417ee4288765d7dc
Closes-bug: #1319294
Remove time.time mock from test_ssh

The function time.time is used in many places and especially in logging.
Mocking this function causes issues if the log level changes due to the
fact that every log message will cause a time.time call.

Splitting the test cases into 3 pieces since the time.sleep mock is
only usable for the good case. All tests with retries can't use it
and need to assert the result by measuring the time.

This fix is needed to use oslotest for tempest unit tests.

Change-Id: I800690f8ee1ee580cfcd71500b86782ff571ac0d
Closes-bug: bug 1320482
Start using oslotest for tempest unit tests

This commit starts using the oslotest library. The fixture
oslo-incubator library is still left in the tree because I didn't
see the Config fixture in the library tree yet.

Also, it's probably worth noting that if the lock fixture is moved
from incubator to the library that oslotest will become a runtime
requirement on tempest. (which probably means we'll want to install
it from git in the gate)

Change-Id: I638f28975dff4cde2e4eaa6c154a41e66a0746e4
Cleanup docstring in test_l3_agent_scheduler

The docstring was incomplete in saying it required the
l3_agent_scheduler extension to be enabled.  I think it probably meant
to say that l3_agent_scheduler was listed in
network_feature_enabled.api_extensions, but that defaults to 'all' so
rather than explain how that config option works in the docstring, just
say that the l3_agent_scheduler extension is required and assume the
user understands how to configure Tempest.

Change-Id: If504bd6374b83dea24fa92f9ef6c852d76308ad1
Remove dependency on keyring

I don't see this used anywhere, so lets drop the
dependency.

Change-Id: Icf14648ad7e82a05d942f53fe38e9757aece691c
Sahara: minor changes for API tests

* Code refactoring of "test_node_group_template_create" test
  (file test_node_group_templates.py) was done.
* Unnecessary blank lines were removed.

Partially implements: blueprint savanna-api-tests

Change-Id: Id21edafcc4d1d0345b72404a55bbf9d69618cd95
javelin 2

Create a new tool which can create and verify a set of resources to
be used in place of the existing javelin tooling in grename.

This currently can create:
  tenants, users, objects, images, servers

And can verfiy:
  users, objects, servers

A sample resources.yaml file is included.

Follow on patches will handle the additional create / verify, as well
as destroy operations, and unit tests to meta test the script beyond
the normal javelin runs. However at this point it is useful enough to
consider adding to Tempest to being putting this into grenade.

Part of blueprint:javelin2

Change-Id: I33f1901802c92a2eda2eeb2c225bc7f60d1a186c
test_aggregates_basic_ops picks a non compute node

test_aggregates host ties to add non-hypervisor node,
(does not runs a nova compute service) to an aggregate.

It can cause failures, if the openstack deployment has a node,
with one of the following services n-net, n-cond, n-sch, n-net,
 but without n-cpu.

It is a similar issue, what we had with the aggregate api test.

Change-Id: Idbe037da73169e0ebce8a8bb5d7652dcc39eb92b
Closing-Bug: #1318578
Related-Bug: #1294511
Merge "javelin 2"
Merge "add test for command bash-completion"
Merge "Cleanup docstring in test_l3_agent_scheduler"
Merge "Sahara: minor changes for API tests"
Merge "Remove dependency on keyring"
Merge "Remove time.time mock from test_ssh"
Merge "Start using oslotest for tempest unit tests"
Merge "test_aggregates_basic_ops picks a non compute node"
Merge branch 'master' of https://github.com/openstack/tempest