1973 Commits

Author SHA1 Message Date
Jenkins
f55f4e54ce Merge "delete the duplicated variable definition" 2013-10-14 15:55:59 +00:00
Jenkins
86ab2385c7 Merge "Accept gzip files in find_stack_traces.py" 2013-10-12 07:47:04 +00:00
Jenkins
b12d5e49b4 Merge "Increase heat's default max_template_size" 2013-10-12 06:49:13 +00:00
Jenkins
35c6fa6838 Merge "Add section for negative tests to HACKING.rst" 2013-10-11 22:02:59 +00:00
Jenkins
a7a3649651 Merge "Script to filter logs for ERRORs based on whitelist" 2013-10-11 22:02:34 +00:00
David Kranz
e8e263115b Script to filter logs for ERRORs based on whitelist
The script will take a directory or url containing log files.
For now all non-whitelisted errors will be dumped to the console but
the script will always return success. Once we are convinced it is reliable
enough we can change it to fail on non-whitelisted errors.

Partially implements blueprint fail-gate-on-log-errors

Change-Id: I30b0eee1055f47aaad7984d886c739ccf5aa6186
2013-10-11 09:27:11 -04:00
Jenkins
c0eba3903d Merge "add a negative test for flavor_extra_specs" 2013-10-11 01:17:12 +00:00
Matthew Treinish
8b79bb395c Add section for negative tests to HACKING.rst
This commit adds a new section to HACKING.rst to outline the
guidelines for adding negative tests to tempest.

Change-Id: Ieb3fc3670bb9229c6791e5c8c0a7ac4fbde03c4d
2013-10-10 17:11:05 -04:00
Jenkins
6cbecae990 Merge "Add CLI tests for Neutron's metering agent" 2013-10-10 19:18:56 +00:00
Jenkins
0d62dae760 Merge "add some tests for user api" 2013-10-10 19:18:29 +00:00
Jenkins
e453e02432 Merge "Add security group to large_ops test" 2013-10-10 19:18:22 +00:00
Jenkins
b86b94bbec Merge "Use built in cleanup for servers in test_large_ops" 2013-10-10 17:09:37 +00:00
Jenkins
50643e013c Merge "Add some test-cases for cinder cli" 2013-10-10 16:16:01 +00:00
wingwj
69f09bbae2 Add some test-cases for cinder cli
Add some omitted test-cases for cinder-cli in tempest

 + test_cinder_credentials
 + test_cinder_availability_zone_list
 + test_cinder_endpoints
 + test_cinder_service_list
 + test_cinder_transfer_list
 + test_cinder_bash_completion

Change-Id: I2d05fa0fb1421c292097c19643ed22f221a0d349
2013-10-10 11:31:10 +08:00
David Kranz
9e3c71780a Accept gzip files in find_stack_traces.py
The server response seems to have changed since this code was originally
written.

Change-Id: Icffc062ce46f59b678fe468560d198567286fe67
2013-10-09 21:51:25 -04:00
Matthew Treinish
968a317e6a Update lockutils from oslo-incubator
This commit updates lockutils from oslo incubator which adds a
LockFixture class. This also converts the tempest LockFixture to wrap
the fixture from oslo.

Change-Id: I4f5007109fa6ceff868c23d55d9962f9d703bb1f
2013-10-09 19:18:00 -04:00
Joe Gordon
30684ef409 Add security group to large_ops test
There have been some issues with performance around security groups in
the past. Lets make sure they don't exist.

We gate on test_large_ops as part of gate-tempest-devstack-vm-large-ops

Change-Id: Ib655deab9fc12df969b47552d7d8edc999c0d06a
2013-10-09 15:26:19 -07:00
Joe Gordon
a3219655b5 Use built in cleanup for servers in test_large_ops
The  scenario base class has code  to properly clean up servers and
wait until they are fully deleted.  Use this instead of custom cleanup
which doesn't wait for delete to complete.

Change-Id: Ic9fe5ea0d267116d5bc78f50d1945602e5247d6a
2013-10-09 15:26:12 -07:00
LingxianKong
062e30a4ee delete the duplicated variable definition
A duplicated variable definition is introduced by the early merge today
which should be fixed.

Change-Id: I1aef41d1002867988c05dbab2317365893f58569
Closes-Bug: #1237273
2013-10-09 16:30:01 +08:00
Jenkins
b3e9c228b5 Merge "Add some test_cases for compute-cli" 2013-10-09 05:33:29 +00:00
Steven Dake
aa00311e90 Increase heat's default max_template_size
devstack has a small 10k max template size.  This is too small for
many templates that may be used during development.  Thus, we need
to change this and devstack to a larger value.

Change-Id: I474c7cbc196a4e94ba67cab4e2ca2263dc902e26
2013-10-08 21:20:26 -07:00
huangtianhua
fc8db4f6ac add some tests for user api
make a seperate file test_users_negative.py and move exist negative tests
over to it,also add some negative tests to it

- test_create_user_with_enabled_non_bool
- test_create_user_with_enabled
- create_user
- test_update_user_for_non_existant_user
- test_update_user_request_without_a_token
- test_update_user_by_unauthorized_user
- test_delete_user_request_without_a_token

Change-Id: I5a87d72ecb94046809faf0ce14b1af347c2e4dcc
2013-10-09 11:44:00 +08:00
Jenkins
ae091ad652 Merge "Test for the nova diagnostics API" 2013-10-09 02:06:07 +00:00
Jenkins
8197f96809 Merge "add some negative tests for volume updating:" 2013-10-09 01:40:57 +00:00
Jenkins
d7292203de Merge "Remove unused CONF variable and import statement" 2013-10-08 19:04:19 +00:00
Jenkins
b2776c9db1 Merge "meta should be metadata in rebuild server" 2013-10-08 18:33:03 +00:00
Jenkins
f8c534baec Merge "Cleanup existing instances in setup for test_list_servers_negative.py" 2013-10-08 18:04:15 +00:00
Jenkins
f59d6c4def Merge "add volume list tests" 2013-10-08 18:04:12 +00:00
Jenkins
db56fc53aa Merge "Initial basic setup of openstack and tempest config file" 2013-10-08 16:06:57 +00:00
Jenkins
b52a562a86 Merge "Allow _status_timeout to be used for non-nova polling" 2013-10-08 14:22:41 +00:00
Jenkins
efa8536abc Merge "remove code duplication in tempest/config.py" 2013-10-08 14:16:19 +00:00
Jenkins
2c8e829866 Merge "pass stop_on_error to _has_error_in_logs" 2013-10-08 14:09:01 +00:00
Cyril Roelandt
10a02d7411 Add CLI tests for Neutron's metering agent
This adds simple tests for the following commands:
* meter-label-list
* meter-label-rule-list

Change-Id: Ie0891d61b925c0d3e11e66eb10c7994368930a94
2013-10-08 12:31:01 +00:00
wingwj
e5e318fe1d Add some test_cases for compute-cli
+ test_agent_list
+ test_cell_list
+ test_host_list

Change-Id: Ic99c3e137da688a97d39af4902c71ddddf34228e
2013-10-08 17:29:02 +08:00
Jenkins
d0181f647c Merge "add two negative tests for flavor-access" 2013-10-08 06:23:26 +00:00
wanghao
c2abb6c102 add some negative tests for volume updating:
- test_update_volume_with_nonexistant_volume_id
- test_create_volume_with_size_negative
- test_update_volume_with_invalid_volume_id
- test_update_volume_with_empty_volume_id

Change-Id: Iee8510303b2643c065a662655ac2b4e44611ba84
2013-10-08 14:15:10 +08:00
DennyZhang
88a2dd8d3b remove code duplication in tempest/config.py
tempest/config.py has many simliar tiny functions for register_*_opts.
We should remove the code duplication to providing a common function.

Change-Id: Ie8facc21a2d8a1e27687b1182a3db9f98bc1a05e
Closes-Bug: #1236498
2013-10-07 23:56:06 -05:00
Zhi Kun Liu
ee454d77e9 add volume list tests
list volume using parameters:
display_name
status
availability_zone

Change-Id: I97d88b5033e7033cfc4b2328698978da7714f0a4
2013-10-08 12:17:39 +08:00
Jenkins
308614d45a Merge "Use predictable instance/volume names in test_volumes_actions" 2013-10-07 22:05:39 +00:00
Jenkins
2512fec42c Merge "Cleanup test_list_server_filters setup/teardown" 2013-10-07 22:05:31 +00:00
Jenkins
edee0e0a4b Merge "Add addtional logging and catch exceptions" 2013-10-07 21:16:38 +00:00
Jenkins
499357db48 Merge "Placeholder log check script to be called by devstack-gate" 2013-10-07 16:39:28 +00:00
Marc Koderer
16648e9e2b Add addtional logging and catch exceptions
Sometimes the nightly stress test run fails. This will catch all
exceptions in run_stress.py and log them.

Change-Id: Ib6abd2c157df3988ccae1c6c8f703ec0ed24ff00
Fixes-bug: 1234580
2013-10-07 18:29:54 +02:00
Jenkins
1ba23be265 Merge "Fix skip_because decorator" 2013-10-07 16:09:41 +00:00
David Kranz
852c5c2eb2 Placeholder log check script to be called by devstack-gate
Partially implements blueprint fail-gate-on-log-errors

Change-Id: Ie07b7f95c1aa439ba21431cb08848e8ba6b90336
2013-10-07 11:15:02 -04:00
Jenkins
30e2d7d369 Merge "tempest/config.py parse some sections incorrectly" 2013-10-07 11:59:36 +00:00
Matt Riedemann
339dcd51da Cleanup existing instances in setup for test_list_servers_negative.py
Change I8519cba1fcf6ff39d69839783d07359544509db5 was supposed to make
the setup for test_list_servers_negative.py handle the case that tempest
is being ran without tenant isolation, but it doesn't fix the entire
problem because it's only checking if the MULTI_USER global is False.
The MULTI_USER global is only False if allow_tenant_isolation=False and
user1 == user2. So if you're running tempest without tenant isolation
but you do have two separate users/tenants for running the tests, then
the setup can still fail.

This patch fixes the problem by always doing the cleanup if
allow_tenant_isolation=False regardless of what MULTI_USER is set to.

Closes-Bug: #1234370

Change-Id: I821e200d07c11ba04d8be788095b7648de1d820b
2013-10-07 03:52:37 -07:00
Masayuki Igawa
80c1b9f7eb Fix skip_because decorator
If we use skip_because decorator, the below error occurs.
 _StringException: ImportError: Failed to import test module:...
And, all tests of the class having the skip_because decorator are not
tested.
This commit fixes it.

Change-Id: I98e51d3bfd8b13dc3ef462eb92b170295f5f142e
Closes-Bug: #1236220
2013-10-07 18:33:08 +09:00
Zhu Zhu
da07085874 Test for the nova diagnostics API
Add tests for nova API 'servers/{server_id}/diagnostics'

Change-Id: If631472081d16fe8c0b37575eb157a7b13d6fba4
2013-10-06 18:59:46 +08:00
Jenkins
58daf5f1f0 Merge "Add xml support to the floating ip and router" 2013-10-05 13:46:10 +00:00