Commit Graph

24 Commits

Author SHA1 Message Date
Stephen Finucane fa830926b5 tox: Add functional-py38, functional-py39 envs
While here, we also clean up some style issues in this file.

Fix CI issue to generated changelog with tox v4

Co-Authored-By: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@industrialdiscipline.com>
Change-Id: If6de005dd8229fe6f21dc103f50db083a415d7e4
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-02-06 14:13:57 +01:00
Stephen Finucane 7300788ebd Update CI to use unversioned jobs template
As part of the migration of this project to the independent release
model, we failed to notice that the job template was still tied to a
specific release. We've now introduced a new unversioned job template,
'openstack-python3-jobs' [1], which was can and should use. Do this.

[1] https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/833286/

Depends-On: https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/833286/
Change-Id: If1b0368f69fc4b4f3040d5eb79b8d1f8a7d4c7bb
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2022-03-15 15:07:56 +00:00
Hervé Beraud bcca5bd4a8 Dropping lower constraints testing
We facing errors related to the new pip resolver, this
topic was discussed on the ML and QA team proposed to
to test lower-constraints [1].

I propose to drop this test because the complexity and recurring pain needed
to maintain that now exceeds the benefits provided by this mechanismes.

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

Change-Id: Idfab7e1fe6223508ba0e49bb93365f7f5fd2ad04
2020-12-18 15:15:05 +01:00
OpenStack Release Bot d0d65fd4f9 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: I711dad984ce30bf12832561959826a1895e66fc8
2020-09-11 21:03:15 +00:00
OpenStack Release Bot 3c95bd58a0 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: Ie36d08a274b13181518b3a2628209ab1e81d5c6a
2020-04-14 10:19:30 +00:00
Andreas Jaeger 7eaa8648cd [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

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

Switch to using modern sphinx-build.
Remove cruft from setup.cfg

Drop non-voting jobs from gate queue.

Change-Id: I2cc764bd3de8130aa25868b57b2e89341c71617e
2020-02-04 11:24:14 +01:00
zhangboye 29144ca8fd Switch to Ussuri jobs
Change-Id: Iad81bd6f4b5581d59da48fc163cd38f6ac14d812
2019-10-25 14:58:41 +08:00
Corey Bryant d431c7a551 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

Change-Id: I18d35d120bed22f5bbb4b8e15942d3e48063615d
Story: #2005924
Task: #34234
2019-07-05 15:12:53 -04:00
Ilya Shakhat 0fcc65d0d5 Automatic configuration of SQLAlchemy driver in DevStack
This patch adds a new type of collector "sqlalchemy".
To enable it, add the following line into DevStack local.conf:

    OSPROFILER_COLLECTOR=sqlalchemy

OSProfiler DevStack plugin creates database for traces and
configures all services to use it.

SQLAlchemy driver is extend to be able to list traces.

Zuul job is added to run Tempest tests with sqlalchemy driver enabled.

Change-Id: Ia943d311d78f6dfd2e6bb884c8dca725b3b2a36b
2019-05-16 12:03:00 +02:00
OpenDev Sysadmins 7e76216ca1 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:44:00 +00:00
Ghanshyam Mann b830f7921c 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: Idb246e18956ae67795b06d2968c0d5ee19940e47
2019-04-16 04:21:39 +00:00
Ilya Shakhat dcc4f472df Rename OSProfiler-enabled Tempest job
A new name reflects that only smoke tests are executed and
that Redis driver is used.

Change-Id: I79abc1afd67c134842c1e7b432a7da6bdcb37d3d
2019-04-08 16:01:44 +02:00
Zuul b844b96bff Merge "Collect traces from Tempest job" 2019-03-18 14:20:51 +00:00
Zuul a195df7af8 Merge "Add a job to run full Tempest with enabled profiler" 2019-03-18 14:10:57 +00:00
Corey Bryant 747dd06db7 Change python3.5 job to python3.7 job on Stein+
This is a mechanically generated patch to add a unit test job running
under Python 3.7 and drop the Python 3.5 unit test job.

python3.5 was the only supported python3 version on Xenial. Now that
we have Bionic nodes supporting python3.6 and python3.7, let's switch
to testing with python3.7 in addition to python3.6 in Stein and
beyond.

See ML discussion here [1] for context.

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

Change-Id: I745a7899119bb41b4db749961f070963aef06ca1
Story: #2004073
Task: #27440
2019-02-14 10:23:49 +00:00
Ilya Shakhat b4e8a72d29 Collect traces from Tempest job
All traces are stored under osprofiler-traces subfolder.

Change-Id: I01a1f93c3a69a3e4bd2ed7777b0cdff58016d728
2018-09-17 18:06:22 +02:00
Ilya Shakhat 175cfeef5c Add a job to run full Tempest with enabled profiler
Default Tempest jobs only execute tests, but do not configure
osprofiler library. This patch adds a job that executes full
Tempest with enabled osprofiler. Currently the job is non-voting.

Depends-on: I64f30c36adbf7fb26609142f22d3e305ac9e82b5
Change-Id: Ib0ad4d22b62dba7cfea76283be2d87574f010c87
2018-09-17 18:02:30 +02:00
Andreas Jaeger 2b4786b5cc Use templates for cover and lower-constraints
Use openstack-tox-cover template, this runs the cover job
in the check queue only.

Use openstack-lower-constraints-jobs template.

Remove jobs that are part of the templates.

Move template list to top of project stanza to follow common practice
and sort list of templates.

Change-Id: Iaa754888d1c6fbe6a563098507c1eb71300ab845
2018-09-07 15:31:22 +02:00
Doug Hellmann e8dc7113ab add lib-forward-testing-python3 test job
This is a mechanically generated patch to add a functional test job
running under Python 3 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: Iade07e45f927de7e37ec75f09d1fda1359198470
Story: #2002586
Task: #24322
2018-08-11 18:20:19 -04:00
Doug Hellmann 5d5149da2a add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 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: I558d6c379556017afdd6a7b33b75e2229b4c6f80
Story: #2002586
Task: #24322
2018-08-07 16:17:38 -04:00
Doug Hellmann 9c59bd2e34 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.

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

Change-Id: Ib333e94f3f2e92309d1c8f1cf582699d7d613502
Story: #2003250
2018-08-03 17:47:35 -04:00
Tovin Seven e30bbfba51 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: I4ec215baac733ef07a619c03c28406c994d493f5
2018-04-19 09:21:21 +07:00
James E. Blair b696839bf3 Zuul: Remove project name
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.

Change-Id: I8c0a6cda4c222c45ca6b4c247a3368ed35230f7d
2018-02-01 22:25:06 -08:00
Ilya Shakhat 71589dd64f Add Zuul job for functional testing
The job prepares VM with RabbitMQ installed, then it executes tests
located under osprofiler/tests/functional.

To run the job manually use `tox -e functional` or
`tox -e functional-py35`.

Change-Id: I1f2b99737d1f17bb09662dc24c4858a1a7a1ad44
2017-11-08 08:56:17 +01:00