Skip to content

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

Merged
openshift-merge-bot[bot] merged 1 commit intoopenshift:masterfrom
huangmingxia:OCPBUGS-81328
Mar 31, 2026
Merged

OCPBUGS-81328: tests-ext: Fix MicroShift gating in CCO tests#1005
openshift-merge-bot[bot] merged 1 commit intoopenshift:masterfrom
huangmingxia:OCPBUGS-81328

Conversation

@huangmingxia
Copy link
Copy Markdown
Contributor

@huangmingxia huangmingxia commented Mar 31, 2026

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.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 31, 2026

Important

Review skipped

Auto reviews are limited based on label configuration.

🚫 Review skipped — only excluded labels are configured. (1)
  • do-not-merge/work-in-progress

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.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

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

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:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 31, 2026
@openshift-ci openshift-ci bot requested review from 2uasimojo and dlom March 31, 2026 02:29
@huangmingxia
Copy link
Copy Markdown
Contributor Author

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

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Mar 31, 2026

@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
Copy link
Copy Markdown
Contributor Author

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

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Mar 31, 2026

@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
Copy link
Copy Markdown

codecov bot commented Mar 31, 2026

Codecov Report

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

Additional details and impacted files

Impacted file tree graph

@@            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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@huangmingxia
Copy link
Copy Markdown
Contributor Author

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

@openshift-ci openshift-ci bot changed the title [WIP] OCPBUGS-81328 OCPBUGS-81328: tests-ext: Fix MicroShift gating in CCO tests Mar 31, 2026
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 31, 2026
@openshift-ci-robot openshift-ci-robot added jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Mar 31, 2026
@openshift-ci-robot
Copy link
Copy Markdown
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 /jira refresh 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.

@huangmingxia
Copy link
Copy Markdown
Contributor Author

/jira refresh

@openshift-ci-robot openshift-ci-robot added the jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. label Mar 31, 2026
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

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

3 validation(s) were run on this bug
  • 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

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.

@openshift-ci-robot openshift-ci-robot removed the jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. label Mar 31, 2026
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

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

3 validation(s) were run on this bug
  • 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

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.

@huangmingxia
Copy link
Copy Markdown
Contributor Author

/cc @jstuever

@openshift-ci openshift-ci bot requested a review from jstuever March 31, 2026 06:16
@huangmingxia
Copy link
Copy Markdown
Contributor 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 added the verified Signifies that the PR passed pre-merge verification criteria label Mar 31, 2026
@openshift-ci-robot
Copy link
Copy Markdown
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.

@jstuever
Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
Contributor

@jstuever jstuever left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Mar 31, 2026
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Mar 31, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: huangmingxia, jstuever

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 31, 2026
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

/retest-required

Remaining retests: 0 against base HEAD d8c80dd and 2 for PR HEAD 1f6e528 in total

@jstuever
Copy link
Copy Markdown
Contributor

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

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Mar 31, 2026

@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.

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Mar 31, 2026

@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.

@openshift-merge-bot openshift-merge-bot bot merged commit 798098a into openshift:master Mar 31, 2026
13 checks passed
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@huangmingxia: Jira Issue Verification Checks: Jira Issue OCPBUGS-81328
✔️ This pull request was pre-merge verified.
✔️ All associated pull requests have merged.
✔️ 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. 🕓

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. verified Signifies that the PR passed pre-merge verification criteria

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants