Move odl into healthcheck
[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.
20                 dependencies:
21                     installer: ''
22                     scenario: ''
23                 run:
24                     module:
25                         'functest.opnfv_tests.openstack.api.connection_check'
26                     class: 'ConnectionCheck'
27
28             -
29                 case_name: tenantnetwork1
30                 project_name: functest
31                 criteria: 100
32                 blocking: true
33                 description: >-
34                     It creates and configures all tenant network ressources
35                     required by advanced testcases (subnet, network and
36                     router).
37                 dependencies:
38                     installer: ''
39                     scenario: ''
40                 run:
41                     module: 'functest.core.tenantnetwork'
42                     class: 'TenantNetwork1'
43
44             -
45                 case_name: tenantnetwork2
46                 project_name: functest
47                 criteria: 100
48                 blocking: true
49                 description: >-
50                     It creates new user/project before creating and configuring
51                     all tenant network ressources required by a testcase
52                     (subnet, network and router).
53                 dependencies:
54                     installer: ''
55                     scenario: ''
56                 run:
57                     module: 'functest.core.tenantnetwork'
58                     class: 'TenantNetwork2'
59
60             -
61                 case_name: vmready1
62                 project_name: functest
63                 criteria: 100
64                 blocking: true
65                 description: >-
66                     It inherits from TenantNetwork1 which creates all network
67                     resources and prepares a future VM attached to that
68                     network.
69                 dependencies:
70                     installer: ''
71                     scenario: ''
72                 run:
73                     module: 'functest.core.singlevm'
74                     class: 'VmReady1'
75
76             -
77                 case_name: vmready2
78                 project_name: functest
79                 criteria: 100
80                 blocking: true
81                 description: >-
82                     It creates new user/project before creating and configuring
83                     all tenant network ressources, flavors, images, etc.
84                     required by advanced testcases.
85                 dependencies:
86                     installer: ''
87                     scenario: ''
88                 run:
89                     module: 'functest.core.singlevm'
90                     class: 'VmReady2'
91
92             -
93                 case_name: singlevm1
94                 project_name: functest
95                 criteria: 100
96                 blocking: true
97                 description: >-
98                     It inherits from TenantNetwork1 which creates all network
99                     resources and completes it by booting a VM attached to that
100                     network.
101                 dependencies:
102                     installer: ''
103                     scenario: ''
104                 run:
105                     module: 'functest.core.singlevm'
106                     class: 'SingleVm1'
107
108             -
109                 case_name: singlevm2
110                 project_name: functest
111                 criteria: 100
112                 blocking: true
113                 description: >-
114                     It creates new user/project before creating and configuring
115                     all tenant network ressources and vms required by advanced
116                     testcases.
117                 dependencies:
118                     installer: ''
119                     scenario: ''
120                 run:
121                     module: 'functest.core.singlevm'
122                     class: 'SingleVm2'
123
124             -
125                 case_name: vping_ssh
126                 project_name: functest
127                 criteria: 100
128                 blocking: true
129                 description: >-
130                     This test case verifies: 1) SSH to an instance using
131                     floating IPs over the public network. 2) Connectivity
132                     between 2 instances over a private network.
133                 dependencies:
134                     installer: ''
135                     scenario: '^((?!lxd).)*$'
136                 run:
137                     module: 'functest.opnfv_tests.openstack.vping.vping_ssh'
138                     class: 'VPingSSH'
139
140             -
141                 case_name: vping_userdata
142                 project_name: functest
143                 criteria: 100
144                 blocking: true
145                 description: >-
146                     This test case verifies:  1) Boot a VM with given userdata.
147                     2) Connectivity between 2 instances over a private network.
148                 dependencies:
149                     installer: ''
150                     scenario: '^((?!lxd).)*$'
151                 run:
152                     module:
153                         'functest.opnfv_tests.openstack.vping.vping_userdata'
154                     class: 'VPingUserdata'
155
156             -
157                 case_name: cinder_test
158                 project_name: functest
159                 criteria: 100
160                 blocking: true
161                 description: >-
162                     This test case verifies: 1) Attach volume and to 1
163                     instance; 2) Write data on volume 3) Detach volume
164                     from instance 1, attach it on instance 2 3) Read volume
165                     data
166                 dependencies:
167                     installer: ''
168                     scenario: '^((?!lxd).)*$'
169                 run:
170                     module: 'functest.opnfv_tests.openstack.cinder.cinder_test'
171                     class: 'CinderCheck'
172
173             -
174                 case_name: odl
175                 project_name: functest
176                 criteria: 100
177                 blocking: true
178                 description: >-
179                     Test Suite for the OpenDaylight SDN Controller. It
180                     integrates some test suites from upstream using
181                     Robot as the test framework.
182                 dependencies:
183                     installer: ''
184                     scenario: 'odl'
185                 run:
186                     module: 'functest.opnfv_tests.sdn.odl.odl'
187                     class: 'ODLTests'
188                     args:
189                         suites:
190                             - /src/odl_test/csit/suites/integration/basic
191                             - /src/odl_test/csit/suites/openstack/neutron
192
193             -
194                 case_name: api_check
195                 project_name: functest
196                 criteria: 100
197                 blocking: true
198                 description: >-
199                     This test case verifies the retrieval of OpenStack clients:
200                     Keystone, Glance, Neutron and Nova and may perform some
201                     simple queries. When the config value of
202                     snaps.use_keystone is True, functest must have access to
203                     the cloud's private network.
204                 dependencies:
205                     installer: ''
206                     scenario: '^((?!lxd).)*$'
207                 run:
208                     module: 'functest.opnfv_tests.openstack.snaps.api_check'
209                     class: 'ApiCheck'
210
211             -
212                 case_name: snaps_health_check
213                 project_name: functest
214                 criteria: 100
215                 blocking: true
216                 description: >-
217                     This test case creates executes the SimpleHealthCheck
218                     Python test class which creates an, image, flavor, network,
219                     and Cirros VM instance and observes the console output to
220                     validate the single port obtains the correct IP address.
221                 dependencies:
222                     installer: ''
223                     scenario: '^((?!lxd).)*$'
224                 run:
225                     module: 'functest.opnfv_tests.openstack.snaps.health_check'
226                     class: 'HealthCheck'