Using updated tempest method for nova.
Change-Id: Ic05ec8ad4dd4b4817cb56c648406916b6c2cc60b
This commit is contained in:
parent
159b50b70d
commit
debf05dbd2
5
.gitignore
vendored
5
.gitignore
vendored
@ -61,9 +61,8 @@ ChangeLog
|
||||
releasenotes/build
|
||||
|
||||
# Test temp files
|
||||
tests/plugins
|
||||
tests/playbooks
|
||||
tests/test.retry
|
||||
tests/common
|
||||
tests/*.retry
|
||||
|
||||
# Vagrant artifacts
|
||||
.vagrant
|
||||
|
@ -15,6 +15,10 @@
|
||||
|
||||
nova_virt_type: lxd
|
||||
|
||||
tempest_run: yes
|
||||
tempest_venv_tag: "{{ tempest_git_install_branch }}"
|
||||
tempest_venv_bin: "/opt/tempest_{{ tempest_venv_tag }}/bin"
|
||||
tempest_log_dir: "/var/log/"
|
||||
tempest_img_url: "http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-lxc.tar.gz"
|
||||
tempest_img_disk_format: raw
|
||||
tempest_image_file: "cirros-0.3.4-x86_64-lxc.tar.gz"
|
||||
@ -22,7 +26,8 @@ tempest_img_name: "cirros"
|
||||
tempest_images:
|
||||
- url: "http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-lxc.tar.gz"
|
||||
sha256: "e8172c603fad47f4c95e67bd2751c2977e07164c9ebdfcf3f9c1d7ff598ed217"
|
||||
|
||||
tempest_test_whitelist:
|
||||
- tempest.scenario.test_server_basic_ops.TestServerBasicOps.test_server_basic_ops
|
||||
neutron_provider_networks:
|
||||
network_types: "vxlan,flat"
|
||||
network_mappings: "flat:eth12"
|
||||
|
@ -13,6 +13,13 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
tempest_run: yes
|
||||
tempest_venv_tag: "{{ tempest_git_install_branch }}"
|
||||
tempest_venv_bin: "/opt/tempest_{{ tempest_venv_tag }}/bin"
|
||||
tempest_log_dir: "/var/log/"
|
||||
tempest_test_whitelist:
|
||||
- tempest.scenario.test_server_basic_ops.TestServerBasicOps.test_server_basic_ops
|
||||
|
||||
neutron_provider_networks:
|
||||
network_types: "vxlan,flat"
|
||||
network_mappings: "flat:eth12"
|
||||
|
@ -1,30 +0,0 @@
|
||||
---
|
||||
# Copyright 2015, Rackspace US, Inc.
|
||||
#
|
||||
# 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.
|
||||
|
||||
- name: Playbook for functional testing of nova
|
||||
hosts: utility_all[0]
|
||||
user: root
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Run tempest
|
||||
shell: |
|
||||
. {{ tempest_venv_bin }}/activate
|
||||
{{ tempest_venv_bin | dirname }}/run_tempest.sh --no-virtual-env --serial tempest.scenario.test_server_basic_ops.TestServerBasicOps.test_server_basic_ops
|
||||
register: run_tempest
|
||||
until: run_tempest|success
|
||||
retries: 3
|
||||
delay: 5
|
||||
vars_files:
|
||||
- common/test-vars.yml
|
@ -39,6 +39,3 @@
|
||||
|
||||
# Install Tempest
|
||||
- include: common/test-install-tempest.yml
|
||||
|
||||
# Test Nova
|
||||
- include: test-nova-functional.yml
|
||||
|
Loading…
x
Reference in New Issue
Block a user