Commit Graph

135 Commits

Author SHA1 Message Date
Slawek Kaplonski 40ec8e544d Reorganize zuul jobs definitions
As we are adding jobs for each stable branch, we have more and more jobs
there and it was very hard to maintain all of that in one single file.
So this patch reorganize it and places definitons in "per stable branch"
files.

Change-Id: I0e7816f4057c90bce90bca68137c077580f9426a
2020-05-24 23:25:34 +02:00
Slawek Kaplonski c977f385d6 Add job templates for stable/ussuri branch
Ussuri branches are created already so it's time to start gating
them in the neutron-tempest-plugin too.

Change-Id: Ica7561c1d466bca87483cc82707664e567253703
2020-05-14 13:53:16 +02:00
Bernard Cafarelli 0bdc63d7c1
Only install plugin system-wide if INSTALL_TEMPEST is set
Similarly to main tempest installation check, we should only install
plugin on master branches (where INSTALL_TEMPEST is True), and not on
stable branches

Also drop all-plugin use for tox_envlist in stadium jobs that were using
it, it is deprecated and breaks with this new variable

Change-Id: Ia7238c2044053d77b559de544c22909c50e1a11f
Co-Authored-By: Ghanshyam Mann <gmann@ghanshyammann.com>
Closes-Bug: #1873776
2020-04-21 10:28:07 +02:00
Zuul 3d6c6aaf4b Merge "Set higher timeout for tests in scenario jobs" 2020-04-16 17:11:20 +00:00
Slawek Kaplonski eb354239a9 Set higher timeout for tests in scenario jobs
It seems that in case of scenario tests which uses advanced image, when
tests are run on slow node, it may happen that around 20 minutes test
timeout will be not enough to perform all cleanup after test and it will
fail due to that.
So lets give more time for such tests to make sure all will be cleaned
properly.

Change-Id: Ic2177dc90a6fc8db4b50f05649ad794f6c3d5a23
Closes-Bug: #1872693
2020-04-15 20:05:08 +00:00
Zuul e4dc810785 Merge "Add tempest api tests for address scopes RBAC" 2020-04-15 03:24:12 +00:00
Igor Malinovskiy 649c018b3e Add tempest api tests for subnet pools RBAC
Change-Id: Ie6e26acd5e9c3acd2ee86a9c354c4a2934aa4bce
Partial-Bug: #1862032
Depends-On: https://review.opendev.org/#/c/710755/
2020-04-10 15:20:49 +03:00
Igor Malinovskiy b80f1d0be3 Add tempest api tests for address scopes RBAC
Change-Id: I0a625019ab7495a71125edbd37d9005a4675b86b
Partial-Bug: #1862968
Depends-On: https://review.opendev.org/709122
2020-04-06 14:23:36 +03:00
Zuul 87fc61a6ab Merge "Add tagging of ports during bulk creation" 2020-03-10 03:31:15 +00:00
Bernard Cafarelli 188f06a316
Disable trunk subports connectivity test on Rocky iptables_hybrid job
Recent Rocky backports fail
neutron-tempest-plugin-scenario-openvswitch-iptables_hybrid-rocky job
and as mentioned in linked bug, this is expected as using trunks with
iptables-hybrid driver is not supported.

Add the test to the job blacklist

Change-Id: Iba083f66a4df8ecce23be07ec017d7dfc78406db
Related-Bug: #1838760
2020-03-09 10:14:07 +01:00
Slawek Kaplonski abe828d1ba
Rocky jobs will now be run with same version of plugin
As was agreed during Shanghai PTG neutron-tempest-plugin jobs for the
branch which is going to EM phase should always use tagged version of
tempest and tempest-plugin and should be removed from
check/gate queues for patches to master branch.

Also skip two tests added for newer branches and unstable on rocky:
neutron_tempest_plugin.scenario.test_port_forwardings.PortForwardingTestJSON.test_port_forwarding_to_2_servers
neutron_tempest_plugin.scenario.test_security_groups.NetworkSecGroupTest.test_multiple_ports_portrange_remote

Change-Id: I9743bb950c434d8e0504492158a8bf3a305df401
2020-03-05 14:14:44 +01:00
Miguel Lavalle 247c127005 Add tagging of ports during bulk creation
This change introduces API tests of tagging ports during bulk creation.

Depends-On: I838de14f183f805c19411218edb815e190f8d650
Change-Id: I7ef0a92e73a15b2a9039b4fa97cecfefa5ba6aa3
2020-03-02 11:02:40 -06:00
Zuul fe7857eae1 Merge "Make bgpvpn-bagpipe tempest job voting again." 2020-02-28 12:24:34 +00:00
Rodolfo Alonso Hernandez a4bb258bbc Increase default security group quota up to 150
Change-Id: Ia4bdc53a0d7d537360afc67a1bd61cc3a0eb6da1
Closes-Bug: #1864471
2020-02-24 22:48:41 +00:00
elajkat f81c8c6050 Make bgpvpn-bagpipe tempest job voting again.
Change-Id: I33419fe381ea98bf7604ac80e19644b1a7f3d8a6
Depends-On: https://review.opendev.org/708648
2020-02-21 12:40:25 +00:00
Bernard Cafarelli 95d84db055
Pin designate-tempest-plugin for Stein/Rocky/Queens branches
Since Ib3bd70ba8f2e8386643c536ac8194fa99b54b842 and py2 testing drop,
this causes jobs in these branches to fail as designate-tempest-plugin
tries to install a python3-only version of dnspython

Use tag 0.7.0 for these branches, which is actually the previous commit
(so no changes in tests)

Also temporarily make neutron-tempest-plugin-bgpvpn-bagpipe non-voting,
it needs Ussuri beta releases and a networking-bagpipe fix [0]

[0] https://review.opendev.org/#/c/708648/

Change-Id: Ia2df06106419a45d56ff2de9193fe4e9c93ec62f
Closes-bug: #1864015
2020-02-21 10:37:25 +01:00
Zuul 6052eebfc8 Merge "Use default cirros image to reap the benefits of infra cache" 2020-02-13 02:31:05 +00:00
Ghanshyam d44ac53358 Modify rocky jobs to run with correct py version
OpenStak ussuri release is python3-only which means
stable branhces jobs running on neutron-tempest-plugin
master gate should run with py3. neutron-tempest-plugin
will drop the py2 support soon so it will not be possible
to test the stable branch with py2.

Rocky jobs are modified to run on py2 on stable/rocky gate
and on py3 for master gate.

Change-Id: Ic04c9d1d2562398bd3640bfd064971bc82235502
2020-02-07 10:39:08 +01:00
Slawek Kaplonski de952714e2 Drop all Rocky jobs from both check and gate queues
It's temporary workaround until drop py27 support drama will be
finally gone. We need to unblock neutron-tempest-plugin gate to
merge patches related to newer branches.

Change-Id: I8e126d986918fd807edb09ed5c84cf225d58bf7f
2020-02-06 11:44:56 +01:00
Ghanshyam 0327bc227b Remove TEMPEST_BRANCH var from neutron queens job.
In devstack install_Tempest, ref is taken by TEMPEST_BRANCH var[1]. TEMPEST_BRANCH var on zuul job
definitoin is priority than the default value in devstack[2]. When we set the queens compatible Tempest
tag[1] (with review style not by tag name) on devstack stable/queens, that is not taken by devstack
because neutron queens job define the smae with different value[4].

Also Tag name (for example queens-em) never work because of devstack logic. Tempest tag name only work
if RECLONE is true otherwise it should be gerrit ref style. So always Tempest master is installed
on queens jobs.

Let's remove the TEMPEST_BRANCH from neutron jobs and rely on devstack deafult value.

CLoses-Bug: 1859988
[1] https://github.com/openstack/devstack/blob/stable/queens/lib/tempest#L658
[2] 786c485cf6/stackrc (L313)
[3] https://review.opendev.org/#/c/703679/
[4] https://zuul.opendev.org/t/openstack/build/0cc32b278afe4e51b787d87d480f7092/log/job-output.txt#12370

Change-Id: I07beb6e7bdcbaf7ffe72d47f9edb90df40641e68
2020-01-24 14:12:57 +00:00
Ghanshyam 1b63b3d7aa Fix neutron-tempest-plugin tag for queens jobs
neutron-tempest-plugin tag 0.3.0 is for stable/queen which is
compatible with neutron-lib==1.13.0[1].

We are pinning Tempest and upper constraint used in tempest venv
for stable/queens which pickup neutron-lib as 1.13.0 from stable/queens
upper constraint.

Currently used tag of neutron-tempest-plugin 0.7.0 for queens job
is not compatible with stable/queens neutron-lib version. we can see
the failure[2]

Also skip the dns test for queens job which fixed went in 0.4.0 tag
(https://bugs.launchpad.net/neutron/+bug/1826419) and 0.4.0 tag is not
compatible with stable/queens constraint.


Related-Bug: 1859988

[1]f7b45b47bf/upper-constraints.txt (L58)

[2]
- https://6631124a20df425843c7-d8780b91d5409425c6866f467a1249cf.ssl.cf5.rackcdn.com/703680/3/check/neutron-tempest-plugin-api-queens/bba5f0e/job-output.txt

2020-01-23 17:36:50.747528 | controller |   File "/opt/stack/neutron-tempest-plugin/neutron_tempest_plugin/bgpvpn/scenario/test_bgpvpn_basic.py", line 20, in <module>
2020-01-23 17:36:50.747537 | controller |     from neutron_lib.utils import test
2020-01-23 17:36:50.747545 | controller | ImportError: cannot import name test


Change-Id: Icc4a91c333ac746183cb423f5e6c59ee0fbdfe2f
2020-01-24 13:44:14 +00:00
Radosław Piliszek 25eb6b741d Use default cirros image to reap the benefits of infra cache
This patch uses DevStack's default.
The default is now 0.4.0.
This avoids cache miss and need to download from flaky mirror.
See [1] for details.

[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-January/thread.html

Change-Id: Ic4598fa5234fb75da99706649db40c5ab925aa27
2020-01-16 19:13:00 +01:00
Zuul 560737404a Merge "Revert "Switch neutron-dynamic-routing job to be non-voting temporaray"" 2020-01-09 14:28:55 +00:00
Zuul e6f72ea389 Merge "Extend tests for external DNS integration" 2020-01-08 13:01:10 +00:00
Slawek Kaplonski de2a3f243e Revert "Switch neutron-dynamic-routing job to be non-voting temporaray"
This reverts commit d583236670.

Change-Id: Icc36f5c3e7c8f94d30efd6445106f7381ef64ddd
Related-Bug: #1850626
2020-01-08 11:30:19 +01:00
Slawek Kaplonski 4c9b94dd78 Switch fwaas jobs to be non-voting and non gating temporary
Those jobs are very unstable and caused problems with merging patches
not related to fwaas scenario tests too.

Change-Id: I1464a382c48bc95d12b8ec562d429401d3ab9d4a
Related-Bug: #1858645
2020-01-07 15:35:35 +01:00
Zuul 1cf724f7d7 Merge "Migrate neutron-vpnaas tests to neutron-tempest-plugin" 2019-12-10 21:43:56 +00:00
Miguel Lavalle 63aeda0514 Migrate neutron-vpnaas tests to neutron-tempest-plugin
As discussed in the neutron_ci meeting [1] the QA team would like to
move the tempest tests for the stadium projects from their repos to
repos specific to being tempest plugins.  This is the first part of a
two stage move, by copying over the tempest tests to the
neutron-tempest-plugin repo [2] rather than spawning new repos to be
separate.

[1] http://eavesdrop.openstack.org/meetings/neutron_ci/2019/neutron_ci.2019-03-12-16.01.log.html#l-94
[2] https://etherpad.openstack.org/p/neutron_stadium_move_to_tempest_plugin_repo

Needed-By: https://review.opendev.org/#/c/695834
Change-Id: Icbeaf8fd8543c4cbd9a7dadbe4467d88023c4b47
2019-12-09 15:13:28 -06:00
Zuul da39450b37 Merge "Queens jobs will now be run with same version of plugin" 2019-12-03 20:09:50 +00:00
Zuul 8e57db7166 Merge "Use python 3 on all nodes in multinode job" 2019-12-03 20:09:47 +00:00
Bernard Cafarelli f2beb170b2
Temporarily limit SFC testing concurrency
Tests mostly run in parallel now, but this is not perfect yet. Set
concurrency to 1 until relatd bug is properly fixed

Change-Id: Ic3ed0c56c71a16cc6dcd2fc6f3c144c18e5be0ed
Related-Bug: #1851500
Related-Bug: #1660366
2019-11-20 15:01:13 +01:00
Slawek Kaplonski 592ec9d397 Use python 3 on all nodes in multinode job
In neutron-tempest-plugin-dvr-multinode-scenario we had the same problem
as described in [1] for tempest multinode jobs. It was using python 3
on controller node but python 2 on all subnodes.
This patch changes that to use python3 on all nodes.

[1] https://bugs.launchpad.net/tempest/+bug/1853004

Change-Id: I9ef4daa821342d7462121a8bbde217ff5e0d7e9a
Related-Bug: #1853004
2019-11-19 16:19:59 +01:00
Slawek Kaplonski a4962ec628 Queens jobs will now be run with same version of plugin
As was agreed during Shanghai PTG neutron-tempest-plugin jobs for queens
branch should always use tagged version of tempest and tempest-plugin
and should be removed from check/gate queues for patches to master
branch.

This patch is doing exactly that.

Change-Id: If1414baa0847d325da65f79248656a725cfe930b
2019-11-14 09:07:49 +00:00
Jens Harbott 450d4a017b Extend tests for external DNS integration
- Verify records are deleted on server/fip deletion
- Verify records are created for ports on special networks
  (Use case 3 in [0])
- Verify the new subnet-dns-publish-fixed-ip extension works as designed

[0]
https://docs.openstack.org/neutron/latest/admin/config-dns-int-ext-serv.html

Depends-On: https://review.opendev.org/662409
Change-Id: Id7b799904f45ac2e3f913c6201aa33afef896af0
2019-11-12 11:17:47 +00:00
Zuul 616a27a1b0 Merge "Add stable/train jobs definitions" 2019-11-12 06:49:38 +00:00
Zuul 32f834c777 Merge "Fix errors in designate scenarios jobs" 2019-11-07 17:38:58 +00:00
Slawek Kaplonski 047a020776 Add stable/train jobs definitions
This patch adds train jobs definitions to be run on stable/train branch.
It also reorders some definitions for stable branches to be in
chronological order.

Change-Id: I000563643d4a157102f5dd09cb2e855fb406a712
2019-11-07 13:08:10 +08:00
Zuul 1fadb3589b Merge "Fix list of API extensions for dvr and designate jobs" 2019-11-05 11:41:24 +00:00
Slawek Kaplonski d583236670 Switch neutron-dynamic-routing job to be non-voting temporaray
This job is now broken due to [1]. Revert for this patch is already
proposed in [2] but as this block all patches in neutron-tempest-plugin
repo, and there are in queue patches which should improve stability of
other neutron scenario jobs, lets not wait until [2] will be merged and
quickly unblock gates now.

[1] https://review.opendev.org/#/c/288271/
[2] https://review.opendev.org/#/c/691710/

Change-Id: I3951fa12a3b2c840ba2a11f22a298e7926aef649
Related-Bug: #1850626
2019-10-31 14:38:04 +01:00
Zuul ddca1120ea Merge "Add stadium projects jobs to the gate queue" 2019-10-16 23:24:42 +00:00
Zuul 72ce681477 Merge "Switch bagpipe-bgpvpn job to be run using Python3" 2019-10-08 20:31:02 +00:00
Slawek Kaplonski a05c50e4dd Fix list of API extensions for dvr and designate jobs
For jobs running on stable branches we need to use API extensions
list correct for each branch.
This patch sets it for dvr and designate jobs where we somehow
missed it and used always extensions list from master branch.

Change-Id: I0c1dfe77711a2904850fb1a240eb7cf807722af6
2019-10-08 08:30:26 +00:00
Slawek Kaplonski 4dbe80b586 Switch bagpipe-bgpvpn job to be run using Python3
Depends-On: https://review.opendev.org/686990

Change-Id: I91d71d50df6e254a97e918382c3859220f605531
2019-10-07 09:41:57 +00:00
Zuul bc04d26baf Merge "Disable scenario test for trunk subports connectivity on Queens" 2019-10-04 19:57:27 +00:00
Slawek Kaplonski 62329269af Disable scenario test for trunk subports connectivity on Queens
On Queens release by default iptables-hybrid firewall driver is used.
Using trunks with iptables-hybrid driver is not supported so we need
to skip test
neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_subport_connectivity
on Queens jobs.

Change-Id: Id212c35b71ca9e9af1ea546483c14fd597d895a8
Related-Bug: #1838760
2019-10-04 07:19:15 +00:00
Slawek Kaplonski 0a48f51492 Add stadium projects jobs to the gate queue
We should run stadium projects jobs in gate queue for
neutron-tempest-plugin repo.
Job for networking-sfc was missing from gate queue so this
patch adds it there too.

Change-Id: I5b0d03fd0f8068ede749f416bec8d102d02308e7
2019-10-02 13:25:17 +02:00
Zuul 09ee9e809c Merge "Move neutron-dynamic-routing BGP tests from stadium" 2019-10-01 13:54:22 +00:00
Jens Harbott 53cc0c3da5 Fix errors in designate scenarios jobs
Even though we do not test any actual port bindings, the lack of a
properly configured agent leads to errors in the server logs that may
cause confusion when trying to debug real issues.

So copy the setup from the openvswitch scenario jobs, which is the most
simple one.

Change-Id: I050aacbc1bacbadbd94359c1ab8f1ac721b90a12
2019-09-27 11:12:16 +00:00
Harald Jensås c9782faa9a Add tests for L3 conntrack helper
API tests for L3 Conntrack Helper plugin.

Related-Bug: #1823633
Depends-On: https://review.opendev.org/670837
Change-Id: Ie085100f508f7a1cdb0fd4efbcffa1e2b485fbba
2019-09-25 09:20:11 +00:00
Zuul 3a4fc7923e Merge "Tempest test for Neutron extension: extraroute-atomic" 2019-09-25 02:42:06 +00:00