117 Commits

Author SHA1 Message Date
Zuul
764c360c19 Merge "Ceph minimum client on cinder-plugin-ceph-tempest job enable" 2023-02-17 22:12:48 +00:00
Zuul
b9ff1016f1 Merge "Change functional job py39 to py310" 2023-01-27 16:01:07 +00:00
Rajat Dhasmana
23a3da73be Change functional job py39 to py310
Based on the runtimes of 2023.1[1], we are modifying the
functional jobs to test against python 3.8 and python 3.10.

[1] https://lists.openstack.org/pipermail/openstack-discuss/2022-November/031229.html

Change-Id: I12da0ed69465fce9279ee6a30b7b442aa5ba396b
2022-12-26 04:27:20 +00:00
Rajat Dhasmana
b3e7d363ca Add tempest integrated storage job to run on ubuntu focal
Based on TC 2023.1 PTG discussion [1] and ML thread[2], we should run
at least one tempest job on the previosly supported Ubuntu version to
make sure that current release can work on older operating system and
that upgrade process can be as smooth as possible for operators.

[1] https://etherpad.opendev.org/p/tc-2023-1-ptg#L428
[2] https://lists.openstack.org/pipermail/openstack-discuss/2022-November/031229.html

Change-Id: I657ff088bb916a8b8085f3cc5b0a53dc493b5af7
2022-11-23 13:39:16 +00:00
Sofia Enriquez
5e2fc9a58d Ceph minimum client on cinder-plugin-ceph-tempest job enable
Since e222cc976918a331bacff150e84069fda8f4960a, it is possible to set
the minimum client version. The goal of this patch is to enable the
*mimic* client version for the current cinder-plugin-ceph-tempest job.

As a result, we will be able to ensure that snapshots can be deleted
when a volume is cloned from them.

Change-Id: I8ffb0c1130b30a19f336a98a9efef05905786af2
2022-09-19 16:27:45 +00:00
9827e74218 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: I444aa9cff84ef9d1e46d3d00ce034583aa8c2fb6
2022-09-19 09:42:41 +00:00
Zuul
6605f5a94e Merge "Move NFS job to voting" 2022-08-19 17:22:11 +00:00
Eric Harney
8094331183 Change cinder-mypy job to voting
Ensure new changes don't fail the cinder-mypy job.

Change-Id: Ib6c8a7a1a8eb180a1b689dc266d614c962de3193
2022-07-26 09:51:08 -04:00
Eric Harney
9509eb1c3b Move NFS job to voting
Recent Cinder and Tempest changes broke the NFS CI jobs.

We should ensure the NFS job passes to prevent this
in the future.

Change-Id: Ib96d65783607f36e115b6b80af6967d463090fdc
2022-07-12 20:20:37 +00:00
Brian Rosmaita
d41abbf538 Increase swap size to 4GB
This is to address issues in the cinder-plugin-ceph-tempest* jobs
where a significant number of builds are failing.  Symptoms are a
lot of server fault errors, identity error: unexpected status
code 500, and db connection errors in the tempest log.  On these
jobs, syslog shows multiple
   oom_reaper: reaped process xxxxxxx (mysqld)
lines.  Occasionally ceph-osd or ceph-mons are also reaped, but
it's pretty consistently mysqld.

Default swap size is currently 1G.  Increase to 4GB was determined
experimentally.  (See other patches on topic: increase-swap.)

Change-Id: I3c08f363f5b74e1fe7900f4398bd2cb6df3a80d7
2022-05-13 12:20:49 -04:00
Zuul
4962183f7e Merge "Drop python3.6 support in testing runtime" 2022-04-29 19:50:34 +00:00
wanghao
42c6450527 Drop python3.6 support in testing runtime
In Zed cycle testing runtime, we are targetting to drop the
python 3.6 support, project started adding python 3.8 as minimum,
example nova:
- 56b5aed08c/setup.cfg (L13)

Change-Id: I1e0d0a43cd166e6cfd4be7ca0f426e9fc3625a28
2022-04-28 09:09:28 +08:00
Eric Harney
24cd0920fa Remove contrib/block-box from zuul config
This doesn't need to be listed in "irrelevant-files"
since it isn't in the tree as of Iaa3a7892.

Change-Id: Ibd6e67caa27201cd564a6a344946b34bd530a1da
2022-04-27 12:31:50 -04:00
Zuul
4e02f204ff Merge "Add grenade-skip-level irrelevant-files config" 2022-03-18 15:36:31 +00:00
8537730c8c 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: Ibb94c28c788ae26fbbc553f08c32b6bf84ac3707
2022-03-14 09:30:14 +00:00
Ghanshyam Mann
72962934a9 Add grenade-skip-level irrelevant-files config
Depends-On: https://review.opendev.org/c/openstack/tempest/+/830670
Change-Id: Ida98ac841485100bc23b68cc060b772956fe4466
2022-03-01 13:09:17 -06:00
Zuul
87b0ad701d Merge "zuul: configure irrelevant-files for the rally job" 2022-02-18 16:48:24 +00:00
Zuul
f2d4d6b4ac Merge "Turn off inline comments for mypy zuul job" 2021-12-22 18:36:02 +00:00
Ghanshyam Mann
c064de2992 Updating python testing as per Yoga testing runtime
Yoga testing runtime[1] has been updated to add py39
testing as voting and as we are testing py3.6 and py3.9
we do not need to test py3.7|8 explicitly. Unit tests update are
handled by the job template change in openstack-zuul-job

- https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/820286

this commit makes other required changes in zuul.yaml and
update the classifier in setup.cfg file.

[1] https://governance.openstack.org/tc/reference/runtimes/yoga.html

Change-Id: I9fe6187ea8c849812a508b48b342226e50fca831
2021-12-14 02:31:27 +00:00
Ghanshyam Mann
96384e139b Remove broken tempest-full-py3-opensuse15 job
tempest-full-py3-opensuse15 is failing all the time[1] and
opensuse is not tested/supported distro in testing runtime
or devstack anymore. So let's remove opensuse broken job from
tempest too.

Needed-By: https://review.opendev.org/c/openstack/tempest/+/816569

[1] https://zuul.opendev.org/t/openstack/builds?job_name=tempest-full-py3-opensuse15

Change-Id: Ibb089a5e8dd3ce41c4bb83d7092c435db3c8d669
2021-11-03 15:55:36 -05:00
ca05872075 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: I690dd390ab5ffdffc339b6fa7aaa035b1faee341
2021-09-17 16:24:56 +00:00
Brian Rosmaita
028b9a6485 Turn off inline comments for mypy zuul job
The inline comments don't seem to be helpful.

Change-Id: I2198d17e8cc3e2806d2f1a99699ba2881765bfb5
2021-09-16 14:45:57 -04:00
Luigi Toscano
1c0c25babb Native multibackend-matrix Zuul v3 job
Port the legacy legacy-tempest-dsvm-multibackend-matrix job to the
native Zuul v3 syntax, and rename it following the guidelines
(cinder-multibackend-matrix-migration).

This job tests the migration between two different backends
specified through the volume.backend_names configuration
key in tempest.conf.

Now the job leverages the existing zuul code, namely the
run-tempest role, which is called multiple times with all
the possible combinations of the 3 tested backends
(lvm, ceph, nfs) where the source and the destination differ.

The final JUnitXML output summarizes the test results
for each of the tested combinations.

Change-Id: I34e7e48ee63c4c269f82ae178a7118ed402cad6d
2021-09-08 01:05:44 +02:00
Brian Rosmaita
269d21b2e3 Test glance with cinder backend optimization
Configure a gate job for glance using a cinder glance_store
with cinder configured to clone image data directly in the backend
instead of transferring data through glance.

Change-Id: I8a193b1cd6002e11db78c8eebceaa2fbc86a90bc
2021-08-27 04:19:14 +00:00
Zuul
98b49d0572 Merge "Add openstacksdk-functional-devstack job in cinder gate" 2021-08-10 17:48:43 +00:00
Zuul
fcdd2067d2 Merge "Run cinder-mypy job in the check" 2021-08-04 17:25:31 +00:00
Ghanshyam Mann
6854265085 Add openstacksdk-functional-devstack job in cinder gate
With cinderv2 API removal, openstacksdk-functional-devstack
was broken(depends-on) which was running the v2 test. Having
this job running in cinder gate like Nova and other project
will help to find such issue in future especially about client side
impact on any code change.

Change-Id: I81c1e0a9dbc5b9e3d1c4e945756b268cfc562895
2021-07-22 18:18:37 +00:00
Zuul
196a58dae1 Merge "Remove Block Storage API v2" 2021-07-22 05:18:14 +00:00
Brian Rosmaita
cc6b499d23 Run cinder-mypy job in the check
Promote the mypy job from experimental to a nonvoting check job.

Change-Id: I7aa9d603f69ba4424da7ae6f98192a888da1071c
2021-07-15 18:03:42 +00:00
Yandong Xuan
b604a3bf66 Drop lower-constraints jobs
Change-Id: I994af226743a50f11d89373868e588d0d0313785
2021-07-07 16:30:03 -04:00
Brian Rosmaita
e05b261af7 Remove Block Storage API v2
In this patch:
- adjusted VersionsController to return only v3
- removed cinder.api.v2.router
- adjustments to cinder.tests.unit.api.contrib to use /v3 only
- moved cinder.api.v2.snapshot_metadata (and tests) to cinder.api.v3
- moved cinder.api.v2.types (and view, tests) to cinder.api.v3
- updated versions response in api-ref
- removed unnecessary config option
- updated various sample config files
- removed experimental tempest-cinder-v2-api job
- updated some docs
- updated non-voting rally job config

Some cinder.api.v2 modules are left because the v3 classes depend on
them, but with the v2 router removed, these are unreachable via the
/v2 path.

Depends-on: https://review.opendev.org/c/openstack/rally-openstack/+/794891
(changes rally to use Block Storage API v3)
Depends-on: https://review.opendev.org/c/openstack/requirements/+/794894
(corrects regression in upper-constraint on Sphinx)

Change-Id: I2093d77db9beec7543c7524d2cd273e79dd5fd5d
2021-06-04 17:21:28 -04:00
Luigi Toscano
cb094f5abd zuul: configure irrelevant-files for the rally job
No need to run it for documentation or test-only changes.

Change-Id: I892e29042b7b3228c71382b14a4ce211370bddce
2021-05-27 12:22:41 +02:00
Gorka Eguileor
da2fbff247 Fix functional jobs
In Change-ID I8db34f31d35375dc9656d53ac7af644c28a3d3fe we updated
api-ref samples, but functional tests didn't run so we didn't detect
that those samples changes broke our functional tests.

This patch fixes the functional tests, updates remaining cases of
key_size, and enables functional tests for api-ref changes to prevent
this from happening again.

Change-Id: I2a1f3121458c2db5e389dbcf31b34d412ffcd561
2021-05-25 16:55:05 +02:00
Luigi Toscano
2c2370671b zuul: fixes for the A/A job (nodeset, variables)
- set the parent job to the multinode variant of the base
  devstack-plugin-ceph tempest job. This way the nodeset
  is set automatically based on what devstack supports
  (currently focal, instead of the replaced bionic);
- set the devstack variable TEMPEST_VOLUME_REVERT_TO_SNAPSHOT
  (available since stein) instead of directly setting
  the tempest configuration.

Change-Id: Ic32d56b2f3a2c3f1f3345ba49f7b82b6c344f9f4
2021-05-05 09:26:06 +02:00
Eric Harney
f13717d12f zuul: add mypy experimental job
Change-Id: I41ab77500252ef0ce8734a89fcad5bcd20f5e2c2
2021-04-30 14:11:22 +00:00
9a0d7a7894 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: I35436231492a33a2b5b4bc223082a9482b62ea1d
2021-04-16 10:59:58 -04:00
Zuul
2462abec42 Merge "add openstack-python3-wallaby-jobs-arm64 job" 2021-03-20 07:49:56 +00:00
Luigi Toscano
28fd75e9ac Fix irrelevant-files for two devstack jobs
cinder-plugin-ceph-tempest-mn-aa had no irrelevant-files definition,
while cinder-tempest-plugin-lvm-lio-barbican used the list
meant for functional tests.

Both need to use the same definition shared by the other devstack
jobs (gate-irrelevant-files).

Change-Id: I83d358554ed1f1f38bef41d2375a79fe45151718
2021-02-10 14:24:45 +01:00
ricolin
514ae30403 add openstack-python3-wallaby-jobs-arm64 job
This is a non-voting job to validate py3 unittests on ARM64

Story: 2007938
Task: 40399

Change-Id: I4102db2b2e2e1e0946afd2848bace5b68219ce8e
2020-12-08 16:32:30 +08:00
wu.shiming
471a2790d2 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: Ic8668f50d6db62183fe42705ac31394e1d9f8c5a
2020-11-14 18:19:01 +00:00
Ghanshyam Mann
14e114d901 [goal] Fixing lower constraints for Ubuntu Focal
As per victoria cycle testing runtime and community goal,
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).

Bump lower constraints to make testing work for Focal.

Co-Author: tushargite96 <tushargite96@gmail.com>
Story: #2007865
Task: #40179

Change-Id: I5f37fb5611362e550610e2094d9cb3778548bf47
2020-09-16 15:14:24 -05:00
Ghanshyam Mann
61fe1d8d25 Run l-c job on Bionic
l-c job template moved the l-c jobs running on Focal
and currently fails on many constraints.

Let's keep running l-c job on bionic as it was before and we
can move it to Focal once issues are identified and fixed.

Change-Id: I90ff9ad59f27b6ed064a7472e79d9257b11d54d3
2020-09-11 00:09:48 +00:00
Ivan Kolodyazhny
88ced915bb Add cinder-plugin-ceph-tempest-mn-aa job
A new job deploys Cinder+Ceph in Active/Active HA mode and runs tempest
tests to verify it works.

Change-Id: I9ccded0f2be1c0769017443e39227e0c4d9e22ff
2020-08-26 07:59:36 +00:00
Brian Rosmaita
416e61e649 Add non-voting code coverage job
Change-Id: Icbc1fbb1c9dcf3312860e504adb134811259c817
2020-06-30 18:58:03 -04:00
Zuul
98ff9150cc Merge "Native Zuul v3 cinder-grenade jobs" 2020-05-21 05:07:38 +00:00
Luigi Toscano
6c1e52cefc Native Zuul v3 cinder-grenade jobs
Specialize the grenade-multinode job and test the variations
on upgrade where a few services are available on the subnode only
(c-bak only, c-bak+c-vol, c-bak+c-sch+c-vol).

Also, use grenade instead of grenade-py3. The former is now used
(after Iea355514ec7cc2a52ed5e88c356bcb1cdeadd639) in
integrated-gate-storage instead of the latter, which means
that we need to change it in order to apply the value of
irrelevant-files.

Depends-On: https://review.opendev.org/548936
Change-Id: I3eac1afcbb69e25e9b2a916910caf3291aa7c1fe
2020-05-01 00:23:25 +02:00
Sean McGinnis
7fbc3a33b5
Switch to py38 and update version metadata
As part of Victoria, the highest python version to support is now Python
3.8. See [0] for full details of the expected runtimes to support.

This switches over functional testing to use 3.8 and updates the
projects metadata to declare 3.8 as a supported runtime.

[0] https://governance.openstack.org/tc/reference/runtimes/victoria.html

Change-Id: Ica2dade49a65e749acc701bc16127809a7f079d6
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-23 14:48:59 -05:00
3a3f371275 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: I48ebb2bde4f622801c54c90d97001f49041656c6
2020-04-23 19:20:38 +00:00
Jon Bernard
1a9518119c RBD: add support for revert-to-snapshot
We note here that although this operation is implemented in the
Ceph backend, the Ceph docs indicate that it is inefficient and the
preferred method of returning to a known previous state is to clone
from a snapshot.  However, this is properly a backend operation, and
it does not make sense to try to do it better in the driver than it
can be done on the backend.

Co-authored-by: Brian Rosmaita <rosmaita.fossdev@gmail.com>
Implements: bp rbd-revert-to-snapshot
Change-Id: If8a5eb3a03e18f9043ff29f7648234c9b46376a0
2020-04-07 10:06:54 -04:00
Zuul
48f648462a Merge "Port several legacy tempest jobs to Zuul v3" 2020-03-25 18:53:10 +00:00