4014 Commits

Author SHA1 Message Date
Matthew Treinish
f8b816af07 Add cmd entry point for verify_tempest_config
This commit moves the verify_tempest_config script from the tools dir
to tempest.cmd and adds a pbr entry point for the script. This means
that the script will in effect be a packaged binary for tempest.

Partially implements bp config-verification

Change-Id: I75b9743a8117d55c6c445db05eb39404b5708624
2014-04-30 17:36:12 +00:00
Matthew Treinish
f09717137a Add support for updating the config file
This commit adds a new flag to the verify_tempest_config.py script,
'-u' that will update the config file from values found during the
verification process.

Partially implements bp config-verification

Change-Id: I20b8bca7d3368b56da0a0496ed7aa3c1a6eacc9e
2014-04-30 13:35:29 -04:00
Jenkins
e3a663bca1 Merge "Verify os-migration API response attributes" 2014-04-30 16:19:49 +00:00
Joe Gordon
66fdac641c Skip lbaas test test_load_balancer_basic
Skip test_load_balancer_basic since this still isn't fixed. According to
elastic-recheck there have been 515 in the past two weeks with 61 hits
in the last 24 hours.

Change-Id: I41ed4965f489ad666d4c3e481aed4ccd114da6e7
Related-Bug: #129165
2014-04-29 16:42:52 -07:00
Jenkins
420befdb88 Merge "Verify create/get flavor attributes of Nova APIs" 2014-04-29 16:01:37 +00:00
Jenkins
97daaa7362 Merge "Verify delete aggregate attributes of Nova APIs" 2014-04-29 15:50:27 +00:00
Jenkins
60577f7db1 Merge "Remove {begin,roll}_detaching volume API tests" 2014-04-29 13:07:24 +00:00
Jenkins
fdcb33537a Merge "Defines a Credentials class" 2014-04-28 12:38:24 +00:00
Jenkins
2113a439f5 Merge "Verify certificate API response attributes" 2014-04-28 12:07:55 +00:00
Jenkins
68a09a1559 Merge "orchestration api add basic volume resource test" 2014-04-28 10:55:36 +00:00
Jenkins
6b87a06b02 Merge "orchestration api refactor access to stack outputs" 2014-04-28 10:55:26 +00:00
Nikola Dipanov
1ad0f2b8b3 Remove {begin,roll}_detaching volume API tests
In preparation for changes to the cinder API in
https://review.openstack.org/#/c/90353/ , we need to make sure volumes
are in the expected state before we can call begin_detaching on it.

Adding this kind of check to the existing two tests would make them
scenario tests really, and also begin and roll detaching are already
tested as part of standard attach and detach scenario tests, plus are
kind of an implementation detail (even though, sadly, exposed as a
public API) and need not be tested by tempest tests.

Partial-bug: #1302774
Change-Id: I59e88344e83b8c0665a04c8ef55126a8f27bbf57
2014-04-28 12:33:12 +02:00
Jenkins
b0d7f61a8c Merge "Remove test_create_server_response" 2014-04-28 03:53:08 +00:00
Jenkins
4054e6216a Merge "Verify attributes through Nova os-security-groups API" 2014-04-27 22:13:44 +00:00
Jenkins
c0852caa8e Merge "Delete OrchestrationManager, and its unusual credentials" 2014-04-25 14:19:51 +00:00
Jenkins
0b5d804d44 Merge "Fix stress runner signal related issues" 2014-04-25 10:22:12 +00:00
Jenkins
9891033cb6 Merge "Stress action for volume attach verify" 2014-04-25 10:13:14 +00:00
Jenkins
ffc94251cb Merge "Consider state in firewall create/delete test" 2014-04-25 09:06:52 +00:00
Jenkins
9edd2f2a06 Merge "Check detail list Images attributes of Nova V2 API" 2014-04-25 05:01:17 +00:00
Jenkins
5d450259c7 Merge "Fix test_verify_created_server_ephemeral_disk" 2014-04-25 05:01:07 +00:00
Jenkins
941bbf55d8 Merge "Verify 'list-server-metadata' APIs attributes" 2014-04-25 03:38:06 +00:00
Jenkins
af69771b9a Merge "Verify the attributes of 'set-server-metadata' API" 2014-04-25 03:37:57 +00:00
Jenkins
a1acc5df22 Merge "Verify list agents attributes of V2/V3 APIs" 2014-04-25 03:18:31 +00:00
Jenkins
a1da8a4028 Merge "Remove Nova v3 XML test skip" 2014-04-25 02:58:31 +00:00
Jenkins
7ca1c147e5 Merge "Add cinder api version detection to verify_tempest_config" 2014-04-25 01:22:12 +00:00
Jenkins
1b2b20541a Merge "Fix service list in verify_tempest_config" 2014-04-25 01:21:09 +00:00
Jenkins
8ee87206d7 Merge "Fix url parsing for api version check" 2014-04-25 01:21:01 +00:00
Jenkins
2e22f02f66 Merge "Add check that service tag isn't in path name" 2014-04-25 00:28:41 +00:00
Jenkins
d9f5e9de99 Merge "Updated from global requirements" 2014-04-24 23:18:58 +00:00
Jenkins
0945c3b4e6 Merge "fix dict reference error" 2014-04-24 23:15:59 +00:00
Jenkins
12bbf2f33e Merge "Make large-ops test boot a group of instances 3 times" 2014-04-24 23:15:42 +00:00
OpenStack Proposal Bot
d045302469 Updated from global requirements
Change-Id: Iec7c8b546f0c3bbd495fa667ee282930101e8d67
2014-04-24 16:35:31 +00:00
Jenkins
7b3ac976ec Merge "Sahara: preparations for new tests" 2014-04-24 12:42:48 +00:00
Jenkins
9d9969083c Merge "skip the quota enforcement test for swift" 2014-04-24 11:44:47 +00:00
Jenkins
5581a82732 Merge "ssh instance validation add options for Neutron" 2014-04-24 09:06:49 +00:00
Jenkins
fc33e2d108 Merge "fix test_compute_with_volumes" 2014-04-24 09:04:34 +00:00
Jenkins
ade7a7fdf2 Merge "Verify addrs only against ports with fixed IPs" 2014-04-24 08:08:01 +00:00
Jenkins
febcc884bf Merge "safe_setup preserve original trace" 2014-04-24 07:37:29 +00:00
Ghanshyam
e4c3fb267e Verify create/get flavor attributes of Nova APIs
This patch adds the JSON schema for Nova V2/V3 create & get flavor
APIs response and validate the response with added JSON schema to
block the backward incompatibility change in the future.

The response body of V2 create & get flavor API is below:

{
    "flavor": {
        "name": "m1.tiny",
        "links": [
            {
                "href": "http://openstack.example.com/
                        v2/openstack/flavors/1",
                "rel": "self"
            },
            {
                "href": "http://openstack.example.com/
                        openstack/flavors/1",
                "rel": "bookmark"
            }
        ],
        "ram": 512,
        "vcpus": 1,
        "swap": "",
        "disk": 1,
        "id": "1",
        "OS-FLV-DISABLED:disabled": false,
        "os-flavor-access:is_public": true,
        "rxtx_factor": 1.0,
        "OS-FLV-EXT-DATA:ephemeral": 0
    }
}

The response body of V3 create & get flavor API is below:

{
    "flavor": {
        "name": "m1.tiny",
        "links": [
            {
                "href": "http://openstack.example.com/
                         v3/openstack/flavors/1",
                "rel": "self"
            },
            {
                "href": "http://openstack.example.com/
                        openstack/flavors/1",
                "rel": "bookmark"
            }
        ],
        "ram": 512,
        "vcpus": 1,
        "swap": 0,
        "disk": 1,
        "id": "1",
        "disabled": false,
        "ephemeral": 0,
        "flavor-access:is_public": true,
        "os-flavor-rxtx:rxtx_factor": 1.0
    }
}

Partially implements blueprint nova-api-attribute-test

Change-Id: I57569e315aebd5b712b8635b1f5ad8a768d77592
2014-04-24 12:33:18 +09:00
Jenkins
07fd1fcd68 Merge "List multiple fields tests for networks/ports" 2014-04-24 02:59:23 +00:00
Jenkins
0f500811ac Merge "Remove test_create_port_with_no_ip" 2014-04-24 00:26:49 +00:00
Jenkins
cf9a574cf4 Merge "Verify flavor extra specs attributes of Nova APIs" 1 2014-04-24 00:22:27 +00:00
Jenkins
a1eaed8470 Merge "Verify more information for member in lbaas api tests" 2014-04-23 23:18:59 +00:00
Ann Kamyshnikova
4f5d0b9bba Verify more information for member in lbaas api tests
Add checks for:

 - Creating a member from an admin user for a tenant id other than
   its own
 - Updating the pool that a member belongs to and confirm with a show
 - Updating the weigth of a member to other value than 1 and confirm
   it with a show_member()

partially implement bp:improve-neutron-test-coverage

Change-Id: I02b7035d5f996fcfa50b3f10709d56a5d0b93368
2014-04-23 14:39:32 -04:00
Jenkins
62ca1013fc Merge "Change to use absolute path in load_template()" 2014-04-23 17:06:43 +00:00
Jenkins
ee7bb7aeb3 Merge "Verify delete interface response of V2/V3 APIs" 2014-04-23 15:56:14 +00:00
Jenkins
8b176f1c50 Merge "Add parametric tests of Swift object API, part 2" 2014-04-23 15:56:05 +00:00
Sean Dague
3b563355ec fix test_compute_with_volumes
The test_integration_1 test was waiting on volume being in an
'in-use' state before proceeding. However the 'in-use' state
doesn't actually mean that the volume is attached, as 'attaching'
gets mapped to 'in-use' in nova.

This makes it possible for the test to proceed when the volume is
in an attaching state, and not actually ever attached. Which means
you can get to the detach phase on an non attached volume, and
thus explode.

Use the attachment status to filter out when then volume is not
actually ready.

In the process, make the test name something that's actually
descriptive for what it does.

Related-Bug: #1302774

Change-Id: Iaeb6a42a39b4adf8cb4bdff64efe00bf14821725
2014-04-23 11:45:56 -04:00
Jenkins
0e0bd128b6 Merge "Verify "get az list" API response attributes" 2014-04-23 14:26:11 +00:00
Ghanshyam
a8f6653465 Verify 'list-server-metadata' APIs attributes
This patch verifies the response attributes of 'list-server-metadata'.

The response attributes of v2 and v3 are the same:
{
    "metadata": {
        "foo": "Foo Value"
    }
}

Partially implements blueprint nova-api-attribute-test

Change-Id: Iab1cb1efc0293e8e0aa5124752ec95048b8608bf
2014-04-23 17:18:14 +09:00