1842 Commits

Author SHA1 Message Date
Attila Fazekas
849708e62f Print the lekaed 'boto' tags on Failure
Asserting an an array length is not too informative on failure.
So let's add the str represnation of the list to the assertion.

Change-Id: Iaace6ada86a5e4b3e7ef60e09748d65c009915eb
2013-09-25 17:33:56 +02:00
Jenkins
7643e12278 Merge "Added test to check list/show extensions-neutron" 2013-09-25 13:50:56 +00:00
Jenkins
4aa0366ea1 Merge "makes passing the client optional to utilities in scenario/manager.py" 2013-09-25 12:55:08 +00:00
Jenkins
6da0db8726 Merge "add negative volume tests" 2013-09-25 10:44:38 +00:00
Jenkins
f938d3b303 Merge "Add locking to test_list_hosts_with_zone" 2013-09-25 06:45:04 +00:00
Giulio Fidente
61cadcaca1 makes passing the client optional to utilities in scenario/manager.py
this makes passing the client optional to create_server and
create_security_group as it happens with the other utility methods

Change-Id: I56f7a4078d1da0c7b5bd7c493eb480d640be2805
2013-09-24 19:17:43 +02:00
Jenkins
3e873be209 Merge "Move LockFixture to tempest.common" 2013-09-24 16:33:41 +00:00
Jenkins
5f5f1a0a4b Merge "Sync install_venv_common.py from oslo-incubator" 2013-09-24 16:33:39 +00:00
Jenkins
ddff92ff19 Merge "README.rst of tempest stress is misleading" 2013-09-24 16:33:37 +00:00
Matthew Treinish
98b8b54941 Add locking to test_list_hosts_with_zone
test_list_hosts_with_zone() makes 2 list_hosts calls and expects that
the hosts' availability zone will remain constant between the calls.
However when running in parallel there is no guarantee of this, and
the aggregates tests will change the compute host's availability
zone. This commit adds the 'availability_zone' to the test to ensure
it doesn't run at the same time as the tests which will change the
host's availability zone.

Fixes bug 1228225

Change-Id: I14773e38b5cc35679b16940ad230c7c81aeaad9c
2013-09-23 21:45:52 +00:00
Matthew Treinish
a03ed79678 Move LockFixture to tempest.common
This commit moves LockFixture used for locking between tests out of
tempest.api.compute.admin.test_aggregates and into tempest.common.

Change-Id: I14431617c88c62b6da4383668ffa635a12c1b071
2013-09-23 21:44:56 +00:00
DennyZhang
900f02b34f Fix typos in tempest/HACKING.rst Edit
Change-Id: I33f5872cc945ee3c6a720e0a7fd5b8140fc14794
Close-Bug: 1229189
2013-09-23 12:12:06 -05:00
DennyZhang
d7a51b4b38 README.rst of tempest stress is misleading
Change-Id: I6f533766c4c19023eff2ffa3fc62f6e1f82a4215
Closes-Bug: #1229299
2013-09-23 12:10:20 -05:00
Zhi Kun Liu
3bdfe093a9 add negative volume tests
attach or get volume using invalid volume, device and server

Change-Id: Ied7deebfcf0efca7059b4a675604d41c00a88143
2013-09-23 13:36:52 +08:00
Nayna Patel
d0b02ae013 Added test to check list/show extensions-neutron
Added a test script 'test_extensions.py' to api/networks to verify
if list/show of extensions is successful in neutron. Also added
supporting methods 'list_extensions' and 'show_extension_details' in
network client for XML and JSON interfaces.

Implements blueprint: quantum-test-l2-abstraction

Change-Id: Ie939a3e1302060489b579baf2cd3f7023efbeb7d
2013-09-23 05:09:26 +00:00
Jenkins
fcbca58804 Merge "Test that Heat max_template_size is applied" 2013-09-21 18:38:30 +00:00
Jenkins
4d79517348 Merge "Consider lc string for bootable True/False" 2013-09-21 15:53:04 +00:00
ZhiQiang Fan
39f9722500 Replace OpenStack LLC with OpenStack Foundation
Some files still use trademark OpenStack LLC in header, which
should be changed to OpenStack Foundation.

NOTE: tools/install_venv.py is not synced from oslo-incubator, so
it is modified too.

Change-Id: I0084684ff5225076291fea857eb010d638291bd0
Fixes-Bug: #1214176
2013-09-21 11:03:53 +08:00
Clint Byrum
71f27634b8 Test that Heat max_template_size is applied
Heat should be refusing any template larger than this value at the API
level.

Change-Id: I8a7d4929dce162f4c6ed41c1b4fd71493a177ece
2013-09-20 12:33:23 -07:00
Matthew Treinish
50bf2d27c3 Sync install_venv_common.py from oslo-incubator
This is needed to ensure that when using run_tests.sh requirements
are handled correctly. Both requirements.txt and test-requirements.txt
need to be handed to pip at the same time to ensure that all
dependencies are satisfied and we don't upgrade a package to be
outside of the version constraints set by requirements.txt when
installing dependencies for the packages in test-requirements.txt.

Change-Id: I89bcf4e44b7274dca535e8e1d2eeb0adb142cabb
2013-09-20 11:58:41 -04:00
Jenkins
e947bde982 Merge "Remove claim that scenario tests need 2 services" 2013-09-20 14:55:21 +00:00
Jenkins
aa0b6b6db2 Merge "Adds tests covering Swift's container quotas middleware" 2013-09-20 14:12:20 +00:00
Jenkins
6110084d31 Merge "Fix misused assertTrue in unit tests" 2013-09-20 13:41:28 +00:00
Jenkins
6480b6a80d Merge "Enable the quota test cases" 2013-09-20 12:30:46 +00:00
Jenkins
e7bf194a05 Merge "Remove wait_for_image_resp_code" 2013-09-20 12:30:39 +00:00
Jenkins
24ee651e1d Merge "Skip test tokens" 2013-09-20 12:14:29 +00:00
John Griffith
f55f69e12e Consider lc string for bootable True/False
The xml.volumes_client check to translate the bootable
setting on a volume object only checks for Upper case strings
and bools.

It turns out that this test was introduced after a bug was introduced
to cinder.api which inadvertently changed the type used to set this
member field.  We now have a patch to fix this and put it back to "true/false"
(lc strings) but since the change there's a tempest test that verifies this.

This patch will check for string true/false either lc or uc, and will
keep the bool check in place as well (otherwise everything will fail).

This test did such a great job we should consider removing the other options
for true/false representations which would've caught the original error introduced
in Cinder (reference cinder lp# 1227837.

Fixes bug: 1227858

Change-Id: I8a4b1f4ce3a6a420e8152ea8c66a9b3fc127fe96
2013-09-19 14:10:57 -06:00
Jenkins
ea8ce25d69 Merge "Raise OS_TEST_TIMEOUT for heat slow test" 2013-09-19 19:05:43 +00:00
Jenkins
33eaff5b91 Merge "Add tempest tests for os-host/{host-name} api" 2013-09-19 17:20:38 +00:00
Steve Baker
4d75ef4c7f Raise OS_TEST_TIMEOUT for heat slow test
This is being set to 20 minutes until the overhead of
virt-on-virt is fully quantified.

Change-Id: I1ccb7eacc7bd8bd41ce7634c019eb0c86b6c1935
2013-09-19 10:01:11 -07:00
Jenkins
ea9ad392de Merge "Add keystone user-update test" 2013-09-19 16:48:54 +00:00
Jenkins
dcb6c50bd4 Merge "Use built-in print() instead of print statement" 2013-09-19 16:01:50 +00:00
Jenkins
13701272d2 Merge "Add update-volume test" 2013-09-19 16:00:59 +00:00
Jenkins
5fc6c542ce Merge "Dump basic network info in the test_network_basic_ops" 2013-09-19 16:00:52 +00:00
Zhu Zhu
ff15005515 Add tempest tests for os-host/{host-name} api
Add tempest tests for nova api 'os-host/{host-name}' which is used
to expose detail host information such cpu/memory/disk.

Change-Id: I7e164c9f584ce70d6bd467575dc1798f0a53bcee
2013-09-19 04:49:52 -05:00
Morgan Fainberg
d2e1655dcb Skip test tokens
This patchset skips test_token test due to the change of 401 response
for an invalid token to a 404 response.  Keystone bug 1221889.

Once the change to keystone has been accepted, a subsequent patchset
will be proposed to tempest to renable the check and accept the new
404 HTTP status for the get_token call on invalid tokens.

related-bug: 1221889
Change-Id: I3c5691f5085e10e28b0f57505133ae3478167396
2013-09-18 13:59:05 -07:00
Jenkins
a7df393822 Merge "Fix a test case of 35chars+" 2013-09-18 20:53:10 +00:00
Jenkins
c1c84f388c Merge "Add a function for creating a server on a given network" 2013-09-18 20:02:39 +00:00
Jenkins
ddafd8554d Merge "Move _check_tenant_network_connectivity to the end" 2013-09-18 18:42:00 +00:00
Jenkins
dca563beb5 Merge "Add 'Field' to the title of the Field Guides" 2013-09-18 18:41:52 +00:00
Jenkins
7e4d387e1d Merge "Add update-snapshot test" 2013-09-18 16:53:42 +00:00
Jenkins
7cbd9e7257 Merge "Add missing import of 'subunit' in test-requirements.txt" 2013-09-18 16:53:03 +00:00
David Kranz
c15a1ca711 Remove claim that scenario tests need 2 services
Update TODO about service tags.

Change-Id: Idc8ea0d9fe56e0077753753c5b6238092e842806
2013-09-18 11:27:32 -04:00
Jenkins
35179cbc9e Merge "Adding health monitoring test case" 2013-09-18 13:25:13 +00:00
Jenkins
a30edb97d3 Merge "Adding LB member operation test cases" 2013-09-18 13:25:06 +00:00
Jenkins
ba0462fb1e Merge "Add "region" config for each service" 2013-09-18 13:24:59 +00:00
raiesmh08
32580d09bd Adding health monitoring test case
Test cases for health monitoring (load balancer) were missing.
I have added list, show, create, update, delete,associate, disassociate
test cases fot health monitoring.

Change-Id: If123d9bf8f11babc760ca8fbcbc0d6c9931d138b
2013-09-18 12:10:50 +00:00
raiesmh08
f8437ed857 Adding LB member operation test cases
Testcases for LB member operation were missing.
I have added LB member create, delete, update, list and show test cases.
Also xml support for the same is provided.

Change-Id: I0db9a6724856afebbc272f43fc3801cdaf3061e5
2013-09-18 17:40:00 +05:30
Jenkins
ab1e888e4a Merge "LBaaS client functions and pool testcases" 2013-09-18 11:38:29 +00:00
Jenkins
f00055e18b Merge "Use common create_server method for advanced_ops" 2013-09-18 10:48:13 +00:00