33 Commits

Author SHA1 Message Date
Alfredo Moralejo
62032362e2 Make CentOS9 jobs voting
After mergint [1] we should be able to make all the CS9 jobs voting.

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

Change-Id: Ifeb334794d63ece8640d1f6cbd03885d2bbb7c56
2022-02-02 17:28:11 +01:00
Alfredo Moralejo
25f110c399 Add CentOS Stream 9 to configure-mirrors role
So that we use AFS mirrors for CS9 nodes.

Closes-Bug: #1959181
Change-Id: I2da3a5e8a45598c6b3ded132ea61b86b4480e262
2022-01-27 15:05:46 +01:00
Clark Boylan
88c1c731e6 Remove centos-8 testing
CentOS 8 EOL'd at the end of 2021. OpenDev is beginning the process of
removing the image and starting with some job cleanups like the job
cleanups in this change. Users can use CentOS 8 Stream or some other
RHEL alike.

Change-Id: I9dab417b28a0503e1409e70953ed275f2c6f8c30
2022-01-11 12:52:08 -08:00
Clark Boylan
c697816786 Remove tumbleweed jobs
OpenDev doesn't currently have an image built for tumblweed. Rather than
try and fix this image up and get it running again OpenDev has proposed
it simply be removed. In preparation for that and to avoid running jobs
for a system that doesn't currently have an image we remove the jobs
here.

It was hoped that tumbleweed would be a good forward looking platform
but it seems to need a lot more care than we are able to give it.
Additionally Zuul is probably the major consumer of the platform and it
doesn't see much consumption by other projects.

Change-Id: Iad351b6da1f08183bc4c49c049c303a9491af844
2021-12-08 10:00:06 -08:00
Ian Wienand
219afd0227 Update Fedora 34 to 35
Change-Id: I84f9e052f488217f8a63791556de99469451a1d9
2021-11-22 10:32:59 +11:00
Jeremy Stanley
9a653e69a6 Stop testing playbooks/roles on Ubuntu Xenial
Ubuntu Xenial reached end of standard support almost 6 months ago.
Its default python3 is 3.5, which new versions of many libraries are
dropping support for as that hit EOL earlier this month. We are now
faced with a situation where we cannot test the fetch-sphinx-tarball
role on Xenial because latest SetupTools breaks old funcparserlib
(indirectly needed for our blockdiag and seqdiag elements in
zuul-jobs' docker-image.rst), and the only funcparserlib release
which is installable has dropped Python 3.5 support.

Cease running Ubuntu Xenial platform and Python 3.5 tests for
changes to zuul-jobs now. This is a soft removal, since we're not
actually removing Xenial platform checks from playbooks or roles
yet, nor removing the tox-py35 job definition.

Change-Id: I46b9b887427133147481e92a1e7c523e6592fd2d
2021-09-17 20:34:37 +00:00
Mohammed Naser
b78bb286f6 Switch jobs to use fedora-34 nodes
Fedora 32 is now EOL, we should test against the newly released
version of Fedora which is 34.

The podman job is made non-voting while we investigate issues running
as non-root.

Depends-On: https://review.opendev.org/c/openstack/project-config/+/795604
Change-Id: I962a123e1fbf68f064a197700d0fd0da239fca72
2021-06-18 12:13:33 +10:00
Jeremy Stanley
795dad6444 Test Debian Buster and Bullseye
Debian Buster is the current stable, and Bullseye is the impending
stable (likely within the month). The parent of this change aims to
fix security mirror configuration for Bullseye, but to do that we
need to add testing for it. While we're at it, drop the Stretch
(oldoldstable) jobs to keep the job count from exploding too much.

Change-Id: I278246eff347dd4bdb3471a8db95d30fcba0f17a
2021-05-03 18:39:56 +00:00
Jeremy Stanley
30c2e573dc Temporarily stop running Gentoo base role tests
The zuul-jobs-test-base-roles-gentoo-17-0-systemd job isn't passing
at the moment because Gentoo now needs Python 3.8 to install
pip/wheel, but the images are still using 3.6. A change has been
merged to correct this, but OpenDev has been unable to build new
Gentoo images since May 2020, so that will need to be solved before
the job will work again. In the meantime, stop running it so our
changes aren't indefinitely blocked. We'll need to apply extra
scrutiny to (or simply hold) any Gentoo-related changes for now
until we're testing that again.

Change-Id: I276bc596c50e7185fae828afa79c73ca9d955ec5
2021-01-17 08:16:18 +01:00
Sorin Sbarnea
d27c7ff9db Improve errors from update-test-platforms
Instead of getting a confusing stacktrace when someone adds a new
file that is missing the final project entry we now give a friendlier
error that also recommends way to address the issue.

Change-Id: I5a84d3a20e847eeb2d5d843ef970b5790532683c
2020-10-25 23:18:30 +00:00
Carlos Goncalves
3f743e00fd Add CentOS 8 Stream testing
Add CentOS 8 Stream nodes to the testing regime.

Add repositories for CentOS 8 Stream to configure-mirrors

Depends-On: https://review.opendev.org/#/c/734788/
Change-Id: Ia2f2b22461b4f4eca19d294ae06f6e1c90ea8599
2020-10-07 07:11:35 +11:00
Sorin Sbarnea
0d886253f6 Add managed jobs to periodic-weekly
To avoid getting zuul-jobs getting rotten without known, we need
to run them weekly.

This should solve issue where some less common job get broken and
we find out much later, when we have to make other unrelated changes.

Change-Id: I3a95526fdb83b8aef12ee2ee09a089990e75cb59
Depends-On: https://review.opendev.org/#/c/748706
2020-09-17 08:33:50 +00:00
Ian Wienand
c5c9f7d862 Retire Fedora 31 for 32
We have Fedora 32 nodes now, retire the Fedora 31 testing and replace
with 32.

Docker isn't supported on Fedora 32.  There's a problem with cgroups
v2 and you can read all about it at [1].  Drop the install test.

Haskell upstream has dropped F32 from the COPR repo as it is now
packaged; a new package with the correct dependencies has been pushed
but isn't available yet (see the inline github issue), so workaround
the missing package.

[1] https://github.com/docker/for-linux/issues/955

Change-Id: I025613bee8c0a8513afa90331431d2c18b616464
2020-09-17 17:54:59 +10:00
Ian Wienand
620c95e4a3 Add focal testing
Add focal testing for automatically generated jobs.

Seems only one minor quoting change for ovs is required.

Change-Id: I5de5d5bd420092729de251d6bfcfe80b8af79f1a
2020-08-18 15:35:02 +10:00
Ian Wienand
34cc121b98 Remove the -plain job variants
With the merge of I76befd9e2a054798e8e36500b723870f7c7ae328 the main
images have dropped pip-and-virtualenv.  Remove the plain variant
testing.

Change-Id: If442e15a0264821207725c1cc271b3ff646b0720
2020-06-17 11:47:54 +10:00
Sorin Sbarnea
536e1f7f8c Make gentoo multinode job nv
Gentoo multinode job is consistently failing. To disable only this
job with current test framework, we need to adapt the test framework, so
that disabling of specific jobs is possible.

Also includes minor documentation fix which triggers affected jobs.

Co-Authored-By: Andreas Jaeger <aj@suse.com>
Change-Id: Ida9d1714f1f6c3f4fbee469ef940147f969d9466
2020-05-26 09:45:20 +02:00
Ian Wienand
53a2907e55 Remove opensuse-15-plain testing
With the dependent change pip-and-virtualenv is dropped from the
opensuse-15 image, thus we don't need the -plain testing any more.

Change-Id: Iccf70042833093ebeca92c171dfe05dbf14a55aa
Depends-On: https://review.opendev.org/725749
2020-05-06 12:40:40 +10:00
Ian Wienand
8733cff8db Add plain nodes to testing
This adds more of the plain nodes (without pip-and-virtualenv) to our
testing environment to facilitate the eventual switch in opendev
infra.

Change-Id: I091ab667c5f071ba5844ea567464b1c29052638d
2020-05-06 06:41:56 +10:00
Ian Wienand
d46c946f9b Make ubuntu-plain jobs voting
We have enough infrastructure in place now to have the
pip-and-virtualenv free node type voting, while we progress towards
making this the default.

Change-Id: Ie2677364d8696d5c4f71eefe2054da1b39e8bb35
2020-04-17 10:44:56 +02:00
Ian Wienand
88124dffb9 Update Fedora to 31
Update the Fedora test platform to 31.  Since we have dropped the
pip-and-virtualenv element with this image, we do not need the
work-around for excluded packages any more.

Story: #2007386
Task: #39310

Change-Id: I713a3cc790039dee3d28d83198f5afff5bebc491
2020-04-17 14:50:51 +10:00
Andreas Jaeger
38902dbba8 Fix check_jobs_documented linter
If autoroles is used to document all roles - which is not the
case in this repo but in opendev/base-jobs, the linter would complain
about missing roles. Fix the linter to not complain.

This change is here to sync the two variants and avoid others that copy
it to run into the problem.

Change-Id: I25411157ff18858e4f4c121a6d3f0ba6ec793be0
2020-04-10 19:07:25 +02:00
Ian Wienand
42755b69c8 Add bionic-plain non-voting testing
This is a temporary node type that does not install
"pip-and-virtualenv" so does not have pip or virtualenv pre-installed.
Add this for non-voting testing as we migrate to this node type.

Change-Id: Ia9006873470d76d29cc9229f11650981662b2de9
Story: #2007386
Task: #39306
2020-04-07 10:51:49 +10:00
Monty Taylor
d36ba50765 Fix unittests for python2 and fedora
We need to pin enum34 on python2 because upstream broke it.

Also, we should not install zuul in python2, because it's not targetted
at python2. It's only here so that linters can deal with zuul_return
and other things from its library, so it should be fine to not install
it for python2 unittests.

GitPython was in here as a pin to the versions that support python3
for zuul. Since we're constraining zuul to only python3, we don't need
to mention GitPython at all.

Update the siblings unit test to use requests as the package we expect
to be already installed since we're no longer installing zuul for
python2.

Fedora 29 got archived upstream:

  http://mirror.sjc1.vexxhost.openstack.org/fedora/releases/29/README

So we need to switch to fedora 30.

Change-Id: I69e0b03f624ba45889916f89c0912df667aaf096
2020-02-24 10:50:13 -06:00
Sorin Sbarnea
22b0ed2c4d Enable testing of install-docker on multiple platforms
Change-Id: I6b9d4a51ed9966b8f39917783c8649fa3b4bd096
2020-02-21 18:55:10 +00:00
Sorin Sbarnea
0c8560de77 Making opensuse-tumbleweed jobs nv
Avoids ocasional failures caused by broken mirror repository.

We keep it, as it proves useful in discovering other issues from time
to time.

See https://zuul.opendev.org/t/zuul/builds?job_name=zuul-jobs-test-multinode-roles-opensuse-tumbleweed

Also assures linting catches errors caused by changes that missed to
regenerate the project stanza.

Change-Id: Id988a51175e8daa4f3c9725822dadcd7cd7aeb0e
2020-01-24 09:41:34 +01:00
Andreas Jaeger
f2680ebc70 Remove trusty testing
OpenDev is removing trusty nodes, remove test jobs.

Change-Id: Ibdd903daeefcec40990dc777d53af5cf3ea7844e
2020-01-17 10:44:38 +01:00
Ian Wienand
6a53e5c79e Make opensuse-15 job voting again
This reverts the change in I22d4cc02abaecb23d85aec3d415b43501ab1e0d2

Change-Id: Id184420eb58478976aacb8e934b2105b10388bab
2019-11-25 08:27:54 +01:00
Ian Wienand
4341500403 update-test-platforms.py : handle non-voting jobs
Add a non-voting platform dictionary so we can easily unblock the gate
via regenerating the automated jobs if one platform is having
temporary issues.  This adds "-nv" to the job name to make it clear
what is happening, and sets the job to "voting: false".

opensuse-15 is in this list, as a follow-on from the manual
(gate-unblocking) update I22d4cc02abaecb23d85aec3d415b43501ab1e0d2

Also, if a non-autogenerated job defined itself as non-voting, it
should not be put in the gate queue.  Handle this too.

Note that regenerating at this point is a no-op as the changes are
manually introduced in the prior change
I22d4cc02abaecb23d85aec3d415b43501ab1e0d2.

Change-Id: If41da9089a961dc27cda954924c17104e622dacc
2019-11-25 08:27:54 +01:00
Ian Wienand
cfdf251140 Use RDO trunk repos work for openvswitch on centos8
This is a bit of a hack, but allows installation of openvswitch for
testing the multinode roles.  Official CentOS 8 RDO builds are still a
work in progress, but this will let us get a head-start on any
multi-node testing.

Change-Id: I2eb1a16e9995a19d61e309aa59b232577184b527
2019-11-25 08:27:50 +01:00
Andreas Jaeger
f7ba04b6fc Add Gentoo integration tests
Gentoo tests were missing in the initial patchset, add them.

Sort multi-file list entry alphabetically.

Change-Id: I2f3b2bd9522b06bfe45f233542febffc875d9399
2019-07-08 19:06:02 +02:00
James E. Blair
87d597343f Don't use -latest nodesets in integration jobs
The single-node base role integration jobs use fedora-latest and
debian-latest nodesets, but because the multinode jobs must define
their own nodesets, that isn't really saving us any effort.  Instead,
since we have a script to generate these anyway, let's just use
the real label names for both jobs.

Change-Id: I48972366af1943168ba0b0d5a4b89cade5361e47
2019-07-08 07:45:00 -07:00
James E. Blair
2f113a6889 Add a script to make platform-specific versions of jobs
This automatically creates platform-specific versions of jobs
with special tags.  The changes to existing files are minor
cleanup from running the script.

Change-Id: I818b240b32610a00d717e021494d2e4d8e518c32
2019-07-04 14:16:11 +02:00
James E. Blair
4b3adfeea6 Organize documentation by subject area
This splits all of the current job and role documentation into
files by subject area so that jobs and roles are easier for users to
find.

This will require that any future new jobs or roles add a line to the
appropriate area of the documentation, since that can no longer be
done automatically.  A linter check is added to ensure that every
job and role continue to be documented.

After this refactor, we can begin to enhance the documentation pages
so that they include narrative documentation and subsections.

Change-Id: Ia6f0e89b57e3cb0d7d1745206384c946506d7ea0
2019-03-25 14:21:04 -07:00