1909 Commits

Author SHA1 Message Date
Jenkins
385f0b116e Merge "Do not check for id in the keystone output" 2013-10-04 04:58:48 +00:00
Jenkins
57891fab57 Merge "_error_in_logs function of driver.py shall check all nodes" 2013-10-03 21:42:39 +00:00
Jenkins
2119956399 Merge "add server suspend/resume negative tests" 2013-10-03 21:41:09 +00:00
Jenkins
29d25c097d Merge "Handle test_list_servers_by_changes_since without tenant isolation" 2013-10-03 21:22:14 +00:00
Attila Fazekas
ea88d9f516 TEMPEST_PY26_NOSE_COMPAT in py26 jobs
Use py26 skip exception compatibility code path in py26 jobs.

Change-Id: Id6c29f26f19f69abab558d5f94d8cbf6190ed43b
2013-10-03 19:36:15 +02:00
Jenkins
4d91977ccd Merge "add server delete/unpause tests" 2013-10-03 17:23:08 +00:00
Matt Riedemann
01cb1261d1 Handle test_list_servers_by_changes_since without tenant isolation
The test_list_servers_by_changes_since test fails when running with
allow_tenant_isolation=false because there is an arbitrary 2 minutes to
determine the timedelta for the changes-since in the query. That doesn't
work when the servers created in the test are all under the same
user/tenant because the tearDown doesn't block until the servers are
deleted.

This patch makes the timedelta code smarter in that it narrows the
changes-since down to when the test case started setting up the servers
for the test and when it does the query.

Closes-Bug: #1195309

Change-Id: Ie848637ea490da2151e5db8292726111d45a8c2d
2013-10-03 06:19:34 -07:00
Jenkins
5573270d9b Merge "Unskip test_tokens and update expected status to 404 from 401" 2013-10-03 07:42:03 +00:00
LingxianKong
b2ca96f1ba add server delete/unpause tests
add an expected behaviour test of deleting server
- delete_active_server
add two negative tests for server unpausing
- unpause_non_existent_server
- unpause_server_invalid_state

Change-Id: Ia9b5fdf1c2298ff685322fc99a5496710a7a67ef
2013-10-03 12:59:26 +08:00
LingxianKong
691a570bde add server suspend/resume negative tests
- suspend_non_existent_server
- suspend_server_invalid_state
- resume_non_existent_server
- resume_server_invalid_state

Change-Id: I3aff0d6f017a9ed228e45307ecca53373e8daaf8
2013-10-03 12:52:00 +08:00
Jenkins
25bddd9104 Merge "Heat: use first_address instead of first_private_address" 2013-10-03 02:51:10 +00:00
Jenkins
5beb0d3f7e Merge "Add test for admin deleting servers of others" 2013-10-02 23:56:35 +00:00
Jenkins
c9c9bab024 Merge "Test cases for V3 Project Actions" 2013-10-02 22:33:42 +00:00
Jenkins
4cba6fe559 Merge "add server reset_state tests" 2013-10-02 10:39:28 +00:00
Jenkins
0432a3768e Merge "Update style guide link in HACKING.rst" 2013-10-02 03:55:40 +00:00
Jenkins
e53c1e87d0 Merge "Explicity specify network for heat slow tests" 2013-10-02 00:55:47 +00:00
Matthew Treinish
b9a8580ef0 Revert "unskipping bug related to test_stamp_pattern.py"
This reverts commit 60100a3eaec620a8b9946b3378caed6c23122310.

Given the current state of non-deterministic failures in the gate
right now bringing this test back for debugging the failure is just
adding fuel to the fire. We should wait for things to stabilize
again before removing the skip.

Change-Id: Iff5fb31074ddf7dc0e9320ac19ac71fa451a8820
2013-10-01 12:01:24 -04:00
Matthew Treinish
97072c8110 Update style guide link in HACKING.rst
The previous github HACKING.rst doesn't exist anymore, so this commit
just updates the link in tempest's HACKING.rst to point it to the
correct location.

Change-Id: If49f938528ac9059a8e1983b281081fc6137b700
2013-10-01 11:54:15 -04:00
Jenkins
811f747c88 Merge "unskipping bug related to test_stamp_pattern.py" 2013-10-01 14:46:56 +00:00
Jenkins
fee46dd318 Merge "Make smoketests working again with Python 2.6/nose" 2013-10-01 14:46:49 +00:00
Jenkins
bdb25c1715 Merge "Add tempest tests for os-aggregate update" 2013-10-01 14:41:37 +00:00
Morgan Fainberg
69a69eafd0 Unskip test_tokens and update expected status to 404 from 401
Now that the API results in a 404 for an invalid x-subject-token
and a 401 for an invalid x-auth-token, we need to update the expected
resulting HTTP Status from 401 to 404 in the test_tokens test.

closes-bug: 1221889
Change-Id: I158c968c1948ee658305e9ec484425d98f187cba
2013-09-30 12:36:53 -07:00
Dirk Mueller
eb1a3ff922 Do not check for id in the keystone output
keystone catalog output, when using the non-sql "catalog"
backend, does not contain an id attribute. So don't require
it. Checking for publicURL is probably a good idea instead.

Change-Id: I5f302cf09eeac77b3f448a4e16a3bd97b7bcaaa4
2013-09-30 19:28:48 +02:00
Dirk Mueller
e09001fde9 Make smoketests working again with Python 2.6/nose
With the switch to testr, the nosetests configuration setting
was lost. Restore.

Change-Id: I55844f6875bdca9cc1f0a63441c4da3d65d92246
2013-09-30 15:18:36 +02:00
Jinhe Fang
03fc10f04d Add test for admin deleting servers of others
Administrator can delete servers of other users.

Change-Id: I08a9de69dae18a743b872ceb7b070400c1ac39a8
2013-09-30 10:49:44 +08:00
LingxianKong
c26e607eef add server reset_state tests
tests included:
- reset_state_server
- reset_state_server_invalid_state
- reset_state_server_invalid_type
- reset_state_server_nonexistent_server

Change-Id: I18f73f4235e6a6350fa6eba78344f52da36fdd0e
2013-09-30 08:50:15 +08:00
Steve Baker
c2f7ff23c7 Heat: use first_address instead of first_private_address
first_private_address no longer exists in OS::Nova::Server
as it was a misconceived feature.

Change-Id: Id1a0eeca1bf3b57c27e6b93ae64e11d3de9b771e
Related-Bug: #1228929
2013-09-30 11:48:18 +13:00
Steve Baker
80252da7c0 Explicity specify network for heat slow tests
The heat slow test NeutronResourcesTestJSON is causing problems
for the other heat tests when run concurrenty.

Because NeutronResourcesTestJSON creates a network and the other tests
do not specify any, an amibiguity is created. This means that nova
server creation fails due to not knowing which network to attach to.

This change explicity launches servers with the network specified in
config compute.fixed_network_name.

This may mean that these tests cannot be run with nova networking.
This is most likely not a problem as there are currently no plans
to gate heat-slow tests on nova networking.

Change-Id: I16d50271a36c9bc9d0c4fb0588ae75ba100b145f
2013-09-30 11:48:18 +13:00
Jenkins
7061c70bf9 Merge "Print the lekaed 'boto' tags on Failure" 2013-09-29 14:22:48 +00:00
Jenkins
c03cfab4a6 Merge "_get_tenant_by_name doesn't return correctly" 2013-09-28 18:19:06 +00:00
Jenkins
5856e4d6a0 Merge "fix typo in config.py" 2013-09-28 16:15:00 +00:00
DennyZhang
49b21abb2a _error_in_logs function of driver.py shall check all nodes
1. Don't simply return, if one node is clean or not clean.
2. It's better to log all errors and return all errors.

Change-Id: Ib0e23bff013836347f90bed50dd1d3a9566e6bad
Close-Bug: #1229957
2013-09-28 11:04:48 -05:00
Jenkins
bfa2b5465d Merge "driver.py should log errors when ssh operations fail" 2013-09-28 13:35:52 +00:00
Jenkins
ccb3513b82 Merge "Update docs config" 2013-09-28 09:46:29 +00:00
Jenkins
e83fe1d931 Merge "The debug configuration group is not registered" 2013-09-28 06:41:49 +00:00
Jenkins
15d0b6706d Merge "Bump oslo.config version" 2013-09-28 05:24:30 +00:00
Jenkins
f13a350a99 Merge "Added Negative tests for image member" 2013-09-27 20:20:09 +00:00
Jenkins
6d4eecc3ca Merge "_create_creds function shouldn't call rand_name twice" 2013-09-27 19:41:59 +00:00
Jenkins
b162d69db3 Merge "add __str__ function to RestClient class" 2013-09-27 13:24:04 +00:00
Jenkins
e25232af0c Merge "Add test for nova API of VM lock/unlock" 2013-09-27 11:22:54 +00:00
Jenkins
2187e1bb53 Merge "Add positive tests for os-floating-ip-pools" 2013-09-27 10:41:53 +00:00
Jenkins
aaecd34082 Merge "Adds more test to cover Swift tempURL middleware" 2013-09-27 06:41:42 +00:00
Matthew Treinish
47ca74ffc3 Bump oslo.config version
This commit just bumps the minimum version requirement for
oslo.config. Version 1.2.0 has been released so we should keep
tempest's required version in sync with the other projects.

Change-Id: Ie78070a9fe0759c30fb84ac892a257e0c5cbf246
2013-09-26 22:54:54 -04:00
DennyZhang
1eb40464ad _get_tenant_by_name doesn't return correctly
If tempest_client is unset, _get_tenant_by_name will
definitely raise an exception, which is incorrect.

Change-Id: Id3e452a35d4f6c7083562689f556cac05868af45
Closes-Bug: #1231645
2013-09-26 21:17:53 -05:00
DennyZhang
d9d5697ce8 _create_creds function shouldn't call rand_name twice
Remove the redundant line, to make sure _create_creds use
the same rand_name within the function. This make debug easier

Change-Id: I2ff6b729107c4efa5cb365310f4677282b026148
2013-09-26 14:49:43 -05:00
Jenkins
24167647e8 Merge "Handling network resources in tenant isolation" 2013-09-26 14:54:05 +00:00
Zhu Zhu
7b5f629a42 Add tempest tests for os-aggregate update
Add tests of os-aggregate update for API 'os-aggregates/{aggregate_id}'

Change-Id: I1624c366faa9a97461b68c7408e309a658c4cb83
2013-09-26 08:05:49 -05:00
Joe H. Rahme
2eccc33f19 Adds more test to cover Swift tempURL middleware
The patch moves away the single test existing from
test_object_services.py to its own file.

It then adds more tests to validate other HTTP
verbs like PUT and HEAD.

blueprint test-swift-tempurl-middleware

Change-Id: I1d7b021e8e3749b58a9fa657c709fb7154bd104e
2013-09-26 11:09:17 +02:00
Jenkins
58c1321546 Merge "add server resizing tests" 2013-09-26 09:04:53 +00:00
Jenkins
f3891d16e1 Merge "Fix problem with never stopping stress tests" 2013-09-26 08:37:47 +00:00