Sync versionutils from oslo-incubator

This is needed for comparing client versions from the command line to
required versions for CLI tests.

Tempest already has the immediate oslo dependencies of gettextutils and
log and those are up-to-date enough for what's needed in versionutils,
so this is a --nodeps sync.

Part of blueprint minversion-check-for-cli-tests

Change-Id: I19784499a9bb1135a9c8dc8b26fc56c53489ed22
Use known flavor ID as marker

The flavors marker test races with the flavors admin test because we
can list the flavors, pick the first flavor ID as a marker, then the
flavors admin test deletes that flavor and finally our attempt to list
flavors with that marker fails.

Avoid this by using a known flavor ID as our marker.

Change-Id: I56d043b58a403fc28a13b6f45540831ae8e0331d
Closes-Bug: #1330830
Verify list_instance_action attributes of Nova API

This patch adds the JSON schema for Nova V2 & V3 list_instance_actions
API response and validate the response with added JSON schema
to block the backward incompatibility change in the future.

The response body of list_instance_actions V2 API is below:

{
    "instanceActions": [
        {
            "action": "reboot",
            "instance_uuid": "b48316c5-71e8-45e4-9884-6c78055b9b13",
            "request_id": "req-3293a3f1-b44c-4609-b8d2-d81b105636b8",
            "user_id": "789",
            "project_id": "147",
            "start_time": "2012-12-05 00:00:00.000000",
            "message": ""
        }
    ]
}

The response body of list_instance_actions V3 API is below:

{
    "server_actions": [
        {
            "action": "reboot",
            "server_uuid": "b48316c5-71e8-45e4-9884-6c78055b9b13",
            "request_id": "req-3293a3f1-b44c-4609-b8d2-d81b105636b8",
            "user_id": "789",
            "project_id": "147",
            "start_time": "2012-12-05T00:00:00.000000",
            "message": ""
        }
    ]
}

Partially implements blueprint nova-api-attribute-test

Change-Id: I81a21a4ec0522318fd20c3db3e534fdcea7b8715
Don't include boto tests as part of smoke tests

Tests with the smoke attribute are used all over when we want to run a
subset of tempest. The smoke job is supposed to be a subset that gives
us the most bang for the buck in functional test validation. The ec2 api
falls outside of that being a third party api its always going to be
extra.

Change-Id: I474ada06064d2b236f52e623f7bc19326e711977
Sharing codes for cinder v1 and v2 tests

Tempest doesn't have enough Cinder v2 api tests. We need to add more
tests for it. Cinder v2 api only has some small updates, so v1 and v2
tests could share service client and test code.
This patch makes the follwoing initial chanages to support sharing
codes between v1 and v2:

1. Rename volumes v1 client to a base client, then create v1 and v2
   clients inheriting base client.
2. Create common base test class instead of
   BaseVolumeV1Test/BaseVolumeV2Test. They will be remove after all
   test classes using sharing codes.

Partially implements: blueprint cinder-v2-api-tests

Change-Id: I2c0139d82663563996fae702f8e5f29f7ae0a7a9
Enable E251,E265 rules ignore H402

After bumping the hacking version to the 0.9.x series ignores were
added for several rules. This commit fixes the violations for a subset
of these rules and re-enables the checks.

Change-Id: If2445c395d481f3c5f6426a471da4ec8afb553f0
Merge "Verify list_instance_action attributes of Nova API"
Merge "Enable E251,E265 rules ignore H402"
Merge "Sync versionutils from oslo-incubator"
Merge "Don't include boto tests as part of smoke tests"
Merge "Sharing codes for cinder v1 and v2 tests"
Merge "Use known flavor ID as marker"
Merge branch 'master' of https://github.com/openstack/tempest