Skip to content

ROX-29840: get ocp console auth vars for cypress#16415

Closed
davdhacs wants to merge 26 commits intomasterfrom
rox-29840-access-ocp-console
Closed

ROX-29840: get ocp console auth vars for cypress#16415
davdhacs wants to merge 26 commits intomasterfrom
rox-29840-access-ocp-console

Conversation

@davdhacs
Copy link
Contributor

@davdhacs davdhacs commented Aug 14, 2025

Set up openshift console auth for ui-e2e.

  1. get vars from cluster creation (dotenv)
  2. test in Cypress smoke test

@openshift-ci
Copy link

openshift-ci bot commented Aug 14, 2025

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@red-hat-konflux
Copy link
Contributor

Caution

There are some errors in your PipelineRun template.

PipelineRun Error
central-db-on-push CEL expression evaluation error: expression "(\n event == \"push\" && target_branch.matches(\"^(master|release-.*|refs/tags/.*)$\")\n) || (\n event == \"pull_request\" && (\n target_branch.startsWith(\"release-\") ||\n source_branch.matches(\"(konflux|renovate|appstudio|rhtap)\") ||\n body.pull_request.labels.exists(l, l.name == \"konflux-build\")\n )\n)\n" failed to evaluate: no such key: labels
main-on-push CEL expression evaluation error: expression "(\n event == \"push\" && target_branch.matches(\"^(master|release-.*|refs/tags/.*)$\")\n) || (\n event == \"pull_request\" && (\n target_branch.startsWith(\"release-\") ||\n source_branch.matches(\"(konflux|renovate|appstudio|rhtap)\") ||\n body.pull_request.labels.exists(l, l.name == \"konflux-build\")\n )\n)\n" failed to evaluate: no such key: labels
operator-on-push CEL expression evaluation error: expression "(\n event == \"push\" && target_branch.matches(\"^(master|release-.*|refs/tags/.*)$\")\n) || (\n event == \"pull_request\" && (\n target_branch.startsWith(\"release-\") ||\n source_branch.matches(\"(konflux|renovate|appstudio|rhtap)\") ||\n body.pull_request.labels.exists(l, l.name == \"konflux-build\")\n )\n)\n" failed to evaluate: no such key: labels
operator-bundle-on-push CEL expression evaluation error: expression "(\n event == \"push\" && target_branch.matches(\"^(master|release-.*|refs/tags/.*)$\")\n) || (\n event == \"pull_request\" && (\n target_branch.startsWith(\"release-\") ||\n source_branch.matches(\"(konflux|renovate|appstudio|rhtap)\") ||\n body.pull_request.labels.exists(l, l.name == \"konflux-build\")\n )\n)\n" failed to evaluate: no such key: labels
retag-collector CEL expression evaluation error: expression "(\n event == \"push\" && target_branch.matches(\"^(master|release-.*|refs/tags/.*)$\")\n) || (\n event == \"pull_request\" && (\n target_branch.startsWith(\"release-\") ||\n source_branch.matches(\"(konflux|renovate|appstudio|rhtap)\") ||\n body.pull_request.labels.exists(l, l.name == \"konflux-build\")\n )\n)\n" failed to evaluate: no such key: labels
retag-scanner-db-slim CEL expression evaluation error: expression "(\n event == \"push\" && target_branch.matches(\"^(master|release-.*|refs/tags/.*)$\")\n) || (\n event == \"pull_request\" && (\n target_branch.startsWith(\"release-\") ||\n source_branch.matches(\"(konflux|renovate|appstudio|rhtap)\") ||\n body.pull_request.labels.exists(l, l.name == \"konflux-build\")\n )\n)\n" failed to evaluate: no such key: labels
retag-scanner-db CEL expression evaluation error: expression "(\n event == \"push\" && target_branch.matches(\"^(master|release-.*|refs/tags/.*)$\")\n) || (\n event == \"pull_request\" && (\n target_branch.startsWith(\"release-\") ||\n source_branch.matches(\"(konflux|renovate|appstudio|rhtap)\") ||\n body.pull_request.labels.exists(l, l.name == \"konflux-build\")\n )\n)\n" failed to evaluate: no such key: labels
retag-scanner-slim CEL expression evaluation error: expression "(\n event == \"push\" && target_branch.matches(\"^(master|release-.*|refs/tags/.*)$\")\n) || (\n event == \"pull_request\" && (\n target_branch.startsWith(\"release-\") ||\n source_branch.matches(\"(konflux|renovate|appstudio|rhtap)\") ||\n body.pull_request.labels.exists(l, l.name == \"konflux-build\")\n )\n)\n" failed to evaluate: no such key: labels
retag-scanner CEL expression evaluation error: expression "(\n event == \"push\" && target_branch.matches(\"^(master|release-.*|refs/tags/.*)$\")\n) || (\n event == \"pull_request\" && (\n target_branch.startsWith(\"release-\") ||\n source_branch.matches(\"(konflux|renovate|appstudio|rhtap)\") ||\n body.pull_request.labels.exists(l, l.name == \"konflux-build\")\n )\n)\n" failed to evaluate: no such key: labels
roxctl-on-push CEL expression evaluation error: expression "(\n event == \"push\" && target_branch.matches(\"^(master|release-.*|refs/tags/.*)$\")\n) || (\n event == \"pull_request\" && (\n target_branch.startsWith(\"release-\") ||\n source_branch.matches(\"(konflux|renovate|appstudio|rhtap)\") ||\n body.pull_request.labels.exists(l, l.name == \"konflux-build\")\n )\n)\n" failed to evaluate: no such key: labels
scanner-v4-on-push CEL expression evaluation error: expression "(\n event == \"push\" && target_branch.matches(\"^(master|release-.*|refs/tags/.*)$\")\n) || (\n event == \"pull_request\" && (\n target_branch.startsWith(\"release-\") ||\n source_branch.matches(\"(konflux|renovate|appstudio|rhtap)\") ||\n body.pull_request.labels.exists(l, l.name == \"konflux-build\")\n )\n)\n" failed to evaluate: no such key: labels
scanner-v4-db-on-push CEL expression evaluation error: expression "(\n event == \"push\" && target_branch.matches(\"^(master|release-.*|refs/tags/.*)$\")\n) || (\n event == \"pull_request\" && (\n target_branch.startsWith(\"release-\") ||\n source_branch.matches(\"(konflux|renovate|appstudio|rhtap)\") ||\n body.pull_request.labels.exists(l, l.name == \"konflux-build\")\n )\n)\n" failed to evaluate: no such key: labels

@davdhacs
Copy link
Contributor Author

/test all

@rhacs-bot
Copy link
Contributor

rhacs-bot commented Aug 14, 2025

Images are ready for the commit at bc117fb.

To use with deploy scripts, first export MAIN_IMAGE_TAG=4.9.x-427-gbc117fbf6f.

@davdhacs
Copy link
Contributor Author

/test ?

@openshift-ci
Copy link

openshift-ci bot commented Aug 14, 2025

@davdhacs: The following commands are available to trigger required jobs:

/test gke-nongroovy-e2e-tests
/test gke-ui-e2e-tests

The following commands are available to trigger optional jobs:

/test aks-qa-e2e-tests
/test aro-qa-e2e-tests
/test eks-qa-e2e-tests
/test gke-external-pg-17-qa-e2e-tests
/test gke-latest-nongroovy-e2e-tests
/test gke-latest-operator-e2e-tests
/test gke-latest-qa-e2e-tests
/test gke-latest-ui-e2e-tests
/test gke-nongroovy-compatibility-tests
/test gke-oldest-nongroovy-e2e-tests
/test gke-oldest-operator-e2e-tests
/test gke-oldest-qa-e2e-tests
/test gke-oldest-ui-e2e-tests
/test gke-operator-e2e-tests
/test gke-qa-e2e-tests
/test gke-race-condition-qa-e2e-tests
/test gke-scale-tests
/test gke-scanner-v4-install-tests
/test gke-sensor-integration-tests
/test gke-upgrade-tests
/test gke-version-compatibility-tests
/test ibmcloudz-4-14-qa-e2e-tests
/test ibmcloudz-4-15-qa-e2e-tests
/test ibmcloudz-4-16-qa-e2e-tests
/test ibmcloudz-4-17-qa-e2e-tests
/test ocp-4-12-compliance-e2e-tests
/test ocp-4-12-nongroovy-e2e-tests
/test ocp-4-12-operator-e2e-tests
/test ocp-4-12-qa-e2e-tests
/test ocp-4-12-scanner-v4-install-tests
/test ocp-4-12-sensor-integration-tests
/test ocp-4-12-ui-e2e-tests
/test ocp-4-18-compliance-e2e-tests
/test ocp-4-18-crun-qa-e2e-tests
/test ocp-4-18-fips-qa-e2e-tests
/test ocp-4-18-nongroovy-e2e-tests
/test ocp-4-18-operator-e2e-tests
/test ocp-4-18-qa-e2e-tests
/test ocp-4-18-scanner-v4-install-tests
/test ocp-4-18-sensor-integration-tests
/test ocp-4-18-ui-e2e-tests
/test ocp-4-19-compliance-e2e-tests
/test ocp-4-19-crun-qa-e2e-tests
/test ocp-4-19-fips-qa-e2e-tests
/test ocp-4-19-nongroovy-e2e-tests
/test ocp-4-19-operator-e2e-tests
/test ocp-4-19-qa-e2e-tests
/test ocp-4-19-scanner-v4-install-tests
/test ocp-4-19-sensor-integration-tests
/test ocp-4-19-ui-e2e-tests
/test ocp-dev-preview-compliance-e2e-tests
/test ocp-dev-preview-fips-qa-e2e-tests
/test ocp-dev-preview-nongroovy-e2e-tests
/test ocp-dev-preview-operator-e2e-tests
/test ocp-dev-preview-qa-e2e-tests
/test ocp-dev-preview-scanner-v4-install-tests
/test ocp-dev-preview-sensor-integration-tests
/test ocp-dev-preview-ui-e2e-tests
/test ocp-next-candidate-compliance-e2e-tests
/test ocp-next-candidate-fips-qa-e2e-tests
/test ocp-next-candidate-nongroovy-e2e-tests
/test ocp-next-candidate-operator-e2e-tests
/test ocp-next-candidate-qa-e2e-tests
/test ocp-next-candidate-scanner-v4-install-tests
/test ocp-next-candidate-sensor-integration-tests
/test ocp-next-candidate-ui-e2e-tests
/test ocp-stable-scanner-v4-install-compliance-e2e-tests
/test ocp-stable-scanner-v4-install-nongroovy-e2e-tests
/test ocp-stable-scanner-v4-install-operator-e2e-tests
/test ocp-stable-scanner-v4-install-qa-e2e-tests
/test ocp-stable-scanner-v4-install-scanner-v4-install-tests
/test ocp-stable-scanner-v4-install-sensor-integration-tests
/test ocp-stable-scanner-v4-install-ui-e2e-tests
/test osd-aws-qa-e2e-tests
/test osd-gcp-qa-e2e-tests
/test powervs-4-14-qa-corebpf-e2e-tests
/test powervs-4-15-qa-corebpf-e2e-tests
/test powervs-4-16-qa-corebpf-e2e-tests
/test powervs-4-17-qa-corebpf-e2e-tests
/test powervs-4-18-qa-corebpf-e2e-tests
/test powervs-4-19-qa-corebpf-e2e-tests
/test rosa-hcp-qa-e2e-tests
/test rosa-qa-e2e-tests

Use /test all to run the following jobs that were automatically triggered:

pull-ci-stackrox-stackrox-master-gke-nongroovy-e2e-tests
pull-ci-stackrox-stackrox-master-gke-qa-e2e-tests
pull-ci-stackrox-stackrox-master-gke-scanner-v4-install-tests
pull-ci-stackrox-stackrox-master-gke-ui-e2e-tests
pull-ci-stackrox-stackrox-master-gke-upgrade-tests
pull-ci-stackrox-stackrox-master-ocp-4-12-nongroovy-e2e-tests
pull-ci-stackrox-stackrox-master-ocp-4-12-scanner-v4-install-tests
pull-ci-stackrox-stackrox-master-ocp-4-18-nongroovy-e2e-tests
pull-ci-stackrox-stackrox-master-ocp-4-19-nongroovy-e2e-tests
pull-ci-stackrox-stackrox-master-ocp-4-19-scanner-v4-install-tests
pull-ci-stackrox-stackrox-master-ocp-4-19-ui-e2e-tests
Details

In response to this:

/test ?

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.

@davdhacs
Copy link
Contributor Author

/test ocp-4-19-ui-e2e-tests

1 similar comment
@davdhacs
Copy link
Contributor Author

/test ocp-4-19-ui-e2e-tests

@gitguardian
Copy link

gitguardian bot commented Aug 15, 2025

️✅ There are no secrets present in this pull request anymore.

If these secrets were true positive and are still valid, we highly recommend you to revoke them.
While these secrets were previously flagged, we no longer have a reference to the
specific commits where they were detected. Once a secret has been leaked into a git
repository, you should consider it compromised, even if it was deleted immediately.
Find here more information about risks.


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@codecov
Copy link

codecov bot commented Aug 15, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 49.12%. Comparing base (1515120) to head (71dcf7d).
⚠️ Report is 132 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #16415      +/-   ##
==========================================
+ Coverage   48.91%   49.12%   +0.21%     
==========================================
  Files        2616     2641      +25     
  Lines      193258   195672    +2414     
==========================================
+ Hits        94527    96125    +1598     
- Misses      91297    92009     +712     
- Partials     7434     7538     +104     
Flag Coverage Δ
go-unit-tests 49.12% <ø> (+0.21%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@davdhacs
Copy link
Contributor Author

/test ocp-4-19-ui-e2e-tests

@davdhacs davdhacs force-pushed the rox-29840-access-ocp-console branch from 8e0fc15 to 76809b3 Compare August 15, 2025 21:41
@davdhacs
Copy link
Contributor Author

/test ocp-4-19-ui-e2e-tests

3 similar comments
@davdhacs
Copy link
Contributor Author

/test ocp-4-19-ui-e2e-tests

@davdhacs
Copy link
Contributor Author

/test ocp-4-19-ui-e2e-tests

@davdhacs
Copy link
Contributor Author

/test ocp-4-19-ui-e2e-tests

@davdhacs
Copy link
Contributor Author

/test ocp-4-19-ui-e2e-tests ocp-4-18-ui-e2e-tests

@davdhacs davdhacs changed the title ci: test env vars in cypress.sh ROX-29840: get ocp console auth vars for cypress Aug 18, 2025
@davdhacs
Copy link
Contributor Author

/test ocp-4-19-ui-e2e-tests

@davdhacs
Copy link
Contributor Author

/test ocp-4-19-ui-e2e-tests

@davdhacs
Copy link
Contributor Author

/test ocp-4-19-ui-e2e-tests

@davdhacs
Copy link
Contributor Author

/test ocp-4-19-ui-e2e-tests

@davdhacs
Copy link
Contributor Author

/test ocp-4-19-ui-e2e-tests

@davdhacs
Copy link
Contributor Author

/test ocp-4-19-ui-e2e-tests

@davdhacs
Copy link
Contributor Author

/test ocp-4-19-ui-e2e-tests ocp-4-18-ui-e2e-tests

@davdhacs
Copy link
Contributor Author

/test ocp-4-19-ui-e2e-tests ocp-4-18-ui-e2e-tests

@openshift-ci
Copy link

openshift-ci bot commented Aug 19, 2025

@davdhacs: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/gke-qa-e2e-tests b74eff3 link false /test gke-qa-e2e-tests
ci/prow/gke-ui-e2e-tests b74eff3 link true /test gke-ui-e2e-tests
ci/prow/gke-nongroovy-e2e-tests b74eff3 link true /test gke-nongroovy-e2e-tests
ci/prow/ocp-4-18-ui-e2e-tests e6cf762 link false /test ocp-4-18-ui-e2e-tests

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.

Co-authored-by: David Vail <dcvail17@gmail.com>
@davdhacs
Copy link
Contributor Author

/test ocp-4-19-ui-e2e-tests

@davdhacs davdhacs closed this Aug 20, 2025
@davdhacs davdhacs deleted the rox-29840-access-ocp-console branch August 20, 2025 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants