Commit Graph

23 Commits

Author SHA1 Message Date
yatinkarel 8bb438dd8b Switch to py311 sqlalchemy master job
The job is updated in neutron repo with the Depends-On,
let's update here too. Also drop the timeout override
which is not required for neutron-lib.

Depends-On: https://review.opendev.org/c/openstack/neutron/+/899746
Change-Id: Ia21694834518c32108a22422e65f2b8b4c61d077
2023-11-15 16:12:18 +05:30
Brian Haley 825d292c97 Change test_sqlalchemytypes.py to support sqlalchemy 2.0
With the move to sqlalchemy 2.0 some of the API methods
have changed, but these tests were never updated.

Also added an sqlalchemy-master job so we do not regress.

Depends-on: https://review.opendev.org/c/openstack/requirements/+/900517
Closes-bug: #2043141

Change-Id: I9e1c796dcda725844ea6b7a0d5c8a8c11560b2b3
2023-11-09 18:24:35 -05:00
OpenStack Release Bot e10983851f 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: I232f2629e16fd17fa7cdb1e14226e6a319cb276c
2022-09-14 09:25:33 +00:00
Ghanshyam Mann daaa1e79b5 Drop lower-constraints.txt and its testing
As discussed in TC PTG[1] and TC resolution[2], we are
dropping the lower-constraints.txt file and its testing.
We will keep lower bounds in the requirements.txt file but
with a note that these are not tested lower bounds and we
try our best to keep them updated.

[1] https://etherpad.opendev.org/p/tc-zed-ptg#L326
[2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html#proposal

Change-Id: I67453b5a0e6d41d5cb4ef0cbb47f955a448005eb
2022-04-30 20:09:08 -05:00
Rodolfo Alonso Hernandez 8448eabfe0 Add "neutron-tempest-plugin-jobs" to CI
This template adds the following jobs to the CI:
- neutron-tempest-plugin-api
- neutron-tempest-plugin-scenario-linuxbridge
- neutron-tempest-plugin-scenario-openvswitch
- neutron-tempest-plugin-scenario-openvswitch-iptables_hybrid
- neutron-tempest-plugin-scenario-ovn
- neutron-tempest-plugin-designate-scenario

The aim of this patch is to improve the CI testing
without manually calling these jobs.

Change-Id: I30886d313ea14d36f44e0ab2278cb2b751ca4d19
2022-04-12 17:34:49 +00:00
maliangyi 74d3765407 Add Python3 zed unit tests
Change-Id: I07bf7e61285fcd343f85b97452156546e8a146f8
2022-03-23 10:57:37 +08:00
OpenStack Release Bot 06a685d364 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: I1c89d5c56142f2f6796abfaad10e1c866fa1dcfa
2021-09-10 14:31:43 +00:00
Slawek Kaplonski 63c8443a65 Add Neutron's functional job to the neutron-lib's CI
This job can help find potential issues early and that may help
to avoid Neutron's CI breakage after new neutron-lib version is
released. See related bug for example of failure which this could avoid.

Depends-On: https://review.opendev.org/c/openstack/neutron/+/797622

Related-Bug: #1932483
Change-Id: I0ea6cf4cf9a207863246a3669bc4001293f96b87
2021-06-23 13:51:53 +00:00
OpenStack Release Bot f01b2e9025 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: Id7e03dc3dfd166ad2e5e61cf8f6516943ba391bf
2021-03-18 12:51:21 +00:00
OpenStack Release Bot c64c1348ae 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: I81d6472638de110714afba1fa3be94c318aa8b4a
2020-09-08 22:20:41 +00:00
Slawek Kaplonski 596b84fe76 Add neutron-tempest-plugin-api job to be gating in neutron-lib
Neutron's API definition is hosted in the neutron-lib repository so we
should run neutron-tempest-plugin API tests to ensure we are not going
to break anything by changing something here, like e.g. we did in
related bug.

Change-Id: I330dbf622b8f1baf22005d5c46e2971658b5e7b0
Related-Bug: #1890842
2020-08-12 12:48:54 +02:00
Brian Haley 891d0f08d6 Update to victoria jobs template
This will add a py38 job as default and remove the
py37 one.

Change-Id: Id783351392640aa76a3c8edf263fdde935f05963
2020-05-12 17:27:55 -04:00
zhanghao d9a0ce5d72 Stop testing Python 2
This change removes the requirement for python 2 and removes testing for
it, but tries to leave the code compatible with python2 where possible.

Co-Authored-By: Nate Johnston <nate.johnston@redhat.com>
Change-Id: I711ae939b5eaa1816af15b22527c38858507127f
2020-01-09 11:12:06 -05:00
ZhongShengping 57d7d3baa1 Update Python 3 test runtimes for Train
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. Using the Zuul template for Train
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.

Specifically this patch:
- Uses the openstack-python3-train-jobs zuul template rather than
templates for python 36/37.
- Adds Python 3.7 to the setup.cfg classifier.
- Adds py37 to the envlist of tox.ini.

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

Change-Id: I92e07412e06d5e0bcd4a3ef63643d140243f8205
Depends-On: https://review.opendev.org/#/c/641878/
2019-05-15 14:20:36 -06:00
ZhongShengping c104e82169 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: Iaef50bda2e67e114cec3fe6e147a61283c8c1003
2019-04-15 09:24:03 +08:00
ZhongShengping d944884263 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: I3f3c475d75c0706ac954c2b8b354c437ee1dd5a6
2019-02-18 14:46:49 +08:00
Slawek Kaplonski 2297b4ac04 Increase tempest-full jobs timeout to 3h
Jobs tempest-full and tempest-full-py3 are included in
neutron-lib's check and gate queues because they are in
lib-forward-testing and lib-forward-testing-python3 templates.
But in those templates those jobs have 2h timeout which is sometimes
not enough to complete job.

In Neutron repo we increased this timeout to 3h already some time ago
and that helped a lot with such timeouts so lets increase it also
in neuton-lib repo to avoid some rechecks.

Change-Id: Ic3ce87a8c3417957afe7fc1e1ebd74dcff639737
2019-01-31 10:11:39 +01:00
Andreas Jaeger f65cabd089 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.

Change-Id: I168feb6c304cf14efe06e6d8f3726facc1c3c7b4
2018-09-07 15:35:30 +02:00
Doug Hellmann 3a2fc5b123 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: Iee4060c3d566c312ece529f82bbd93c1a2661e78
Story: #2002586
Task: #24314
2018-08-29 17:39:04 -04:00
Doug Hellmann 89d569fb34 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: Ie8653b10f2002206998b8a245137ce992a934852
Story: #2002586
Task: #24314
2018-08-29 17:38:57 -04:00
Doug Hellmann 60716a2b96 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: Ibbe8311a9884afff9a38c6c35c5ebcf9e2990322
Story: #2002586
Task: #24314
2018-08-29 17:38:42 -04:00
Doug Hellmann b06d4cbda3 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: I0e2bf8ce2d5b915ef5a6f16a46957fcdb66b4be9
Story: #2002586
Task: #24314
2018-08-29 17:37:27 -04:00
Doug Hellmann 0cd466dac3 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: I296a3efad5ec71a3520f79100082b947719108e8
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-22 16:36:02 -04:00