| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
As part of enabling python3 support in tempest we need to be able to
handle urlparse usage in both python2 and python3. Six provies a compat
layer for doing this, so this commit moves all uses of urllparse to
get it through six.
Change-Id: Ic9c15d90fd3b8413fec4d01a070cc167f7536e62
|
|
|
|
|
|
|
|
|
| |
As part of enabling python3 support in tempest we need to be able to
handle StringIO usage in both python2 and python3. Six provides a
compat layer for doing this, so this commit moves all uses of StringIO
and cStringIO to get it through six.
Change-Id: Ie6ac86b3b5ed2c307dc2cc41386da9e5ba1ee23e
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
[GET /resources] methods should be "list_<resource name>s"
or "show_<resource name>", so this patch applies the rule
to messaging client.
Partially implements blueprint consistent-service-method-names
Change-Id: Ibae5f78b3dee12dbab5095872b8d868fbfec7f5d
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commits adds support for specifying the network to use with a
user/tenant into the accounts.yaml file. You can only specify a single
network which will be the network used for all that requires a
pre-existing network. This also means regardless of which cred provider
is configured the fixed_network can assume a TestResource object will
be returned from a get_creds call. As part of this change a common
method to return the full network dict from a just a network name is
abstracted out into tempest.common.fixed_network module since this
same method is needed to have the accounts file provide a network by
name.
Partially-implements: bp test-accounts-continued
Change-Id: I6f5ac1239d18f2935847b385a08de608f40fdda5
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
[GET /resources] methods should be "list_<resource name>s"
or "show_<resource name>", so this patch applies the rule
to orchestration client.
Partially implements blueprint consistent-service-method-names
Change-Id: I5a0d046d3811d48d3e4bddae8b0f022762c621c8
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
[GET /resources] methods should be "list_<resource name>s"
or "show_<resource name>", so this patch applies the rule
to volume client.
Partially implements blueprint consistent-service-method-names
Change-Id: I843dd43293f40bf673a033b1dbf24e035bc8f0c3
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In some cases a skip method was needed to check for non-admin. In other cases
there was already a try/except to handle on-admin but it needed to be changed
to use is_admin_available. NegativeAutoTest was changed to push creation of
an admin client to the point where the need has been established.
Also fixed some skip_checks methods to call super first.
Change-Id: Ie58135285a4c95c2eed9c0462c4e76af3ad5d97e
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
test_add_list_remove_router_on_l3_agent fails when testing with DVR
routers as distributed routers follow a different agent binding logic.
Due to this failure, performance improvements like e99f6e00 were reverted.
This called for a revision of the test case. This change ensures that,
when needed, the test provisions extra resources so that the binding logic
can be successful.
Closes-Bug: #1433349
Co-Authored-By: Armando Migliaccio <armamig@gmail.com>
Change-Id: I15bbf16fd4378c6431e9da8942d0968e7a012a91
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch cleans up the test case a bit: it uses the base class
method to create/delete routers, and ensure that, when selecting
the L3 agent, this is of a specific type, i.e. legacy. In multi
node environments, and especially the ones post-Juno, there may
be more than one L3 agent running and having the ability to filter
based on the type is instrumental to getting this test case to
work while validating multi-node deployments.
Change-Id: I479b8f52e6da0f520bda965580beddbae0c6a296
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This submission adds "test_create_domain_without_description"
testcase to test_domains.py.
Change-Id: I3ab22f6dc9505a7e2e65d40af30cec7276efba31
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| | |
These tests can actually test both block and regular live migration, so
update the filename to reflect that.
Also move test to admin, since by default migration is a admin only API call
Change-Id: Ibdae2e8ba9b537ed721bc4448d7107d3f8eaf013
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This patch adds a number of positive and negative tests for
the DVR functionality implemented by Neutron.
Change-Id: I6d3fbf7c480c23a4500af115891f63ea058dcfac
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
data_utils.rand_name() appends randam charactors with a hypen like:
def rand_name(name=''):
randbits = str(random.randint(1, 0x7fffffff))
if name:
return name + '-' + randbits
So it is not necessary to specify a hypen in caller side.
This patch removes a hypen in identity tests.
Change-Id: I8b1eb0ea1db708fa02673b3c3963fcb39d1a3ff6
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
When we added support for using the fixed_network_name config option to
specify the network to boot with in a multi-network env a couple of
configuration edge cases were not taken into account. First the case
of misconfiguration was not handled at all this would cause an ugly
IndexError exception to be raised because no matches were found for
the name specified in config. The other was since the default config
option was set to 'private' and fixed network name is always used when
configured the default for single network environments broke if the
single network. This commit addresses these by removing the default
value for fixed_network_name (and making the help more clear) and
having fixed_network_name handle the misconfiguration case more
clearly by raising an InvalidConfiguration exception.
Change-Id: I06ac0605a1a7e35d1af9a93a3bfc387a78f8be1c
Closes-Bug: #1437328
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Adds non-admin token tests for Keystone/identity API. Work in
support of adding Defcore/interop capabilities for identity.
Currently only supports get token for v2 and v3.
Depends-On: I06fd043e1b31ae0e5e33f4dcf898fb58f2907267
Change-Id: I2134e5694fdbab13b4b19205ecba5711dbac0c25
|
|\ \ \ \ \ |
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Split up the resource_setup method for all the network tests, as per the
latest spec.
Partially-implements bp:resource-cleanup
Change-Id: If96a154cfe65dd3d18ff6b1e1943ccfb1db7300e
|
|\ \ \ \ \
| |/ / / /
|/| | / /
| | |/ /
| |/| | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
data_utils.rand_name() appends randam charactors with a hypen like:
def rand_name(name=''):
randbits = str(random.randint(1, 0x7fffffff))
if name:
return name + '-' + randbits
So it is not necessary to specify a hypen in caller side.
This patch removes a hypen in compute tests.
Change-Id: Ibed983d75ad9fdbb1f90100863ba0ff1934ab644
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Uses the fixed_network_name option to select which network
to boot test instances on. This allows Tempest to be run
in environments where there are multiple networks available.
This problem does not apply to nova-network environments because
it will happily start instances with multiple networks attached,
so the behavior is left as before in that case.
Co-Authored-By: Ben Nemec <bnemec@redhat.com>
Co-Authored-By: Vincent Untz <vuntz@suse.com>
Co-Authored-By: git-harry <git-harry@live.co.uk>
Change-Id: Ib5b84b59e3d182d8b9cc83954537c32f3eb9e388
Closes-Bug: #1250866
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
data_utils.rand_name() appends randam charactors with a hypen like:
def rand_name(name=''):
randbits = str(random.randint(1, 0x7fffffff))
if name:
return name + '-' + randbits
So it is not necessary to specify a hypen in caller side.
This patch removes a hypen in baremetal tests.
Change-Id: I43fde9b537f7d225266ebb3950b6768aa7ae9fae
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
data_utils.rand_name() appends randam charactors with a hypen like:
def rand_name(name=''):
randbits = str(random.randint(1, 0x7fffffff))
if name:
return name + '-' + randbits
So it is not necessary to specify a hypen in caller side.
This patch removes a hypen in image tests
Change-Id: Iac422b107ca558e5b41d9ad3fbde051b012df56c
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
data_utils.rand_name() appends randam charactors with a hypen like:
def rand_name(name=''):
randbits = str(random.randint(1, 0x7fffffff))
if name:
return name + '-' + randbits
So it is not necessary to specify a hypen in caller side.
This patch removes a hypen in volume tests.
Change-Id: I1ea38961053cf751b14e261321d6695a8c11dd54
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: If64c47071b5d68b44082b742886f49ed92c9893d
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This commit changes all the uses of the old AdminManager and Manager()
constructs to use cls.isolated_creds to provide user credentials from
whatever the configured credential provider is being used instead of
assuming it's the non-locking accounts provider without an accounts.yaml
file. As part of this we need to add a heat option for the stack owner
role so that we can request the creds by that role. The heat tests were
previously making an implicit assumption about the configured user having
that role assigned. Which while true in devstack today, it isn't
necessarily the case everywhere.
Depends-On: Id98a83f0a716de0fdb5f36d03407364830e8fa5f
Closes-Bug: #1433723
Change-Id: Ie071cb2cb6add591a60c9d76a12c95b7fb5ee539
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
clear_isolated_creds is executed as part of the class teardown
defined in test.py. Test classes and base classes do not need
to invoke it anymore, so removing any redundant invocation.
Change-Id: I5a9ac66a6c5d41bf0274d022e7b6b4a1932c77df
Partially-implements: bp/resource-cleanup
|
|\ \
| | |
| | |
| | | |
allocated"
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The FloatingIPsBulkAdminTestJSON skips instead of fail if the pool is already configured.
This patch updates the test to fail when the floating pool is found to be already configured.
Change-Id: Iee5317c174c9abfc3514b6833d35e17969b15693
Closes-Bug: #1401280
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
These tests are now in the nova functional test tree, which is a
better place to put them. The nova tests go a step further and
actually verify the database is correct after these land.
Depends-On: I0cc37c0a49e26b965403bb3ed59ff4569f0952f1
Change-Id: I37a5ccc0f1ff0a62f0f097e80620ec1883ba61f3
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
If the volumes_client is configured to use a volume_size different
from the hardcoded value "1", an error will be raised.
This patch replaces the hardcoded value by the actual size of the
created volume.
Closes-Bug: 1430375
Change-Id: Ie6593b5c60c697b62a65a38d37e4942e9e80cc10
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This test currently relies on pre-existing resources and races if run
in parallel to other baremetal tests. This adds creation of 3 test
nodes directly in Ironic to be tested via the Nova API extension.
This also tags said test with the 'baremetal' test attribute.
Closes-bug: #1425258
Change-Id: I4dbd37bdb2019b6eb0140d46a605d5c8392323f4
|
|\ \ \ \
| |_|_|/
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Allow authenticating with ids and fetching domain scoped tokens. Changes the
acceptable parameters to more specific parameter names so that _id and _name
parameters can no longer be confused.
This tries to not change the config file and existing credential loading paths.
Closes-Bug: #1420605
Change-Id: If5a889be5826d60bf61dbb84661a5896cb094875
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I7d80de4f8d1df97901041aaccadae2a426c868eb
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
|