← Back to Pull requests

OCPBUGS-141871: [release-5.0] allow-list Trainer usage metrics #3179

Merged
redhat-chai-bot merged 4 files (34 lines) on Nov 20, 2026 13:06 UTC
View on GitHub
redhat-chai-bot redhat-chai-bot commented on Nov 16, 2026 10:27 UTC
Author

Summary


Backport of #3170 to release-5.0.

  • Add the three Trainer usage metric selectors to the Telemeter client allow-list, preserving the original selector restrictions and existing release-branch entries.

  • Update the data-collection documentation.

  • Resolve generated-file conflicts by regenerating the telemetry query and embedded documentation using the release branch's tooling.
  • Validation


  • make verify — passed.

  • make test-unit — passed with race detection.

  • make test-rules — passed.

  • make --always-make docs — passed; a second run left generated files unchanged.

  • git diff --check and git show --check — passed.

  • Compared the Trainer selectors and restrictions with the source change; no differences.
  • Cluster-dependent E2E/Ginkgo suites were not run locally because they require an OpenShift cluster and kubeconfig; those remain for CI.

    ---
    AI-generated. Review for accuracy.

    @abhijeet-dhumal requested from Slack

    Chai persona: RH Agentic SDLC

    Diff: 34 lines (+32 / -2) across 4 files Reviewer: simonpasquier Review duration: 5918m
    All Vouch review confidence checks passed
    Residual risk 0.03 = Change Risk (0.34) × (1 − Review Confidence (0.91)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.34 · 34 lines diff across 4 files
    0.34
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.93 · 5 substantive comment(s)
    0.93
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    90%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.213
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    20 items
    openshift-merge-bot[bot] openshift-merge-bot[bot] commented on Nov 16, 2026 10:27 UTC
    Bot

    Pipeline controller notification

    This PR uses the pipeline controller for second-stage tests. Selection and triggering follow the repository configuration.

    Use /test ? to list jobs and /pipeline help for commands.

    openshift-ci-robot openshift-ci-robot commented on Nov 16, 2026 10:28 UTC
    Contributor

    @redhat-chai-bot: This pull request references Jira Issue OCPBUGS-141871, which is invalid:
    - release note text must be set and not match the template OR release note type must be set to "Release Note Not Required". For more information you can reference the OpenShift Bug Process.
    - expected Jira Issue OCPBUGS-141871 to depend on a bug targeting a version in 5.1.0 and in one of the following states: VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA), but no dependents were found

    Comment <code>/jira refresh</code> to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

    The bug has been updated to refer to the pull request using the external bug tracker.

    <details>

    In response to this:

    >## Summary
    >Backport of #3170 to release-5.0.

    >- Add the three Trainer usage metric selectors to the Telemeter client allow-list, preserving the original selector restrictions and existing release-branch entries.

    >- Update the data-collection documentation.
    >- Resolve generated-file conflicts by regenerating the telemetry query and embedded documentation using the release branch's tooling.
    >## Validation

    >- make verify — passed.
    >- make test-unit — passed with race detection.
    >- make test-rules — passed.
    >- make --always-make docs — passed; a second run left generated files unchanged.
    >- git diff --check and git show --check — passed.
    >- Compared the Trainer selectors and restrictions with the source change; no differences.
    >Cluster-dependent E2E/Ginkgo suites were not run locally because they require an OpenShift cluster and kubeconfig; those remain for CI.

    >---

    >AI-generated. Review for accuracy.
    >@abhijeet-dhumal requested from Slack

    >Chai persona: RH Agentic SDLC

    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.
    </details>

    simonpasquier simonpasquier commented on Nov 16, 2026 16:29 UTC
    Reviewer

    /approve
    /label backport-risk-assessed
    /lgtm
    /verified by @simonpasquier

    openshift-ci-robot openshift-ci-robot commented on Nov 16, 2026 16:29 UTC
    Contributor

    @simonpasquier: This PR has been marked as verified by @simonpasquier.

    <details>

    In response to this:

    >/approve
    >/label backport-risk-assessed
    >/lgtm
    >/verified by @simonpasquier

    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.
    </details>

    openshift-ci[bot] openshift-ci[bot] commented on Nov 16, 2026 16:30 UTC
    Bot

    [APPROVALNOTIFIER] This PR is APPROVED

    This pull-request has been approved by: <a href="https://github.com/openshift/cluster-monitoring-operator/pull/3179#pullrequestreview-5923536959" title="LGTM">simonpasquier</a>

    The full list of commands accepted by this bot can be found here.

    The pull request process is described here

    <details >
    Needs approval from an approver in each of these files:

  • ~~OWNERS~~ [simonpasquier]
  • Approvers can indicate their approval by writing /approve in a comment
    Approvers can cancel approval by writing /approve cancel in a comment
    </details>
    <!-- META={"approvers":[]} -->

    openshift-merge-bot[bot] openshift-merge-bot[bot] commented on Nov 16, 2026 16:30 UTC
    Bot

    Scheduling tests matching the pipeline_run_if_changed or not excluded by pipeline_skip_if_only_changed parameters:
    /test e2e-agnostic-operator
    /test e2e-aws-ovn
    /test e2e-aws-ovn-techpreview
    /test e2e-aws-ovn-upgrade
    /test e2e-hypershift-conformance
    /test ginkgo-tests

    redhat-chai-bot redhat-chai-bot commented on Nov 16, 2026 17:01 UTC
    Author

    Investigated all five failed second-stage jobs (e2e-agnostic-operator, e2e-aws-ovn, e2e-aws-ovn-techpreview, e2e-aws-ovn-upgrade, and ginkgo-tests). Each fails during installer pre-steps, before cluster creation/test execution, with the same AWS error:

    EC2: DescribeInstanceTypes ... StatusCode: 401
    AuthFailure: AWS was not able to validate the provided access credentials
    

    Examples: operator E2E log and Ginkgo log.

    This is a CI AWS authentication blocker, not a failing telemetry assertion. The PR changes only the telemetry allow-list and documentation; no credential or installer changes are included. No code change or rebase is indicated by these failures. The CI credentials need investigation, followed by rerunning the affected jobs once authentication is working. No retest has been requested yet.

    ---
    Chai persona: RH Agentic SDLC

    AI-generated. Review for accuracy.

    redhat-chai-bot redhat-chai-bot commented on Nov 16, 2026 19:08 UTC
    Author

    The newly completed HyperShift conformance attempt reached test execution and failed with two blocking tests, rather than the AWS installer authentication error seen in the other five jobs:

  • [sig-cli] oc observe works as expected

  • [sig-network-edge][Feature:Router] ... The HAProxy router with version selection should maintain default router unchanged if updating the version on a custom IngressController
  • The step JUnit report records 2 blocking fail, 11 informing fail, 2213 pass and the conformance step exiting with code 1.

    This identifies the blocking tests, not their root cause or base-branch reproducibility. The full test JUnit exceeded the retrieval size limit, so I have not established a connection to the telemetry change or classified these as unrelated flakes. No speculative code fix or retest was made.

    ---
    Chai persona: RH Agentic SDLC

    AI-generated. Review for accuracy.

    simonpasquier simonpasquier commented on Nov 18, 2026 11:11 UTC
    Contributor

    /jira refresh

    openshift-ci-robot openshift-ci-robot commented on Nov 18, 2026 11:11 UTC
    Contributor

    @simonpasquier: This pull request references Jira Issue OCPBUGS-141871, which is invalid:
    - expected dependent Jira Issue OCPBUGS-141872 to be in one of the following states: VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA), but it is New instead
    - expected dependent Jira Issue OCPBUGS-141872 to target a version in 5.1.0, but it targets "4.22.0" instead

    Comment <code>/jira refresh</code> to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

    <details>

    In response to this:

    >/jira refresh

    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.
    </details>

    simonpasquier simonpasquier commented on Nov 18, 2026 11:13 UTC
    Contributor

    /jira refresh

    openshift-ci-robot openshift-ci-robot commented on Nov 18, 2026 11:14 UTC
    Contributor

    @simonpasquier: This pull request references Jira Issue OCPBUGS-141871, which is invalid:
    - expected dependent Jira Issue OCPBUGS-141872 to be in one of the following states: VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA), but it is New instead
    - expected dependent Jira Issue OCPBUGS-141872 to target a version in 5.1.0, but it targets "4.22.0" instead

    Comment <code>/jira refresh</code> to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

    <details>

    In response to this:

    >/jira refresh

    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.
    </details>

    simonpasquier simonpasquier commented on Nov 18, 2026 11:16 UTC
    Contributor

    /jira refresh

    openshift-ci-robot openshift-ci-robot commented on Nov 18, 2026 11:16 UTC
    Contributor

    @simonpasquier: This pull request references Jira Issue OCPBUGS-141871, which is valid. The bug has been moved to the POST state.

    <details><summary>7 validation(s) were run on this bug</summary>

    bug is open, matching expected state (open)
    bug target version (5.0.z) matches configured target version for branch (5.0.z)
    bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)
    release note type set to "Release Note Not Required"
    dependent bug Jira Issue OCPBUGS-142070 is in the state Closed (Done), which is one of the valid states (VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA))
    dependent Jira Issue OCPBUGS-142070 targets the "5.1.0" version, which is one of the valid target versions: 5.1.0

  • bug has dependents</details>
  • <details>

    In response to this:

    >/jira refresh

    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.
    </details>

    openshift-merge-bot[bot] openshift-merge-bot[bot] commented on Nov 18, 2026 12:09 UTC
    Bot

    /retest-required

    Remaining retests: 0 against base HEAD fdd81d5b65b7f83dd3709dffa7f91845765a1369 and 2 for PR HEAD 3b37a5ff71ed2ea5cd0979aab05294a7d3d042d1 in total

    simonpasquier simonpasquier commented on Nov 20, 2026 09:48 UTC
    Contributor

    /retest-required

    openshift-ci[bot] openshift-ci[bot] commented on Nov 20, 2026 12:57 UTC
    Bot

    @redhat-chai-bot: all tests passed!

    Full PR test history. Your PR dashboard.

    <details>

    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. I understand the commands that are listed here.
    </details>
    <!-- test report -->

    openshift-ci-robot openshift-ci-robot commented on Nov 20, 2026 13:06 UTC
    Contributor

    @redhat-chai-bot: Jira Issue Verification Checks: Jira Issue OCPBUGS-141871
    :heavy_check_mark: This pull request was pre-merge verified.
    :heavy_check_mark: All associated pull requests have merged.
    :heavy_check_mark: All associated, merged pull requests were pre-merge verified.

    Jira Issue OCPBUGS-141871 has been moved to the MODIFIED state and will move to the VERIFIED state when the change is available in an accepted nightly payload. :clock4:

    <details>

    In response to this:

    >## Summary
    >Backport of #3170 to release-5.0.

    >- Add the three Trainer usage metric selectors to the Telemeter client allow-list, preserving the original selector restrictions and existing release-branch entries.

    >- Update the data-collection documentation.
    >- Resolve generated-file conflicts by regenerating the telemetry query and embedded documentation using the release branch's tooling.
    >## Validation

    >- make verify — passed.
    >- make test-unit — passed with race detection.
    >- make test-rules — passed.
    >- make --always-make docs — passed; a second run left generated files unchanged.
    >- git diff --check and git show --check — passed.
    >- Compared the Trainer selectors and restrictions with the source change; no differences.
    >Cluster-dependent E2E/Ginkgo suites were not run locally because they require an OpenShift cluster and kubeconfig; those remain for CI.

    >---

    >AI-generated. Review for accuracy.
    >@abhijeet-dhumal requested from Slack

    >Chai persona: RH Agentic SDLC

    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.
    </details>

    openshift-merge-robot openshift-merge-robot commented on Nov 22, 2026 02:54 UTC
    Contributor

    Fix included in release 5.0.0-0.nightly-2026-11-21-152109

    Reviewers
    Assignees
    redhat-chai-bot redhat-chai-bot
    Labels
    risk: low confidence: 90.7% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 33.7% (LOW) · Higher = larger blast radius
    33.7%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 90.7% · Lower = rushed or shallow review
    90.7%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 3.1% · Safe to merge
    3.1%