← Back to Pull requests

OCPBUGS-81328: tests-ext: Fix MicroShift gating in CCO tests #1005

Merged
huangmingxia merged 2 files (74 lines) on Mar 31, 2026 22:03 UTC
View on GitHub
huangmingxia huangmingxia commented on Mar 31, 2026 02:27 UTC
Author

Why

  • Prevent misleading informing failures on MicroShift.
  • Summary

  • Align MicroShift detection in isMicroshiftCluster() by checking kube-public/microshift-version with polling and logging, replacing the previous CRD-field inference approach.

  • Reorder global setup flow to run skipIfMicroShift(oc) before capability checks in both JustBeforeEach and BeforeEach, so MicroShift exits early from unsupported paths.

  • Remove global HyperShift gating from hooks. Scope HyperShift gating to individual NonHyperShiftHOST test cases by calling skipIfHypershiftHostedCluster(oc) inside each relevant test.

  • Normalize skip wording to Test is skipped on MicroShift.
  • Diff: 74 lines (+39 / -35) across 2 files Reviewer: jstuever Review duration: 1175m
    All Vouch review confidence checks passed
    Residual risk 0.03 = Change Risk (0.30) × (1 − Review Confidence (0.90)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.30 · 74 lines diff across 2 files
    0.30
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.91 · 5 substantive comment(s)
    0.91
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    89%
    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.258
    Real PR Conversation Timeline
    23 items
    coderabbitai[bot] coderabbitai[bot] commented on Mar 31, 2026 02:27 UTC
    Bot

    <!-- This is an auto-generated comment: summarize by coderabbit.ai -->
    <!-- This is an auto-generated comment: skip review by coderabbit.ai -->

    [!IMPORTANT]

    ## Review skipped

    > Auto reviews are limited based on label configuration.

    > <details>

    <summary>:no_entry_sign: Review skipped — only excluded labels are configured. (1)</summary>

    > * do-not-merge/work-in-progress

    > </details>

    > Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

    > <details>

    <summary>⚙️ Run configuration</summary>

    > Configuration used: Organization UI

    > Review profile: CHILL

    > Plan: Pro

    > Run ID: 25fc2f90-63e2-454b-bb90-254d313c3911

    > </details>

    > You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

    > Use the checkbox below for a quick retry:

    - [ ] <!-- {"checkboxId": "e9bb8d72-00e8-4f67-9cb2-caf3b22574fe"} --> 🔍 Trigger review

    <!-- end of auto-generated comment: skip review by coderabbit.ai -->

    <!-- finishing_touch_checkbox_start -->

    <details>
    <summary>✨ Finishing Touches</summary>

    <details>
    <summary>🧪 Generate unit tests (beta)</summary>

  • <!-- {"checkboxId": "f47ac10b-58cc-4372-a567-0e02b2c3d479", "radioGroupId": "utg-output-choice-group-unknown_comment_id"} --> Create PR with unit tests
  • </details>

    </details>

    <!-- finishing_touch_checkbox_end -->

    <!-- tips_start -->

    ---

    Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

    <details>
    <summary>❤️ Share</summary>

  • X

  • Mastodon

  • Reddit

  • LinkedIn
  • </details>

    <sub>Comment @coderabbitai help to get the list of available commands and usage tips.</sub>

    <!-- tips_end -->

    huangmingxia huangmingxia commented on Mar 31, 2026 02:31 UTC
    Author

    /payload-job periodic-ci-openshift-microshift-release-4.22-periodics-e2e-aws-ovn-ocp-conformance-arm64

    openshift-ci[bot] openshift-ci[bot] commented on Mar 31, 2026 02:31 UTC
    Bot

    @huangmingxia: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-microshift-release-4.22-periodics-e2e-aws-ovn-ocp-conformance-arm64
  • See details on https://pr-payload-tests.ci.openshift.org/runs/ci/c0b33060-2ca9-11f1-806e-2ad47d013090-0

    huangmingxia huangmingxia commented on Mar 31, 2026 02:33 UTC
    Author

    /payload-job periodic-ci-openshift-microshift-release-4.22-periodics-e2e-aws-ovn-ocp-conformance

    openshift-ci[bot] openshift-ci[bot] commented on Mar 31, 2026 02:33 UTC
    Bot

    @huangmingxia: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-microshift-release-4.22-periodics-e2e-aws-ovn-ocp-conformance
  • See details on https://pr-payload-tests.ci.openshift.org/runs/ci/f42d2310-2ca9-11f1-8252-9ea80801a4a5-0

    codecov[bot] codecov[bot] commented on Mar 31, 2026 04:56 UTC
    Bot

    Codecov Report


    :white_check_mark: All modified and coverable lines are covered by tests.
    :white_check_mark: Project coverage is 46.42%. Comparing base (b5affa7) to head (1f6e528).
    :warning: Report is 6 commits behind head on master.

    <details><summary>Additional details and impacted files</summary>

    ![Impacted file tree graph](https://app.codecov.io/gh/openshift/cloud-credential-operator/pull/1005?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openshift)

    @@            Coverage Diff             @@
    ##           master    #1005      +/-   ##
    ==========================================
    - Coverage   46.45%   46.42%   -0.04%     
    ==========================================
      Files          98       98              
      Lines       12332    12661     +329     
    ==========================================
    + Hits         5729     5878     +149     
    - Misses       5952     6134     +182     
    + Partials      651      649       -2     
    

    see 7 files with indirect coverage changes
    </details>
    <details><summary> :rocket: New features to boost your workflow: </summary>

  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

  • </details>

    huangmingxia huangmingxia commented on Mar 31, 2026 05:57 UTC
    Author

    /retitle OCPBUGS-81328: tests-ext: Fix MicroShift gating in CCO tests

    openshift-ci-robot openshift-ci-robot commented on Mar 31, 2026 05:58 UTC
    Contributor

    @huangmingxia: This pull request references Jira Issue OCPBUGS-81328, which is invalid:
    - expected the bug to target the "4.22.0" version, but no target version was set

    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:

    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>

    huangmingxia huangmingxia commented on Mar 31, 2026 06:00 UTC
    Author

    /jira refresh

    openshift-ci-robot openshift-ci-robot commented on Mar 31, 2026 06:00 UTC
    Contributor

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

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

    bug is open, matching expected state (open)
    bug target version (4.22.0) matches configured target version for branch (4.22.0)

  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)</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-ci-robot openshift-ci-robot commented on Mar 31, 2026 06:14 UTC
    Contributor

    @huangmingxia: This pull request references Jira Issue OCPBUGS-81328, which is valid.

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

    bug is open, matching expected state (open)
    bug target version (4.22.0) matches configured target version for branch (4.22.0)

  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)</details>
  • <details>

    In response to this:

    >### Why

    >- Prevent misleading informing failures on MicroShift.

    >### Summary

    >- Align MicroShift detection in isMicroshiftCluster() by checking kube-public/microshift-version with polling and logging, replacing the previous CRD-field inference approach.

    >- Reorder global setup flow to run skipIfMicroShift(oc) before capability checks in both JustBeforeEach and BeforeEach, so MicroShift exits early from unsupported paths.
    >- Remove global HyperShift gating from hooks. Scope HyperShift gating to individual NonHyperShiftHOST test cases by calling skipIfHypershiftHostedCluster(oc) inside each relevant test.
    >- Normalize skip wording to Test is skipped on MicroShift.
    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>

    huangmingxia huangmingxia commented on Mar 31, 2026 06:16 UTC
    Author

    /cc @jstuever

    huangmingxia huangmingxia commented on Mar 31, 2026 06:30 UTC
    Author

    /verified by @huangmingxia

    Local test record (cluster provisioned via openshift-microshift-e2e-origin-conformance)

    $ ./cloud-credential-tests-ext run-suite cco/all
    [
      {
        "name": "[Jira:\"Cloud Credential Operator\"] Cluster_Operator CCO is enabled [Suite:cco/conformance/parallel][OTP][PolarionID:33204][Level0][platform:azure] NonHyperShiftHOST-Critical-[cco-passthrough]IPI on azure with cco passthrough mode",
        "lifecycle": "informing",
        "duration": 456,
        "startTime": "2026-03-31 05:56:01.720937 UTC",
        "endTime": "2026-03-31 05:56:02.176969 UTC",
        "result": "skipped",
        "output": "IsMicroShiftCluster: MicroShift cluster with version: 4.22.0_0.nightly_2026_03_29_173136_20260330211258_54e2e8b52\n  [SKIPPED] in [JustBeforeEach] - /home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281 @ 03/31/26 01:56:02.176\n\n skip [/home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281]: Test is skipped on MicroShift\n"
      },
      {
        "name": "[Jira:\"Cloud Credential Operator\"] Cluster_Operator CCO is enabled [Suite:cco/disruptive][OTP][PolarionID:45415][Disruptive][platform:openstack] NonHyperShiftHOST-High-[Bug 1940142] Reset CACert to correct path",
        "lifecycle": "informing",
        "duration": 467,
        "startTime": "2026-03-31 05:56:01.726120 UTC",
        "endTime": "2026-03-31 05:56:02.194025 UTC",
        "result": "skipped",
        "output": "IsMicroShiftCluster: MicroShift cluster with version: 4.22.0_0.nightly_2026_03_29_173136_20260330211258_54e2e8b52\n  [SKIPPED] in [JustBeforeEach] - /home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281 @ 03/31/26 01:56:02.193\n\n skip [/home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281]: Test is skipped on MicroShift\n"
      },
      {
        "name": "[Jira:\"Cloud Credential Operator\"] Cluster_Operator CCO is enabled [Suite:cco/disruptive][OTP][PolarionID:31768][Disruptive][Slow]NonHyperShiftHOST-High-Report the mode of cloud-credential operation as a metric",
        "lifecycle": "informing",
        "duration": 485,
        "startTime": "2026-03-31 05:56:01.720353 UTC",
        "endTime": "2026-03-31 05:56:02.205950 UTC",
        "result": "skipped",
        "output": "IsMicroShiftCluster: MicroShift cluster with version: 4.22.0_0.nightly_2026_03_29_173136_20260330211258_54e2e8b52\n  [SKIPPED] in [JustBeforeEach] - /home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281 @ 03/31/26 01:56:02.205\n\n skip [/home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281]: Test is skipped on MicroShift\n"
      },
      {
        "name": "[Jira:\"Cloud Credential Operator\"] Cluster_Operator CCO is enabled [Suite:cco/conformance/parallel][OTP][PolarionID:45219] NonHyperShiftHOST-ROSA-OSD_CCS-ARO-High-A fresh cluster should not have stale CR",
        "lifecycle": "informing",
        "duration": 480,
        "startTime": "2026-03-31 05:56:01.728743 UTC",
        "endTime": "2026-03-31 05:56:02.209643 UTC",
        "result": "skipped",
        "output": "IsMicroShiftCluster: MicroShift cluster with version: 4.22.0_0.nightly_2026_03_29_173136_20260330211258_54e2e8b52\n  [SKIPPED] in [JustBeforeEach] - /home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281 @ 03/31/26 01:56:02.209\n\n skip [/home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281]: Test is skipped on MicroShift\n"
      },
      {
        "name": "[Jira:\"Cloud Credential Operator\"] Cluster_Operator CCO is enabled [Suite:cco/disruptive][OTP][PolarionID:45975][Disruptive] NonHyperShiftHOST-Medium-Test cco condition changes",
        "lifecycle": "informing",
        "duration": 483,
        "startTime": "2026-03-31 05:56:01.728873 UTC",
        "endTime": "2026-03-31 05:56:02.212104 UTC",
        "result": "skipped",
        "output": "IsMicroShiftCluster: MicroShift cluster with version: 4.22.0_0.nightly_2026_03_29_173136_20260330211258_54e2e8b52\n  [SKIPPED] in [JustBeforeEach] - /home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281 @ 03/31/26 01:56:02.211\n\n skip [/home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281]: Test is skipped on MicroShift\n"
      },
      {
        "name": "[Jira:\"Cloud Credential Operator\"] Cluster_Operator CCO is enabled [Suite:cco/conformance/parallel][OTP][PolarionID:50869] NonHyperShiftHOST-ROSA-OSD_CCS-ARO-Medium-High-53283-High-77285-CCO Pod Security Admission change",
        "lifecycle": "informing",
        "duration": 494,
        "startTime": "2026-03-31 05:56:01.722649 UTC",
        "endTime": "2026-03-31 05:56:02.217424 UTC",
        "result": "skipped",
        "output": "IsMicroShiftCluster: MicroShift cluster with version: 4.22.0_0.nightly_2026_03_29_173136_20260330211258_54e2e8b52\n  [SKIPPED] in [JustBeforeEach] - /home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281 @ 03/31/26 01:56:02.217\n\n skip [/home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281]: Test is skipped on MicroShift\n"
      },
      {
        "name": "[Jira:\"Cloud Credential Operator\"] Cluster_Operator CCO is enabled [Suite:cco/conformance/parallel][OTP][PolarionID:80542] NonHyperShiftHOST-ROSA-OSD_CCS-ARO-High-Enable readOnlyRootFilesystem on all containers",
        "lifecycle": "informing",
        "duration": 500,
        "startTime": "2026-03-31 05:56:01.725259 UTC",
        "endTime": "2026-03-31 05:56:02.225930 UTC",
        "result": "skipped",
        "output": "IsMicroShiftCluster: MicroShift cluster with version: 4.22.0_0.nightly_2026_03_29_173136_20260330211258_54e2e8b52\n  [SKIPPED] in [JustBeforeEach] - /home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281 @ 03/31/26 01:56:02.225\n\n skip [/home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281]: Test is skipped on MicroShift\n"
      },
      {
        "name": "[Jira:\"Cloud Credential Operator\"] Cluster_Operator CCO is enabled [Suite:cco/conformance/parallel][OTP][PolarionID:36498][Level0][platform:aws] NonHyperShiftHOST-ROSA-OSD_CCS-Critical-CCO credentials secret change to STS-style",
        "lifecycle": "informing",
        "duration": 510,
        "startTime": "2026-03-31 05:56:01.723019 UTC",
        "endTime": "2026-03-31 05:56:02.233724 UTC",
        "result": "skipped",
        "output": "IsMicroShiftCluster: MicroShift cluster with version: 4.22.0_0.nightly_2026_03_29_173136_20260330211258_54e2e8b52\n  [SKIPPED] in [JustBeforeEach] - /home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281 @ 03/31/26 01:56:02.233\n\n skip [/home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281]: Test is skipped on MicroShift\n"
      },
      {
        "name": "[Jira:\"Cloud Credential Operator\"] Cluster_Operator CCO is enabled [Suite:cco/disruptive][OTP][PolarionID:48360][Disruptive][platform:aws] NonHyperShiftHOST-Medium-Reconciliation of aws pod identity mutating webhook did not happen",
        "lifecycle": "informing",
        "duration": 518,
        "startTime": "2026-03-31 05:56:01.719784 UTC",
        "endTime": "2026-03-31 05:56:02.238224 UTC",
        "result": "skipped",
        "output": "IsMicroShiftCluster: MicroShift cluster with version: 4.22.0_0.nightly_2026_03_29_173136_20260330211258_54e2e8b52\n  [SKIPPED] in [JustBeforeEach] - /home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281 @ 03/31/26 01:56:02.237\n\n skip [/home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281]: Test is skipped on MicroShift\n"
      },
      {
        "name": "[Jira:\"Cloud Credential Operator\"] Cluster_Operator CCO is enabled [Suite:cco/conformance/parallel][OTP][PolarionID:34470] NonHyperShiftHOST-ROSA-OSD_CCS-ARO-Critical-Cloud credential operator health check",
        "lifecycle": "informing",
        "duration": 528,
        "startTime": "2026-03-31 05:56:01.721193 UTC",
        "endTime": "2026-03-31 05:56:02.250115 UTC",
        "result": "skipped",
        "output": "IsMicroShiftCluster: MicroShift cluster with version: 4.22.0_0.nightly_2026_03_29_173136_20260330211258_54e2e8b52\n  [SKIPPED] in [JustBeforeEach] - /home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281 @ 03/31/26 01:56:02.249\n\n skip [/home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281]: Test is skipped on MicroShift\n"
      },
      {
        "name": "[Jira:\"Cloud Credential Operator\"] Cluster_Operator CCO is enabled [Suite:cco/conformance/parallel][OTP][PolarionID:66538][Level0][platform:azure] NonHyperShiftHOST-OSD_CCS-ARO-Critical-Azure workload identity cluster healthy check",
        "lifecycle": "informing",
        "duration": 451,
        "startTime": "2026-03-31 05:56:02.187903 UTC",
        "endTime": "2026-03-31 05:56:02.639276 UTC",
        "result": "skipped",
        "output": "IsMicroShiftCluster: MicroShift cluster with version: 4.22.0_0.nightly_2026_03_29_173136_20260330211258_54e2e8b52\n  [SKIPPED] in [JustBeforeEach] - /home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281 @ 03/31/26 01:56:02.639\n\n skip [/home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281]: Test is skipped on MicroShift\n"
      },
      {
        "name": "[Jira:\"Cloud Credential Operator\"] Cluster_Operator CCO is enabled [Suite:cco/conformance/parallel][OTP][PolarionID:64885][platform:aws] Critical-CCO-based flow for olm managed operators and AWS STS",
        "lifecycle": "informing",
        "duration": 473,
        "startTime": "2026-03-31 05:56:02.203321 UTC",
        "endTime": "2026-03-31 05:56:02.676874 UTC",
        "result": "skipped",
        "output": "IsMicroShiftCluster: MicroShift cluster with version: 4.22.0_0.nightly_2026_03_29_173136_20260330211258_54e2e8b52\n  [SKIPPED] in [JustBeforeEach] - /home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281 @ 03/31/26 01:56:02.676\n\n skip [/home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281]: Test is skipped on MicroShift\n"
      },
      {
        "name": "[Jira:\"Cloud Credential Operator\"] Cluster_Operator CCO is enabled [Suite:cco/conformance/parallel][OTP][PolarionID:69971][platform:azure] NonHyperShiftHOST-OSD_CCS-ARO-Critical-Azure workload identity management for olm managed operators",
        "lifecycle": "informing",
        "duration": 464,
        "startTime": "2026-03-31 05:56:02.215685 UTC",
        "endTime": "2026-03-31 05:56:02.680597 UTC",
        "result": "skipped",
        "output": "IsMicroShiftCluster: MicroShift cluster with version: 4.22.0_0.nightly_2026_03_29_173136_20260330211258_54e2e8b52\n  [SKIPPED] in [JustBeforeEach] - /home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281 @ 03/31/26 01:56:02.68\n\n skip [/home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281]: Test is skipped on MicroShift\n"
      },
      {
        "name": "[Jira:\"Cloud Credential Operator\"] Cluster_Operator CCO is enabled [Suite:cco/conformance/parallel][OTP][PolarionID:75429][platform:gcp] NonHyperShiftHOST-OSD_CCS-Critical-GCP workload identity management for olm managed operators",
        "lifecycle": "informing",
        "duration": 469,
        "startTime": "2026-03-31 05:56:02.219299 UTC",
        "endTime": "2026-03-31 05:56:02.688450 UTC",
        "result": "skipped",
        "output": "IsMicroShiftCluster: MicroShift cluster with version: 4.22.0_0.nightly_2026_03_29_173136_20260330211258_54e2e8b52\n  [SKIPPED] in [JustBeforeEach] - /home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281 @ 03/31/26 01:56:02.688\n\n skip [/home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281]: Test is skipped on MicroShift\n"
      },
      {
        "name": "[Jira:\"Cloud Credential Operator\"] Cluster_Operator CCO is disabled [Suite:cco/conformance/parallel][OTP][PolarionID:68220] NonHyperShiftHOST-Critical-Leverage Composable OpenShift feature to make cloud-credential optional",
        "lifecycle": "informing",
        "duration": 476,
        "startTime": "2026-03-31 05:56:02.228824 UTC",
        "endTime": "2026-03-31 05:56:02.705479 UTC",
        "result": "skipped",
        "output": "IsMicroShiftCluster: MicroShift cluster with version: 4.22.0_0.nightly_2026_03_29_173136_20260330211258_54e2e8b52\n  [SKIPPED] in [BeforeEach] - /home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281 @ 03/31/26 01:56:02.704\n\n skip [/home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281]: Test is skipped on MicroShift\n"
      }
    

    openshift-ci-robot openshift-ci-robot commented on Mar 31, 2026 06:30 UTC
    Contributor

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

    <details>

    In response to this:

    >/verified by @huangmingxia

    >Local test record (cluster provisioned via openshift-microshift-e2e-origin-conformance)

    >
    >$ ./cloud-credential-tests-ext run-suite cco/all
    >[
    >  {
    >    "name": "[Jira:\"Cloud Credential Operator\"] Cluster_Operator CCO is enabled [Suite:cco/conformance/parallel][OTP][PolarionID:33204][Level0][platform:azure] NonHyperShiftHOST-Critical-[cco-passthrough]IPI on azure with cco passthrough mode",
    >    "lifecycle": "informing",
    >    "duration": 456,
    >    "startTime": "2026-03-31 05:56:01.720937 UTC",
    >    "endTime": "2026-03-31 05:56:02.176969 UTC",
    >    "result": "skipped",
    >    "output": "IsMicroShiftCluster: MicroShift cluster with version: 4.22.0_0.nightly_2026_03_29_173136_20260330211258_54e2e8b52\n  [SKIPPED] in [JustBeforeEach] - /home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281 @ 03/31/26 01:56:02.176\n\n skip [/home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281]: Test is skipped on MicroShift\n"
    >  },
    >  {
    >    "name": "[Jira:\"Cloud Credential Operator\"] Cluster_Operator CCO is enabled [Suite:cco/disruptive][OTP][PolarionID:45415][Disruptive][platform:openstack] NonHyperShiftHOST-High-[Bug 1940142] Reset CACert to correct path",
    >    "lifecycle": "informing",
    >    "duration": 467,
    >    "startTime": "2026-03-31 05:56:01.726120 UTC",
    >    "endTime": "2026-03-31 05:56:02.194025 UTC",
    >    "result": "skipped",
    >    "output": "IsMicroShiftCluster: MicroShift cluster with version: 4.22.0_0.nightly_2026_03_29_173136_20260330211258_54e2e8b52\n  [SKIPPED] in [JustBeforeEach] - /home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281 @ 03/31/26 01:56:02.193\n\n skip [/home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281]: Test is skipped on MicroShift\n"
    >  },
    >  {
    >    "name": "[Jira:\"Cloud Credential Operator\"] Cluster_Operator CCO is enabled [Suite:cco/disruptive][OTP][PolarionID:31768][Disruptive][Slow]NonHyperShiftHOST-High-Report the mode of cloud-credential operation as a metric",
    >    "lifecycle": "informing",
    >    "duration": 485,
    >    "startTime": "2026-03-31 05:56:01.720353 UTC",
    >    "endTime": "2026-03-31 05:56:02.205950 UTC",
    >    "result": "skipped",
    >    "output": "IsMicroShiftCluster: MicroShift cluster with version: 4.22.0_0.nightly_2026_03_29_173136_20260330211258_54e2e8b52\n  [SKIPPED] in [JustBeforeEach] - /home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281 @ 03/31/26 01:56:02.205\n\n skip [/home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281]: Test is skipped on MicroShift\n"
    >  },
    >  {
    >    "name": "[Jira:\"Cloud Credential Operator\"] Cluster_Operator CCO is enabled [Suite:cco/conformance/parallel][OTP][PolarionID:45219] NonHyperShiftHOST-ROSA-OSD_CCS-ARO-High-A fresh cluster should not have stale CR",
    >    "lifecycle": "informing",
    >    "duration": 480,
    >    "startTime": "2026-03-31 05:56:01.728743 UTC",
    >    "endTime": "2026-03-31 05:56:02.209643 UTC",
    >    "result": "skipped",
    >    "output": "IsMicroShiftCluster: MicroShift cluster with version: 4.22.0_0.nightly_2026_03_29_173136_20260330211258_54e2e8b52\n  [SKIPPED] in [JustBeforeEach] - /home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281 @ 03/31/26 01:56:02.209\n\n skip [/home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281]: Test is skipped on MicroShift\n"
    >  },
    >  {
    >    "name": "[Jira:\"Cloud Credential Operator\"] Cluster_Operator CCO is enabled [Suite:cco/disruptive][OTP][PolarionID:45975][Disruptive] NonHyperShiftHOST-Medium-Test cco condition changes",
    >    "lifecycle": "informing",
    >    "duration": 483,
    >    "startTime": "2026-03-31 05:56:01.728873 UTC",
    >    "endTime": "2026-03-31 05:56:02.212104 UTC",
    >    "result": "skipped",
    >    "output": "IsMicroShiftCluster: MicroShift cluster with version: 4.22.0_0.nightly_2026_03_29_173136_20260330211258_54e2e8b52\n  [SKIPPED] in [JustBeforeEach] - /home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281 @ 03/31/26 01:56:02.211\n\n skip [/home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281]: Test is skipped on MicroShift\n"
    >  },
    >  {
    >    "name": "[Jira:\"Cloud Credential Operator\"] Cluster_Operator CCO is enabled [Suite:cco/conformance/parallel][OTP][PolarionID:50869] NonHyperShiftHOST-ROSA-OSD_CCS-ARO-Medium-High-53283-High-77285-CCO Pod Security Admission change",
    >    "lifecycle": "informing",
    >    "duration": 494,
    >    "startTime": "2026-03-31 05:56:01.722649 UTC",
    >    "endTime": "2026-03-31 05:56:02.217424 UTC",
    >    "result": "skipped",
    >    "output": "IsMicroShiftCluster: MicroShift cluster with version: 4.22.0_0.nightly_2026_03_29_173136_20260330211258_54e2e8b52\n  [SKIPPED] in [JustBeforeEach] - /home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281 @ 03/31/26 01:56:02.217\n\n skip [/home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281]: Test is skipped on MicroShift\n"
    >  },
    >  {
    >    "name": "[Jira:\"Cloud Credential Operator\"] Cluster_Operator CCO is enabled [Suite:cco/conformance/parallel][OTP][PolarionID:80542] NonHyperShiftHOST-ROSA-OSD_CCS-ARO-High-Enable readOnlyRootFilesystem on all containers",
    >    "lifecycle": "informing",
    >    "duration": 500,
    >    "startTime": "2026-03-31 05:56:01.725259 UTC",
    >    "endTime": "2026-03-31 05:56:02.225930 UTC",
    >    "result": "skipped",
    >    "output": "IsMicroShiftCluster: MicroShift cluster with version: 4.22.0_0.nightly_2026_03_29_173136_20260330211258_54e2e8b52\n  [SKIPPED] in [JustBeforeEach] - /home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281 @ 03/31/26 01:56:02.225\n\n skip [/home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281]: Test is skipped on MicroShift\n"
    >  },
    >  {
    >    "name": "[Jira:\"Cloud Credential Operator\"] Cluster_Operator CCO is enabled [Suite:cco/conformance/parallel][OTP][PolarionID:36498][Level0][platform:aws] NonHyperShiftHOST-ROSA-OSD_CCS-Critical-CCO credentials secret change to STS-style",
    >    "lifecycle": "informing",
    >    "duration": 510,
    >    "startTime": "2026-03-31 05:56:01.723019 UTC",
    >    "endTime": "2026-03-31 05:56:02.233724 UTC",
    >    "result": "skipped",
    >    "output": "IsMicroShiftCluster: MicroShift cluster with version: 4.22.0_0.nightly_2026_03_29_173136_20260330211258_54e2e8b52\n  [SKIPPED] in [JustBeforeEach] - /home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281 @ 03/31/26 01:56:02.233\n\n skip [/home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281]: Test is skipped on MicroShift\n"
    >  },
    >  {
    >    "name": "[Jira:\"Cloud Credential Operator\"] Cluster_Operator CCO is enabled [Suite:cco/disruptive][OTP][PolarionID:48360][Disruptive][platform:aws] NonHyperShiftHOST-Medium-Reconciliation of aws pod identity mutating webhook did not happen",
    >    "lifecycle": "informing",
    >    "duration": 518,
    >    "startTime": "2026-03-31 05:56:01.719784 UTC",
    >    "endTime": "2026-03-31 05:56:02.238224 UTC",
    >    "result": "skipped",
    >    "output": "IsMicroShiftCluster: MicroShift cluster with version: 4.22.0_0.nightly_2026_03_29_173136_20260330211258_54e2e8b52\n  [SKIPPED] in [JustBeforeEach] - /home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281 @ 03/31/26 01:56:02.237\n\n skip [/home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281]: Test is skipped on MicroShift\n"
    >  },
    >  {
    >    "name": "[Jira:\"Cloud Credential Operator\"] Cluster_Operator CCO is enabled [Suite:cco/conformance/parallel][OTP][PolarionID:34470] NonHyperShiftHOST-ROSA-OSD_CCS-ARO-Critical-Cloud credential operator health check",
    >    "lifecycle": "informing",
    >    "duration": 528,
    >    "startTime": "2026-03-31 05:56:01.721193 UTC",
    >    "endTime": "2026-03-31 05:56:02.250115 UTC",
    >    "result": "skipped",
    >    "output": "IsMicroShiftCluster: MicroShift cluster with version: 4.22.0_0.nightly_2026_03_29_173136_20260330211258_54e2e8b52\n  [SKIPPED] in [JustBeforeEach] - /home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281 @ 03/31/26 01:56:02.249\n\n skip [/home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281]: Test is skipped on MicroShift\n"
    >  },
    >  {
    >    "name": "[Jira:\"Cloud Credential Operator\"] Cluster_Operator CCO is enabled [Suite:cco/conformance/parallel][OTP][PolarionID:66538][Level0][platform:azure] NonHyperShiftHOST-OSD_CCS-ARO-Critical-Azure workload identity cluster healthy check",
    >    "lifecycle": "informing",
    >    "duration": 451,
    >    "startTime": "2026-03-31 05:56:02.187903 UTC",
    >    "endTime": "2026-03-31 05:56:02.639276 UTC",
    >    "result": "skipped",
    >    "output": "IsMicroShiftCluster: MicroShift cluster with version: 4.22.0_0.nightly_2026_03_29_173136_20260330211258_54e2e8b52\n  [SKIPPED] in [JustBeforeEach] - /home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281 @ 03/31/26 01:56:02.639\n\n skip [/home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281]: Test is skipped on MicroShift\n"
    >  },
    >  {
    >    "name": "[Jira:\"Cloud Credential Operator\"] Cluster_Operator CCO is enabled [Suite:cco/conformance/parallel][OTP][PolarionID:64885][platform:aws] Critical-CCO-based flow for olm managed operators and AWS STS",
    >    "lifecycle": "informing",
    >    "duration": 473,
    >    "startTime": "2026-03-31 05:56:02.203321 UTC",
    >    "endTime": "2026-03-31 05:56:02.676874 UTC",
    >    "result": "skipped",
    >    "output": "IsMicroShiftCluster: MicroShift cluster with version: 4.22.0_0.nightly_2026_03_29_173136_20260330211258_54e2e8b52\n  [SKIPPED] in [JustBeforeEach] - /home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281 @ 03/31/26 01:56:02.676\n\n skip [/home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281]: Test is skipped on MicroShift\n"
    >  },
    >  {
    >    "name": "[Jira:\"Cloud Credential Operator\"] Cluster_Operator CCO is enabled [Suite:cco/conformance/parallel][OTP][PolarionID:69971][platform:azure] NonHyperShiftHOST-OSD_CCS-ARO-Critical-Azure workload identity management for olm managed operators",
    >    "lifecycle": "informing",
    >    "duration": 464,
    >    "startTime": "2026-03-31 05:56:02.215685 UTC",
    >    "endTime": "2026-03-31 05:56:02.680597 UTC",
    >    "result": "skipped",
    >    "output": "IsMicroShiftCluster: MicroShift cluster with version: 4.22.0_0.nightly_2026_03_29_173136_20260330211258_54e2e8b52\n  [SKIPPED] in [JustBeforeEach] - /home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281 @ 03/31/26 01:56:02.68\n\n skip [/home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281]: Test is skipped on MicroShift\n"
    >  },
    >  {
    >    "name": "[Jira:\"Cloud Credential Operator\"] Cluster_Operator CCO is enabled [Suite:cco/conformance/parallel][OTP][PolarionID:75429][platform:gcp] NonHyperShiftHOST-OSD_CCS-Critical-GCP workload identity management for olm managed operators",
    >    "lifecycle": "informing",
    >    "duration": 469,
    >    "startTime": "2026-03-31 05:56:02.219299 UTC",
    >    "endTime": "2026-03-31 05:56:02.688450 UTC",
    >    "result": "skipped",
    >    "output": "IsMicroShiftCluster: MicroShift cluster with version: 4.22.0_0.nightly_2026_03_29_173136_20260330211258_54e2e8b52\n  [SKIPPED] in [JustBeforeEach] - /home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281 @ 03/31/26 01:56:02.688\n\n skip [/home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281]: Test is skipped on MicroShift\n"
    >  },
    >  {
    >    "name": "[Jira:\"Cloud Credential Operator\"] Cluster_Operator CCO is disabled [Suite:cco/conformance/parallel][OTP][PolarionID:68220] NonHyperShiftHOST-Critical-Leverage Composable OpenShift feature to make cloud-credential optional",
    >    "lifecycle": "informing",
    >    "duration": 476,
    >    "startTime": "2026-03-31 05:56:02.228824 UTC",
    >    "endTime": "2026-03-31 05:56:02.705479 UTC",
    >    "result": "skipped",
    >    "output": "IsMicroShiftCluster: MicroShift cluster with version: 4.22.0_0.nightly_2026_03_29_173136_20260330211258_54e2e8b52\n  [SKIPPED] in [BeforeEach] - /home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281 @ 03/31/26 01:56:02.704\n\n skip [/home/cloud-user/openshift/cloud-credential-operator/test/extend/cli.go:281]: Test is skipped on MicroShift\n"
    >  }
    >

    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>

    jstuever jstuever commented on Mar 31, 2026 16:09 UTC
    Contributor

    /test e2e-hypershift
    I think these changes may not be compatible with hypershift.

    jstuever jstuever approved these changes on Mar 31, 2026 18:04 UTC
    Approved Reviewer

    /lgtm
    /approve

    openshift-ci[bot] openshift-ci[bot] commented on Mar 31, 2026 18:05 UTC
    Bot

    [APPROVALNOTIFIER] This PR is APPROVED

    This pull-request has been approved by: <a href="https://github.com/openshift/cloud-credential-operator/pull/1005#" title="Author self-approved">huangmingxia</a>, <a href="https://github.com/openshift/cloud-credential-operator/pull/1005#pullrequestreview-4039154365" title="Approved">jstuever</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~~ [jstuever]
  • 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-ci-robot openshift-ci-robot commented on Mar 31, 2026 21:18 UTC
    Contributor

    /retest-required

    Remaining retests: 0 against base HEAD d8c80dd8dcbc3baaff61fa1d4277c8f6642a5bc3 and 2 for PR HEAD 1f6e5287d27ffba6edd7711a4231e51d175c030d in total

    jstuever jstuever commented on Mar 31, 2026 22:00 UTC
    Contributor

    /override ci/prow/security
    There is a bug for this.

    openshift-ci[bot] openshift-ci[bot] commented on Mar 31, 2026 22:00 UTC
    Bot

    @jstuever: Overrode contexts on behalf of jstuever: ci/prow/security

    <details>

    In response to this:

    >/override ci/prow/security
    >There is a bug for 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.
    </details>

    openshift-ci[bot] openshift-ci[bot] commented on Mar 31, 2026 22:00 UTC
    Bot

    @huangmingxia: 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 Mar 31, 2026 22:03 UTC
    Contributor

    @huangmingxia: Jira Issue Verification Checks: Jira Issue OCPBUGS-81328
    :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-81328 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:

    >### Why

    >- Prevent misleading informing failures on MicroShift.

    >### Summary

    >- Align MicroShift detection in isMicroshiftCluster() by checking kube-public/microshift-version with polling and logging, replacing the previous CRD-field inference approach.

    >- Reorder global setup flow to run skipIfMicroShift(oc) before capability checks in both JustBeforeEach and BeforeEach, so MicroShift exits early from unsupported paths.
    >- Remove global HyperShift gating from hooks. Scope HyperShift gating to individual NonHyperShiftHOST test cases by calling skipIfHypershiftHostedCluster(oc) inside each relevant test.
    >- Normalize skip wording to Test is skipped on MicroShift.
    >

    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>

    Reviewers
    Assignees
    huangmingxia huangmingxia
    Labels
    risk: low confidence: 89.9% 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: 30.3% (LOW) · Higher = larger blast radius
    30.3%
    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: 89.9% · Lower = rushed or shallow review
    89.9%
    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%