Commit Graph

130 Commits

Author SHA1 Message Date
Takashi Kajinami d7a446897f Replace stable/yoga job by stable/2023.2 job
The stable/2023.2 release was already created so we should start
testing it. Also stable/yoga already passed the end of its extended
maintenace phase and is no longer supported by latest tempst.

Change-Id: If54ec0211e7467583690144fdf450f89e06987fc
2024-02-06 17:03:59 +09:00
Zuul d7ddf4d785 Merge "Fix Zuul warnings" 2023-10-04 18:18:19 +00:00
Gregory Thiemonge bacca66926 Fixed typo in override-checkout branch for stable/2023.1
Change-Id: I61e431a7310d160daa1ba4728d8b4ae14cd18d29
2023-09-12 20:45:58 +02:00
Gregory Thiemonge 77424e6095 Fix Zuul warnings
Change the format of negative regexps
Zuul now reports a

invalid perl operator: (?!

warning

Change-Id: I094a31be5acd3db18b75ffe9ecaee3d924a00cca
2023-09-06 09:26:54 +02:00
Gregory Thiemonge 3c44d1cb9b Remove xena and wallaby jobs from the gates
It also cleans up some old stable branches jobs and the centos-8-stream
job.

Change-Id: I30c840a9981c5c9765fa2a9100e87efd7fd70521
2023-07-11 22:13:47 +02:00
Ghanshyam Mann 63b5c60964 Add stable/2023.1 jobs on master gate
As 2023.1 is released, we should add its job on master
gate to keep branchless tempest plugins compatible
to stable branch.

Ref: Tempest plugins guide for stable branch testing:
- https://docs.openstack.org/tempest/latest/stable_branch_testing_policy.html

Change-Id: Ia8f73e9fa07cbfaea5024047c650dfe5ca747420
2023-06-09 02:25:34 -05:00
Gregory Thiemonge c45b5546e4 Adding jobs for stable/zed
Change-Id: Id851d5a5388e290770c617267daa9fdd0a50dae6
2023-06-09 02:16:32 -05:00
Gregory Thiemonge b9af9163cb Splitting scenario jobs in 2 jobs
Each scenario job is splitted in scenario-traffic-ops and
scenario-non-traffic-ops jobs to avoid possible TIMEOUT in the CI.

Change-Id: Ib8af2af6696b27879eb923793959837646469905
2023-05-10 09:40:38 +02:00
Gregory Thiemonge 07909503b0 Fix jobs running on Jammy vs. Focal vs. Bionic nodes
Because octavia-tempest-plugin is branchless, job definitions need to
work for all octavia branches >=wallaby. Older branches should not use
the definitions from current master.

Change-Id: Ic76288560086d225fa59aee399cd75ae4c459559
2023-05-09 17:17:23 +02:00
Tom Weininger da06895326 Updating Octavia tempest jobs on Ubuntu jammy (22.04)
Update nodeset to use Jammy nodes.

stable branches are pinned to the focal node pool.

Change-Id: I3faf27a64429ca4a078f96649aafac584cba0b9a
2023-04-27 19:33:21 +02:00
Zuul cbda95e727 Merge "Spliting centos scenario job into 2 jobs" 2023-03-28 16:03:37 +00:00
Michael Johnson 6dac8ff58f Update Octavia tempest tests for no scoped tokens
There has been a direction change in the "secure-RBAC" goal and scoped
tokens are no longer being implemented[1].
The Octavia tempest tests were updated for the new keystone roles and
scoped tokens at the same time with an (bad) assumption that they would be
turned on at the same time.
This patch updates the Octavia tempest plugin to not assume that scoped
tokens are in use when the RBAC type is set to keystone_default_roles.

[1] https://governance.openstack.org/tc/goals/selected/consistent-and-secure-rbac.html#direction-change

Depends-On: https://review.opendev.org/c/openstack/octavia/+/877433
Change-Id: Ia1c4ca0b675d39bd43640184d6d3deba823fd3f6
2023-03-14 23:21:51 +00:00
Gregory Thiemonge 7664549b8c Spliting centos scenario job into 2 jobs
The duration of the c9s scenario job is really close to the max timeout
in Zuul, spliting it into 2 jobs would reduce the duration of the tests
and would avoid possible timeouts.

Change-Id: I3b70171624e5c42fd6055d73a040704af5910944
2023-02-28 09:07:55 +01:00
Tom Weininger 295576db04 Pin barbican-tempest-plugin to version 1.6.0
This version is the last that one that supports Python 3.6, which is the
version Ussuri uses.

Change-Id: I3da638eb97939186b923a5854f2ea260b61953e8
2022-11-17 17:28:25 +01:00
Zuul 27152e3430 Merge "Update c9s job with new ssh key type" 2022-08-09 15:33:07 +00:00
Zuul 194e8a058b Merge "Update zuul queue configuration" 2022-07-08 14:36:05 +00:00
Michael Johnson fa5a5f9af4 Update zuul queue configuration
Zuul is changing how queues are declared[1]. This patch updates Octavia tempest plugin for the new way to define the queue.

[1] https://lists.zuul-ci.org/pipermail/zuul-discuss/2022-May/001801.html

Change-Id: I944028615f6fcc14bb5316ef790bb07ae28b1a1c
2022-05-19 16:21:47 +00:00
Gregory Thiemonge de762fa29e Remove old unmaintained jobs
Thie commit removes jobs for EOM branches (victoria), and the
spare-pool job for branches that no longer support it

Note: some tls-barbican-stable jobs are still referenced by the barbican
project.

Change-Id: If1a951999d95332b879bfe0f26ec584d0b077165
2022-04-27 14:52:58 +02:00
Ghanshyam Mann 5de58101c2 Update 'Maintained' stable branch jobs on master gate
We have stable/yoga released and stable/ussuri is in
'Extended Maintenance' state. Current 'Maintained'
stable branches are yoga, xena, wallaby, and victoria.

As per tempest stable branch testing policy[1], adding the
newly released stable/yoga job and remove the EM stable/ussuri
job.

[1] https://docs.openstack.org/tempest/latest/stable_branch_testing_policy.html

Change-Id: I96ef69c79014c95e07a5b3848bf50485eaa46df5
2022-04-14 20:23:32 -05:00
Gregory Thiemonge 93cf842437 Update c9s job with new ssh key type
RSA ssh keys are now rejected by ssh client in c9s, generate a ECDSA key
for this job.

Change-Id: Ia8b90d74b657612a02bc2c30514f09f179ab97e3
2022-04-13 09:55:22 +02:00
Gregory Thiemonge a2c234ea22 Add centos-9-stream job
Add octavia-v2-dsvm-scenario-centos-9-stream

Add extra args to the "scp" command to authorize the pubkey exchange
with a cirros VM.
Detect the openssh client version to enable the use of the SCP protocol
(starting with openssh 8.7, the SFTP protocol is the default protocol
with scp, SFTP is not supported by Cirros) when sending files to the
cirros VM.

Depends-On: https://review.opendev.org/828189

Change-Id: I689a50e6762fd22e1aaec8aa84ff5b075ff5bd45
2022-02-07 21:21:46 +01:00
Ghanshyam Mann 6b04038940 Add stable/xena jobs on master gate
We have stable/xena released so we should add
their job on master gate to keep branchless tempest
plugins compatible to stable branch.

This also removes the stable/train job as that is in EM
state now.

Ref: Tempest plugins guide for stable branch testing:
- https://docs.openstack.org/tempest/latest/stable_branch_testing_policy.html

Change-Id: Ia1ecf95d269af2f6edbd562f31fb69c2cc884cf0
2022-01-27 17:37:57 +00:00
Zuul 7de0490e79 Merge "Switch centos-8 jobs to centos-8-stream" 2021-10-25 19:51:56 +00:00
Gregory Thiemonge 605899c1a9 Increase job timeout for noop-api tests
noop-api tests have been frequently timing out since SQLAlchemy
1.4 release.
An analysis showed that some tests are 55% slower with 1.4, but we
haven't fixed it or improved the code yet. To unblock the gates, set the
timeout to 10800 sec (3h00) for those jobs. We might revert this commit
when we figure out how to improve test exec times.

Change-Id: I68a5357f58b74f0f759cab0bb89a517c384d05e0
2021-08-30 17:01:15 +02:00
Zuul bedbdf3a2a Merge "Fix two-node job configuration" 2021-08-17 19:06:57 +00:00
Gregory Thiemonge 5cf1f61fbf Fix two-node job configuration
Two-node job was failing because devstack tried to compile the
test_server.go file on controller2.
controller2 doesn't have tempest installed, but octavia-tempest-plugin
was installed. The compilation step was failing and is not necessary
there.

Fix octavia-v2-act-stdby-dsvm-scenario-two-node definition, overrides
were not applied.
Fix the "zuul_copy_output" section.

Move to ML2/OVN backend.

Co-Authored-By: Carlos Goncalves <cgoncalves@redhat.com>
Change-Id: I24976e93e9ea8f7f50c9da014c2627965512893c
2021-07-20 07:17:35 +02:00
Carlos Goncalves 1c53f1bed2 Add stable/wallaby jobs to check and gate queues
Change-Id: If96d611a098627b01fbbd544c22619ba0ce06a19
2021-06-30 09:29:09 +02:00
Carlos Goncalves da43fb57dd Switch centos-8 jobs to centos-8-stream
Depends-On: https://review.opendev.org/797069

Change-Id: Ic80b256f771a7e61d2714644852cffb5271b1612
2021-06-21 10:09:12 +02:00
Gregory Thiemonge 3079d00ee6 Move ubuntu jobs to focal
Move master and victoria jobs to ubuntu focal.
ussuri and train jobs still use bionic.

Change-Id: I4181a989514389ba18ff7874f8f4332f392d1189
2021-05-05 08:51:53 +02:00
Michael Johnson 6006de75a7 Update tests for scoped tokens and default roles
This patch refactors the RBAC enforcement checks in the API tests.
It also updates those test for keystone scoped tokens and default roles.

Change-Id: I6fad03f5a89c213562918ca258884aac34ba7ce7
2021-04-08 22:07:40 +00:00
Carlos Goncalves 41b3aac6b0 Add stable/victoria jobs to check and gate queues
Change-Id: I00b3e8172c3d90ef7cabb65d588508728ea658cf
2021-03-20 20:32:30 +00:00
Zuul 38c2a65c27 Merge "Fix OVN provider jobs" 2021-03-12 23:22:43 +00:00
Zuul 59ec77d69d Merge "Add neutron plugin to octavia-dsvm-base job" 2021-03-10 11:07:07 +00:00
Carlos Goncalves 972385b91c Remove Stein CI jobs
Stein release of Octavia has reached end-of-life (EOL) support [1].
The stable/stein Octavia branch no longer accepts changes.
We can now remove the Stein CI jobs.

[1] https://review.opendev.org/c/openstack/releases/+/772847

Change-Id: I14ab0f8b159fdd0c7e81b94297a57f30260579fa
2021-02-24 16:00:11 +02:00
Brian Haley 78e6970c86 Fix OVN provider jobs
The name of the OVN provider job template changed from
ovn-octavia-provider-v2-dsvm-scenario to
ovn-octavia-provider-tempest-release but was not updated
here, fix it so those non-voting jobs will run.

Change-Id: I3159adeae2456c8fecad87bbfb0f526363e7752b
2021-01-18 11:12:40 -05:00
Brian Haley 0f7e0283e9 Add neutron plugin to octavia-dsvm-base job
With octavia_create_network_interface_device() being in
the neutron tree, we have to enable the neutron plugin
in more jobs to have it visible, else o-hm0 will not
get created and it will fail.

Moved the occurence in the ipv6-only job to the parent
definition as well.

Change-Id: I0d15dbae9034ab17de69d884e8f57df0d25d4338
2020-11-03 09:51:15 -05:00
Michael Johnson d5efbb16f7 Set nodepool swap size back to 8GB
A recent patch lowered the swap space available on nodepool
instance from 8GB to 1GB. This is causing nova to not have enough
memory to boot VMs required for some tests.
This patch restores the 8GB swap value for these jobs.

[1] https://review.opendev.org/#/c/750941/

Change-Id: I19c3465fb39a6204a5a167ac75b6eed832f9fe72
2020-11-03 08:01:55 +00:00
Carlos Goncalves f077c3a5d6 Build the Go test server on devstack test-config
Every time we update the Go test server code, we have to re-compile it
locally and commit the binary file. Git is not great for binary blobs.
One other reason that carrying the binary in-tree is suboptimal is it
is compiled against amd64 architecture, thus not much multi-arch
friendly.

This change drops the need to compile and carry the test server binary
file in the Git tree. The test server will now be compiled at devstack
test-config phase. On my work station, it takes less than 6 seconds.

Change-Id: I3d8ad18ddd1f23720618d733a9d8a53a6b4e6dfc
2020-10-21 11:51:11 +02:00
Gregory Thiemonge 3bc1f4decd Fix scenario tests issue with immutable LBs
Wait for the loadbalancer to become ACTIVE after deleting an
healthmonitor or a listener, to ensure the next test uses a LB in a
non-transitional state.

This also fixes the cidrs tests that were using the wrong waiter
timeouts.

This patch also moves individual deletion of children resources in class
tear down to a more performant way by cascade deleting the load
balancer.

Story: 2008219
Task: 41008

Depends-On: https://review.opendev.org/#/c/757604/
Depends-On: https://review.opendev.org/#/c/757840/
Depends-On: https://review.opendev.org/#/c/757841/
Depends-On: https://review.opendev.org/#/c/757842/

Co-Authored-By: Carlos Goncalves <cgoncalves@redhat.com>
Change-Id: I6a4eed7269e4f502bd0fc8613cb4ec4da13890e7
2020-10-19 10:30:00 +02:00
Michael Johnson 6a9236ad9a Adjust API tests for NotImplemented skip
This is a patch to restructure the API tests to use the
new skip_if_not_implemented capability.

Depends-On: https://review.opendev.org/745239

Change-Id: I291488e1c9418e51d6fe7ea142eaca13e3c181a0
2020-09-08 16:52:09 -07:00
Michael Johnson 89bdbcd125 Adjust scenario tests for NotImplemented skip
This is a patch to restructrue the scenario tests to use the
new skip_if_not_implemented capability.

Change-Id: I49a7fb6650030f2a1115c6d42442062bd33415fd
2020-09-03 17:10:56 -07:00
Zuul eeb228045d Merge "Enable nova anti-affinity in two-node act-stdby job" 2020-08-25 22:57:12 +00:00
Zuul bf6cc40956 Merge "Add an optional tenant flow log offload test" 2020-08-13 09:57:51 +00:00
Carlos Goncalves 5700f3cd93 Enable nova anti-affinity in two-node act-stdby job
Production deployments are recommended to run on active-standby
loadbalancer topology and with nova anti-affinity enabled for higher
level of availability. Job octavia-v2-act-stdby-dsvm-scenario-two-node
will test Octavia under such configuration.

Task: 40413
Story: 2007943

Change-Id: Iab24754bf6881671091a06047767f8b4dc8b5420
2020-07-22 12:16:36 +02:00
Zuul ae44e20514 Merge "Gate on octavia-v2-dsvm-tls-barbican jobs" 2020-07-17 20:17:04 +00:00
Zuul b9552e9719 Merge "Add stable/ussuri jobs to check and gate lists" 2020-07-17 20:17:03 +00:00
Zuul 8480068fc4 Merge "Fix availability zone API tests" 2020-07-16 18:46:20 +00:00
Zuul 65b887c565 Merge "Set image driver to noop in noop jobs" 2020-07-16 14:26:06 +00:00
Zuul 9726b8f2d8 Merge "Define and use octavia nodesets" 2020-07-15 09:17:59 +00:00
Carlos Goncalves ba35dab12a Gate on octavia-v2-dsvm-tls-barbican jobs
TLS Barbican jobs were added a while ago and proven to be solid [1].
This is a good time to promote them to the gate queue.

[1] https://zuul.openstack.org/builds?job_name=octavia-v2-dsvm-tls-barbican&pipeline=gate

Change-Id: Idd517eefdf7c9ce6ef08f6b42c3aef27263e9cab
2020-07-14 12:49:59 +02:00