Patrole project is not active anymore and its gate is broken.
We waited for couple of cycle to see if there is any interest
in this project and anyone can maintain it. But we did not get any
new maintainers and current QA team does not have bandwidth/interest
to continue maintaining it.
This project was for RBAc testing which is moving towards unit/functional
tests on service side as well as tempest plugins tests.
In QA 2023.2 PTG, we decided to retire this project
- https://etherpad.opendev.org/p/qa-bobcat-ptg
Change-Id: I7721cf06104e5871ec27cdd87d4608dace60a8b7
This PS updates Tempest to 30.0.0. Due to
55414580c2
some refactoring was required around wait_for_interface_detach.
Additionally, the variables:
min_microversion
max_microversion
needed to be renamed to:
volume_min_microversion
volume_max_microversion
for volume related tests. See:
https://review.opendev.org/c/openstack/tempest/+/813676
Change-Id: Ie2183fdd2812d5d2fdfdc0815bf96e5c47a9f1e8
This patch makes sure that test_show_auto_allocated_topology
deletes resources that are created during its execution.
Before, the test didn't clean the following resources:
- network: auto_allocated_network
- subnets: auto_allocated_subnet_v4 & auto_allocated_subnet_v6
- router: auto_allocated_router
Story: 2007941
Task: 40406
Change-Id: I8cc77f7d47918d8329298ee32733d569294f11b7
stable/wallaby is not supported stable branch and
we are in Xena cycle development so adding wallaby
job on master so that we keep testing branchless
Patrole for all maintained stable branches.
Change-Id: If7106cdff4dbf30b549bf9e5e4fddf1ed5156070
stable/train is in EM state and master patrole
does not support it, this commit removing
the stable/train job from master gate.
Change-Id: If43d5ae46c99b1170e76e72a70b81559f2d36fc1
Cinder policies are made more granular and now we need
to adjust the patrole tests to handle those changed policies.
This commit introduces a new flag so that we test the old
policies in stable branches and new one in Xena onwards.
Change-Id: I4be60e3e92704f8e55d3acdb0e025078ae5b21f1
1. Image update member test is failing because image owner
itself try to update the image member status but only
admin or that member can update it. Fixing this test.
2. Network tests are failing to create public network
on vxlan or so, fixing those with right parameters.
3. Volume type extra type specs is facing the race condition,
where same name specs is created for all the test which update
delete it. But still it fails so skipping this test too for now.
4. Skipping volume detach test for now, basically squashing
https://review.opendev.org/c/openstack/patrole/+/800594
Story: 2009210
Task: 43272
Story: 2009050
Task: 42820
Change-Id: I5fbcaf219d23d5c94a180c3447ca851d844e1dca
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:
UserWarning: Usage of dash-separated 'description-file' will not be
supported in future versions. Please use the underscore name
'description_file' instead
[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb
Change-Id: Icd9b8b1faa5e67e372fd411e6720f4c63f14d2bb
1) Updated class level create_backup function to wait for resource delete
2) Switched the wait_for_resource_deletion handler before delete_backup,
the clean_up function uses list pop() to perform cleanup. The backup
has to be deleted before the wait_handler is called
Depends-On https://review.opendev.org/c/openstack/tempest/+/781142https://storyboard.openstack.org/#!/story/2008683
Change-Id: I6ebc6dcb729baa775e36026081cd8bbf0d5c203f
The previous code doesn't support PreProvisionedCredentialProvider, it
was getting admin credentials from tempest config file which are not set
when using test_accounts_file.
Change-Id: Ia34d08ad659b095a114c27d6d596507f7922149a
stable/stein is not suported in Patrole now, so
let's remove their jobs from master gate.
In order to pass the CI, the following changes are also made:
* Added skip for Nova policy
"os_compute_api:os-admin-actions:reset_network", which was removed in
https://review.opendev.org/c/openstack/nova/+/749315
* Removed openstack-tox-lower-constraints job for now until we have a
solution.
Change-Id: Id73342c24342637edc37104f2112235a2edcac39
This relesenote also mark end of support for Stein release
in Patrole as it is in EM state[1].
[1] https://releases.openstack.org/
Change-Id: I8f7d60e8a8e1766e14b37cbcbc3649c212520d00
Patrole network tests fail when pre-provisioned credentials are
used (Could not find user).
This is caused by missing 'user_id' and 'tenant_id' parameters
in the client manager.
The reason why this happens only with network tests is because
when client manager from neutron_tempest_plugin is created
the set_auth() function which refills the credentials is not
called (in contrast with tempest's get_client_manager() function
where the set_auth() function is called).
This patch makes sure that client manager contains 'user_id'
and 'tenant_id' by refilling the credentials using the set_auth()
function.
Closes-Bug: 1846410
Change-Id: I01ea0da7e43923f50053d41ac069f3f913d5b728
Now we have stable/victoria branch ready for devstack
and so does for all service projects.
This commit adds the Patrole testing for stable/victoria
by adding new jobs running on stable/victoria version of
openstack.
Change-Id: Icf6a2c86b92937089f7e3af96eec5ad6b1304e8d
This patch set adds a new feature flag called
``removed_nova_policies_wallaby`` under the configuration
group ``[policy-feature-enabled]`` for skipping Nova
tests whose policies were removed in Wallaby. This feature flag
is currently applied to os-agents which is removed in nova
recently - https://review.opendev.org/#/c/749309
Change-Id: Iaa0ddbdca454b93bd8373ce749603f28c5c59180
The docs requirements migrated to doc/requirements.txt
we need not install things from requirements.txt.
Change-Id: I6a50c553779a2d185da1a82898541adb35130f69
Patrole 0.10.0 has been released [1].
This commit adds a new page for 0.10.0 release notes.
[1] https://review.opendev.org/#/c/752785/
Change-Id: I1c26117b14d48e6bda7e8c94cd8f3f18b6f95514
I tried to remove --sitepacakges and the gate failed
so I added comment and in the .zuul.yaml so future people
will understand why.
I Updated the tox.ini environment description so if someone
does a tox -av it will list all command supportted and a
small description of what
While dcoumenting the zuul.yaml I noticed that I made
patrole-reader a job and I feel that we should also
have it as a gate.
I also saw that extension and multi-node non-voting jobs
where missing reader versions so I added them.
Change-Id: I7b8e4c06ece6b32cab4d7238d0bc250334a3adb3
The test test_delete_auto_allocated_topology is the only
test in patrole that does a Skip test exception in the test_ method
so I had to add support to the rbac_rule_validation decorator
so the framework would allow the skip exception to be thrown
through the decorator and make it through to the unittest
framework as a skip. Let me know if anyone has a better
way to do this. I am just trying to get all of the gates running.
FYI I am down to one testing in multinode that is only
supported by system scoped token in Nova so I think that
we will have to wait until tempest supports scope token and
then when patrole support them we should be able to get all
voting gate and non voting gates to work.
https://storyboard.openstack.org/#!/story/2008018
Change-Id: Id8a599c8754dfc10ffa5fa18c232a9afff180a8e
Story: 2008018
Task: 40670
the bug is due to a nova api that is allowed with a system scoped
token and patrole does not support them at this time.
https://storyboard.openstack.org/#!/story/2008051
Closes-Bug:2008051
Change-Id: I6963fdff199fca342620ab15948ce2c1d29c2c7a
Since the stein train and usuri and master gates are
running successfully I am proposing to turn on all
of the gates the same and make reader voting.
Add opendev.org to project reference in .zuul.yaml.
to clean up the yaml and make it more like the
tempest .zuul.yaml.
I will do small changes overtime to clean up little
issues and test the gate changes. Some future area are
tox clean up and looking into the multinode failures
to see if we can make them voting gates.
Removed define concurrency value to allow it to
be set according to the CPU in the VM that the
test are running.
Change-Id: Iad76ad66605a12d55afcc3561e807374ba2943f9
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).
Most of the Tempest jobs will be migrate automatically once devstack
base job start running on Focal(Depends-On).
stable jobs testing stable branch needs to keep running on their supported
distro version which is bionic from stein till ussuri.
Also fixing few lower constraints.
[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.html
Change-Id: Id1799fee94071c2eaea17bc50ef2845a8489fa92
Removed -testproject from identity project created using
setup_test_project since rand_name it already has tempest-
in front of the name. Adding -testproject to a project
provides no additional value on a name with restricted size limit.
Also removing -test_domain and -test_update_domain sufix from
domain name since they have a 64 char limit also.
remove -IdentityCosumer from test test_oauth_consumers_rbac.py.
Our downstream tooling we replace tempest- with shorter word
and unique id to find project, global and orphaned project resources
in test and production site. This will allow us to find resource
leaks and submit upstream corrections.
Change-Id: Ic4014938c4a2dae64892954d8638f9d8d519a234