Change If631472081d16fe8c0b37575eb157a7b13d6fba4 introduced new restrictions
on the diagnostics API which are not valid with XenAPI and causes it to fail
tempest tests.
Bug 1240043 has been raised to define a hypervisor-agnostic API which can be
tested and maintained
Closes bug: 1239209
Change-Id: I3e643d8e7a63b7dc42a912fab09ffc4222d463db
In several tests, they need int values but use rand_name().
Especially, test_security_group_rules.py has a potentially bug.
And, when we will change the rand_name() to return string value, the
errors will occur in others.
So this commit fixes it and belows:
* just import the module instead of importing the function
* minor comment typo
Change-Id: Ic957c741b9ad3631d726dc6cfb5ecb9e0077a884
For hypervisor operation, there are some APIs: list, detail, show, uptime,
search, servers, statistics. This patch will mainly add some negative
tests in dedicated 'negative' test file.
Change-Id: I637e0d0a8395ce52e4ed76029071238259957750
In test_server_actions.py, there is a feature that the same server is
used with all test cases. The feature have reduced vm creations.
This patch adds the same feature to negative tests.
Change-Id: I286082e3a8d35bc57049741bedb8026021b653bd
Pinning six to <1.4.0 causes failurs for anyone trying to use six to
port urlparse code. It also does not match with global requirements.
Change-Id: I6216eef5dd1d3363ec58ac338853252b5294ff1f
There is no need for the functionality of the tearDownClass in the
api/compute/admin/test_quotas.py, becase it's already included in the base
class. So it should be removed.
Change-Id: Ic0e145952cc143d65291258fc9567807ca051596
closes-bug: #1239722
Test for GET v2/.{tenant_id}./flavors/.{flavor_id}./os-extra_specs/
.{key_id} that gets the value of the specified key for this flavor.
Change-Id: Id9941604aff9c583b9f2d394ba2299aad7dafec8
Parameters after -- are only passed to testr and not to nosetest.
The patch restores the old behaviour.
Change-Id: Ia25b0c071f7292a5ddf34f057b19d03f879dc0af
Negative tests of server should be written on test_servers_negative.py,
but some negative tests are written on positive tests file, then that
would mislead developers who add new negative tests.
This patch moves these negative tests to a right place.
Change-Id: If3ddb2a0a5d27a87d610c6d8e7783d400fd32606
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
All other CLI tests use the codenames (neutron, keystone, etc). In
order to make things uniform do the same for nova (compute).
Change-Id: I2f299e1078924643e6e556275892775228176e11
This commit adds a new section to HACKING.rst to outline the
guidelines for adding negative tests to tempest.
Change-Id: Ieb3fc3670bb9229c6791e5c8c0a7ac4fbde03c4d
making a separate test_tenant_negative.py,and move the exist negative
tests over to it,and add some negative tests for in it.
- test_update_non_existent_tenant
- test_tenant_update_by_unauthorized_user
- test_tenant_update_request_without_token
Change-Id: Id0d15d312c96a3f8a244d5e08414623e3c15013a
Similary to other neutron resources, add a utility function for
creating a logical router in tempest.api.network.base.BaseNetworkClient
Also, adapt test_floating_ips to use this function
Change-Id: I36f60028f75f7d4b2ed814a965431d2d4138cfbd
Partial-Bug: #1228091
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
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
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
This commit removes the tempest unit tests from the same tox job as
the tempest runs. It creates a separate py26, py27, and py33 tox job
for running the unit tests.
Change-Id: I9efea4cfa42f770c34869c0b0931b0ed0b51c177
This commit updates to the latest tox, it also updates the tox.ini to
use develop instead of sdist/install.
Change-Id: I1ef044a5638be99fc060fd30c1cbd5ea8283e881
* Use private (not public) image for image member tests
* Use the alt_users tenant not a randomly selected tenant
* Increase the verbosity of the assertEqual int the test_remove_member
Change-Id: I3aac82f59e09998bf938ac364671d3d944d47a62
A duplicated variable definition is introduced by the early merge today
which should be fixed.
Change-Id: I1aef41d1002867988c05dbab2317365893f58569
Closes-Bug: #1237273
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
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