From 50bef411161087b0383cd5ad617c7eb2b54f19a9 Mon Sep 17 00:00:00 2001 From: Luigi Toscano Date: Tue, 20 May 2025 16:54:25 +0200 Subject: [PATCH] zuul: run cinder-tempest-plugin tests too Tests from cinder-tempest-plugin should work with the NFS backend as well, so run them too. Unfortunately it is not possible to reuse the 'full-integrated' tox environment as it does not allow for additional regexps, so try to mimic it by explicitly listing the tests. This change also pins `devstack-plugin-nfs-tempest-full` to NFS version `vers=4.2` in combination with `nconnect=4`, which improves test stability by preventing stalls on large write operations. [1] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2103802 Change-Id: I268f1150a5d2fd49371d84de495ff11cabc46528 Co-Authored-By: Fernando Ferraz Signed-off-by: Fernando Ferraz --- .zuul.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.zuul.yaml b/.zuul.yaml index 13cf6f2..19ae337 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -35,6 +35,7 @@ * legacy-tempest-dsvm-full-devstack-plugin-nfs timeout: 10800 required-projects: + - opendev.org/openstack/cinder-tempest-plugin - opendev.org/openstack/devstack-plugin-nfs host-vars: controller: @@ -46,9 +47,23 @@ # enabled by default in tempest-full: ENABLE_VOLUME_MULTIATTACH: false TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: true + devstack_local_conf: + post-config: + $CINDER_CONF: + nfs: + # Setting nfs vers=4.2 in combination with nconnect=4 helps improving + # test stability by preventing stalls on large write operations on + # Ubuntu "Noble" and Centos 9 + nfs_mount_options: vers=4.2,nconnect=4 devstack_services: # Disable horizon (inherited from the parent, not needed by the tests executed here) horizon: false + tox_envlist: all + tempest_test_regex: | + (^tempest\.(api|scenario|serial_tests)|(^cinder_tempest_plugin)) + tempest_test_exclude_list: '{{ ansible_user_dir }}/{{ zuul.projects["opendev.org/openstack/tempest"].src_dir }}/tools/tempest-integrated-gate-storage-exclude-list.txt' + tempest_plugins: + - cinder-tempest-plugin irrelevant-files: - ^.*\.rst$ - ^doc/.*$