-
Notifications
You must be signed in to change notification settings - Fork 4
/
stf_functional_tests.yml
71 lines (62 loc) · 1.83 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
---
- name: "Check that collectd is running and generating any metrics"
hosts: overcloud_nodes
ignore_errors: true
become: true
tasks:
- name: "Update container_bin var"
tags:
- always
block:
- name: "Check for podman executable"
ansible.builtin.stat:
path: "/usr/bin/podman"
register: st_pod
- name: "Set container_bin=docker when podman isn't there"
ansible.builtin.set_fact:
container_bin: docker
when: not st_pod.stat.exists
- name: "Run collectd tests"
ansible.builtin.import_role:
name: 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"
ansible.builtin.import_role:
name: 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"
ansible.builtin.import_role:
name: client_side_tests
- name: "Test Collectd Sensubility"
ansible.builtin.import_role:
name: test_sensubility
- name: "Test Alerts"
ansible.builtin.import_role:
name: test_alerts
- name: "Test metrics retention"
ansible.builtin.import_role:
name: test_metrics_retention
- name: "Test snmp traps"
ansible.builtin.import_role:
name: test_snmp_traps
- name: " Test Attempt to send email alert"
ansible.builtin.import_role:
name: test_verify_email
tags:
- custom-stf-ceph
- stf-connectors-osp13-ffu
- gnocchi-connectors-swift