087ee9edc6c9eae03aeb1a611bc4646d45685749
[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: api_check
128                 project_name: functest
129                 criteria: 100
130                 blocking: true
131                 description: >-
132                     This test case verifies the retrieval of OpenStack clients:
133                     Keystone, Glance, Neutron and Nova and may perform some
134                     simple queries. When the config value of
135                     snaps.use_keystone is True, functest must have access to
136                     the cloud's private network.
137                 dependencies:
138                     installer: ''
139                     scenario: '^((?!lxd).)*$'
140                 run:
141                     module: 'functest.opnfv_tests.openstack.snaps.api_check'
142                     class: 'ApiCheck'
143
144             -
145                 case_name: snaps_health_check
146                 project_name: functest
147                 criteria: 100
148                 blocking: true
149                 description: >-
150                     This test case creates executes the SimpleHealthCheck
151                     Python test class which creates an, image, flavor, network,
152                     and Cirros VM instance and observes the console output to
153                     validate the single port obtains the correct IP address.
154                 dependencies:
155                     installer: ''
156                     scenario: '^((?!lxd).)*$'
157                 run:
158                     module: 'functest.opnfv_tests.openstack.snaps.health_check'
159                     class: 'HealthCheck'