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
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
... and remove the legacy jobs.
Also, remove the custom jobs which are simple alias for the jobs
in freezer-tempest-plugin.
Change-Id: Iac143982f7f4f295bb36364f609079fa21db302b
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
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
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
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
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
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
We can remove some duplicate code and stop using legacy nodesets.
Change-Id: Icb51a022eb50ba7651b7f0c0b3d2d11366af20b9
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
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>
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.
Change-Id: I68c3d7c1856bc6e347f0368024ec54df38e6e74c
* 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