OCPBUGS-81328: tests-ext: Fix MicroShift gating in CCO tests #1005
<!-- 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.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.
> <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 thereviews.review_statustofalsein 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>
</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>
</details>
<sub>Comment @coderabbitai help to get the list of available commands and usage tips.</sub>
<!-- tips_end -->
/payload-job periodic-ci-openshift-microshift-release-4.22-periodics-e2e-aws-ovn-ocp-conformance-arm64
@huangmingxia: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command
See details on https://pr-payload-tests.ci.openshift.org/runs/ci/c0b33060-2ca9-11f1-806e-2ad47d013090-0
/payload-job periodic-ci-openshift-microshift-release-4.22-periodics-e2e-aws-ovn-ocp-conformance
@huangmingxia: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command
See details on https://pr-payload-tests.ci.openshift.org/runs/ci/f42d2310-2ca9-11f1-8252-9ea80801a4a5-0
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>

@@ 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>
</details>
/retitle OCPBUGS-81328: tests-ext: Fix MicroShift gating in CCO tests
@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>
/jira refresh
@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)
<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>
@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)
<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>
/cc @jstuever
/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"
}
@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>
/test e2e-hypershift
I think these changes may not be compatible with hypershift.
/lgtm
/approve
[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:
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":[]} -->
/retest-required
Remaining retests: 0 against base HEAD d8c80dd8dcbc3baaff61fa1d4277c8f6642a5bc3 and 2 for PR HEAD 1f6e5287d27ffba6edd7711a4231e51d175c030d in total
/override ci/prow/security
There is a bug for this.
@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>
@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 -->
@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>
jstuever
huangmingxia
Why
Summary