12dc7d298a619ddc1511da67114bcfd42b84614d
[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: vmready1
64                 project_name: functest
65                 criteria: 100
66                 blocking: true
67                 description: >-
68                     It inherits from TenantNetwork1 which creates all network
69                     resources and prepares a future VM attached to that
70                     network.
71                 dependencies:
72                     installer: ''
73                     scenario: ''
74                 run:
75                     module: 'functest.core.singlevm'
76                     class: 'VmReady1'
77
78             -
79                 case_name: vmready2
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, flavors, images, etc.
86                     required by advanced testcases.
87                 dependencies:
88                     installer: ''
89                     scenario: ''
90                 run:
91                     module: 'functest.core.singlevm'
92                     class: 'VmReady2'
93
94             -
95                 case_name: singlevm1
96                 project_name: functest
97                 criteria: 100
98                 blocking: true
99                 description: >-
100                     It inherits from TenantNetwork1 which creates all network
101                     resources and completes it by booting a VM attached to that
102                     network.
103                 dependencies:
104                     installer: ''
105                     scenario: ''
106                 run:
107                     module: 'functest.core.singlevm'
108                     class: 'SingleVm1'
109
110             -
111                 case_name: singlevm2
112                 project_name: functest
113                 criteria: 100
114                 blocking: true
115                 description: >-
116                     It creates new user/project before creating and configuring
117                     all tenant network ressources and vms required by advanced
118                     testcases.
119                 dependencies:
120                     installer: ''
121                     scenario: ''
122                 run:
123                     module: 'functest.core.singlevm'
124                     class: 'SingleVm2'
125
126             -
127                 case_name: vping_ssh
128                 project_name: functest
129                 criteria: 100
130                 blocking: true
131                 description: >-
132                     This test case verifies: 1) SSH to an instance using
133                     floating IPs over the public network. 2) Connectivity
134                     between 2 instances over a private network.
135                 dependencies:
136                     installer: ''
137                     scenario: '^((?!lxd).)*$'
138                 run:
139                     module: 'functest.opnfv_tests.openstack.vping.vping_ssh'
140                     class: 'VPingSSH'
141
142             -
143                 case_name: vping_userdata
144                 project_name: functest
145                 criteria: 100
146                 blocking: true
147                 description: >-
148                     This test case verifies:  1) Boot a VM with given userdata.
149                     2) Connectivity between 2 instances over a private network.
150                 dependencies:
151                     installer: ''
152                     scenario: '^((?!lxd).)*$'
153                 run:
154                     module:
155                         'functest.opnfv_tests.openstack.vping.vping_userdata'
156                     class: 'VPingUserdata'
157
158             -
159                 case_name: cinder_test
160                 project_name: functest
161                 criteria: 100
162                 blocking: true
163                 description: >-
164                     This test case verifies: 1) Attach volume and to 1
165                     instance; 2) Write data on volume 3) Detach volume
166                     from instance 1, attach it on instance 2 3) Read volume
167                     data
168                 dependencies:
169                     installer: ''
170                     scenario: '^((?!lxd).)*$'
171                 run:
172                     module: 'functest.opnfv_tests.openstack.cinder.cinder_test'
173                     class: 'CinderCheck'
174
175             -
176                 case_name: api_check
177                 project_name: functest
178                 criteria: 100
179                 blocking: true
180                 description: >-
181                     This test case verifies the retrieval of OpenStack clients:
182                     Keystone, Glance, Neutron and Nova and may perform some
183                     simple queries. When the config value of
184                     snaps.use_keystone is True, functest must have access to
185                     the cloud's private network.
186                 dependencies:
187                     installer: ''
188                     scenario: '^((?!lxd).)*$'
189                 run:
190                     module: 'functest.opnfv_tests.openstack.snaps.api_check'
191                     class: 'ApiCheck'
192
193             -
194                 case_name: snaps_health_check
195                 project_name: functest
196                 criteria: 100
197                 blocking: true
198                 description: >-
199                     This test case creates executes the SimpleHealthCheck
200                     Python test class which creates an, image, flavor, network,
201                     and Cirros VM instance and observes the console output to
202                     validate the single port obtains the correct IP address.
203                 dependencies:
204                     installer: ''
205                     scenario: '^((?!lxd).)*$'
206                 run:
207                     module: 'functest.opnfv_tests.openstack.snaps.health_check'
208                     class: 'HealthCheck'