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
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
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
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
Adjusts tests to work with ranger
adjusted for python 3.6. Failures
occurred due to bad application of
region functionality in previous
iterations of tests.
Change-Id: Id077817a119e65dd5d483eafa1759ae371600f88
Ensures that ranger-tempest-plugin
has needed roles in the project
specified so that resource creation
works in domain specified within
ranger's region
Change-Id: I753fbb4ca33f2692fe337f4dd83f3feedfb9b2d6
Several tests because non-functional after git removal
and python 3.6 code update. This patchset will ensure
that these tests function with current ranger codebase.
Also removes erroneous use of rand_region functionality
when testing flavors, flavor testing should always use
real ranger regions, otherwise database will require
manual purging of flavor after it goes into error status.
Change-Id: I941b45b62ae1288e5594942d4567dc90fc968842
Resource leaks occur when resources
error out when creating in openstack.
This also includes a general refactor.
Change-Id: I2c3c3fad0a484cf3b5edf172d00b8465ba7d70f7
The resource_setup and _data_setup methods fails while running
ims test cases with below error.
KeyError: 'id'
Pre generate the id and associate with payload so that clean up
can be called before resource creation to avoid resource leak.
Change-Id: I751b187918302a3708f20a41e015e470fa5a6ff5
More python 3 fixes
These fixes are conducive towards
verifying the functionality of
ranger in python3.6/stein development.
Change-Id: Iadb889a02658c49667a0e83ca5136323791693e1
Ranger currently has issue authing with certain
credentials against some keystone environments.
This patchset introduces a skipcheck if it is
found that credentials provided do not allow
the user to execute tests against the site.
Change-Id: I5e3daff3b6ed6b5c4731320f82bb929d3caa6e07
fixed Lint issues
create Protected Image
create image with tags and properties
create image with uuid
create image with region and region group
test image region status and aggregate status
Change-Id: I116615fc1047294411d11c7a07687d6952534b73
- test_image_while_region_down IMS Calls Region Status = down
- test_image_while_region_building IMS Calls Region Status = building
- test_image_while_region_maintenance IMS Calls Region Status = maintenance
Change-Id: Ic56e53596d477e466214c67f99fae81c5561bd0f