[release-4.22] NO-JIRA: add Loki readiness check and restart logic to observability tests#6598
Conversation
…tests Add a Loki readiness check (/ready endpoint) to the observability test suite setup to detect when Loki's ingester has entered a shutdown state. Automatically restart the Loki container if unhealthy, polling readiness every 5s for up to 30s per attempt (3 attempts max) to cover the ingester's ~15s warmup window. - Add check_loki_ready() to loki.py with proper error handling - Add restart action to manage_loki.sh script - Fix IPv6 address handling in check_loki_query - Split broad except Exception in check_loki_query into specific handlers Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> pre-commit.check-secrets: ENABLED
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
/label jira/valid-bug |
|
@agullon: This PR has been marked as verified by DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: agullon, openshift-cherrypick-robot The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/test e2e-aws-tests-release |
|
/retest |
|
/test e2e-aws-tests-bootc-release-arm-el9 |
1 similar comment
|
/test e2e-aws-tests-bootc-release-arm-el9 |
|
/test e2e-aws-tests-bootc-release-el9 |
|
/retest e2e-aws-tests-bootc-release-arm-el9 |
|
/test e2e-aws-tests-bootc-release-arm-el9 |
|
/test e2e-aws-tests-periodic |
|
/override ci/prow/e2e-aws-tests-bootc-release-el9 |
|
@agullon: Overrode contexts on behalf of agullon: ci/prow/e2e-aws-tests-bootc-release-arm-el10, ci/prow/e2e-aws-tests-bootc-release-arm-el9, ci/prow/e2e-aws-tests-bootc-release-el10, ci/prow/e2e-aws-tests-bootc-release-el9 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
/test e2e-aws-tests-periodic |
1 similar comment
|
/test e2e-aws-tests-periodic |
|
@openshift-cherrypick-robot: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
944b137
into
openshift:release-4.22
This is an automated cherry-pick of #6589
/assign agullon