[release-4.20] OCPBUGS-104530: Re-enable-knative - #16908
Conversation
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
|
@cajieh: This pull request references Jira Issue OCPBUGS-104530, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/jira refresh |
|
@cajieh: This pull request references Jira Issue OCPBUGS-104530, which is valid. The bug has been moved to the POST state. 7 validation(s) were run on this bug
DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/approve |
|
@rhamilto: This PR has been marked as verified by DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
Scheduling tests matching the |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cajieh, rhamilto The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/test e2e-gcp-console |
1 similar comment
|
/test e2e-gcp-console |
|
@cajieh: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Analysis / Root cause:
Knative Cypress e2e was disabled under OCPBUGS-99226 (#16782) because
knative-ci.featurewas flaking in CI. Failures commonly hit thebeforeEach→cy.initAdmin()path when the perspective switcher was not ready yet (timeout onperspective-switcher-toggle/ menu interaction), which blocked unrelated PRs.The harness was also using fixed
cy.wait()delays around perspective menu open, which is brittle under React 18 / CI load.Solution description:
Re-enable Knative Cypress suites and harden shared perspective-switcher helpers:
frontend/integration-tests/test-cypress.sh(test-cypress-knative-nightly,test-cypress-knative-headless)test-prow-e2e.sh(SCENARIO == knative)initAdmin/initDeveloper, wait forperspective-switcher-toggleto exist and be visible (60s) before switching perspective.nav.tsperspective switcher helpers:aria-expandedwait where neededcy.wait(1000/1500)with waiting forperspective-switcher-menu-optionvisibility.click()(noforce: true) once the option is visibleNo product UI changes; test harness / CI wiring only.
Screenshots / screen recording:
N/A — CI / Cypress harness change only.
Test setup:
frontend/, run knative headless suite via./integration-tests/test-cypress.sh -p knative -h trueagainst a configured bridge/clusterTest cases:
SCENARIO=knative) executes (no longer skipped/commented out).beforeEach/initAdminno longer times out waiting for perspective switcher under CI load.knative-ci.featuresmoke scenarios pass (create / interact with knative service & revision as covered by the suite).initAdmin/initDeveloperstill pass (shared harness change).Browser conformance:
N/A for merge gate (CI Cypress / Chrome-like headless). Mark browsers only if manually exercised locally.
Additional info:
admin.ts/nav.tschanges affect all Cypress suites usinginitAdmin/initDeveloper, not only knative.Reviewers and assignees:
/assign
Summary by CodeRabbit