100 Commits

Author SHA1 Message Date
ZhongShengping
5f5918df8b Use openstack-python3-train-jobs template
This goal is to implement the process set out in the 2018-10-24 Python
Update Process TC resolution[1], for the Train cycle to ensure unit
testing is in place for all of the Tested Runtimes for Train[2].
In practice, this generally means adding unit tests for Python 3.7 and
dropping unit tests for Python 3.5.
For Neutron, which already runs py36 and py37 unit tests it generally
means switch to use the Zuul template openstack-python3-train-jobs
for Train.
Using this template will ensure that all projects that support Python3
will be tested against the agreed runtime versions, and make it easier
to update them in future.

[1]https://governance.openstack.org/tc/resolutions/20181024-python-update-process.html
[2]https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: I41d232a10a40d97347566e189457d8044e3639db
Depends-On: https://review.opendev.org/#/c/641878/
2019-05-20 08:58:48 +00:00
Zuul
4c4dc08c52 Merge "Switch neutron-tempest-dvr-ha-multinode-full job to Python 3" 2019-05-03 05:14:22 +00:00
Slawek Kaplonski
579d70330e Switch neutron-tempest-dvr-ha-multinode-full job to Python 3
Change-Id: If24bf62ff32963e1ea62c59a261287e5ee095a8e
2019-05-01 14:47:12 +00:00
Slawek Kaplonski
70e5d9c343 Switch neutron-tempest-with-uwsgi job to python 3
Change-Id: Ifff3ebe1ce409e8fef59d0c86b796f5b193a8249
2019-05-01 05:43:47 -06:00
Nate Johnston
a97a8ee605 Move wsgi jobs from experimental to check queue
Since WSGI is more important, we should be collecting data on
compatibility more consistently.  So we shall move the WSGI jobs from
the experimental queue to the check queue, while maintaining their
nonvoting status.

Change-Id: I24aa7a0c2245973327e4d74039f96a7efb2a8988
2019-04-24 15:26:20 +00:00
OpenDev Sysadmins
5d607a13ba OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:38:27 +00:00
Ghanshyam Mann
ca0566c99b Dropping the py35 testing
All the integration testing has been moved to
Bionic now[1] and py3.5 is not tested runtime for
Train or stable/stein[2].

As per below ML thread, we are good to drop the py35
testing now:
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html
[2]
https://governance.openstack.org/tc/reference/runtimes/stein.html
https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: I6cb8b66ce4b3e456a0e9ae534fd8168b49ac414f
2019-04-15 02:25:39 +00:00
Zuul
5cb501eac7 Merge "Revert "Switch all grenade jobs to be non voting and non gating temporary"" 2019-04-11 18:11:56 +00:00
Zuul
0dc638c388 Merge "Add a midonet non-voting job" 2019-04-09 17:10:35 +00:00
Slawek Kaplonski
ee72ded7ed Revert "Switch all grenade jobs to be non voting and non gating temporary"
This reverts commit 13a2f70024e9a35c0ffc3142a23d9381d7c64d10.

Related bug is fixed so we can switch grenade jobs to be voting again.

Change-Id: I027208171a85ea7f2ce8b61d46121f507e826a34
Related-bug: #1820892
2019-04-09 14:37:05 +00:00
Zuul
bb9edb25b0 Merge "Mark neutron-tempest-iptables_hybrid-fedora voting" 2019-04-03 19:31:26 +00:00
YAMAMOTO Takashi
9624ea7066 Add a midonet non-voting job
Ref: http://lists.openstack.org/pipermail/openstack-dev/2018-September/135273.html

Change-Id: I4f10b3384ce1016c5117e5af7c91345624e3c07b
2019-04-03 22:12:42 +09:00
Nate Johnston
7cc073519a Mark neutron-tempest-iptables_hybrid-fedora voting
The job has been stable, shows failure percentages within a percent or
two of the neutron-tempest-iptables_hybrid job, and is forward looking
for the next version of RHEL/Centos.

Change-Id: Iafccd55269b64d29aee081f096f6352ab5c15430
2019-04-03 07:21:59 +00:00
Slawek Kaplonski
699bb45a6c Revert "Disable fullstack job from gate and make it non-voting"
This reverts commit d33e5f5c17e66a95216fefcda1d161f9a4c1f779.

After bugs [1] and [2] are fixed, fullstack job got back to acceptable failure rates and we can make it again voting and gating.

[1] https://bugs.launchpad.net/neutron/+bug/1820865
[2] https://bugs.launchpad.net/neutron/+bug/1820870

Change-Id: I6feaaf563df93096f063e487a3ed086b93adcb0e
2019-04-03 06:26:42 +00:00
Slawek Kaplonski
13a2f70024 Switch all grenade jobs to be non voting and non gating temporary
Until related bug will not be fixed, grenade jobs are failing quite
often. Lets make them non voting to make our life easier.

This can be reverted when related bug will be fixed.

Change-Id: Iefe8d6ab2eea3e04e40cbf4ffaf0c646b51834c4
Related-Bug: #1820892
2019-04-02 17:12:23 +02:00
Ian Wienand
983d659d76
Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: I4c9b513eb65ec4c50bdb9a66dfcc676360bdaa28
2019-03-25 11:31:17 +01:00
Zuul
eae30321d5 Merge "Switch neutron-functional-with-wsgi job to zuul v3 syntax" 2019-03-23 19:54:41 +00:00
Slawek Kaplonski
d33e5f5c17 Disable fullstack job from gate and make it non-voting
It is temporary workaround to make our gate run smooth.
After bugs [1] and [2] will be fixed we can revert this patch.

[1] https://bugs.launchpad.net/neutron/+bug/1820865
[2] https://bugs.launchpad.net/neutron/+bug/1820870

Change-Id: I892f5ec23796e93da32503b08c585ef6acdd5724
2019-03-22 15:26:15 +01:00
Slawek Kaplonski
aa221a3c09 Migrate legacy jobs to Ubuntu Bionic
We have migrated the zuulv3 job to Bionic during Dec/Jan month.
 - http://lists.openstack.org/pipermail/openstack-discuss/2018-December/000837.html
 - https://etherpad.openstack.org/p/devstack-bionic
But that effort does not move all gate job to Bionic as there are
large amount of jobs are still legacy jobs. All the legacy jobs still
use Xenial as nodeset.

As per the decided runtime for Stein, we need to test everything on openstack
CI/CD on Bionic - https://governance.openstack.org/tc/reference/runtimes/stein.html

Below patch move the legacy base jobs to bionic which will move the derived jobs
automatically to bionic. These jobs are modified with branch variant so that they will use
Bionic node from stein onwards and xenial for all other stable branches
until stable/rocky.
- https://review.openstack.org/#/c/639096

This commit remove the overridden nodeset from legacy jobs
so that it will start using the nodeset defined in parent job.

More Details:
- https://etherpad.openstack.org/p/legacy-job-bionic
- http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003614.html

Depends-On: https://review.openstack.org/#/c/639096

Co-Authored-By: Ghanshyam Mann <gmann@ghanshyammann.com>

Change-Id: Idf073eaef3772aa24b60d600cec3f898e6ed022a
2019-03-21 21:48:29 +00:00
Slawek Kaplonski
303598289d Switch neutron-functional-with-wsgi job to zuul v3 syntax
This patch removes also legacy playbooks used before by
this experimental job and it also removes
neutron/tests/contrib/post_test_hook.sh script as it was used
only by functional and fullstack tests and it's not used anymore.

Change-Id: Ibc48ce8e80e11dcbb13da121aa86bbf01b98a3d9
Related-Bug: #1804844
2019-03-21 15:01:55 +00:00
Slawek Kaplonski
6ef6f2b59b Migrate fullstack job definition to zuulv3 syntax
Now, as neutron-functional job is moved to zuulv3 syntax,
the same can be easily done with fullstack job.

This patch also switches experimental neutron-fullstack-with-wsgi
job.

This patch removes also fullstack part from gate scripts
and it removes hooks for dstat and stack_base as both are not
used anywhere else.

Related-Bug: #1804844
Change-Id: Iac7583f01651410a3df3e349b2c843b109a8bb18
2019-03-16 09:59:59 +01:00
Zuul
325d19eaea Merge "Migrate neutron-functional job to zuul v3 syntax" 2019-03-13 23:25:03 +00:00
Slawek Kaplonski
33110fb7e8 Migrate neutron-functional job to zuul v3 syntax
This patch migrates also neutron-functional-python27 job to
zuul v3 syntax.

Neutron's functional tests have to be run on host with
deployed minimal devstack but without running any e.g. neutron
services. Because of that new job's template inherits from
devstack-minimal job instead of devstack-tox-functional and
we need to have own run_functional_job and post_functional_job
playbooks.

It also adds ansible roles:
- configure_functional_tests
- setup_logdir
- fetch_journal_log

which are used in new neutron-functional job definition.
Those roles can be also used later e.g. for fullstack job.

Change-Id: I80bc17c8c9f43050ac0c21176fbc4be46c11ce35
Related-bug: #1804844
2019-03-13 11:07:38 +00:00
Slawek Kaplonski
b3d26ab2dd Migrate neutron-tempest-dvr-ha-multinode-full job to zuulv3
This patch migrates definition of
neutron-tempest-dvr-ha-multinode-full job to zuul v3 syntax.

Additionally this patch sets l3_ha config option in neutron
to True to make sure that routers created in tests are HA
always.

Change-Id: I3e48c5109dddc2fca6f3b9c289f416ed4a018a41
Related-Bug: #1804844
2019-03-13 08:06:55 +00:00
ZhongShengping
b3dae9fae4 add python 3.7 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.7.

See ML discussion here [1] for context.

[1] http://lists.openstack.org/pipermail/openstack-dev/2018-October/135626.html

Change-Id: If9bc2cf37a373415b477d0b2ac0d293916725c08
2019-02-27 23:06:55 +00:00
Jens Harbott
3f38c58cff Add job from openstacksdk to avoid regressing
As seen in [0], openstacksdk uses a scenario for testing that isn't
currently covered by Neutron's own testing. Add a job from their stack
to be run on all patches, but make it non-voting to start with.

[0] https://bugs.launchpad.net/neutron/+bug/1816771

Change-Id: I35ba7664335026ca2a4d361d93fbf784bf0ffe5c
Related-Bug: 1816771
Related-Bug: 1817045
2019-02-21 10:48:15 +00:00
Zuul
3e88f941aa Merge "Switch default functional tests to python3, add job for python2" 2019-02-03 15:38:30 +00:00
Zuul
997cb55c3b Merge "Switch tempest-multinode-full to be run on python 3" 2019-02-03 10:25:30 +00:00
Slawek Kaplonski
c2bcb90895 Switch tempest-slow to be run on python 3
This patch switches tempest-slow to new
tempest-slow-py3 job.

Depends-On: https://review.openstack.org/633983
Change-Id: Ic4162f56294a4b6c9f3773964598e1fa163aad95
2019-01-30 17:01:13 +01:00
Slawek Kaplonski
e22f1eca1e Switch tempest-multinode-full to be run on python 3
This patch switches tempest-multinode-full to new
tempest-multinode-full-py3 job.

Depends-On: https://review.openstack.org/633982
Change-Id: Iaca3b2a58c44af4c7684caeaf241ba05ef67a70a
2019-01-30 16:52:07 +01:00
Bernard Cafarelli
9359366d93 Switch default functional tests to python3, add job for python2
As a part of the python 3 community goal, this converts the functional
tests to run with python3 by default, and in Zuul.

As discussed at the Stein PTG in Denver, unit and functional tests will
still run on both versions, so this adds a python2 job for functional
tests.

This patch also suppress logging levels from some external libraries
to avoid issues with subunit.parser and python 3. For details see bug
reported for Cinder [1].

[1] https://bugs.launchpad.net/cinder/+bug/1728640

Co-Authored-By: Slawek Kaplonski <skaplons@redhat.com>

Change-Id: I8958d0b5b9147ffd1ef2d1cef5dcbf79c8be5cd4
2019-01-30 13:31:29 +00:00
ghanshyam
d50997dadb Use renamed template 'integrated-gate-py3'
'integrated-gate-py35' template is going to be
renamed to 'integrated-gate-py3' in https://review.openstack.org/#/c/626078/

Integrated jobs are running on Bionic now where python 3.6 is available.
Which means gate jobs in 'integrated-gate-py35' template are
running on python 3.6 not on 3.5 which makes this template name confusing.

depends on commit rename the 'integrated-gate-py35' to 'integrated-gate-py3'
so that it can convey that template will use available python 3 version
in used distro. For example: 3.5 in xenial and 3.6 in bionic and so on.

This commit starts using the new template name so that old
template name can be removed.

Depends-On: https://review.openstack.org/#/c/626078/
Change-Id: Id14b1f46a6d98e284d97149287245dd59ca198c4
2019-01-25 08:47:34 +00:00
Zuul
2ddf5ea507 Merge "Add neutron-tempest-iptables_hybrid job on Fedora" 2019-01-18 10:54:51 +00:00
Slawek Kaplonski
e4ab2ebcab Add neutron-tempest-iptables_hybrid job on Fedora
It's non-voting job for now. Lets see how it will work.

Change-Id: I630158780a6a64eb43fa3476f9b2bc6b7f3c6d09
2019-01-17 20:07:42 +00:00
Slawek Kaplonski
eacdf1f18f Migrate neutron-tempest-linuxbridge job to zuulv3 and python 3
Related-bug: #1804844

Change-Id: I800aa23d2dd176db512fb1539639301b87279ae4
2019-01-17 20:07:33 +00:00
Zuul
52335c60b8 Merge "Rename ironic job" 2019-01-14 09:53:39 +00:00
Zuul
4cddf62bbe Merge "Migrate neutron-tempest-dvr job to zuulv3 and python 3" 2019-01-10 01:58:11 +00:00
Iury Gregory Melo Ferreira
b545c06bce Rename ironic job
Change the name of the job to match the change for zuulv3
Depends-On: https://review.openstack.org/#/c/629173/

Change-Id: I6ee36b6fe0eb8043dc22a6906066a2611f7d7c74
2019-01-09 15:30:34 +01:00
Slawek Kaplonski
7ae764eff9 Migrate neutron-tempest-dvr job to zuulv3 and python 3
Related-bug: #1804844

Change-Id: I34ec9081ac87aed26abc09bcfa06d4fd2d6aaff8
2019-01-04 08:28:51 +00:00
Slawek Kaplonski
1f3e5f91f6 neutron-tempest-iptables_hybrid job inherits from tempest-full-py3
Job neutron-tempest-iptables_hybrid was previously converted to
zuulv3 syntax but it inherited from devstack-tempest job.
It's better to inherit from proper job which already have configured
good "tox_envlist" and version of python which should be used.

Change-Id: I686386c48fabebb77813c4284f234f2ee3cb4024
Related-Bug: #1804844
2019-01-03 11:36:52 +01:00
Slawek Kaplonski
0364c05de1 Migrate neutron-tempest-iptables_hybrid job to zuulv3 and python 3
This patch also removes config of osprofiler middleware in api-paste.ini
file in neutron-tempest-iptables_hybrid job as this middleware is
currently enabled by default.

Change-Id: Ifd3fdc33ba5c489618a568cccc20ee14e7d600a6
2018-12-30 12:32:21 +01:00
Zuul
402366b99e Merge "Revert "Make neutron-tempest-iptable_hybrid job non-voting"" 2018-12-19 01:59:36 +00:00
Zuul
d199dabfda Merge "Switch neutron-rally-task job to python 3" 2018-12-18 19:32:11 +00:00
Slawek Kaplonski
ef5342886e Revert "Make neutron-tempest-iptable_hybrid job non-voting"
Proper fix in os-vif [1] is already merged and released in
os-vif 1.13.1 so we should be good now.

[1] https://review.openstack.org/#/c/624831/

This reverts commit 462b510c50081464c23d837b6b8d5ad8a1405331.

Change-Id: I3afdeaa7463d05e5cbd2d593715b1e2f25749586
2018-12-17 09:21:23 +00:00
Zuul
36d294965d Merge "Add irrelevant-files for grenade-py3 jobs" 2018-12-14 05:39:51 +00:00
Ghanshyan Mann
063b04de24 Add irrelevant-files for grenade-py3 jobs
grenade-py3 job is part of integrated-gate-py35
template now[1]

Adding corresponding irrelevant-files for grenade-py3
also same as for other integrated jobs to avoid
running it on test etc only changes
Example- https://review.openstack.org/#/c/623420/

[1] http://git.openstack.org/cgit/openstack-infra/openstack-zuul-jobs/tree/zuul.d/project-templates.yaml#n1397

Change-Id: Ifc654f56f1a95fc1bbfab08d49b8fcc4534f1694
2018-12-13 22:25:09 +09:00
Hongbin Lu
7a2b4dcff1 Replace ryu with os_ken
Implements: blueprint ryu-framework-maintenace-transition
Change-Id: Ic721efc7cd0066be0ea7b6239b273e656643e9c1
2018-12-13 10:00:17 +00:00
Slawek Kaplonski
462b510c50 Make neutron-tempest-iptable_hybrid job non-voting
Because of bug [1] neutron-tempest-iptables_hybrid job
is failing 100% times.
As we decided on Neutron CI meeting, lets make it non-voting
and remove it from gate queue temporary to unblock all
other patches until this bug will be fixed.

[1] https://bugs.launchpad.net/os-vif/+bug/1807949

Change-Id: Ic3a43629bb924e3ae48b919c6fd518674a530bbb
Related-Bug: 1807949
2018-12-11 22:35:15 -05:00
Slawek Kaplonski
dca4a16a1d Switch neutron-rally-task job to python 3
Depends-On: https://review.openstack.org/624409/

Change-Id: I5d6f3616fe5fa5a9cbd57a9dc3124a9ec4646a7f
2018-12-11 14:29:15 +00:00
Nate Johnston
94542ff42b Add tempest-slow to gate queue
The standards state that if a job is voting in the check queue, it
should also be voting in the gate queue.  The tempest-slow job is voting
in check, so therefore this change adds it to the gate queue.

Change-Id: I4221e587f5afc40304e7efc2dd53e937085d691b
2018-12-04 11:47:38 -05:00