The test_prometheus_grafana_integration_istio_pilot test case that is part of the Observability Integration tests is failing intermittently in the CI, potentially because the test case is querying for metrics that may not be ready when the assertion is called.
So far I have only been able to observe this error in the CI.
Environment
On push or on pull CI.
Relevant Log Output
File "/home/runner/work/istio-operators/istio-operators/tests/test_cos_integration.py", line 84, in test_prometheus_grafana_integration_istio_pilot
response_metric = response["data"]["result"][0]["metric"]
IndexError: list index out of range
Bug Description
The
test_prometheus_grafana_integration_istio_pilot
test case that is part of the Observability Integration tests is failing intermittently in the CI, potentially because the test case is querying for metrics that may not be ready when the assertion is called.This issue is similar to https://github.com/canonical/seldon-core-operator/issues/244 and could be worked as part of https://github.com/canonical/bundle-kubeflow/issues/823.
To Reproduce
So far I have only been able to observe this error in the CI.
Environment
On push or on pull CI.
Relevant Log Output
Additional Context
No response