There are still grenade legacy jobs in few projects,
so for them we need to update the grenade setting in d-g.
Hope this is last release we need to support in d-g.
Depends-On: https://review.opendev.org/c/openstack/devstack/+/784974
Change-Id: I5f98212be14ac3ebad961595e60a099c58fedada
We have stable/wallaby branch as latest stable and
d-g test only latest stable branch to make sure the compatibility
of legacy jobs. Hope this is last stable we need to update/support
in d-g.
This commit moves the legacy stable job testing to stable/wallaby.
Depends-On: https://review.opendev.org/c/openstack/devstack/+/784974
Change-Id: I5542dca0f8050a6e21aff773f49eb4799ec26828
We have stable/victoria branch as latest stable and
d-g test only latest stable branch to make sure the compatibility
of legacy jobs.
This commit moves the legacy stable job testing to stable/victoria.
Change-Id: I78a0f55c360df2804200cc801109741276248550
bashate job on d-g fail with error, as d-g
is moving towards deprecated phase let's keep
bashate job running on bionic.
Change-Id: Ibe644c9ed207bf2f76895319774d7376e08391e3
As of Ansible 2.9, using a jinja test as a filter fails; switch it to
"is" format.
The "--sudo" flag has become "--become", switch it.
Change-Id: If75cb934d386ab25240df9f21f9c948843bdb8fb
We have stable/ussuri branch as latest stable and
d-g test only latest stable branch to make sure the compatibility
of legacy jobs.
This commit moves the legacy stable job testing to stable/ussuri.
Depends-On: https://review.opendev.org/#/c/723605/
Change-Id: Id57e5590a5b24c2d821381f52e1c445cbbd1105b
As part of our efforts to ship bare nodes, we want to install as
little as possible in any sort of pre-run jobs. Since all infra nodes
have python3 available, use venv to create this small environment for
the test matrix production, and avoid having to pull in any other
dependencies.
Change-Id: Ie8b09ab60841f9d1b15ae1a7afec51906cd89f95
This checks if the task failed; which it never does because of the
failed_when: false. What we want to check is the return value of that
check.
Change-Id: Ic975b53d60f44e8e743bcc31fc864cc8416b3a92
In zuul job results the 'logs' directory contains gzip'd files which are
now unbrowsable. This happened due to changes in swift behavior [1].
This patch removes unnecessary compression of files under logs
directory.
[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-January/011875.html
Change-Id: I1d0e7869d418612bb9a20fdf01da2641693ed8bb
There are errors with the recently released
virtualenv 20 for example: https://github.com/pypa/virtualenv/issues/1551
It has been capped on devstack side also
I3b447557f013934719aa357efeffb093c7f6bd95
Let's use the lower version and we can move to
latest once issues are fixed.
Change-Id: I341437856c709e1e0e281357b96901ae6ef7cd00
Stable branches till stable/rocky is using python
version <py3.6. Tempest test those branch in venv
but Tempest tox use the master upper-constraint[1]
which block installation due to dependencies
require >=py3.6. For exmaple, oslo.concurrency 4.0.0
is not compatible for <py3.6.
As we pin Tempest for EM stable brach, we should be
able to use stable constraint for Tempest installation
as well as while running during run-tempest playbook.
tox.ini is hard coded to use master constraint[1] which force
legacy ocata job to use the master constraints and fail
- https://review.opendev.org/#/c/706161/
Devstack can set stable u-c to use via env var but this is
not enough as Tempest recreate the tox env with master u-c
when run test via devstack-gate.
All other branches have been fixed by fixing the run-tempest playbooks
in same way.
- https://review.opendev.org/#/c/705870/
Because stable/ocata and grenade job use devstack-gate, we need to fix this.
This is required to fix the grenade jobs on each stable branch to
get the other fixes in.
[1] bc9fe8eca8/tox.ini (L14)
Change-Id: Ibfc5c3d5e64e274fd674e6c42878d98bb194fa73
When devstack reverted the pip cap in [0], it was necessary to disable
the peakmem_tracker service as there was no easy way to make it work in
that setup. So we need to delete it from the test-matrix here, too.
We could decide to add it only for older stable/branches, but as ds-gate
is to be obsoleted anyway, I'm not convinced that that is worth the
effort.
[0] https://review.opendev.org/561597
Change-Id: I9dd57d3bdb56c64377efbdd55429bd075223c746
Following on from Ia85ea5d338f07cb248f60de44b21826862d09d26 n-net also
needs to be renabled on these older branches to allow cellsv1 testing.
Change-Id: I300a93142355517382c8ba55105ac7c1e88f29c8
n-cauth serviec has been remvoed from nvoa in Ussuri and that is why
it was removed from default services[1]. But that is requried
for stable/queens|pike|ocata which still depends on text-matrix
for ENABLED_SERVICES. Since stable/rocky we have migrated the
service enable in devstack base job[2].
This commit fix the Tempest master and stable/queens|pike|ocata
gate by re-enable the n-cauth service for listed stable branches
only. Later we can discuss to remove the test-matrix dependency for
these branches also.
Related-Bug: 1858666
[1] https://review.opendev.org/#/c/700217/
[2] https://review.opendev.org/#/c/546765/
Change-Id: Ia85ea5d338f07cb248f60de44b21826862d09d26
test-features.sh wasn't testing anything for subnodes
so this adds a subnode feature support matrix test for
grenade. It also highlights that the grenade config
is applied to all nodes regardless of role so a TODO
is added to test_matrix.py in case someone needs to make
that per-role, per-config service override support at
some point (hopefully that never really happens and all
jobs are moved to zuulv3 by that point).
Change-Id: I485d76c1db5c3a4363c3e26fea204cc7782887f3
Grenade only runs tempest smoke tests and there are no
cinder-backup service related smoke tests in the main
tempest repo so running the c-bak service on the primary
and subnode (in multinode jobs) is just a waste of resources
since it's not used in testing.
Similarly, etcd3 is really only interesting for cinder in
a multinode job but in grenade multinode jobs etcd3 is not
enabled on the subnode, so only the primary node cinder
services are configured to use etcd3, so again it's a waste
of resources.
There is a theory that bug 1844929 is failing primarily on
OVH nodes because they aggressively restrict iops so we're
running into swap issues [1]. Freeing up more resources on
the nodes used in grenade jobs might alleviate some of that
swap pressure.
To do this using the feature test matrix in devstack-gate
the test_matrix.py script has to be updated such that
services can be added/removed per config rather than per
feature because otherwise grenade says it wants cinder but
cannot remove cinder-specific services like c-bak.
[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-November/010506.html
Change-Id: Ide146793053ae6b62f93a5af45c6130a21514e87
Related-Bug: #1844929
This allows getting the debug logging out of test_matrix.py
from the command line which is useful when you're trying to
debug what is wrong with entries in the feature test matrix.
Change-Id: I49aa3d7b60f4df4f32a0a3dbef9b13a97404dbf4
The cinder config is including the "cinder" devstack
service which would mean that anything removed explicitly,
like c-bak, is going to be trumped by the fact that 'cinder'
is in the enabled services list in a job.
This removes 'cinder' the service from cinder the config so
that cinder services have to be explicitly enabled/disabled
in the feature test matrix.
Change-Id: I857fbeba2af4a0f038fd2c2a19bb29c2767227a2
Ceilometer is not installed by default in legacy jobs using
devstack-gate so we shouldn't be enabling it by default. Anything
that cares about testing with ceilometer should be using a zuulv3
based job with the ceilometer devstack plugin and explicitly
enabling the service. So ceilometer is removed from the default
list of enabled services.
This also removes some now-dead nova services (n-obj, ha).
Change-Id: If8237c94be2b1db210f83bc9871792af9c5c868f
devstack-gate is still used for grenade jobs and restricts
ara<1.0.0 and defaults ANSIBLE_VERSION=2.5.7.
ARA 0.16.6 dropped support for ansible < 2.6 [1]. As such,
grenade jobs are failing because ara 0.16.6 cannot be installed.
This bumps the ANSIBLE_VERSION default to 2.7.14 which is current
as of Ubuntu Xenial 16.04 which should be sufficient for the
branches still supported in upstream OpenStack CI (mainly Ocata+).
[1] 872ba818fb
Story: 2007028
Task: 37825
Change-Id: If7874f6e74606fe8a79fbff48abf764cc41c4a3b
Now we have stable/train branch ready for devstack
and so does for all service projects.
This commit adds the stable/train job running for
d-g gate.
Change-Id: Ibf278cd21d1a0921f7122deb944e1ae18b7c07c1
ARA 1.0 will be released in the near future and isn't backwards
compatible. Pin it so it doesn't break things unexpectedly.
Change-Id: If40616a433c32ce23eca3b06c27050950c62e250
Change I1ef1fe564123216b19582262726cdb1078b7650e in DevStack removes
the ability to set the Cinder periodic_interval config option via the
CINDER_PERIODIC_INTERVAL shell var.
The CINDER_PERIODIC_INTERVAL was introduced in DevStack in Havana as
a workaround for Bug #1180976. That bug, however, was fixed in such
a way that it does not require adjusting the periodic_interval in
Cinder, and the workaround was finally removed in Train.
Because devstack-gate is basically frozen as a legacy pre-zuul-v3
supporting infrastructure for DevStack jobs, this patch does not remove
setting the CINDER_PERIODIC_INTERVAL. It simply adds a note explaining
that it's a no-op when using a Train or later DevStack.
Depends-on: https://review.opendev.org/#/c/652711
Change-Id: I7e2cc815ad14036dbae94e73d118b2845ddf5c64
Partial-bug: #1824837
Now we have stable/stein branch ready for devstack
and so does for all service projects.
This commit adds the stable/stein job running for
d-g gate.
NOTE: Adding legacy job vesion of stable/stein because
only legacy jobs use devstack-gate which is what we need
to test.
This commit removes the all stable zuulv3 native jobs
which does not use devstack-gate and so does not required
to be tested here.
Change-Id: I546038fa4164a3085b33fa0ef30a51ec237bdc3f
Thorough replacement of git.openstack.org URLs with their opendev.org
counterparts.
Port of the present changes are needed to fix some errors in legacy jobs when
opendev.org is used as git base URL, as devstack-gate tries to clone
openstack-dev/devstack and it fails (the redirect works only when
git.openstack.org is used).
Change-Id: I81f6e00aa10ef7f93d0dead2f76369035a18a81b