X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=docker%2Fhealthcheck%2Ftestcases.yaml;h=c2a66494d76cec259a8510bdf272df0b7a042b84;hb=fc99158a3c2bc96c479b8292a44b147e6a5e4fbf;hp=dd26e769585aabcb8624f7db336bb63774b99e2a;hpb=e355279ae4615a5940c66e672b8ef1f582ba9703;p=functest.git diff --git a/docker/healthcheck/testcases.yaml b/docker/healthcheck/testcases.yaml index dd26e7695..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. @@ -17,13 +16,8 @@ tiers: This test case verifies the retrieval of OpenStack clients: Keystone, Glance, Neutron and Nova and may perform some simple queries. - dependencies: - installer: '' - scenario: '' run: - module: - 'functest.opnfv_tests.openstack.api.connection_check' - class: 'ConnectionCheck' + name: connection_check - case_name: tenantnetwork1 @@ -34,12 +28,8 @@ tiers: It creates and configures all tenant network ressources required by advanced testcases (subnet, network and router). - dependencies: - installer: '' - scenario: '' run: - module: 'functest.core.tenantnetwork' - class: 'TenantNetwork1' + name: tenantnetwork1 - case_name: tenantnetwork2 @@ -50,12 +40,8 @@ tiers: It creates new user/project before creating and configuring all tenant network ressources required by a testcase (subnet, network and router). - dependencies: - installer: '' - scenario: '' run: - module: 'functest.core.tenantnetwork' - class: 'TenantNetwork2' + name: tenantnetwork2 - case_name: vmready1 @@ -66,12 +52,8 @@ tiers: It inherits from TenantNetwork1 which creates all network resources and prepares a future VM attached to that network. - dependencies: - installer: '' - scenario: '' run: - module: 'functest.core.singlevm' - class: 'VmReady1' + name: vmready1 - case_name: vmready2 @@ -82,12 +64,8 @@ tiers: It creates new user/project before creating and configuring all tenant network ressources, flavors, images, etc. required by advanced testcases. - dependencies: - installer: '' - scenario: '' run: - module: 'functest.core.singlevm' - class: 'VmReady2' + name: vmready2 - case_name: singlevm1 @@ -98,12 +76,8 @@ tiers: It inherits from TenantNetwork1 which creates all network resources and completes it by booting a VM attached to that network. - dependencies: - installer: '' - scenario: '' run: - module: 'functest.core.singlevm' - class: 'SingleVm1' + name: singlevm1 - case_name: singlevm2 @@ -114,12 +88,8 @@ tiers: It creates new user/project before creating and configuring all tenant network ressources and vms required by advanced testcases. - dependencies: - installer: '' - scenario: '' run: - module: 'functest.core.singlevm' - class: 'SingleVm2' + name: singlevm2 - case_name: vping_ssh @@ -130,12 +100,8 @@ tiers: 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. - dependencies: - installer: '' - scenario: '^((?!lxd).)*$' run: - module: 'functest.opnfv_tests.openstack.vping.vping_ssh' - class: 'VPingSSH' + name: vping_ssh - case_name: vping_userdata @@ -145,13 +111,8 @@ tiers: description: >- This test case verifies: 1) Boot a VM with given userdata. 2) Connectivity between 2 instances over a private network. - dependencies: - installer: '' - scenario: '^((?!lxd).)*$' run: - module: - 'functest.opnfv_tests.openstack.vping.vping_userdata' - class: 'VPingUserdata' + name: vping_userdata - case_name: cinder_test @@ -163,12 +124,8 @@ tiers: instance; 2) Write data on volume 3) Detach volume from instance 1, attach it on instance 2 3) Read volume data - dependencies: - installer: '' - scenario: '^((?!lxd).)*$' run: - module: 'functest.opnfv_tests.openstack.cinder.cinder_test' - class: 'CinderCheck' + name: cinder_test - case_name: odl @@ -180,47 +137,43 @@ tiers: integrates some test suites from upstream using Robot as the test framework. dependencies: - installer: '' - scenario: 'odl' + - DEPLOY_SCENARIO: 'odl' run: - module: 'functest.opnfv_tests.sdn.odl.odl' - class: 'ODLTests' + name: odl args: suites: - /src/odl_test/csit/suites/integration/basic - /src/odl_test/csit/suites/openstack/neutron - - case_name: api_check + case_name: tempest_smoke project_name: functest criteria: 100 - blocking: true + blocking: false 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).)*$' + 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.opnfv_tests.openstack.snaps.api_check' - class: 'ApiCheck' + name: tempest_common + args: + mode: '(?=.*\[.*\bsmoke\b.*\])(^tempest\.api)' + option: + - '--concurrency=4' - - case_name: snaps_health_check + case_name: tempest_horizon project_name: functest criteria: 100 - blocking: true + blocking: false 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. + This test case runs the Tempest suite proposed by the + Horizon project. dependencies: - installer: '' - scenario: '^((?!lxd).)*$' + - DASHBOARD_URL: '^(?!\s*$).+' run: - module: 'functest.opnfv_tests.openstack.snaps.health_check' - class: 'HealthCheck' + name: tempest_horizon + args: + mode: '^tempest_horizon.'