When resource creation failed, the region's error message is
retrieved and included as part of the tempest exception
message.
Change-Id: I6309b29ad516651b9a89ffe54763d11fb56949a4
Remove ranger region create in favor of
charts performing needed creation. All
errors when ranger tempest attempts to
get region from ranger now mean that Ranger
is not available and we should skip all
tests
Change-Id: Ideb968aeece89b177c591408dbba78a7c2f9e916
CMS will use its own customer domain name instead of
retrieving from RMS's region. As a result, no RMS's domainName
update is required to alter the domain name prior to the
test case execution.
Change-Id: Ib28f705fe2ba9362da138d88aeacd18f26222daf
teardown steps executed at the end
of threadrunners disrupt tests
sometimes. Removed teardown which
would harm other tests, improved
error messages when ranger not
available
Change-Id: I1f01f5dfd928fcb4a8ec77d1fff1f0c9d6fd2dbb
format strings in parenthesis in
create statement, update update region
command for domain name of ranger
region
Change-Id: I976f8972faefe87e21bd746a18037403719bb6cf
This patch removed inheritance of region group test class from
region test class to avoid duplicate creation of test objects.
Change-Id: Ia21e21fa8940fc9d7521889fbf3d924fc1847e3a
When Ranger is not reachable, test cases will need to be
skipped. In addition, remove the extra skip check for RMS and IMS
services. If setup fails for these modules, let the test cases
fail as well.
Change-Id: Ibadb065ef9816cf1cb6ce44e5229753d679f8bf6
This patch also:
(1) changed the order base resource setup is called for RMS
and IMS test modules
(2) added extra skip check for the RMS and IMS test module
Change-Id: I24332c053250f36f0998dae089f327f3bf1ec34f
Ranger tempest tests must skip safely when
ranger is not deployed at expected endpoint.
Creates ranger region for single site testing
if it is not present.
Skips if ranger alt region testing is chosen
and ranger alt region is not available, as
tempest conf only contains information of
main target for deployment of resources in
order to be able to build that region.
Change-Id: Ib30d6cd9db099b17d068301c52f20b7be5e30ac3
moved some clients from test_flavors
to fms_base as all clients used by base
should be built in base
Change-Id: I09064dbb33f0f5785e64d436bc58d6c9618a4f27
rather than tearing down customer after customer
call is made, teardown customer used in fms during
customer creation method in fms_base
Change-Id: Ibef84961d6e481b3d06a926ef4008032dc3d25f0
FMS creates customer resources for 2
tests and must make use of full teardown
process for customer resources
Change-Id: I253d94856776c7e73a5d8ced02a6f77afd6fa6ca
FMS generates projects for fms tests,
these projects are not properly cleaned
under certain conditions. Ensured projects
always cleaned no matter what.
Change-Id: Ic1eb693667204c5980bbed6bdc24e4098e097977
Test fail due to expectation of ten
while receiving value 20. Updated to
10 in customer default and quota testing.
Change-Id: Ic7564904fb02777cb514db82f25587d01900605a
update sync to sync from base class for
alt_region tests, update flavor delete
tag test to ensure tag exists before delete
Change-Id: Iea42bc1566203a9959fe74a0ab99fb70f1360119
Updated synchronization after gaining better
insights into how to utilize oslo_concurrency
module. Updated region resource updates to be
in resource_setup of base.py for ranger tempest
test suite. Improved region status and removal
loops to overall improve functionality.
Change-Id: I17310dcc46697d4a4541d3ee8355f0669c268e8a
Removing deprecated CONF.scenario.img_dir option as it's beeing removed
from Tempest after ~4 year depreation period [1].
Currently Tempest is throwing a warning if img_dir is still used.
Both behaviors (img_dir and a full pathin img_file) are supported until
Tempest 25.0.0, starting Tempest 26.0.0 a full path in
CONF.scenario.img_file config option will have to be specified.
[1] https://review.opendev.org/#/c/710996/
Related-Bug: #1393881
Change-Id: Ifd02065de88eea1c75825be3178fc9f8d9721a16
Adjusted delete tag test to ensure tags
are correct before test begins. Updated
test build flavor with two regions to
account for an unordered list in results.
Adjusted build interval to a longer period
to allow for slow networks.
Change-Id: I188953a0aab18e0cbd797907bc8d98ee6759e142
Tags were not being restored correctly,
causing 4 flavor tests to fail. Removes
out of date tag restoration method, use
correct method _exec_tag_function.
Change-Id: I855ba643ae212d5186c7a4fe8807265c65227e51
ranger of vcpu limit exceeds typical
maximum allowable range of ranger, reduced
range to fit ranger use cases
Change-Id: I3ad61cc6d24e104012e6b59f9ab016413b61056c
Changed 'is' to '==' when comparing string
values due to wanting to compare the values
not the objects in the logical statement
Change-Id: I7e918e49aed0a6cde1adf2ff1c8c73a4e3382111
Fixed test that gave false positives
and false negatives, added skipcheck
to that test. Updated config value to
boolean so that test skipchecks in flavor
tests worked as expected. Added function
for checking the status of individual
regions on a flavor.
Change-Id: I331e12a757b8eb1182cb88a19a8fd9607358143e
Skipcheck implemented for when a test uses multiple
ranger regions to execute a test and tempest did
not provide an additional region to complete these
tests with. Updated region domain update statement
in setup steps to ensure that ranger-tempest-plugin
does not attempt to update a secondary site when
it is not available
Change-Id: Ia19ef442107d7cc66d1f254860606245bf6c127f
During setup of ranger tempest test runs, an update
statement is ran which updates ranger regions to
the appropriate testing domain as defined by
tempest.conf. This update statement has been updated
to target only the sites being used for that particular
ranger tempest test run. Also fixed typo in IMS test.
Change-Id: I4ebdc7fd21cebb23e8033a066bbd90d26f76bb50
Attempt to remove rbac tests to
resolve duplicate idempotent id
issues in tempest pipeline due
to import of patrole_tempest_plugin
utilities
Change-Id: Ife08863979e39ecfdabb6b07ac90dad3a5747c9a
as it was a test revert and tests
now need to be fixed as they have been
excluded from cause of failure in testing
framework.
This reverts commit 67c882996e128e38bbe90fe915f9565e89f81600.
Change-Id: Iaecd1afb6662e4c749a7fc028c1fd865b893cbb8
Added resource locking to flavor tests
that utilize regions and fixed typo in
name of key for image dictionary in
image region resource status tests
Change-Id: I66e0930d28a4e0e03af347a10913c9fef1c351bf
Testing of region groups had badly
named client. This resolves client
to be rms_client for region group
testing
Change-Id: If7bc501b450cdbfa47dcf90c5a97c9507ec5188d
tempest tests use region create statement to ensure
regions exist for testing purposes. ranger-agent
charts now include automation during deployment for
ranger regions, so these statements have been changed
to update statements to ensure region is pointing at
testing domain
Change-Id: I3024145c5b388d85b2aa78c223bd47e486fbd157