From c4acce91d6bb87b4ab865bc8e4d442a148dba1d5 Mon Sep 17 00:00:00 2001 From: Alfredo Moralejo Date: Wed, 26 Mar 2025 16:42:08 +0100 Subject: [PATCH] Add real-data based tests to experimental and weekly pipelines This job is adding a new job using prometheus datastore and real workload data into the experimental pipeline so that we can run it on-demand. Also, it is adding it to the weekly periodic pipeline as agreed on Watcher meeting. Also I am excluding strategies execution with annotation `real_load` in non-real-load jobs. Finally, I'm moving the project configuration to the end of the file as requested in the comments, as it's the usual location by convention. Change-Id: Id41efda2f0dd8b1521df3f6179c3504f298e0e59 --- .zuul.yaml | 78 ++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 52 insertions(+), 26 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index 90c230081..1bd7f5a35 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -1,29 +1,3 @@ -- project: - queue: watcher - templates: - - check-requirements - - openstack-cover-jobs - - openstack-python3-jobs - - publish-openstack-docs-pti - - release-notes-jobs-python3 - check: - jobs: - - watcher-tempest-functional - - watcher-tempest-functional-jammy - - watcher-grenade - - watcher-tempest-strategies - - watcher-tempest-actuator - - python-watcherclient-functional: - files: - - ^watcher/api/* - - watcher-tempest-functional-ipv6-only - - watcher-prometheus-integration - gate: - jobs: - - watcher-tempest-functional - - watcher-tempest-functional-jammy - - watcher-tempest-functional-ipv6-only - - job: name: watcher-tempest-actuator parent: watcher-tempest-multinode @@ -36,6 +10,7 @@ vars: tempest_concurrency: 1 tempest_test_regex: watcher_tempest_plugin.tests.scenario.test_execute_strategies + tempest_exclude_regex: .*\[.*\breal_load\b.*\].* - job: name: watcher-tempest-multinode @@ -251,6 +226,7 @@ tempest_plugins: - watcher-tempest-plugin tempest_test_regex: watcher_tempest_plugin.tests.scenario.test_execute_strategies + tempest_exclude_regex: .*\[.*\breal_load\b.*\].* tempest_concurrency: 1 tox_envlist: all zuul_copy_output: @@ -284,3 +260,53 @@ - job: name: watcher-prometheus-integration parent: watcher-sg-core-tempest-base + +- job: + name: watcher-prometheus-integration-realdata + parent: watcher-sg-core-tempest-base + vars: + devstack_localrc: + NODE_EXPORTER_COLLECTOR_EXCLUDE: "" + devstack_local_conf: + test-config: + $TEMPEST_CONFIG: + optimize: + datasource: "" + tempest_test_regex: .*\[.*\breal_load\b.*\].* + tempest_exclude_regex: "" + group-vars: + subnode: + devstack_localrc: + NODE_EXPORTER_COLLECTOR_EXCLUDE: "" + +- project: + queue: watcher + templates: + - check-requirements + - openstack-cover-jobs + - openstack-python3-jobs + - publish-openstack-docs-pti + - release-notes-jobs-python3 + check: + jobs: + - watcher-tempest-functional + - watcher-tempest-functional-jammy + - watcher-grenade + - watcher-tempest-strategies + - watcher-tempest-actuator + - python-watcherclient-functional: + files: + - ^watcher/api/* + - watcher-tempest-functional-ipv6-only + - watcher-prometheus-integration + gate: + jobs: + - watcher-tempest-functional + - watcher-tempest-functional-jammy + - watcher-tempest-functional-ipv6-only + experimental: + jobs: + - watcher-prometheus-integration-realdata + periodic-weekly: + jobs: + - watcher-prometheus-integration-realdata