Skip to content

Commit 2ca94a1

Browse files
authored
Merge branch 'master' into integration_operator_tag
2 parents 9b3e031 + 44cfe57 commit 2ca94a1

File tree

4 files changed

+20
-10
lines changed

4 files changed

+20
-10
lines changed

ods_ci/tests/Tests/0100__platform/0102__monitor_and_manage/0101__metrics/0101__metrics.robot

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Test Existence of Prometheus Alerting Rules
2828
[Tags] Smoke
2929
... Tier1
3030
... ODS-509
31+
... Monitoring
3132
Skip If RHODS Is Self-Managed
3233
Check Prometheus Alerting Rules
3334

@@ -36,6 +37,7 @@ Test Existence of Prometheus Recording Rules
3637
[Tags] Smoke
3738
... Tier1
3839
... ODS-510
40+
... Monitoring
3941
Skip If RHODS Is Self-Managed
4042
Check Prometheus Recording Rules
4143

@@ -44,6 +46,7 @@ Test Metric "Notebook CPU Usage" On ODS Prometheus
4446
[Tags] Sanity
4547
... Tier1
4648
... ODS-178
49+
... Monitoring
4750
Skip If RHODS Is Self-Managed
4851
${cpu_usage_before} = Read Current CPU Usage
4952
Run Jupyter Notebook For 5 Minutes
@@ -56,6 +59,7 @@ Test Metric "Rhods_Total_Users" On ODS Prometheus
5659
[Tags] Sanity
5760
... Tier1
5861
... ODS-628
62+
... Monitoring
5963
Skip If RHODS Is Self-Managed
6064
# Note: the expression ends with "step=1" to obtain the value for current second
6165
${expression} = Set Variable rhods_total_users&step=1
@@ -81,6 +85,7 @@ Test Metric Existence For "Rhods_Aggregate_Availability" On ODS Prometheus
8185
[Tags] Sanity
8286
... Tier1
8387
... ODS-636
88+
... Monitoring
8489
Skip If RHODS Is Self-Managed
8590
${expression} = Set Variable rhods_aggregate_availability&step=1
8691
${resp} = Prometheus.Run Query ${RHODS_PROMETHEUS_URL} ${RHODS_PROMETHEUS_TOKEN} ${expression}

ods_ci/tests/Tests/0100__platform/0102__monitor_and_manage/0101__metrics/0102__billing_metrics.robot

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Verify OpenShift Monitoring Results Are Correct When Running Undefined Queries
2727
[Tags] Sanity
2828
... Tier1
2929
... ODS-173
30+
... Monitoring
3031
Run OpenShift Metrics Query ${METRIC_RHODS_UNDEFINED} username=${OCP_ADMIN_USER.USERNAME} password=${OCP_ADMIN_USER.PASSWORD}
3132
... auth_type=${OCP_ADMIN_USER.AUTH_TYPE} retry_attempts=1
3233
Metrics.Verify Query Results Dont Contain Data
@@ -37,6 +38,7 @@ Test Billing Metric (Notebook Cpu Usage) On OpenShift Monitoring
3738
[Tags] Sanity
3839
... Tier1
3940
... ODS-175
41+
... Monitoring
4042
Run Jupyter Notebook For 5 Minutes
4143
Verify Previus CPU Usage Is Greater Than Zero
4244
[Teardown] CleanUp JupyterHub And Close All Browsers
@@ -46,6 +48,7 @@ Test Metric "Rhods_Total_Users" On Cluster Monitoring Prometheus
4648
[Tags] Sanity
4749
... ODS-634
4850
... Tier1
51+
... Monitoring
4952
Skip If RHODS Is Self-Managed
5053
${value} = Run OpenShift Metrics Query query=rhods_total_users username=${OCP_ADMIN_USER.USERNAME} password=${OCP_ADMIN_USER.PASSWORD}
5154
... auth_type=${OCP_ADMIN_USER.AUTH_TYPE}
@@ -59,7 +62,7 @@ Test Metric "Rhods_Aggregate_Availability" On Cluster Monitoring Prometheus
5962
[Tags] Smoke
6063
... ODS-637
6164
... Tier1
62-
65+
... Monitoring
6366
Skip If RHODS Is Self-Managed
6467

6568
${value_openshift_observe} = Run OpenShift Metrics Query
@@ -80,7 +83,7 @@ Test Metric "Active_Users" On OpenShift Monitoring On Cluster Monitoring Prometh
8083
[Tags] Sanity
8184
... ODS-1053
8285
... Tier1
83-
86+
... Monitoring
8487
${active_users_before} = Run OpenShift Metrics Query
8588
... username=${OCP_ADMIN_USER.USERNAME} password=${OCP_ADMIN_USER.PASSWORD}
8689
... auth_type=${OCP_ADMIN_USER.AUTH_TYPE} query=cluster:usage:consumption:rhods:active_users
@@ -110,6 +113,7 @@ Test Metric "Active Notebook Pod Time" On OpenShift Monitoring - Cluster Monitor
110113
[Tags] Sanity
111114
... ODS-1055
112115
... Tier1
116+
... Monitoring
113117
@{list_of_usernames} = Create List ${TEST_USER_3.USERNAME} ${TEST_USER_4.USERNAME}
114118
Log In N Users To JupyterLab And Launch A Notebook For Each Of Them
115119
... list_of_usernames=${list_of_usernames}

ods_ci/tests/Tests/0100__platform/0102__monitor_and_manage/0101__metrics/0103__check_pager_duty.robot

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ PagerDuty Dummy Secret Verification
3333
... Tier1
3434
... ODS-737
3535
... Deployment-Cli
36+
... Monitoring
3637
Skip If RHODS Is Self-Managed
3738
${service_key} Get PagerDuty Key From Alertmanager ConfigMap
3839
${secret_key} Get PagerDuty Key From Secrets

ods_ci/tests/Tests/0100__platform/0102__monitor_and_manage/0102__alerts/0102__alerts.robot

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Verify All Alerts Severity
3232
[Tags] Smoke
3333
... Tier1
3434
... ODS-1227
35-
35+
... Monitoring
3636
Verify "DeadManSnitch" Alerts Severity And Continue On Failure
3737
Verify "Kubeflow Notebook Controller Pod Is Not Running" Alerts Severity And Continue On Failure
3838
Verify "ODH Notebook Controller Pod Is Not Running" Alerts Severity And Continue On Failure
@@ -46,7 +46,7 @@ Verify No Alerts Are Firing Except For DeadManSnitch # robocop: disable:too-l
4646
[Tags] Smoke
4747
... Tier1
4848
... ODS-540
49-
49+
... Monitoring
5050
Verify Alert Is Firing And Continue On Failure
5151
... DeadManSnitch DeadManSnitch
5252

@@ -67,7 +67,7 @@ Verify Alert RHODS-PVC-Usage-Above-90 Is Fired When User PVC Is Above 90 Percent
6767
... verifies that alert "User notebook pvc usage above 90%" is fired
6868
[Tags] Tier2
6969
... ODS-516
70-
70+
... Monitoring
7171
Fill Up User PVC ${NOTEBOOK_REPO_URL} ${TEST_ALERT_PVC90_NOTEBOOK_PATH}
7272

7373
Prometheus.Wait Until Alert Is Firing ${RHODS_PROMETHEUS_URL}
@@ -83,7 +83,7 @@ Verify Alert RHODS-PVC-Usage-At-100 Is Fired When User PVC Is At 100 Percent
8383
... verifies that alert "User notebook pvc usage at 100%" is fired
8484
[Tags] Tier2
8585
... ODS-517
86-
86+
... Monitoring
8787
Fill Up User PVC ${NOTEBOOK_REPO_URL} ${TEST_ALERT_PVC100_NOTEBOOK_PATH}
8888

8989
Prometheus.Wait Until Alert Is Firing ${RHODS_PROMETHEUS_URL}
@@ -99,7 +99,7 @@ Verify Alerts Are Fired When RHODS Dashboard Is Down # robocop: disable:too-l
9999
... are fired when rhods-dashboard is not working
100100
[Tags] Tier3
101101
... ODS-739
102-
102+
... Monitoring
103103
Skip If Alert Is Already Firing ${RHODS_PROMETHEUS_URL}
104104
... ${RHODS_PROMETHEUS_TOKEN}
105105
... SLOs-haproxy_backend_http_responses_dashboard
@@ -145,7 +145,7 @@ Verify Alert "Kubeflow notebook controller pod is not running" Is Fired When Kub
145145
... when notebook-controller-deployment-xxx pod is not running
146146
[Tags] Tier3
147147
... ODS-1700
148-
148+
... Monitoring
149149
Skip If Alert Is Already Firing ${RHODS_PROMETHEUS_URL}
150150
... ${RHODS_PROMETHEUS_TOKEN}
151151
... RHODS Notebook controllers
@@ -177,7 +177,7 @@ Verify Alert "ODH notebook controller pod is not running" Is Fired When ODH Cont
177177
... when odh-notebook-controller-manager-xxx pod is not running
178178
[Tags] Tier3
179179
... ODS-1701
180-
180+
... Monitoring
181181
Skip If Alert Is Already Firing ${RHODS_PROMETHEUS_URL}
182182
... ${RHODS_PROMETHEUS_TOKEN}
183183
... RHODS Notebook controllers
@@ -209,7 +209,7 @@ Verify That MT-SRE Are Not Paged For Alerts In Clusters Used For Development Or
209209
[Tags] Sanity
210210
... ODS-1058
211211
... Tier1
212-
212+
... Monitoring
213213
${res} = Check Cluster Name Contain "Aisrhods" Or Not
214214
IF ${res}
215215
${receiver} = Set Variable alerts-sink

0 commit comments

Comments
 (0)