X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=docker%2Fhealthcheck%2Ftestcases.yaml;h=c2a66494d76cec259a8510bdf272df0b7a042b84;hb=fc99158a3c2bc96c479b8292a44b147e6a5e4fbf;hp=14d353dc162e4287375aad625bfe877365ca2d0a;hpb=979161874ba837f55a53aba391966c52433123e6;p=functest.git diff --git a/docker/healthcheck/testcases.yaml b/docker/healthcheck/testcases.yaml index 14d353dc1..c2a66494d 100644 --- a/docker/healthcheck/testcases.yaml +++ b/docker/healthcheck/testcases.yaml @@ -3,7 +3,6 @@ tiers: - name: healthcheck order: 0 - ci_loop: '(merge)|(verify)|(daily)|(weekly)' description: >- First tier to be executed to verify the basic operations in the VIM. @@ -16,80 +15,165 @@ tiers: description: >- This test case verifies the retrieval of OpenStack clients: Keystone, Glance, Neutron and Nova and may perform some - simple queries. When the config value of - snaps.use_keystone is True, functest must have access to - the cloud's private network. - dependencies: - installer: '' - scenario: '' + simple queries. run: - module: - 'functest.opnfv_tests.openstack.snaps.connection_check' - class: 'ConnectionCheck' + name: connection_check - - case_name: api_check + case_name: tenantnetwork1 project_name: functest criteria: 100 blocking: true description: >- - This test case verifies the retrieval of OpenStack clients: - Keystone, Glance, Neutron and Nova and may perform some - simple queries. When the config value of - snaps.use_keystone is True, functest must have access to - the cloud's private network. - dependencies: - installer: '' - scenario: '^((?!lxd).)*$' + It creates and configures all tenant network ressources + required by advanced testcases (subnet, network and + router). + run: + name: tenantnetwork1 + + - + case_name: tenantnetwork2 + project_name: functest + criteria: 100 + blocking: true + description: >- + It creates new user/project before creating and configuring + all tenant network ressources required by a testcase + (subnet, network and router). + run: + name: tenantnetwork2 + + - + case_name: vmready1 + project_name: functest + criteria: 100 + blocking: true + description: >- + It inherits from TenantNetwork1 which creates all network + resources and prepares a future VM attached to that + network. + run: + name: vmready1 + + - + case_name: vmready2 + project_name: functest + criteria: 100 + blocking: true + description: >- + It creates new user/project before creating and configuring + all tenant network ressources, flavors, images, etc. + required by advanced testcases. run: - module: 'functest.opnfv_tests.openstack.snaps.api_check' - class: 'ApiCheck' + name: vmready2 - - case_name: snaps_health_check + case_name: singlevm1 project_name: functest criteria: 100 blocking: true description: >- - This test case creates executes the SimpleHealthCheck - Python test class which creates an, image, flavor, network, - and Cirros VM instance and observes the console output to - validate the single port obtains the correct IP address. + It inherits from TenantNetwork1 which creates all network + resources and completes it by booting a VM attached to that + network. + run: + name: singlevm1 + + - + case_name: singlevm2 + project_name: functest + criteria: 100 + blocking: true + description: >- + It creates new user/project before creating and configuring + all tenant network ressources and vms required by advanced + testcases. + run: + name: singlevm2 + + - + case_name: vping_ssh + project_name: functest + criteria: 100 + blocking: true + description: >- + This test case verifies: 1) SSH to an instance using + floating IPs over the public network. 2) Connectivity + between 2 instances over a private network. + run: + name: vping_ssh + + - + case_name: vping_userdata + project_name: functest + criteria: 100 + blocking: true + description: >- + This test case verifies: 1) Boot a VM with given userdata. + 2) Connectivity between 2 instances over a private network. + run: + name: vping_userdata + + - + case_name: cinder_test + project_name: functest + criteria: 100 + blocking: true + description: >- + This test case verifies: 1) Attach volume and to 1 + instance; 2) Write data on volume 3) Detach volume + from instance 1, attach it on instance 2 3) Read volume + data + run: + name: cinder_test + + - + case_name: odl + project_name: functest + criteria: 100 + blocking: true + description: >- + Test Suite for the OpenDaylight SDN Controller. It + integrates some test suites from upstream using + Robot as the test framework. dependencies: - installer: '' - scenario: '^((?!lxd).)*$' + - DEPLOY_SCENARIO: 'odl' run: - module: 'functest.opnfv_tests.openstack.snaps.health_check' - class: 'HealthCheck' + name: odl + args: + suites: + - /src/odl_test/csit/suites/integration/basic + - /src/odl_test/csit/suites/openstack/neutron - - case_name: tenantnetwork1 + case_name: tempest_smoke project_name: functest criteria: 100 blocking: false description: >- - It creates and configures all tenant network ressources - required by advanced testcases (subnet, network and - router). - dependencies: - installer: '' - scenario: '' + This test case runs the smoke subset of the OpenStack + Tempest suite. The list of test cases is generated by + Tempest automatically and depends on the parameters of + the OpenStack deplopyment. + https://github.com/openstack/tempest/blob/18.0.0/tox.ini#L114 run: - module: 'functest.core.tenantnetwork' - class: 'TenantNetwork1' + name: tempest_common + args: + mode: '(?=.*\[.*\bsmoke\b.*\])(^tempest\.api)' + option: + - '--concurrency=4' - - case_name: tenantnetwork2 + case_name: tempest_horizon project_name: functest criteria: 100 blocking: false description: >- - It creates new user/project before creating and configuring - all tenant network ressources required by a testcase - (subnet, network and router). + This test case runs the Tempest suite proposed by the + Horizon project. dependencies: - installer: '' - scenario: '' + - DASHBOARD_URL: '^(?!\s*$).+' run: - module: 'functest.core.tenantnetwork' - class: 'TenantNetwork2' + name: tempest_horizon + args: + mode: '^tempest_horizon.'