9fb64700d85c82e3eb661f950c416f8aa407b75f
[functest.git] / docker / healthcheck / testcases.yaml
1 ---
2 tiers:
3     -
4         name: healthcheck
5         order: 0
6         ci_loop: '(merge)|(verify)|(daily)|(weekly)'
7         description: >-
8             First tier to be executed to verify the basic
9             operations in the VIM.
10         testcases:
11             -
12                 case_name: connection_check
13                 project_name: functest
14                 criteria: 100
15                 blocking: true
16                 description: >-
17                     This test case verifies the retrieval of OpenStack clients:
18                     Keystone, Glance, Neutron and Nova and may perform some
19                     simple queries. When the config value of
20                     snaps.use_keystone is True, functest must have access to
21                     the cloud's private network.
22                 dependencies:
23                     installer: ''
24                     scenario: ''
25                 run:
26                     module:
27                         'functest.opnfv_tests.openstack.snaps.connection_check'
28                     class: 'ConnectionCheck'
29
30             -
31                 case_name: tenantnetwork1
32                 project_name: functest
33                 criteria: 100
34                 blocking: true
35                 description: >-
36                     It creates and configures all tenant network ressources
37                     required by advanced testcases (subnet, network and
38                     router).
39                 dependencies:
40                     installer: ''
41                     scenario: ''
42                 run:
43                     module: 'functest.core.tenantnetwork'
44                     class: 'TenantNetwork1'
45
46             -
47                 case_name: tenantnetwork2
48                 project_name: functest
49                 criteria: 100
50                 blocking: true
51                 description: >-
52                     It creates new user/project before creating and configuring
53                     all tenant network ressources required by a testcase
54                     (subnet, network and router).
55                 dependencies:
56                     installer: ''
57                     scenario: ''
58                 run:
59                     module: 'functest.core.tenantnetwork'
60                     class: 'TenantNetwork2'
61
62             -
63                 case_name: singlevm1
64                 project_name: functest
65                 criteria: 100
66                 blocking: true
67                 description: >-
68                     It inherits from TenantNetwork1 which creates all network
69                     resources and completes it by booting a VM attached to that
70                     network.
71                 dependencies:
72                     installer: ''
73                     scenario: ''
74                 run:
75                     module: 'functest.core.singlevm'
76                     class: 'SingleVm1'
77
78             -
79                 case_name: singlevm2
80                 project_name: functest
81                 criteria: 100
82                 blocking: true
83                 description: >-
84                     It creates new user/project before creating and configuring
85                     all tenant network ressources and vms required by advanced
86                     testcases.
87                 dependencies:
88                     installer: ''
89                     scenario: ''
90                 run:
91                     module: 'functest.core.singlevm'
92                     class: 'SingleVm2'
93
94             -
95                 case_name: api_check
96                 project_name: functest
97                 criteria: 100
98                 blocking: true
99                 description: >-
100                     This test case verifies the retrieval of OpenStack clients:
101                     Keystone, Glance, Neutron and Nova and may perform some
102                     simple queries. When the config value of
103                     snaps.use_keystone is True, functest must have access to
104                     the cloud's private network.
105                 dependencies:
106                     installer: ''
107                     scenario: '^((?!lxd).)*$'
108                 run:
109                     module: 'functest.opnfv_tests.openstack.snaps.api_check'
110                     class: 'ApiCheck'
111
112             -
113                 case_name: snaps_health_check
114                 project_name: functest
115                 criteria: 100
116                 blocking: true
117                 description: >-
118                     This test case creates executes the SimpleHealthCheck
119                     Python test class which creates an, image, flavor, network,
120                     and Cirros VM instance and observes the console output to
121                     validate the single port obtains the correct IP address.
122                 dependencies:
123                     installer: ''
124                     scenario: '^((?!lxd).)*$'
125                 run:
126                     module: 'functest.opnfv_tests.openstack.snaps.health_check'
127                     class: 'HealthCheck'