Merge "Using updated tempest method for nova."
This commit is contained in:
commit
86289e7c8f
5
.gitignore
vendored
5
.gitignore
vendored
@ -61,9 +61,8 @@ ChangeLog
|
|||||||
releasenotes/build
|
releasenotes/build
|
||||||
|
|
||||||
# Test temp files
|
# Test temp files
|
||||||
tests/plugins
|
tests/common
|
||||||
tests/playbooks
|
tests/*.retry
|
||||||
tests/test.retry
|
|
||||||
|
|
||||||
# Vagrant artifacts
|
# Vagrant artifacts
|
||||||
.vagrant
|
.vagrant
|
||||||
|
@ -15,6 +15,10 @@
|
|||||||
|
|
||||||
nova_virt_type: lxd
|
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_url: "http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-lxc.tar.gz"
|
||||||
tempest_img_disk_format: raw
|
tempest_img_disk_format: raw
|
||||||
tempest_image_file: "cirros-0.3.4-x86_64-lxc.tar.gz"
|
tempest_image_file: "cirros-0.3.4-x86_64-lxc.tar.gz"
|
||||||
@ -22,7 +26,8 @@ tempest_img_name: "cirros"
|
|||||||
tempest_images:
|
tempest_images:
|
||||||
- url: "http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-lxc.tar.gz"
|
- url: "http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-lxc.tar.gz"
|
||||||
sha256: "e8172c603fad47f4c95e67bd2751c2977e07164c9ebdfcf3f9c1d7ff598ed217"
|
sha256: "e8172c603fad47f4c95e67bd2751c2977e07164c9ebdfcf3f9c1d7ff598ed217"
|
||||||
|
tempest_test_whitelist:
|
||||||
|
- tempest.scenario.test_server_basic_ops.TestServerBasicOps.test_server_basic_ops
|
||||||
neutron_provider_networks:
|
neutron_provider_networks:
|
||||||
network_types: "vxlan,flat"
|
network_types: "vxlan,flat"
|
||||||
network_mappings: "flat:eth12"
|
network_mappings: "flat:eth12"
|
||||||
|
@ -13,6 +13,13 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# 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:
|
neutron_provider_networks:
|
||||||
network_types: "vxlan,flat"
|
network_types: "vxlan,flat"
|
||||||
network_mappings: "flat:eth12"
|
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
|
|
@ -33,6 +33,3 @@
|
|||||||
|
|
||||||
# Install Tempest
|
# Install Tempest
|
||||||
- include: common/test-install-tempest.yml
|
- include: common/test-install-tempest.yml
|
||||||
|
|
||||||
# Test Nova
|
|
||||||
- include: test-nova-functional.yml
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user