OCPBUGS-114052: Restore login scenario to test-prow-e2e.sh - #17131
OCPBUGS-114052: Restore login scenario to test-prow-e2e.sh#17131ShazaAldawamneh wants to merge 1 commit into
Conversation
Signed-off-by: Shaza Aldawamneh <shaza.aldawamneh@hotmail.com>
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
@ShazaAldawamneh: This pull request references Jira Issue OCPBUGS-114052, 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. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: ShazaAldawamneh The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review. WalkthroughThe E2E test script adds a documented ChangesLogin E2E scenario
Estimated code review effort: 2 (Simple) | ~5 minutes Merge Risk: ⚪ Minimal · up to This localized CI script change restores the login scenario and routes it to the Playwright authentication test; no actionable merge-blocking risk remains beyond normal checks and review. Suggested reviewers: Important Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional. ❌ Failed checks (1 error)
✅ Passed checks (14 passed)
Full details: Docstring CoverageExplanation No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1 files. Full details: Stable And Deterministic Test NamesExplanation PASS: The pull request changes only Full details: Test Structure And QualityExplanation PASS: The pull request changes only Full details: Microshift Test CompatibilityExplanation PASS: The pull request changes only Full details: Single Node Openshift (Sno) Test CompatibilityExplanation PASS: The pull request changes only Full details: Topology-Aware Scheduling CompatibilityExplanation PASS: The pull request changes only Full details: Ote Binary Stdout ContractExplanation PASS: The pull request changes only Full details: Ipv6 And Disconnected Network Test CompatibilityExplanation PASS — The pull request changes only Full details: No-Weak-CryptoExplanation PASS. The pull request changes only Full details: Container-PrivilegesExplanation PASS: The pull request changes only Full details: No-Sensitive-Data-In-LogsExplanation The added Resolution Disable xtrace before the three
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
@ShazaAldawamneh: all tests passed! 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. |
|
Nice fix — this unblocks the 1. Wrap credential exports in
|
Analysis / Root cause:
Commit 8cb612eea9 (OCPBUGS-112462, Aug 20th) removed the login scenario from test-prow-e2e.sh when cleaning up the empty Cypress integration-tests package. However, the e2e-console-login CI job in openshift-release still passes login as the scenario argument, causing a hard failure: error: unknown scenario 'login' (use: e2e, release, or smoke). This has been perma-failing since August 20th and is blocking PRs in openshift/cluster-authentication-operator.
Solution description:
Re-add the login scenario to test-prow-e2e.sh, now routing to the Playwright equivalent (e2e/tests/console/app/auth-multiuser-login.spec.ts) instead of the old Cypress path. The htpasswd environment variables (BRIDGE_HTPASSWD_IDP, BRIDGE_HTPASSWD_USERNAME, BRIDGE_HTPASSWD_PASSWORD) are exported so the Playwright test can authenticate as the test user.
Screenshots / screen recording:
N/A — CI script change only.
Test setup:
Trigger the e2e-console-login CI job on a cluster-authentication-operator PR.
Test cases:
e2e-console-login CI job passes instead of failing with "unknown scenario"
The Playwright auth-multiuser-login spec runs and validates both htpasswd and kubeadmin login
Browser conformance:
N/A — CI script change only.
Additional info:
Fixes the perma-failing ci/prow/e2e-console-login job that has been blocking openshift/cluster-authentication-operator merges since Aug 20th.
Reviewers and assignees:
/assign @logonoff
Summary by CodeRabbit