Changes from original tests:
- Methods and variables set according to OSP deployer tool in base class.
- Adjust migrated imports and configuration.
- Added OVN backend check instead of configuration check.
- Replaced test UUIDs with unique ones.
- Fixed typos throughout file.
Change-Id: I8656d56d579b73dd39c3bd37c46516ada5f78a6c
Changes from original tests:
- Adjust migrated imports and configuration.
- Added OVN backend check instead of configuration check.
- Replaced test UUIDs with unique ones.
- Master controller execution method according to OSP deployer tool.
- Node domain names according to OSP deployer tool.
- Fixed typos throughout file.
Change-Id: Ifca3d75fe14d0ec5e11bb9f669cbfd88100bea2f
Add existing tests to increase plugin functionality
Also add code to customize advanced image to make it
suitable for all tests of the plugin.
Change-Id: I65d53544e85850c3b0a9929198fab14bddcca636
Since some tests from the plugin require list of nodes be available
a discover_nodes() function was implemented, by using openstack API.
This will ensure that discovering nodes will work properly on
environments deployed with any installer.
Also, adjusted multicast tests in order to prevent self-rebooting
of the tempest node on a single-node environment.
Change-Id: I80dd0ba855a63952d12214a4e7e9fd9c334e312a
Moved tests from downstream plugin as they are, with necessary
adjustments.
- Changed paths where needed.
- Updated test uuids.
- Moved also relevant config options and base functions.
Change-Id: I509641a72ae87e6aed8582426a09ab87390c72fe
The job is hitting timeout when running in
non nested nodes as guest vms boots too slow.
Switch nodes to nested-virt like ovs job in order
to resolve it.
Change-Id: I7a758d653116939267ac6f2b74c4ad545e4e051d
The neutron tempest migrated plugin has tests that soft/hard shutdown
services/nodes and expect HA setup to handle it.
Therefore this change adds a devstack OVS HA gate job to notice such
tests work properly, and any HA checks related code isn't broken.
Change-Id: Ifa574542d6d4b59c63335e95052922b494cad5e2
This is partial revert of [1]. The issue got triggered
as by default dhcp_domain is set to 'novalocal' in nova and
dhclient includes that local domain when setting up
resolv.conf as part of [2].
To have predictable domain only derived as part of
neutron configuration the job unset's dhcp_domain in
nova conf.
[1] https://review.opendev.org/c/x/whitebox-neutron-tempest-plugin/+/904331
[2] https://bugzilla.redhat.com/show_bug.cgi?id=637763
Change-Id: Id5966cc7447a688ad1a1a8800993096d18f29194
This patch contains a workaround for one of extra dhcp opts test,
test_extra_dhcp_opts_disabled_enabled_dhcp4, that uses a strict
regex for getting domain_name between 'search' and eand of the line.
In some cases the test is failing because of an extra entry 'n'
before the end of the line. This still should be investigated.
Meanwhile we apply a workaround in order to unblock the gates.
The workaround makes the regex less strict and still checks for
a proper value of the domain_name.
This patch also handles 2 comments from the previous patch.
Change-Id: Icb65bd5aefab7d23b93f148502667c8c4e62bdc2
Tests moved from downstream plugin with minimal adjustments.
These tests require nmcli inside the server so advanced image
changed to rocky-9 cloud image. Other alternative, e.g. centos-9
does not have a default user and requires additional customization
for setting the user.
Additionally, moved utils.py and constants.py.
From config.py and base.py only relevant subset of code moved.
Change-Id: I6b538c13a15e94d072091b3218b2cd48ff20a70c
TripleO jobs needed for testing whitebox neutron tempest plugin
are deprecated and most reasonable option is to use Devstack jobs
instead.
Change-Id: I397562b1c8a6752474a7c5b8a22ae98c9662f8b5
Since dpkt is not provided in RDO packages we need to replace it
with other library. In this patch dpkt library is replaced by scapy.
Change-Id: Ifd3348bf183e35f40a8f13e97c1936faf20ce705
Some changes were made to tests until CI verification gate was fixed
to verify this plugin's added tests.
Change-Id: I1584ad9ff32410b7297325426f0a7556ea45b012
It sets import stype to be "pep8" to be consistent with other OpenStack
projects and configures some excluded files and enabled extensions. It's
all the same as for neutron-tempest-plugin repo to be consistent with
it.
Change-Id: I8951003e481fe15f05cc7eeb671d86ca793a7eed
This reverts commit b1f6c8f858c2cd487cad8f240749348623a4dd80.
Reason for revert: RDO package is there already so we should be good to go with this job
Change-Id: I66e3d18fb708d449dc292c88498da278d0444a99
It seems that this isn't used in this project (at least for now) so
there's no need to keep it in the requirements file.
Change-Id: Id7a0ab375c3a033edc306d1de856ca6a3af3622b
It's failing due to issues with building packages so lets remove
it from the check and gate queues for now to unblock project.
It will be back in the check and gate queues when packaging will be
ready.
Change-Id: Ic5470a698d0eebe30686dfc547e503e06a2f62b7