summaryrefslogtreecommitdiff
path: root/devstack
diff options
context:
space:
mode:
authorMatt Riedemann <mriedem.os@gmail.com>2018-01-30 11:55:46 -0500
committerMatt Riedemann <mriedem.os@gmail.com>2018-02-16 16:37:09 +0000
commit0c9225bece409809fdd60a710d0f313ded340a86 (patch)
tree78d32f019c828df2cb1753b6ab3f7a1253d25e5f /devstack
parent3da85671a9094528f6ef70b462fbcf03face63b3 (diff)
downloadnova-0c9225bece409809fdd60a710d0f313ded340a86.tar.gz
Add a nova-caching-scheduler job to the experimental queue
This adds an experimental queue job to run non-slow tempest API and scenario tests using the CachingScheduler as the scheduler driver. A blacklist is added since there are a few tests that rely on filters which don't work well with the CachingScheduler. The CachingScheduler is deprecated, but this is useful to have when we're making changes to the scheduler or flows within the code that involve the scheduler, such as the alternate hosts work. Change-Id: I8630ea11c3067ed934de2ef27a63432418e98c33
Diffstat (limited to 'devstack')
-rw-r--r--devstack/tempest-dsvm-caching-scheduler-rc30
1 files changed, 30 insertions, 0 deletions
diff --git a/devstack/tempest-dsvm-caching-scheduler-rc b/devstack/tempest-dsvm-caching-scheduler-rc
new file mode 100644
index 0000000000..cc09af6b82
--- /dev/null
+++ b/devstack/tempest-dsvm-caching-scheduler-rc
@@ -0,0 +1,30 @@
+#
+# This script is executed in the OpenStack CI nova-caching-scheduler job.
+# It's used to configure which tempest tests actually get run. You can find
+# the CI job configuration under playbooks/legacy/nova-caching-scheduler/.
+#
+
+# Construct a regex to use when limiting scope of tempest
+# to avoid features unsupported by Nova's CachingScheduler support.
+
+# When adding entries to the regex, add a comment explaining why
+# since this list should not grow.
+
+r="^(?!.*"
+# exclude the slow tag
+r="$r(?:.*\[.*\bslow\b.*\])"
+
+# NOTE(mriedem): ServersAdminTestJSON.test_create_server_with_scheduling_hint
+# is skipped because it relies on the SameHostFilter which relies on the
+# HostState object which might be stale when that filter runs.
+# tempest.api.compute.admin.test_servers.ServersAdminTestJSON.test_create_server_with_scheduling_hint
+r="$r|(?:.*id\-fdcd9b33\-0903\-4e00\-a1f7\-b5f6543068d6.*)"
+# NOTE(mriedem): AggregatesAdminTestJSON.test_aggregate_add_host_create_server_with_az
+# is skipped because it creates an aggregate and adds a host to it, then
+# creates a server in that aggregate but fails to schedule because the caching
+# scheduler hasn't updated the host's aggregates view yet.
+# tempest.api.compute.admin.test_aggregates.AggregatesAdminTestJSON.test_aggregate_add_host_create_server_with_az
+r="$r|(?:.*id\-96be03c7\-570d\-409c\-90f8\-e4db3c646996.*)"
+r="$r).*$"
+
+export DEVSTACK_GATE_TEMPEST_REGEX="$r"