This fix will fix the issue for never stopping stress test in
the nightly build jobs. It changes three problems related to this:
- An exception in tearDown() will not cause a endless loop
- Hanging processes will be killed with -9 after a while
- tox job will stop on first error
Fixes-bug: 1230357
Change-Id: I3a0160295d98fdc7f8ffce64cc4a08c5c8ae654a
this makes passing the client optional to create_server and
create_security_group as it happens with the other utility methods
Change-Id: I56f7a4078d1da0c7b5bd7c493eb480d640be2805
This is a follow up to change id:
I8a4b1f4ce3a6a420e8152ea8c66a9b3fc127fe96
The initial change only addressed the xml aspect of the bug
and ignored the json tests.
This change updates the check to catch the same errors when
performing the json version of the checks.
Both of these patches are temporary and after the Cinder update
lands should be replaced with a proper/strictly enforced check of
'true' and 'false' values in the volume['bootable'] field.
Change-Id: Iffe5d380410f5c698018a5c3106c99af05f0b80d
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
This commit moves LockFixture used for locking between tests out of
tempest.api.compute.admin.test_aggregates and into tempest.common.
Change-Id: I14431617c88c62b6da4383668ffa635a12c1b071
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
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
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
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
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
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