Skip to content

Commit 6ea82ad

Browse files
authored
Merge branch 'master' into efoley/cr_tests_mark_one_optional
2 parents 98df69f + b240e82 commit 6ea82ad

File tree

5 files changed

+61
-3
lines changed

5 files changed

+61
-3
lines changed

.zuul.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
- "@{{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/telemetry-operator'].src_dir }}/ci/vars-autoscaling.yml"
7373
- "@{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/vars-metric-verification-test.yml"
7474
- "@{{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/telemetry-operator'].src_dir }}/ci/vars-power-monitoring.yml"
75+
- "@{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/vars-use-master-containers.yml"
7576
roles:
7677
- zuul: github.com/openstack-k8s-operators/ci-framework
7778
required-projects: *required_projects

ci/logging_tests_controller.yml

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
environment:
77
KUBECONFIG: "{{ cifmw_openshift_kubeconfig }}"
88
PATH: "{{ cifmw_path }}"
9+
vars_files:
10+
- vars/osp18_env.yml
911
vars:
1012
common_pod_test_id: "RHOSO-12672"
1113
common_pod_status_str: "Running"
@@ -23,6 +25,25 @@
2325
- openshift
2426
- openstack-operators
2527
- openshift-logging
28+
common_endpoint_test_id: "RHOSO-12682"
29+
common_endpoint_list:
30+
- [nova,compute,public]
31+
- [nova,compute,internal]
32+
- [placement,placement,public]
33+
- [placement,placement,internal]
34+
- [swift,object-store,public]
35+
- [swift,object-store,internal]
36+
- [cinderv3,volumev3,public]
37+
- [cinderv3,volumev3,internal]
38+
- [barbican,key-manager,public]
39+
- [barbican,key-manager,internal]
40+
- [keystone,identity,public]
41+
- [keystone,identity,internal]
42+
- [glance,image,public]
43+
- [glance,image,internal]
44+
- [neutron,network,public]
45+
- [neutron,network,internal]
46+
2647
common_service_test_id: "RHOSO-12675"
2748
common_service_nspace: openshift-logging
2849
common_service_list:
@@ -143,7 +164,22 @@
143164
common_pod_nspace: openstack
144165
common_pod_status_str: "Completed"
145166
common_pod_list:
167+
- bootstrap-edpm-deployment-openstack-edpm-ipam
168+
- configure-network-edpm-deployment-openstack-edpm-ipam
169+
- configure-os-edpm-deployment-openstack-edpm-ipam
170+
- download-cache-edpm-deployment-openstack-edpm-ipam
171+
- install-certs-edpm-deployment-openstack-edpm-ipam
172+
- install-os-edpm-deployment-openstack-edpm-ipam
173+
- libvirt-edpm-deployment-openstack-edpm-ipam
146174
- logging-edpm-deployment-openstack-edpm-ipam
175+
- neutron-metadata-edpm-deployment-openstack-edpm-ipam
176+
- nova-edpm-deployment-openstack-edpm-ipam
177+
- ovn-edpm-deployment-openstack-edpm-ipam
178+
- reboot-os-edpm-deployment-openstack-edpm-ipam
179+
- run-os-edpm-deployment-openstack-edpm-ipam
180+
- ssh-known-hosts-edpm-deployment
181+
- telemetry-edpm-deployment-openstack-edpm-ipam
182+
- validate-network-edpm-deployment-openstack-edpm-ipam
147183
tasks:
148184
- name: "Run pods completed tests"
149185
ansible.builtin.import_role:
@@ -157,13 +193,20 @@
157193
KUBECONFIG: "{{ cifmw_openshift_kubeconfig }}"
158194
PATH: "{{ cifmw_path }}"
159195
vars:
196+
common_service_test_id: "RHOSO-12749"
197+
common_service_nspace: openstack
198+
common_service_list:
199+
- nova-internal
200+
- nova-metadata-internal
201+
- nova-novncproxy-cell1-public
202+
- nova-public
160203
common_crd_test_id: "RHOSO-12670"
161204
common_crd_list:
162205
- alertingrules.loki.grafana.com
163206
- lokistacks.loki.grafana.com
164207
- recordingrules.loki.grafana.com
165208
- rulerconfigs.loki.grafana.com
166209
tasks:
167-
- name: "Run the crds tests"
210+
- name: "Run Services and CRD tests"
168211
ansible.builtin.import_role:
169212
name: common

roles/common/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ For endpoint_tests.yml tasks:
5858
- polarion ID number for each test.
5959
common_endpoint_list
6060
- list of endpoints to validate
61-
61+
openstack_cmd
62+
- The command used to run openstack
6263

6364
For project_tests.yml tasks:
6465

roles/common/defaults/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
openstack_cmd: "openstack"

roles/telemetry_verify_metrics/tasks/verify_ceilometer_compute_metrics.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
failed_when: result.rc >= 1
5353

5454
- name: |
55-
TEST Use openstack observabilityclient to verify ceilometer compute metrics are stored in prometheus
55+
TEST Use openstack observabilityclient to verify ceilometer_cpu compute metrics are stored in prometheus
5656
RHOSO-1213
5757
ansible.builtin.shell: |
5858
{{ openstack_cmd }} metric show ceilometer_cpu
@@ -62,6 +62,17 @@
6262
until: result.rc == 0 and "ceilometer_cpu" in result.stdout
6363
changed_when: false
6464
65+
#todo: Create Test Id in Polarian
66+
- name: |
67+
TEST Use openstack observabilityclient to verify ceilometer_power_state compute metrics are stored in prometheus
68+
ansible.builtin.shell: |
69+
{{ openstack_cmd }} metric show ceilometer_power_state
70+
register: result
71+
delay: 30
72+
retries: 10
73+
until: result.rc == 0 and "ceilometer_power_state" in result.stdout
74+
changed_when: false
75+
6576
always:
6677
- name: Delete the server
6778
ansible.builtin.shell: |

0 commit comments

Comments
 (0)