forked from infrawatch/feature-verification-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stf_functional_tests.yml
79 lines (71 loc) · 1.92 KB
/
stf_functional_tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
---
- name: "Check that collectd is running and generating any metrics"
hosts: overcloud_nodes
ignore_errors: true
become: true
tasks:
- name: "Import the client_side tests to load default vars"
import_role:
name: client_side_tests
tags:
- always
- name: "Update container_bin var"
tags:
- always
block:
- name: "Check for podman executable"
stat:
path: "/usr/bin/podman"
register: st_pod
- name: "Set container_bin=docker when podman isn't there"
set_fact:
container_bin: docker
when: not st_pod.stat.exists
- name: "Run collectd tests"
import_role:
name: client_side_tests
tasks_from: test_collectd
tags:
- custom-stf-ceph
- custom-stf-ceph-osp13
- stf-connectors-osp13
- stf-connectors-osp13-ffu
- gnocchi-connectors-swift
- name: "Run metrics_qdr tests"
import_role:
name: client_side_tests
tasks_from: test_qdr
tags:
- custom-stf-ceph
- custom-stf-ceph-osp13
- stf-connectors-osp13
- stf-connectors-osp13-ffu
- gnocchi-connectors-swift
- name: "Run e2e tests"
hosts: stf
ignore_errors: true
tasks:
- name: "Run collectd Prometheus queries"
import_role:
name: client_side_tests
tasks_from: test_e2e
- name: "Test Alerts"
import_role:
name: test_alerts
tasks_from: first_test
- name: "Test metrics retention"
import_role:
name: test_metrics_retention
- name: "Test snmpTraps"
import_role:
name: test_snmpTraps
- name: "Test HA"
import_role:
name: "test_ha"
- name: "Test observabilityStrategy"
import_role:
name: test_observabilityStrategy
tags:
- custom-stf-ceph
- stf-connectors-osp13-ffu
- gnocchi-connectors-swift