nova/devstack/tempest-dsvm-tempest-xen-rc
Anthony PERARD e44ea07c4d Skip boot from encrypted volume on Xen+libvirt
The Xen toolstack is trying to locate the kernel by running pygrub on
the host (as opposed to in guest) on the disk image, this fails for
encrypted volume.

Skip the Tempest test until this is resolved.

Change-Id: I173ac0ae8ebfb249d75a29e425e90c8928c3da40
Related-Bug: 1702897
2017-07-11 14:32:35 +01:00

41 lines
1.6 KiB
Plaintext

# 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 Xen Project OpenStack CI dsvm-tempest-xen job.
# It's used to configure which tempest tests actually get run. You can find
# the CI job configuration here:
#
# https://xenbits.xen.org/gitweb/?p=openstack/ci-loop-config.git;a=blob;f=jenkins/jobs/jobs.yaml;hb=HEAD
#
# When adding entries to the regex, add a comment explaining why
# since this list should not grow.
# exclude the slow tag
r="\[.*\bslow\b.*\]"
# volume_swap fail
# https://bugs.launchpad.net/nova/+bug/1676499
r="$r|tempest\.api\.compute\.admin\.test_volume_swap\.TestVolumeSwap\.test_volume_swap"
# Because paused guest can not be snapshot
# https://bugs.launchpad.net/nova/+bug/1675787
r="$r|tempest\.api\.compute\.images\.test_images\.ImagesTestJSON\.test_create_image_from_paused_server"
# Cannot boot from encrypted volume
# https://bugs.launchpad.net/nova/+bug/1702897
r="$r|tempest\.scenario\.test_volume_boot_pattern\.TestVolumeBootPattern\.test_boot_server_from_encrypted_volume_luks"
r="^(?!.*(?:$r))(?:^tempest\.(?:api|scenario|thirdparty))"
export DEVSTACK_GATE_TEMPEST_REGEX="$r"