Commit Graph

11 Commits

Author SHA1 Message Date
Artem Goncharov 50711b4662 Prepare acceptance tests for real clouds
- reworked job not to use custom modules, but rather send direct API
  requests (due to mess with ensuring openstacksdk availability for
  Ansible).
- add exclude for pre-commit-config to stop it from complaining on
  zuul.yaml
- removed too verbose logging from functests with list of images and
  flavors (on real clouds this is simply too much).

Change-Id: I555127f410b696e1584dc07cafac25597ab1abeb
2023-03-31 09:28:17 +02:00
Artem Goncharov 43ab59d8b3 Implement acceptance test job
Implement acceptance tests. Those jobs will run in the post-review
pipeline requiring access to secrets containing credentials of friendly
public clouds to test sdk with them.
Base job is generating a token from the given credentials and writes
clouds.yaml file with the token inside instead of password. As a post
step the token is physically revoked. This is done to prevent potential
leakage of real credentials from the test jobs/logs.

Since devstack is not a real cloud we do not use zuul secrets.

Change-Id: I95af9b81e6abd51af2a7dd91cae14b56926a869c
2023-03-15 14:49:27 +01:00
Jesse Pretorius (odyssey4me) 6535d6eafa [tests] Improve devstack/post playbook efficiency
By adjusting the syntax to the newer format, the fetch-subunit
role will be skipped entirely, rather than run with all its
tasks skipped. This gives us results sooner and burns less
electricity, making the world a better place. :)

Change-Id: I6ae5a63051d512eecb2a603af9d74ec139eb0877
2020-03-25 20:06:51 +00:00
Sagi Shnaidman 994c97e0bf Run fetch-subunit-output role conditionally
Jobs that inherit from base job don't always run unit tests or
use subunit. This post playbook will fail for them, so make subinit
role optional and set by default for true.
For example disable it for ansible collection functional jobs:
https://review.opendev.org/#/c/711471/
Change-Id: I50b1020c896d7d8a7d58e62de778bb8c2b6e970e
2020-03-22 16:03:40 +02:00
Monty Taylor 737bcb0eca Finish updating links to point to opendev
The redirects work, but it's nicer to just use opendev links
directly. Also, update shade, which is in openstack namespace
now.

Depends-On: https://review.opendev.org/654230
Depends-On: https://review.opendev.org/654233
Change-Id: Id559b79c2aefda50fa3ec0feedf6d8c52a687a75
2019-04-21 12:31:44 +00:00
Monty Taylor d36e835deb
Add stackviz processing to functional tests
We have devstack-based functional tests that use subunit. Let's get
ourselves some stackviz!

Change-Id: I80e4ac780d6d14ba0a73ceca0e410235707817bb
2018-10-16 08:10:19 -05:00
Monty Taylor 2de4187366
Collect tox and testr output in functional tests
We need to collect tox and testr html output so that it's easier to see
what went wrong when things break.

Change-Id: I728ca7f7ea7f8e1aca9e80eab28fdf44de91f88c
2018-02-15 08:53:47 -06:00
Monty Taylor 5872184a69
Use devstack functional test base job
We extracted some of our functional base job to the devstack repo.
Consume it.

Change-Id: I0b5172384ed1f4017d4f4ada7f4dadc5593f14be
2018-01-27 12:29:58 -06:00
Andreas Jaeger 7edf9f743d Use Zuul v3 fetch-subunit-output
We have consolidated the fetch output roles into one
fetch-subunit-output, replace useage of old roles with new one.

Depends-On: I0cdfc66ee8b046affeb0b071fef38c21cb7a4948
Change-Id: I6d1726aa562f05b6d3bee7d0390fc1cf7cef4cd7
2018-01-16 08:20:46 +01:00
Monty Taylor 1a83a534b8
Remove use of tox-siblings role
Its functionality has been merged into the tox role, so is no longer
needed.

Change-Id: Id952ddf5b140185a1bf6f5e9dd28798c6380b209
Depends-On: Id61ae52d48b28cfc2221cb556a1c1f7c6dfd60dd
2017-11-29 15:39:24 -06:00
Monty Taylor d25b80eaf3
Add jobs for Zuul v3
These are copies of the shade jobs, but they should work with this
stack.

The changes that are not the tests are changes needed to make the tests
work.

Change-Id: I9f223c4a9ac8dc2570b8698284512e1aa834970a
2017-11-15 09:03:59 -06:00