summaryrefslogtreecommitdiffstats
path: root/testcases/VIM/OpenStack/CI/rally_cert/scenario
diff options
context:
space:
mode:
authorJuha Kosonen <juha.kosonen@nokia.com>2016-01-12 13:15:45 +0000
committerMorgan Richomme <morgan.richomme@orange.com>2016-01-12 14:10:40 +0000
commit3393c576d60d3c2c24aba8b7110473dfafb99420 (patch)
tree11fcc9f4d869a8e3b97dfc5f8d081bc49bd94d29 /testcases/VIM/OpenStack/CI/rally_cert/scenario
parent798e64c3b864c1b19b214d21d87c4182718043cc (diff)
Rally test case troubleshooting
Minor changes to some of the failed scenarios in rally_cert. JIRA: FUNCTEST-110 Change-Id: I25d1a80d295bea0004a3bf5f42161080c44091e9 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com> (cherry picked from commit 236f391ce99bc5e1d4a56ec5ea65705895bf39d9)
Diffstat (limited to 'testcases/VIM/OpenStack/CI/rally_cert/scenario')
-rw-r--r--testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-cinder.yaml26
-rw-r--r--testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-glance.yaml7
-rw-r--r--testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-heat.yaml12
-rw-r--r--testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-keystone.yaml11
-rw-r--r--testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-neutron.yaml23
-rw-r--r--testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-nova.yaml49
-rw-r--r--testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-vm.yaml19
-rw-r--r--testcases/VIM/OpenStack/CI/rally_cert/scenario/templates/server_with_volume.yaml.template4
8 files changed, 110 insertions, 41 deletions
diff --git a/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-cinder.yaml b/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-cinder.yaml
index 3c64e262d..723db65ff 100644
--- a/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-cinder.yaml
+++ b/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-cinder.yaml
@@ -2,6 +2,8 @@
-
args:
{{ vm_params(image_name,flavor_name,1) }}
+ nics:
+ - net-id: {{ netid }}
context:
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
quotas:
@@ -162,9 +164,7 @@
CinderVolumes.create_nested_snapshots_and_attach_volume:
-
args:
- nested_level:
- max: 1
- min: 1
+ nested_level: 1
size:
max: 1
min: 1
@@ -175,6 +175,8 @@
servers:
{{ vm_params(image_name,flavor_name,none)|indent(2,true) }}
servers_per_tenant: 1
+ auto_assign_nic: true
+ network: {}
{% endcall %}
runner:
{{ constant_runner(concurrency=2*controllers_amount,times=10*controllers_amount, is_smoke=smoke) }}
@@ -190,9 +192,13 @@
max: 5
context:
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
+ quotas:
+ {{ unlimited_volumes() }}
servers:
{{ vm_params(image_name,flavor_name,none)|indent(2,true) }}
servers_per_tenant: 2
+ auto_assign_nic: true
+ network: {}
{% endcall %}
runner:
{{ constant_runner(concurrency=2*controllers_amount,times=10*controllers_amount, is_smoke=smoke) }}
@@ -206,9 +212,13 @@
max: 5
context:
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
+ quotas:
+ {{ unlimited_volumes() }}
servers:
{{ vm_params(image_name,flavor_name,none)|indent(2,true) }}
servers_per_tenant: 2
+ auto_assign_nic: true
+ network: {}
{% endcall %}
runner:
{{ constant_runner(concurrency=2*controllers_amount,times=10*controllers_amount, is_smoke=smoke) }}
@@ -229,7 +239,10 @@
min: 1
max: 5
context:
- {{ user_context(tenants_amount, users_amount, use_existing_users) }}
+ {% call user_context(tenants_amount, users_amount, use_existing_users) %}
+ quotas:
+ {{ unlimited_volumes() }}
+ {% endcall %}
runner:
{{ constant_runner(concurrency=2*controllers_amount,times=10*controllers_amount, is_smoke=smoke) }}
sla:
@@ -240,10 +253,13 @@
args:
detailed: True
context:
- {{ user_context(tenants_amount, users_amount, use_existing_users) }}
+ {% call user_context(tenants_amount, users_amount, use_existing_users) %}
+ quotas:
+ {{ unlimited_volumes() }}
volumes:
size: 1
volumes_per_tenant: 4
+ {% endcall %}
runner:
{{ constant_runner(concurrency=2*controllers_amount,times=10*controllers_amount, is_smoke=smoke) }}
sla:
diff --git a/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-glance.yaml b/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-glance.yaml
index c9cf9a0f9..b5eb7f3f5 100644
--- a/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-glance.yaml
+++ b/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-glance.yaml
@@ -34,11 +34,16 @@
args:
{{ glance_args(location=glance_image_location) }}
flavor:
- name: "{{flavor_name}}"
+ name: {{ flavor_name }}
number_instances: 2
+ nics:
+ - net-id: {{ netid }}
context:
{{ user_context(tenants_amount, users_amount, use_existing_users) }}
+ quotas:
+ {{ unlimited_nova() }}
runner:
{{ constant_runner(concurrency=2*controllers_amount,times=10*controllers_amount, is_smoke=smoke) }}
sla:
{{ no_failures_sla() }}
+
diff --git a/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-heat.yaml b/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-heat.yaml
index 3689cc492..6debb415a 100644
--- a/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-heat.yaml
+++ b/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-heat.yaml
@@ -11,6 +11,11 @@
-
args:
template_path: "{{ tmpl_dir }}/server_with_ports.yaml.template"
+ parameters:
+ public_net: {{ floating_network }}
+ image: {{ image_name }}
+ flavor: {{ flavor_name }}
+ cidr: {{ floating_subnet_cidr }}
context:
{{ user_context(tenants_amount, users_amount, use_existing_users) }}
runner:
@@ -20,6 +25,10 @@
-
args:
template_path: "{{ tmpl_dir }}/server_with_volume.yaml.template"
+ parameters:
+ image: {{ image_name }}
+ flavor: {{ flavor_name }}
+ network_id: {{ netid }}
context:
{{ user_context(tenants_amount, users_amount, use_existing_users) }}
runner:
@@ -129,4 +138,5 @@
runner:
{{ constant_runner(concurrency=2*controllers_amount,times=10*controllers_amount, is_smoke=smoke) }}
sla:
- {{ no_failures_sla() }} \ No newline at end of file
+ {{ no_failures_sla() }}
+
diff --git a/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-keystone.yaml b/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-keystone.yaml
index a6a637fa2..50cbecff2 100644
--- a/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-keystone.yaml
+++ b/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-keystone.yaml
@@ -18,8 +18,6 @@
KeystoneBasic.create_and_list_tenants:
-
- args:
- name_length: 10
context:
{{ user_context(tenants_amount, users_amount, use_existing_users) }}
runner:
@@ -56,8 +54,6 @@
KeystoneBasic.create_update_and_delete_tenant:
-
- args:
- name_length: 10
context:
{{ user_context(tenants_amount, users_amount, use_existing_users) }}
runner:
@@ -67,8 +63,6 @@
KeystoneBasic.create_user:
-
- args:
- name_length: 10
runner:
{{ constant_runner(concurrency=2*controllers_amount,times=10*controllers_amount, is_smoke=smoke) }}
sla:
@@ -76,8 +70,6 @@
KeystoneBasic.create_tenant:
-
- args:
- name_length: 10
runner:
{{ constant_runner(concurrency=2*controllers_amount,times=10*controllers_amount, is_smoke=smoke) }}
sla:
@@ -85,8 +77,6 @@
KeystoneBasic.create_and_list_users:
-
- args:
- name_length: 10
runner:
{{ constant_runner(concurrency=2*controllers_amount,times=10*controllers_amount, is_smoke=smoke) }}
sla:
@@ -95,7 +85,6 @@
KeystoneBasic.create_tenant_with_users:
-
args:
- name_length: 10
users_per_tenant: 10
runner:
{{ constant_runner(concurrency=2*controllers_amount,times=10*controllers_amount, is_smoke=smoke) }}
diff --git a/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-neutron.yaml b/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-neutron.yaml
index 4f4a63329..152c748b3 100644
--- a/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-neutron.yaml
+++ b/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-neutron.yaml
@@ -21,6 +21,7 @@
ports_per_network: 1
context:
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
+ network: {}
quotas:
neutron:
network: -1
@@ -41,6 +42,7 @@
subnets_per_network: 1
context:
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
+ network: {}
quotas:
neutron:
network: -1
@@ -62,6 +64,7 @@
subnets_per_network: 1
context:
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
+ network: {}
quotas:
neutron:
network: -1
@@ -95,6 +98,7 @@
ports_per_network: 1
context:
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
+ network: {}
quotas:
neutron:
network: -1
@@ -115,6 +119,7 @@
subnets_per_network: 1
context:
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
+ network: {}
quotas:
neutron:
network: -1
@@ -135,6 +140,7 @@
subnets_per_network: 1
context:
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
+ network: {}
quotas:
neutron:
network: -1
@@ -151,7 +157,6 @@
network_create_args: {}
network_update_args:
admin_state_up: false
- name: "_updated"
context:
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
quotas:
@@ -172,10 +177,10 @@
admin_state_up: false
device_id: "dummy_id"
device_owner: "dummy_owner"
- name: "_port_updated"
ports_per_network: 1
context:
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
+ network: {}
quotas:
neutron:
network: -1
@@ -193,12 +198,12 @@
router_create_args: {}
router_update_args:
admin_state_up: false
- name: "_router_updated"
subnet_cidr_start: "1.1.0.0/30"
subnet_create_args: {}
subnets_per_network: 1
context:
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
+ network: {}
quotas:
neutron:
network: -1
@@ -219,10 +224,10 @@
subnet_create_args: {}
subnet_update_args:
enable_dhcp: false
- name: "_subnet_updated"
subnets_per_network: 1
context:
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
+ network: {}
quotas:
neutron:
network: -1
@@ -233,13 +238,3 @@
sla:
{{ no_failures_sla() }}
- Quotas.neutron_update:
- -
- args:
- max_quota: 1024
- context:
- {{ user_context(tenants_amount, users_amount, use_existing_users) }}
- runner:
- {{ constant_runner(concurrency=2*controllers_amount, times=10*controllers_amount, is_smoke=smoke) }}
- sla:
- {{ no_failures_sla() }} \ No newline at end of file
diff --git a/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-nova.yaml b/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-nova.yaml
index 76a337564..d4bddbd89 100644
--- a/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-nova.yaml
+++ b/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-nova.yaml
@@ -2,6 +2,9 @@
-
args:
{{ vm_params(image_name, flavor_name) }}
+ server_kwargs:
+ nics:
+ - net-id: {{ netid }}
context:
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
network:
@@ -53,6 +56,8 @@
-
rescue_unrescue: 1
{{ vm_params(image_name, flavor_name) }}
+ nics:
+ - net-id: {{ netid }}
context:
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
network:
@@ -71,6 +76,8 @@
-
args:
{{ vm_params(image_name, flavor_name) }}
+ nics:
+ - net-id: {{ netid }}
context:
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
network:
@@ -90,6 +97,8 @@
args:
detailed: true
{{ vm_params(image_name, flavor_name) }}
+ nics:
+ - net-id: {{ netid }}
context:
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
network:
@@ -112,6 +121,8 @@
name: {{ image_name }}
to_image:
name: {{ image_name }}
+ nics:
+ - net-id: {{ netid }}
context:
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
network:
@@ -131,6 +142,8 @@
args:
{{ vm_params(image_name, flavor_name) }}
volume_size: 5
+ nics:
+ - net-id: {{ netid }}
context:
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
network:
@@ -151,6 +164,8 @@
args:
{{ vm_params(image_name, flavor_name) }}
force_delete: false
+ nics:
+ - net-id: {{ netid }}
context:
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
network:
@@ -169,6 +184,8 @@
-
args:
{{ vm_params(image_name, flavor_name) }}
+ nics:
+ - net-id: {{ netid }}
context:
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
network:
@@ -189,10 +206,15 @@
{{ vm_params(image_name, flavor_name) }}
security_group_count: 10
rules_per_security_group: 10
+ nics:
+ - net-id: {{ netid }}
context:
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
network:
start_cidr: "100.1.0.0/25"
+ quotas:
+ {{ unlimited_nova() }}
+ {{ unlimited_neutron(secgroups=true) }}
{% endcall %}
runner:
{{ constant_runner(concurrency=2*controllers_amount, times=10*controllers_amount, is_smoke=smoke) }}
@@ -203,6 +225,8 @@
- args:
{{ vm_params(image_name, flavor_name) }}
block_migration: false
+ nics:
+ - net-id: {{ netid }}
context:
{{ user_context(tenants_amount, users_amount, use_existing_users) }}
runner:
@@ -213,6 +237,8 @@
NovaServers.boot_and_migrate_server:
- args:
{{ vm_params(image_name, flavor_name) }}
+ nics:
+ - net-id: {{ netid }}
context:
{{ user_context(tenants_amount, users_amount, use_existing_users) }}
runner:
@@ -225,6 +251,8 @@
args:
{{ vm_params(image_name, flavor_name) }}
volume_size: 10
+ nics:
+ - net-id: {{ netid }}
context:
{{ user_context(tenants_amount, users_amount, use_existing_users) }}
runner:
@@ -236,6 +264,8 @@
-
args:
{{ vm_params(image_name, flavor_name) }}
+ nics:
+ - net-id: {{ netid }}
context:
{{ user_context(tenants_amount, users_amount, use_existing_users) }}
runner:
@@ -249,6 +279,9 @@
{{ vm_params(image_name, flavor_name) }}
size: 10
block_migration: false
+ boot_server_kwargs:
+ nics:
+ - net-id: {{ netid }}
context:
{{ user_context(tenants_amount, users_amount, use_existing_users) }}
runner:
@@ -262,6 +295,8 @@
block_migration: false
volume_size: 10
force_delete: false
+ nics:
+ - net-id: {{ netid }}
context:
{{ user_context(tenants_amount, users_amount, use_existing_users) }}
runner:
@@ -275,7 +310,10 @@
security_group_count: 10
rules_per_security_group: 10
context:
- {{ user_context(tenants_amount, users_amount, use_existing_users) }}
+ {% call user_context(tenants_amount, users_amount, use_existing_users) %}
+ quotas:
+ {{ unlimited_neutron(secgroups=true) }}
+ {% endcall %}
runner:
{{ constant_runner(concurrency=2*controllers_amount, times=10*controllers_amount, is_smoke=smoke) }}
sla:
@@ -287,7 +325,10 @@
security_group_count: 10
rules_per_security_group: 10
context:
- {{ user_context(tenants_amount, users_amount, use_existing_users) }}
+ {% call user_context(tenants_amount, users_amount, use_existing_users) %}
+ quotas:
+ {{ unlimited_neutron(secgroups=true) }}
+ {% endcall %}
runner:
{{ constant_runner(concurrency=2*controllers_amount, times=10*controllers_amount, is_smoke=smoke) }}
sla:
@@ -302,6 +343,8 @@
servers:
{{ vm_params(image_name,flavor_name,none)|indent(2,true) }}
servers_per_tenant: 2
+ auto_assign_nic: true
+ network: {}
{% endcall %}
runner:
{{ constant_runner(concurrency=2*controllers_amount, times=10*controllers_amount, is_smoke=smoke) }}
@@ -316,6 +359,8 @@
name: "m1.small"
confirm: true
force_delete: false
+ nics:
+ - net-id: {{ netid }}
context:
{{ user_context(tenants_amount, users_amount, use_existing_users) }}
runner:
diff --git a/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-vm.yaml b/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-vm.yaml
index ae3230f54..17ce20ce1 100644
--- a/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-vm.yaml
+++ b/testcases/VIM/OpenStack/CI/rally_cert/scenario/opnfv-vm.yaml
@@ -4,9 +4,12 @@
{{ vm_params(image_name, flavor_name) }}
floating_network: {{ floating_network }}
force_delete: false
- interpreter: /bin/sh
- script: {{ sup_dir }}/instance_dd_test.sh
- username: admin
+ command:
+ interpreter: /bin/sh
+ script_file: {{ sup_dir }}/instance_dd_test.sh
+ username: cirros
+ nics:
+ - net-id: {{ netid }}
context:
{% call user_context(tenants_amount, users_amount, use_existing_users) %}
network: {}
@@ -16,17 +19,19 @@
sla:
{{ no_failures_sla() }}
- VMTasks.boot_runcommand_delete:
-
args:
{{ vm_params(image_name, flavor_name) }}
fixed_network: private
floating_network: {{ floating_network }}
force_delete: false
- interpreter: /bin/sh
- script: {{ sup_dir }}/instance_dd_test.sh
+ command:
+ interpreter: /bin/sh
+ script_file: {{ sup_dir }}/instance_dd_test.sh
use_floatingip: true
- username: admin
+ username: cirros
+ nics:
+ - net-id: {{ netid }}
volume_args:
size: 2
context:
diff --git a/testcases/VIM/OpenStack/CI/rally_cert/scenario/templates/server_with_volume.yaml.template b/testcases/VIM/OpenStack/CI/rally_cert/scenario/templates/server_with_volume.yaml.template
index 23c882714..826ca9dae 100644
--- a/testcases/VIM/OpenStack/CI/rally_cert/scenario/templates/server_with_volume.yaml.template
+++ b/testcases/VIM/OpenStack/CI/rally_cert/scenario/templates/server_with_volume.yaml.template
@@ -19,6 +19,8 @@ parameters:
constraints:
- range: { min: 1, max: 1024 }
description: must be between 1 and 1024 Gb.
+ network_id:
+ type: string
resources:
server:
@@ -26,6 +28,8 @@ resources:
properties:
image: {get_param: image}
flavor: {get_param: flavor}
+ networks:
+ - network: { get_param: network_id }
cinder_volume:
type: OS::Cinder::Volume
properties: