Commit Graph

43 Commits

Author SHA1 Message Date
suzhengwei 229bc78778 enable check-requirements
Change-Id: I102d386b0ca91ba6dfdd98a3c0c1568d6e29b457
2023-12-26 13:36:04 +08:00
Stephen Finucane 72b3083999 Add job to test with SQLAlchemy master (2.x)
Change-Id: I26e49c2ea77d3eed852c30de3d8ff9122812cb48
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-12-24 07:14:37 +00:00
suzhengwei e6ab50131e fix ci broken
1.Add sqlalchemy-migrate dependence in test-requirements.txt.

It will remove the dependence after this project switchs to alembic.
Remove "check-requirements" temporarily.

2.Fix unit tests broken by olso.utils

Some of the object unit tests grub Mock object unintentionally, and
that results in failure during initializing an versioned object,
because the Mock object does not present its version correctly.

3.make functional jobs not voting

Fix functional jobs later.

Change-Id: Id3c952a54e77952cfd0d76d259f49a14edca1d8b
2023-12-21 13:36:46 +08:00
Jay Faulkner 21b8e38604 Move functional tests to Jammy; focal unsupported
Focal is no longer supported in devstack, and the PTI indicates this
should be testing against Jammy.

Change-Id: I4780d25e45b694527bf644cd228104f4429f6e6f
2023-09-08 14:05:23 -07:00
Radosław Piliszek 607da5931a [CI] Move queue setting to project level
Per [1] and [2].

[1] http://lists.zuul-ci.org/pipermail/zuul-discuss/2022-May/001801.html
[2] https://lists.openstack.org/pipermail/openstack-discuss/2022-September/030505.html

Change-Id: Ifea988bf9b740618c58525f170c59b5cadfe0764
2022-09-19 14:12:10 +00:00
OpenStack Release Bot a4f745d477 Switch to 2023.1 Python3 unit tests and generic template name
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope. Also,
updating the template name to generic one.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: Ic0fff11fa308ea9ad5dd46f1121124b01c397263
2022-09-13 12:30:14 +00:00
suzhengwei b3391f012a update zuul jod: add TUNNEL_IP_VERSION
Change-Id: Id1cda1b3378be48dab78569c767a514312279bad
2022-07-19 17:52:30 +08:00
OpenStack Release Bot 894e22f6a9 Add Python3 zed unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for zed.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I8816941675e409daf4cfcd1393b727df3d859351
2022-03-10 08:16:33 +00:00
OpenStack Release Bot bb1c2ba6ee Add Python3 yoga unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for yoga.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I35a06d1f0d8fcc0a0cc06f2742465255cfcbde37
2021-09-13 19:48:49 +00:00
ricolin 8f1da00982 Enable tls-proxy support for test job
Change-Id: Ie66cbbae3990849db874d5a8d3310e229e4e28d8
2021-09-07 18:29:07 +00:00
Radosław Piliszek 17c4829d02 [CI] Gate on voting jobs
Per CI best practices, gate on voting jobs.

This also sets the queue to "masakari" to be able to reuse the
same queue for masakari-monitors.

Change-Id: I0099c6e1ab0eabaa24b1fdb4d58b1416d6190a80
2021-08-28 11:54:06 +00:00
Ghanshyam Mann 1798a58604 [train][goal][CI] Define IPv6-only testing job
As part of Train community goal 'Support IPv6-Only Deployments and Testing'[1],
Devstack, Tempest has defined the base job 'devstack-ipv6' and
'devstack-tempest-ipv6' which will deploy services on IPv6.

This commit adds a new job to run with the required IPv6 setting.

Story: #2005477
Task: #35904

[1] https://governance.openstack.org/tc/goals/train/ipv6-support-and-testing.html

Change-Id: I0f2401fd57c98879d40923ad59d224a531b17bbd
Depends-On: https://review.opendev.org/c/openstack/devstack/+/795161
Co-Authored-By: Radosław Piliszek <radoslaw.piliszek@gmail.com>
2021-06-12 18:38:31 +00:00
Radosław Piliszek 1ed2b1fc3e [CI] Clear an overridden param
The default is fine. It's ``true`` already.

Change-Id: Ib22bbae26494ca6b7e4f81c36aa3afcc6be7e3c8
2021-06-07 11:59:33 +00:00
Zuul c1aba22be7 Merge "Add the functional job to periodic" 2021-06-06 14:13:51 +00:00
Radosław Piliszek 3102b8af3e [CI] Fix the functional job
Make it compatible with the DevStack switch to OVN.

It cleans up the job definition to reuse defaults as
much as possible to avoid similar issues in the future.
The Swift (as previously) and Cinder (since now) are
disabled as they are irrelevant to Masakari.

This patch also turns off bindep (not useful in
functional tests) and limits tox installation to
the controller node (where it runs from).

The DevStack orchestration has been moved to the ``run``
phase to avoid wasting time on (``pre-run`` phase)
retries when Masakari fails to install via DevStack.

Change-Id: I70a10eb29e1fbef2786c2e7229aa2c615f6e5a5e
2021-06-06 10:52:54 +00:00
Radosław Piliszek fb0d8f73af [CI] Update ignored-files
Fixes the functional job to ignore all *.rst files
as it should.
Zuul currently always matches at the beginning of
the string (i.e., implicit ^).

Change-Id: I34b34810333917cf50431df00fbbcc61bc7ea382
2021-06-06 10:06:14 +00:00
Radosław Piliszek 47341efa8c Add the functional job to periodic
It broke recently and we would benefit from sampling its health
day to day.

Change-Id: Ib6a47d24355ae2a5dd70a0cc60922c616bc4a191
2021-06-05 13:12:23 +00:00
Radosław Piliszek 4227d23ac6 [CI] Drop external CI
NTT no longer provides their CI. [1]

[1] http://lists.openstack.org/pipermail/openstack-discuss/2021-April/022024.html

Change-Id: I88df10d648616eab635e30562de630b4e35badf6
2021-04-26 17:31:24 +00:00
OpenStack Release Bot 676d407a96 Add Python3 xena unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for xena.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: Ie9aa14c5f06301e761375f9e7c946aa6df70c03b
2021-03-26 15:56:19 +00:00
Radosław Piliszek 272bbf746c [CI] Add periodic jobs
Periodic jobs are a great way to have proactive insight into
the current health of project's CI.

Change-Id: I235de800eebe86a2513b92108362f553f5f8b87e
2020-12-21 16:52:07 +00:00
Radosław Piliszek f8f13e7d09 Drop lower-constraints
Per a general OpenStack resolution [1], lower-constraints
are not worth the extra work and confusion they introduce.
This patch drops them along with all mentions.

[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-December/019521.html

Change-Id: Ib13e4f07aa6ee76be329d9eec9180c1fe31b9593
2020-12-21 17:49:44 +01:00
OpenStack Release Bot 6d3791d12a Add Python3 wallaby unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for wallaby.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I87829c220c4a9e8664bc152b97b36e5d2899543c
2020-09-28 15:43:36 +00:00
Radosław Piliszek 5f1bdce03c [CI] Ignore files not relevant for the functional tests
Change-Id: I5496902c3e55226ab9a91e2d81c232390a90adc8
2020-09-12 09:16:24 +00:00
Zuul 1bf145d562 Merge "[goal] Migrate testing to ubuntu focal" 2020-09-11 18:31:00 +00:00
Ghanshyam Mann 6d09751801 [goal] Migrate testing to ubuntu focal
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).

- Move the muilinode to focal nodeset.

Story: #2007865
Task: #40195

[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal

Change-Id: I04d589cd234126f25556139b76205a5afef1529e
Co-Authored-By: Radosław Piliszek <radoslaw.piliszek@gmail.com>
2020-09-11 17:25:33 +00:00
Radosław Piliszek 9e7d35b889 Use some better linting
Lints docs and yaml files in addition to Python.

Change-Id: I5255362cd6d2194600e149b118da4fbe102ffdb1
2020-09-11 17:24:25 +00:00
Radosław Piliszek f12052a9a4 Fix files to pass linting
The multiline change is about CR being removed.

Change-Id: I54268c61b3f341fa0c373dda090cef1192acbb78
2020-09-11 17:24:16 +00:00
OpenStack Release Bot efdfa55df3 Add Python3 victoria unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for victoria.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: Iff92d457f34a01957fc7d0289451250f03772d1b
2020-04-23 15:43:51 +00:00
tpatil d2635fd77b Fix the functional test devstack job
From last couple of months, the functional devstack job is broken.
Fixed the devstack job so that functional tests can run on multi-node
setup.

Note: Need to install SQLAlchemy-Utils explicitly as taskflow library
installs it using extra_requires which somehow is not working on the
devstack CI job setup.

Change-Id: I224b4a5615525862f73ced8ab9f5f396cb00ef0f
2020-04-17 04:46:54 +00:00
Ghanshyam Mann d46ea6b110 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

Masakari is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Depends-On: https://review.opendev.org/#/c/693631/
Change-Id: I144571286343e6be2518e3fe72e33c86a0fd0dfe
2019-11-16 14:24:16 +00:00
Corey Bryant 85fa0c0058 Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Co-Authored-By: gujin <gu.jin@99cloud.net>
Change-Id: Ib98f78131050be2c38a0128d2e2a792639c03c1c
Story: #2005924
Task: #34221
2019-08-26 14:08:28 +05:30
OpenDev Sysadmins e8a18eee83 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:36:34 +00:00
Zuul bc93a673f8 Merge "Migrate multinode jobs to Ubuntu Bionic" 2019-03-22 10:35:32 +00:00
openstack 2e57fa0198 Add devstack support for masakari-monitors
Added devstack support to install and run below masakari-monitors
services:
1. instancemonitor
2. processmonitor
3. introspectiveinstancemonitor

Change-Id: If4c793e316f98f14748300fc0d9003faffefeea3
2019-03-22 04:41:41 +00:00
ghanshyam 5f9f9bab0a Migrate multinode 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 modify the nodeset of multinode job to bionic

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
Change-Id: I4c7398a3f9b6f3f948007e4ae2467598f0c29818
2019-03-13 04:23:08 +00:00
tpatil 0fa59ab7ed Add functional CI job and tests for segments
Added multi-node CI job to run functional tests.
This patch adds functional tests to check the behaviour
of Segment APIs.

Co-Authored-By: jayashri bidwe <jayashri.bidwe@nttdata.com>

Change-Id: I787b26b29fcd9556bc6b24b75ffe8e70e9f44610
2019-03-05 12:22:07 +05:30
openstack 68b9c42bef Run all jobs by default using python3
This patch implements the community wide goal to run all jobs by
default using python3.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: Ie235cbffcfc69eee96c4b34358467009ca34ef9f
2019-03-03 19:11:19 +05:30
Rikimaru Honjo 1a18e940a0 Add masakari-systemfault-integration-ci to .zuul.yaml
This patch modifies .zuul.yaml to run masakari-systemfault-integration-ci.

Change-Id: Ib28c572534af335c2809c1f91c37f445da3907f4
2019-02-06 04:34:20 +00:00
Andreas Jaeger 99fcfc90c0 Use template for lower-constraints
Small cleanups:

* Use openstack-lower-constraints-jobs template, remove individual
  jobs.
* Sort list of templates

Change-Id: Id8924eeb068c0ebf598df1ebd7f7a714f5ab983d
Needed-By: https://review.openstack.org/623229
2019-01-29 07:56:05 +01:00
openstack 8373138dd7 Update coverage environment and use template for cover
After switch to using stestr, testrepository is unnecessary
and it is removed in patch[1]. After patch[1] got merged
tox -e cover returns "error: option --coverage not recognized".

In this patch fixed coverage environment to default stestr setup.
Also used openstack-tox-cover template, this runs the cover job
in the check queue only.

[1]: https://review.openstack.org/#/c/581686/
Closes-Bug: #1809230

Change-Id: I77a295a64e2c4d128a6772e400c0968f40d11c1d
2019-01-10 04:09:06 +00:00
Nguyen Hai cca02fbc5d switch documentation job to new PTI
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs as part of the
python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I401c65c7d5d4672a28e7f8ae2bce83b47d4b2a86
Story: #2002586
Task: #24310
2018-08-17 19:21:03 +09:00
Nguyen Hai 09ae243174 import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I47d6ab222c28b2dbffc1a2059be062bc61da0f2f
Story: #2002586
Task: #24310
2018-08-17 19:20:12 +09:00
Doug Hellmann 1bcde21460 add lower-constraints job
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.

Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.

Add openstack-tox-lower-constraints job to the zuul configuration.

See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.

Change-Id: Iff00524bc3eb0fe1070aee7584885465cacd2393
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-20 16:23:35 -04:00