Commit Graph

38 Commits

Author SHA1 Message Date
Elod Illes f6a5996092 Fix deprecated zuul queue syntax and other gate issues
There are multiple issues with the gate. This patch combines the fixes
to unblock the gate.

1. Zuul deprecated (and removed) declaring shared queues at a pipeline
level [1]. This patch fixes the syntax to make the gate work again for
freezer.

2. Zuul CI jobs default nodeset is now Ubuntu 22.04 Jammy Jellyfish,
that does not provide anymore python2 binary, so python-dev needs to be
removed from bindep.txt

3. Latest tox does not allow to list the passed environment variables
in one line separated by space. One option is to list them in separate
lines. Also, external command allowing variable name changed.
basepython as python3 is also conflicts now and it is not necessary.
It looks like tox requires now to install now explicitly all the
requirements listed in requirements.txt.
tox.ini is updated accordingly to the above listed problems.

[1] https://lists.openstack.org/pipermail/openstack-discuss/2022-May/028603.html

Change-Id: I3c95bb48c7fdd0c752db121f1745f64a53b5a0e5
2023-02-23 16:26:54 +01:00
Carl caihui 740d153fef Add arm ci jobs
Add arm ci jobs "openstack-python3-zed-jobs-arm64".

Change-Id: Ia4e9519948651a1b2d0f038f55b9c59c64c95ceb
2022-05-10 10:11:28 +00:00
Cai Hui 14560b4e77 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: I08cdfa48c8d7366e40b32e54d1f2252fcbcddab8
2022-05-08 21:05:10 +08:00
OpenStack Release Bot 8976f8dea3 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: Ia7df976099346a4c610f2b09813a8f68cfc4106a
2022-03-10 12:38:53 +00:00
Carl caihui 7c45623a7e Update gate CI
Update gate CI for yoga version

Change-Id: Iaabe5d1c70dcd20e2787d59241268c0013408f64
2021-11-04 05:03:30 +00:00
caihui a495023807 Add lower-constraints gate CI
Add lower-constraints gate CI

Change-Id: Ib2c9d67f96d37d5f85377dd41ef1e9378df35465
2021-06-12 11:42:11 +08:00
caihui e5f36293e5 Fix CI error
1. no_voting for lower-constraints CI
2.pep8 create: /home/zuul/src/opendev.org/openstack/freezer/.tox/pep8
pep8 installdeps: -c/home/zuul/src/opendev.org/openstack/requirements/upper-constraints.txt, -r/home/zuul/src/opendev.org/openstack/freezer/test-requirements.txt
ERROR: invocation failed (exit code 1), logfile: /home/zuul/src/opendev.org/openstack/freezer/.tox/pep8/log/pep8-1.log
================================== log start ===================================
Looking in indexes: https://mirror.bhs1.ovh.opendev.org/pypi/simple, https://mirror.bhs1.ovh.opendev.org/wheel/ubuntu-20.04-x86_64
Collecting astroid==2.1.0
  Downloading 8809bc008b36396c0cff6279841e8a/astroid-2.1.0-py3-none-any.whl (176 kB)
Collecting pylint==2.3.1
  Downloading b3f73f4ac00277237721ef1c151f0d/pylint-2.3.1-py3-none-any.whl (765 kB)
INFO: pip is looking at multiple versions of <Python from Requires-Python> to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of astroid to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r /home/zuul/src/opendev.org/openstack/freezer/test-requirements.txt (line 23) and astroid==2.1.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested astroid==2.1.0
    pylint 2.3.1 depends on astroid<3 and >=2.2.0

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
WARNING: You are using pip version 20.3.3; however, version 21.0 is available.
You should consider upgrading via the '/home/zuul/src/opendev.org/openstack/freezer/.tox/pep8/bin/python -m pip install --upgrade pip' command.
================================ log end ===============================

Change-Id: I898d03d716ebc6c6285c4589cd30f7875b0c51d2
2021-01-28 21:36:03 -08:00
OpenStack Release Bot c093f785b6 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: I21a5bf5c11395d76cb35790c5cc985f711f80565
2020-09-28 16:25:04 +00:00
Luigi Toscano 663737694f zuul: use the native jobs from freezer-tempest-plugin
... and remove the legacy jobs.

Also, remove the custom jobs which are simple alias for the jobs
in freezer-tempest-plugin.

Change-Id: Iac143982f7f4f295bb36364f609079fa21db302b
2020-08-07 16:39:07 +02:00
OpenStack Release Bot 3b28224946 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: Id34ad306a28f77785abf2c84f16a091658558bff
2020-04-22 13:09:55 +00:00
Caihui e22cece10f Update check&gate ci jobs
Change-Id: Ifdaf9e5258a8e0a9569d497993e293a3ead2cd7f
2020-01-23 00:33:36 -08:00
caihui 6d39ec438c Update some tempest jobs to voting job
Update some tempest jobs to voting job.

Change-Id: If341ec109bff4daef37347ef65cd3c903f74fba7
2020-01-15 20:59:40 -08:00
caihui bef4328c17 Temporarily modify for python3 compatibility,
These CI jobs should be voted  after fix python3 compatibility.

Change-Id: I83f6a1e1c020d7ab2d9bcfb905a9ee262f157ee0
2020-01-10 01:35:07 -08:00
Zuul 497d1af653 Merge "Switch to Ussuri jobs" 2019-10-30 12:56:01 +00:00
Clark Boylan c92f1fee6d Switch to the opensuse-15 nodeset
We are trying to deprecate the opensuse-150 label type in favor of the
opensuse-15 label. The reason for this is opensuse 15, like centos,
doesn't support its older point releases and instead expects users to
keep up to date on its minor updates. This allows us to carry one fewer
image in opendev and ensures we are testing supported releases.

Change-Id: Ice742c370aa5fa1484168496183c5a65ac6b0ee0
2019-10-22 15:59:51 -07:00
pengyuesheng a79cdc722f Switch to Ussuri jobs
Change-Id: I90b5b4e1a6e76d29f3cd6b9d077759fc24ba095d
2019-10-22 10:57:51 +08:00
Corey Bryant 79b064a079 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: I37c8620e53f45c3bfce2c018f65149c8505cb956
Story: #2005924
Task: #34207
2019-06-24 09:21:14 -04:00
OpenDev Sysadmins 0ee55dea2f 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:26:12 +00:00
Ghanshyam Mann 0d715ccf95 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: I2e38f54ad658b670d4f8f66f14b45eced6d5b7dd
2019-04-14 21:13:42 +00:00
ghanshyam 70e6f52d75 Make freezer-ubuntu as voting job again
freezer-ubuntu job has been made n-v in legacy
job migration work.
- https://review.openstack.org/#/c/642607/

Not issue has been fixed and it is working fine
- https://review.openstack.org/#/c/643213/3

Let's reenable it as voting and running on gate pipeline also.

Story: 2005227
Task: 30009

Change-Id: Ic133fd0d0f37fc65f6dac560644db043ee773904
2019-03-14 16:07:11 +00:00
ghanshyam 73a646dd3e Rename the xenial gate jobs and migrate them to 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 rename the ubuntu based gate job so that we do not need to rename
them on every new distro migration.

Making failed job as n-v till story#2005227

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: I57654b5d57ab3558f9861b6751eea2e111b24bce
2019-03-14 00:37:29 +00:00
ZhongShengping bf703976df 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: I7f51ec17558c68d53b86599652f2e51936a1faa5
Story: #2004073
Task: #27414
2019-02-19 17:06:00 +08:00
Andreas Jaeger 7fe7898bd7 Use template for lower-constraints
Small cleanups:

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

Change-Id: I65ea0d049586364af48ea9ea1ce91f244473b3fc
Needed-By: https://review.openstack.org/623229
2018-12-20 20:57:45 +01:00
Zuul b2062017b2 Merge "Use openSUSE 15.0 for testing" 2018-11-13 01:44:19 +00:00
Andreas Jaeger 7c2c3db4d3 Use openSUSE 15.0 for testing
Change from openSUSE 42.3 to 15.0 for testing
(Yes, 15.0 is current version and 42.3 is older).

Change-Id: Idf491f36d5a0b1b00937dd8fd0dc5a38c62fcda6
2018-11-12 11:53:18 +01:00
Cai Hui 5de4f7ca36 Update freezer's zuul jobs
Add a new zuul job 'freezer-tempest-agent' to test 'freezer-agent' module.
This job is a check/gate job in zuul.

Change-Id: I871d47eaa555ebf2e9914fc51a05415f6434c533
2018-11-09 10:14:24 +00:00
Cai Hui 961af3f6cf Add freezer-tempest-scheduler job in freezer
Add freezer-tempest-scheduler job for check/gate test in freezer

Change-Id: I06e21e6633168f7be5a7b9cf59536e3d02d2d351
2018-11-07 19:27:54 -05:00
qingszhao ea466ccdf0 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: I2829033a35f02156ca967c556a3c97d04b976cab
Story: #2002586
Task: #24296
2018-09-03 13:21:33 +00:00
qingszhao 4dec666548 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: I44b1074afd79e96a827e65e56dd65de37d12ca98
Story: #2002586
Task: #24296
2018-08-31 02:47:54 +00:00
qingszhao ee2b2b8152 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: I8896f4abda9eb782a689d7ce347e2de658aa4ac2
Story: #2002586
Task: #24296
2018-08-31 02:40:07 +00:00
Paul Belanger e82092a917 Refactor freezer legacy jobs
We can remove some duplicate code and stop using legacy nodesets.

Change-Id: Icb51a022eb50ba7651b7f0c0b3d2d11366af20b9
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-08-14 12:51:27 -04:00
Doug Hellmann f420d4f35e 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: Ic5f68cd606f5dd17e4cca2facf3141960180be26
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-22 12:28:40 -04:00
Saad Zaher 70e10d1051 Refactor gate jobs
* freezer-ubuntu-xenial voting in check, gate
* freezer-centos-7 non-voting check-only
* freezer-opensuse-423 experimental

Change-Id: I2b4d4a6401e45acf77effe647d04f5212304e558
2018-02-08 13:11:22 +00:00
caoyuan 3a67a7580b Remove project name from Zuul
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.

Change-Id: I68c3d7c1856bc6e347f0368024ec54df38e6e74c
2018-01-29 21:24:11 +08:00
Saad Zaher 0f0e411663 Change freezer-ubuntu-xenial gate job to voting
Change-Id: I408509cd478a429728dbecd900759b63d62829d7
2018-01-25 16:01:33 +00:00
Chandan Kumar 01da61b237 Remove bundled intree freezer tempest plugin
* https://review.openstack.org/#/c/526664/ moves the intree tempest
  plugin to freezer-tempest-plugin repo.

* Excluding freezer/tests/freezer_tempest_plugin/tests/api/test_version.py as
  it is dependent on freezer project and moving under integration tests.

Depends-On: I6967f915758728827e8ddcd1a45a7023904b694e
Change-Id: I4625d55a768f1ad0762fc2d8554998825f0d6716
2017-12-08 22:15:01 +05:30
Saad Zaher 3bbebaa416 Fix gate jobs
Change-Id: I3f653f93b1596cc680eff6f8c39c455b96d2d925
2017-12-04 22:06:37 +00:00
Saad Zaher 21ce94194b Move legacy freezer dsvm job to freezer project
Depends-On: If9c761643f4924bf683c65f23152dba8df388fe9
Needed-By: Ie3186ea6260f0e9abb5fe9889934a1e8bf81b0f7
Change-Id: Idf5da4847d208d81a198f937419e7c8ae32a81ab
2017-12-02 23:23:50 +00:00