-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'origin/master' into efoley_custom_junit_update_configur…
…ation_options
- Loading branch information
Showing
22 changed files
with
614 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
- name: Run the compute node tests | ||
ansible.builtin.import_playbook: logging_tests_computes.yml | ||
|
||
- name: Run the controller tests | ||
ansible.builtin.import_playbook: logging_tests_controller.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,132 @@ | ||
--- | ||
- name: "Verify logging projects, endpoints, credentials, nodes, pods, services, manifests and subscriptions" | ||
hosts: controller | ||
gather_facts: no | ||
ignore_errors: true | ||
environment: | ||
KUBECONFIG: "{{ cifmw_openshift_kubeconfig }}" | ||
PATH: "{{ cifmw_path }}" | ||
vars: | ||
common_pod_test_id: "RHOS0-12672" | ||
common_pod_status_str: "Running" | ||
common_pod_nspace: openstack-operators | ||
common_pod_list: | ||
- telemetry-operator-controller-manager | ||
- dataplane-operator-controller-manager | ||
common_project_test_id: "RHOSO-12668" | ||
common_project_list: | ||
- openshift-openstack-infra | ||
- openshift | ||
- openstack-operators | ||
- openshift-logging | ||
tasks: | ||
- name: "Verify projects exist" | ||
ansible.builtin.import_role: | ||
name: common | ||
|
||
|
||
- name: "Verify logging pods are running in openstack" | ||
hosts: controller | ||
gather_facts: no | ||
ignore_errors: true | ||
environment: | ||
KUBECONFIG: "{{ cifmw_openshift_kubeconfig }}" | ||
PATH: "{{ cifmw_path }}" | ||
vars: | ||
common_pod_test_id: "RHOSO-12752" | ||
common_pod_status_str: "Running" | ||
common_pod_nspace: openstack | ||
common_pod_list: | ||
- openstackclient | ||
tasks: | ||
- name: "Verify Running Pods" | ||
ansible.builtin.import_role: | ||
name: common | ||
|
||
|
||
- name: "Verify logging pods are running in openshift-operators-redhat" | ||
hosts: controller | ||
gather_facts: no | ||
ignore_errors: true | ||
environment: | ||
KUBECONFIG: "{{ cifmw_openshift_kubeconfig }}" | ||
PATH: "{{ cifmw_path }}" | ||
vars: | ||
common_pod_test_id: "RHOSO-12673" | ||
common_pod_status_str: "Running" | ||
common_pod_nspace: openshift-operators-redhat | ||
common_pod_list: | ||
- loki-operator-controller-manager | ||
|
||
tasks: | ||
- name: "Verify Pods running" | ||
ansible.builtin.import_role: | ||
name: common | ||
|
||
- name: "Verify logging pods are running in openshift-logging" | ||
hosts: controller | ||
gather_facts: no | ||
ignore_errors: true | ||
environment: | ||
KUBECONFIG: "{{ cifmw_openshift_kubeconfig }}" | ||
PATH: "{{ cifmw_path }}" | ||
vars: | ||
common_pod_test_id: "RHOSO-12676" | ||
common_pod_status_str: "Running" | ||
common_pod_nspace: openshift-logging | ||
common_pod_list: | ||
- cluster-logging-operator | ||
- collector | ||
- logging-loki-compactor | ||
- logging-loki-distributor | ||
#- logging-loki-gateway | ||
- logging-loki-index-gateway | ||
- logging-loki-ingester | ||
- logging-loki-querier | ||
- logging-loki-query-frontend | ||
- logging-view-plugin | ||
|
||
### see JIRA LOG-5431 if pods not running | ||
tasks: | ||
- name: "Verify Pods running" | ||
ansible.builtin.import_role: | ||
name: common | ||
|
||
- name: "Verify logging pods are running in minio-dev" | ||
hosts: controller | ||
gather_facts: no | ||
ignore_errors: true | ||
environment: | ||
KUBECONFIG: "{{ cifmw_openshift_kubeconfig }}" | ||
PATH: "{{ cifmw_path }}" | ||
vars: | ||
common_pod_test_id: "RHOSO-12674" | ||
common_pod_status_str: "Running" | ||
common_pod_nspace: minio-dev | ||
common_pod_list: | ||
- minio | ||
|
||
tasks: | ||
- name: "Run pod running tests" | ||
ansible.builtin.import_role: | ||
name: common | ||
|
||
|
||
- name: "Verify logging pods have complete status in openstack" | ||
hosts: controller | ||
gather_facts: no | ||
ignore_errors: true | ||
environment: | ||
KUBECONFIG: "{{ cifmw_openshift_kubeconfig }}" | ||
PATH: "{{ cifmw_path }}" | ||
vars: | ||
common_pod_test_id: "RHOSO-12679" | ||
common_pod_nspace: openstack | ||
common_pod_status_str: "Completed" | ||
common_pod_list: | ||
- logging-edpm-deployment-openstack-edpm-ipam | ||
tasks: | ||
- name: "Run pods completed tests" | ||
ansible.builtin.import_role: | ||
name: common | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
- name: "Run functional test playbooks" | ||
hosts: "{{ cifmw_target_hook_host | default('localhost') }}" | ||
gather_facts: true | ||
environment: | ||
KUBECONFIG: "{{ cifmw_openshift_kubeconfig }}" | ||
PATH: "{{ cifmw_path }}" | ||
vars_files: | ||
- vars/common.yml | ||
tasks: | ||
- block: | ||
- name: "Enable Graphing" | ||
ansible.builtin.shell: | ||
cmd: | | ||
oc patch oscp/controlplane --type='json' -p '[{"op": "replace", "path": "/spec/telemetry/template/metricStorage/dashboardsEnabled", "value":true}]' | ||
register: oscp_change | ||
changed_when: false | ||
|
||
- name: Wait until the oscp is resolved the changes to continue | ||
ansible.builtin.shell: | ||
cmd: | | ||
oc get oscp | grep "Setup complete" | ||
retries: 24 | ||
timeout: 5 | ||
until: output.stdout_lines | length == 1 | ||
register: output | ||
|
||
- name: "Run Graphing Console UI tests" | ||
ansible.builtin.import_role: | ||
name: telemetry_graphing | ||
ignore_errors: true | ||
|
||
always: | ||
- name: "Revert the oscp/controlplane change" | ||
ansible.builtin.shell: | ||
cmd: | | ||
oc patch oscp/controlplane --type='json' -p '[{"op": "replace", "path": "/spec/telemetry/template/metricStorage/dashboardsEnabled", "value":false}]' | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# temp: skip os-net-setup | ||
cifmw_os_net_setup_config: [] | ||
post_deploy_00_run_graphing_test: | ||
source: "{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/run_graphing_test.yml" | ||
config_file: "{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/ansible.cfg" | ||
type: playbook | ||
post_deploy_99_collect_results: | ||
source: "{{ ansible_user_dir }}/{{ zuul.projects['github.com/infrawatch/feature-verification-tests'].src_dir }}/ci/report_result.yml" | ||
type: playbook |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.