Configure dashboard.dashboard_url if tempest_slow
[functest.git] / docker / healthcheck / testcases.yaml
1 ---
2 tiers:
3     -
4         name: healthcheck
5         description: >-
6             First tier to be executed to verify the basic
7             operations in the VIM.
8         testcases:
9             -
10                 case_name: connection_check
11                 project_name: functest
12                 criteria: 100
13                 blocking: true
14                 description: >-
15                     This test case verifies the retrieval of OpenStack clients:
16                     Keystone, Glance, Neutron and Nova and may perform some
17                     simple queries.
18                 run:
19                     name: connection_check
20
21             -
22                 case_name: tenantnetwork1
23                 project_name: functest
24                 criteria: 100
25                 blocking: true
26                 description: >-
27                     It creates and configures all tenant network ressources
28                     required by advanced testcases (subnet, network and
29                     router).
30                 dependencies:
31                     - NO_TENANT_NETWORK: '^(?![tT]rue$)'
32                 run:
33                     name: tenantnetwork1
34
35             -
36                 case_name: tenantnetwork2
37                 project_name: functest
38                 criteria: 100
39                 blocking: true
40                 description: >-
41                     It creates new user/project before creating and configuring
42                     all tenant network ressources required by a testcase
43                     (subnet, network and router).
44                 dependencies:
45                     - NO_TENANT_NETWORK: '^(?![tT]rue$)'
46                 run:
47                     name: tenantnetwork2
48
49             -
50                 case_name: vmready1
51                 project_name: functest
52                 criteria: 100
53                 blocking: true
54                 description: >-
55                     It inherits from TenantNetwork1 which creates all network
56                     resources and prepares a future VM attached to that
57                     network.
58                 run:
59                     name: vmready1
60
61             -
62                 case_name: vmready2
63                 project_name: functest
64                 criteria: 100
65                 blocking: true
66                 description: >-
67                     It creates new user/project before creating and configuring
68                     all tenant network ressources, flavors, images, etc.
69                     required by advanced testcases.
70                 run:
71                     name: vmready2
72
73             -
74                 case_name: singlevm1
75                 project_name: functest
76                 criteria: 100
77                 blocking: true
78                 description: >-
79                     It inherits from TenantNetwork1 which creates all network
80                     resources and completes it by booting a VM attached to that
81                     network.
82                 run:
83                     name: singlevm1
84
85             -
86                 case_name: singlevm2
87                 project_name: functest
88                 criteria: 100
89                 blocking: true
90                 description: >-
91                     It creates new user/project before creating and configuring
92                     all tenant network ressources and vms required by advanced
93                     testcases.
94                 run:
95                     name: singlevm2
96
97             -
98                 case_name: vping_ssh
99                 project_name: functest
100                 criteria: 100
101                 blocking: true
102                 description: >-
103                     This test case verifies: 1) SSH to an instance using
104                     floating IPs over the public network. 2) Connectivity
105                     between 2 instances over a private network.
106                 run:
107                     name: vping_ssh
108
109             -
110                 case_name: vping_userdata
111                 project_name: functest
112                 criteria: 100
113                 blocking: true
114                 description: >-
115                     This test case verifies:  1) Boot a VM with given userdata.
116                     2) Connectivity between 2 instances over a private network.
117                 run:
118                     name: vping_userdata
119
120             -
121                 case_name: cinder_test
122                 project_name: functest
123                 criteria: 100
124                 blocking: true
125                 description: >-
126                     This test case verifies: 1) Attach volume and to 1
127                     instance; 2) Write data on volume 3) Detach volume
128                     from instance 1, attach it on instance 2 3) Read volume
129                     data
130                 run:
131                     name: cinder_test
132
133             -
134                 case_name: odl
135                 project_name: functest
136                 criteria: 100
137                 blocking: true
138                 description: >-
139                     Test Suite for the OpenDaylight SDN Controller. It
140                     integrates some test suites from upstream using
141                     Robot as the test framework.
142                 dependencies:
143                     - DEPLOY_SCENARIO: 'odl'
144                 run:
145                     name: odl
146                     args:
147                         suites:
148                             - /src/odl_test/csit/suites/integration/basic
149                             - /src/odl_test/csit/suites/openstack/neutron
150
151             -
152                 case_name: tempest_smoke
153                 project_name: functest
154                 criteria: 100
155                 blocking: false
156                 description: >-
157                     This test case runs the smoke subset of the OpenStack
158                     Tempest suite. The list of test cases is generated by
159                     Tempest automatically and depends on the parameters of
160                     the OpenStack deplopyment.
161                     https://github.com/openstack/tempest/blob/18.0.0/tox.ini#L114
162                 run:
163                     name: tempest_common
164                     args:
165                         mode: '(?=.*\[.*\bsmoke\b.*\])(^tempest\.api)'
166                         option:
167                             - '--concurrency=4'
168
169             -
170                 case_name: tempest_horizon
171                 project_name: functest
172                 criteria: 100
173                 blocking: false
174                 description: >-
175                     This test case runs the Tempest suite proposed by the
176                     Horizon project.
177                 dependencies:
178                     - DASHBOARD_URL: '^(?!\s*$).+'
179                 run:
180                     name: tempest_common
181                     args:
182                         mode: '^tempest.scenario.test_dashboard_basic_ops.'