# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. # # This script is executed in the OpenStack CI *tempest-dsvm-lxc job. # It's used to configure which tempest tests actually get run. You can find # the CI job configuration here: # # http://git.openstack.org/cgit/openstack-infra/project-config/tree/jenkins/jobs/devstack-gate.yaml # # Construct a regex to use when limiting scope of tempest # to avoid features unsupported by Nova's LXC support. # Note that several tests are disabled by the use of tempest # feature toggles in devstack/lib/tempest for an lxc config, # so this regex is not entirely representative of what's excluded. # When adding entries to the regex, add a comment explaining why # since this list should not grow. r="^(?!.*" r="$r(?:.*\[.*\bslow\b.*\])" r="$r|(?:tempest\.api\.compute\.servers\.test_delete_server\.DeleteServersTestJSON*)" r="$r).*$" export DEVSTACK_GATE_TEMPEST_REGEX="$r"