874 Commits

This Branch
This Branch
All Branches
Author SHA1 Message Date
Ivan Anfimov
8037c04260 tox: remove linters and functional from envlist
Tests removed in:
Iaa727b84e6c8938999df5bbc292ff4c6ca6f668d
Change-Id: I43e630046fcd808e37966cf5f67c3e60d54a022e
Signed-off-by: Ivan Anfimov <lazekteam@gmail.com>
2025年11月30日 17:02:26 +00:00
Ivan Anfimov
476cb2b9e3 Fix URL for contributors guide
trivial fix
Change-Id: I267f495b71d9cdcbf7d26af8b430bfb2c0943fc1
Signed-off-by: Ivan Anfimov <lazekteam@gmail.com>
2025年11月28日 19:41:03 +00:00
Zuul
78a421f843 Merge "tox: Remove ineffective ignore_basepython_conflict and bump minimum version" 2025年10月22日 04:03:24 +00:00
Ivan Anfimov
4f60bc8381 Tenant replaced to Project in tasks name
Change-Id: I1ccdf400e77ac92802e73e7fb0eb346fc19599ed
Signed-off-by: Ivan Anfimov <lazekteam@gmail.com>
2025年10月06日 23:20:38 +00:00
Zuul
a6c817f074 Merge "setup.cfg: Replace dashes with underscores" 2025年10月06日 11:56:35 +00:00
Zuul
2044960ac7 Merge "Remove functional test environments from tox.ini" 2025年09月26日 09:15:25 +00:00
Ivan Anfimov
ea19ab405b setup.cfg: Replace dashes with underscores
Change-Id: I65b1adc39079211dec3c23a834d4be813b4e860c
Signed-off-by: Ivan Anfimov <lazekteam@gmail.com>
2025年09月12日 22:50:07 +00:00
Ivan Anfimov
925757d5f6 Remove functional test environments from tox.ini
This removes tox evs which are dependent on a tests repo framework,
which was deprecated.
Change-Id: Iaa727b84e6c8938999df5bbc292ff4c6ca6f668d
Co-authored-by: Dmitriy Rabotyagov <dmitriy.rabotyagov@cleura.com>
Signed-off-by: Ivan Anfimov <lazekteam@gmail.com>
2025年09月12日 22:44:50 +00:00
Ivan Anfimov
b9e07a4c53 tox: Remove ineffective ignore_basepython_conflict and bump minimum version
Change-Id: I9b89c0e2c571135e792992dba3c42ae56c63b55b
Signed-off-by: Ivan Anfimov <lazekteam@gmail.com>
2025年09月12日 22:41:35 +00:00
Ivan Anfimov
9f4369be0a Remove deprecated run_tests/vagrantfile
run_tests.sh was part of functional testing framwork which was
deprecated.
Vagrantfile while running integrated tests, does not contain
any supported distro
and effectively unmaintained.
Change-Id: I8fba7955cb7299a7aa26cca676584313f7be64e5
Co-authored-by: Dmitriy Rabotyagov <dmitriy.rabotyagov@cleura.com>
Signed-off-by: Ivan Anfimov <lazekteam@gmail.com>
2025年09月12日 22:39:09 +00:00
Takashi Kajinami
2fa2c92193 Remove support for sahara and senlin
Both of these projects were retired some cycles ago.
Change-Id: Ie7a3d5850800d2007e3676ad0bb25ed66f9100f6
2025年06月03日 23:18:47 +09:00
Dmitriy Rabotyagov
a645fddf1d Drop EL8 support
Change-Id: I966bd07acd5ade87305312d906547903f163f539
2025年05月29日 20:13:25 +02:00
Dmitriy Rabotyagov
75762334a5 Add EL10 support
Change-Id: Icb00b8e799dde1f56c9e5a22828c47f2ba475e9f
2025年05月29日 20:12:52 +02:00
Ivan Anfimov
9c577c2c74 Remove tags from README
The tags framework has been discontinued for a long time.
https://governance.openstack.org/tc/reference/tags/
https://governance.openstack.org/tc/resolutions/20211224-tags-framework-removal.html
Change-Id: I61e5b6ef39b9682b999c9fdf0403ebdfe4111333
2025年05月06日 09:52:00 +00:00
Dmitriy Rabotyagov
64f05b5af8 Switch volume catalog_type to block-storage
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-os_cinder/+/942581
Change-Id: I4516fae49a554f0200788ceb8786de941b7e8271
2025年02月26日 11:25:01 +01:00
Dmitriy Rabotyagov
f0fe99873c Auto-fix usage of modules via FQCN
Since ansible-core 2.10 it is recommended to use modules via FQCN
In order to align with recommendation, we perform migration
by applying suggestions made by `ansible-lint --fix=fqcn`
Change-Id: I19536716c7ac6bb75ae264db07ad9bc7d51d1ae6
2025年02月12日 15:14:30 +01:00
Dmitriy Rabotyagov
64321b6fa5 Auto-fix yaml rules
In order to reduce divergance with ansible-lint rules, we apply
auto-fixing of violations.
In current patch we replace all kind of truthy variables with
`true` or `false` values to align with recommendations along with
alignment of used quotes.
Change-Id: Id65c3c3a2a36c28fc9fb9a90b151570e9fa694bd
2025年02月12日 15:11:20 +01:00
Dmitriy Rabotyagov
6b9c22c380 Ensure tempest enclude/exclude lists are idempotent
Using union since ansible-core 2.16 will result in non-determenistic
results which would mean that tempest test list might have random order
result in a changed tasks while templating these lists.
Change-Id: I8aea6670845607a925ca67994ee7ae835ef31be3
2024年07月22日 15:54:08 +00:00
Jonathan Rosser
ccb993c78d Remove legacy centos-8-stream job
Change-Id: Icd33100a80a2a758bc8531cf246ac78ff6e04fa7
2024年06月20日 16:45:13 +01:00
Zuul
59d82fa9e3 Merge "reno: Update master for unmaintained/zed" 2024年06月06日 10:45:25 +00:00
Dmitriy Rabotyagov
a2186f4ab9 Add ability to make public network shared
In some cases it might be required to have shared network for tempest
test. A good example might be trove test that assume having that.
Change-Id: I359c7caafc515ff2db0989e04fb0bc33ab843ba8
2024年05月13日 11:43:09 +02:00
7816301e46 reno: Update master for unmaintained/zed
Update the zed release notes configuration to build from
unmaintained/zed.
Change-Id: I49411da58072e8c6148d51795d2ae67ae87d4a10
2024年05月10日 18:57:55 +00:00
Jonathan Rosser
05b8517bf8 Switch default external network name to 'physnet1'
Unify the default network naming with changes in the all-in-one
deployment and upstream neutron docs.
Change-Id: I3ceea9a1a5fab2f0ab91883f334fb924d89a5650
2024年02月12日 13:24:24 +00:00
Dmitriy Rabotyagov
0bcb0f20d8 Add missed openstack_resources_image condition
In some jobs where we run tempest we do not have all required services
Good example of that are infra jobs where only keystone is deployed.
During conversion to usage of openstack_resources role, a condition for
glance images creation task was missed, that avoided image uploads
when glance is not present.
Change-Id: Ibcf16abab20eadf984ad1c8307ad14b43a889793
2024年02月06日 10:35:44 +01:00
Zuul
56d86e29bd Merge "Adopt for usage openstack_resources role" 2024年02月03日 09:30:13 +00:00
Dmitriy Rabotyagov
f25f81ebd1 Adopt for usage openstack_resources role
With efforts to create a resources in same, unified way,
we convert tempest role to use openstack_resources
for creating and managing openstack resources, like projects, flavors,
networks, images, etc. This should reduce maintenance costs
in case of futher collection updates and unify approach.
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/878794
Change-Id: I8d7609fac96935ed51e92ebf58515e8eb0c44d5c
2024年02月02日 22:28:13 +00:00
Dmitriy Rabotyagov
adcb83cff8 Fix condition of excludelist file removal
Due to typo in condition, we ended up in removing excludelist file right
after it being provisioned in certain circumstances.
Change-Id: I455f4e796fb8dcac29fe7947fc192baee9367187
2024年01月30日 16:04:57 +01:00
Zuul
184595e6cc Merge "Add blazar tempest support" 2024年01月11日 04:54:21 +00:00
Dmitriy Rabotyagov
d5a2c6e5a4 Add blazar tempest support
Change-Id: I4666a7dfc12aed265b646ea093fe39d6cc41a77c
2024年01月05日 18:08:48 +00:00
likui
843f1cabd7 Drop deprecated project
panko was deprecated.
[0] https://review.opendev.org/c/openstack/governance/+/850005
Change-Id: I3ca2a489acac075f1b3a032163a27f42279f7733
2023年10月13日 14:25:11 +08:00
Jonathan Rosser
00965ed13e Allow tempest_tempest_conf_overrides to be defined in many variables
Combine all variables starting with tempest_tempest_conf_overrides
to give a complete set of configuration to tempest when multiple
different test scenarios are enabled at the same time.
Change-Id: Iba5e061d1682d16c0516249f628f948a20580df8
2023年09月29日 08:59:25 +00:00
Dmitriy Rabotyagov
8fc8f9021b Fix linters
Current exmaple playbook is not named which causes linters to fail
Change-Id: I464f3ad7e43f120cbbac4e88f7f207a6739bcc69
2023年09月29日 10:19:48 +02:00
Jonathan Rosser
bd5923cf5e Ensure test exclusion file is removed when there are no exclusions
If the role variable overrides are updated to remove a set of
existing tempest test exclusions, the previous exclusions file
remains on the disk even though it is not use, and not passed
to the tempest command. This is confusing and the file should
not be present unless there are active exclusions in place.
Change-Id: I5d69bf6258a00ade825cd3c746d1443dc1a35120
2023年08月31日 11:44:11 +00:00
Jonathan Rosser
242203bafa Allow include/exclude lists to be defined in many variables
Previously the os_tempest role had a single variable for
defining the include and exclude lists in order to select the
tempest tests to run.
This works for simple scenarios, where a single service
is deployed and the tests for that service are enabled through
the necessary variables set in user_variables. This approach is
used in openstack-ansible CI / AIO.
More complicated scenarios such as magnum+barbican+octavia, would
create several user_variables files each with conflicting settings
for the test settings. It is possible in this scenario for there to
be no valid tempest tests to run and tempest to fail immediately.
This patch adds the possibility to have many variables defining
the include/exclude lists which have names using a common prefix.
Any variable names matching the prefix are gathered and combined
with the original role default to make extending the test lists
easy to do in an incremental/distibuted way in the ansible variables
instead of having to maintain a single point defining all necessary
tests.
Change-Id: Ie3a9a7be849171af042567ba8a152e5df5d2cb53
2023年08月17日 11:20:14 +00:00
Jonathan Rosser
9ec945a0a3 Rename includelist/excludelist file path vars
These variable names collide with the best name prefix to use when
gathering many variable names into a combined include/exclude list.
Codesearch shows no use of these as overrides and the number of
cases when an override would be needed is small.
Change-Id: Ic64165e41d24ae8dc75061589de84fa57998f03d
2023年08月16日 10:25:30 +01:00
Jonathan Rosser
47deba8c31 Remove deprecated variables
More suitable replacement variables have been available for
several releases now so we can remove the deprecated vars.
Tripleo still defines these deprecated variables in several
places but seems to have made no attempt to move to the new
vars, and tripleo is itself now deprecated so we should move
ahead with removal of these vars from os_tempest.
Change-Id: I5a4a90bc963acc8b44caf7eb060b763e0f90a50f
2023年08月16日 09:03:23 +01:00
Dmitriy Rabotyagov
687dcb30bf Fix linters and metadata
With update of ansible-lint to version >=6.0.0 a lot of new
linters were added, that enabled by default. In order to comply
with linter rules we're applying changes to the role.
With that we also update metdata to reflect current state.
Change-Id: Ifcb6ebfa971e324e447509e50cc7294bddd6a4a0
2023年07月14日 20:37:15 +02:00
Zuul
6081d1daac Merge "Remove tripleo CI jobs" 2023年05月24日 17:52:56 +00:00
Arx Cruz
574f4acaf2 Temporarily re-add redhat-8.yml to vars
Although tripleo deprecate master, we still use os_tempest in wallaby
and train lines, and due a design error, we rely on os_tempest master
branch instead of use the appropriate branch, and the removal of
redhat-8.yml file broken these jobs.
We will in the future, use the proper os_tempest branch on these jobs.
Change-Id: Ic2c547d730e900c883685050366e8e307869e6d1
2023年05月24日 12:46:02 +02:00
Zuul
ec4d4a1e76 Merge "Build wheels only for source isntalls" 2023年05月23日 17:51:10 +00:00
Zuul
de5c8f9b26 Merge "Make tempest respect service_install_method" 2023年05月23日 14:51:19 +00:00
Dmitriy Rabotyagov
6125fd5e7e Build wheels only for source isntalls
Ubuntu distro installation installs tempest plugins from source.
For this scenario we're ensuring that wheels won't be built as
repo container that should handle wheels build is simply absent in this
scenario.
For the rest usecases we're sticking with our new default to build
wheels.
Change-Id: Id643946edf4b4e21f8420d048ce8293fc40a61fc
2023年05月22日 17:44:19 +02:00
Dmitriy Rabotyagov
2441b55aac Clean up old rhel variable files
We don't support neither redhat 7 nor redhat 8 as of today, so we can
safely clean-up variable files for these distros.
Change-Id: I1225fd75d25c3a06353b46ddb61f989b73a757b6
2023年05月22日 17:32:54 +02:00
Dmitriy Rabotyagov
0a8459bec0 Make tempest respect service_install_method
For all services we do respect service_install_method vairable,
and define 'source' as the default options. At the moment tempest
attempts to follow source path even for distro deployments.
Change-Id: I5256943b5f175cbf46ae36361887dd055e0c52be
2023年05月22日 15:30:38 +00:00
Jonathan Rosser
a871336aa0 Handle openstack.cloud.image from collection 1.x or 2.x
Temporary code handling both cases until support for the 2.x
collection can be merged.
Change-Id: I200bf8d09d489be1433c9a269cc6cd6a1378a6cc
2023年03月28日 15:38:28 +01:00
Jonathan Rosser
a84a1d199e Remove tripleo CI jobs
This role was shared with tripleo, but that project is now
deprecated so there is no need to carry the cross-project CI jobs
any more.
Change-Id: I73aec0f325708f42bbd0fd07d572fb833e8dfb2c
2023年03月07日 10:05:59 +00:00
Chandan Kumar
d8ddd9fcee Add support for whitebox-neutron-tempest-plugin
Signed-off-by: Chandan Kumar <chkumar@redhat.com>
Change-Id: Id7fb7f53c2b099ee6f671350cf3cc896be5bf758
2023年01月19日 10:22:04 +05:30
62f7c7f89f Update master for stable/zed
Add file to the reno documentation build to show release notes for
stable/zed.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.
Sem-Ver: feature
Change-Id: Ia808641ab5446707ec5296dab6198c260b1b4477
2022年12月13日 13:21:37 +00:00
Jonathan Rosser
cdb6abe93a Update cirros image to 0.6.1
Change-Id: I9cd4d85b196ce4d4310e61f5fb46981a32365cc3
2022年12月01日 16:55:54 +00:00
Dmitriy Rabotyagov
c43fc6c9c8 Replace git-core with git for debian
With ansible-core 2.13 it tries to substitude package resolution in apt
module.
However git-core is used in Debian as transitional name, but ansible
tries to select it and provide version, which is not correct behaviour.
But since git-core is not really valid anyway, we just replace it
to workaround ansible's imperfectness.
Change-Id: I862e1ea4cef840d1903962181bfc8ec3c5a1e903
2022年10月05日 11:06:04 +02:00