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
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
this change the parameter of rebuild server from meta to metadata.
currently the parameter meta has been ignored.
Closes-Bug: #1233040
Change-Id: I9009a8836e07496f5752956c28ee7d9b0b0e783e
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
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
The objective of this script is to configure openstack environment +
tempest config file while relying on nothing but the current Openstack
installation and/or existing tempest config file.
it achieves this by using only Openstack python clients and/or global Openstack
environment variables and for some tempest specific settings, the tempest
config file.
This script is a WIP and currently support only creating users and configure
the tempest config file with active images found in openstack.
TODO:
1. Add support for existing config and not rely on sample only
2. Add download & creation of images
3. Add network configuration
4. more advance features as required
Change-Id: I06f38280e6b550d03c64954e042aee7331ecb31b
first_private_address no longer exists in OS::Nova::Server
as it was a misconceived feature.
Change-Id: Id1a0eeca1bf3b57c27e6b93ae64e11d3de9b771e
Related-Bug: #1228929
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
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
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
If tempest_client is unset, _get_tenant_by_name will
definitely raise an exception, which is incorrect.
Change-Id: Id3e452a35d4f6c7083562689f556cac05868af45
Closes-Bug: #1231645
Two issues for tempest/config.py:
1. When parsing sections of object-storage and dashboard,
wrong variable is used.
2. We'd better rename BotoConfig/ObjectStoreConfig
to BotoGroup/ObjectStoreGroup
Closes-Bug: #1231595
Change-Id: I0d3162708237211ce7beb4a651f11db57d4d5e44
Remove the redundant line, to make sure _create_creds use
the same rand_name within the function. This make debug easier
Change-Id: I2ff6b729107c4efa5cb365310f4677282b026148
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
Here added negative tests for image member
*Add member with invalid image
*Delete member with invalid image
*Delete member with invalid tenant
Change-Id: I23ccdf255c8c4f4ba448207beab1302ca1424f59
Most tempest tests are based on restfull http call.
Enable to easily explore the state of client object
would be good for trouble shooting.
Thus, I would suggest to implement __str__ function for RestClient class.
Closes-Bug: #1227474
Change-Id: If06dfc648a7458133e4f196bdca299f9531738b1
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
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