Skip to content

Conversation

@IshwarKanse
Copy link
Member

The PR updates the tests with following changes.

  • Implement seamless test reruns and handle test interruptions.
  • Use RBAC TempoStack and TempoMonolithic tests.
  • Use multiarch images so that we can run the tests on IBM P,Z and ARM cluster architectures.
  • Simplifies login.
  • Adds Patternfly element selector commands.
  • Improved documentation.

@IshwarKanse IshwarKanse changed the title Fix and improve Tracing UI plugin tests NO-JIRA: [Chore] Fix and improve Tracing UI plugin tests Jul 17, 2025
@openshift-ci-robot
Copy link

@IshwarKanse: This pull request explicitly references no jira issue.

In response to this:

The PR updates the tests with following changes.

  • Implement seamless test reruns and handle test interruptions.
  • Use RBAC TempoStack and TempoMonolithic tests.
  • Use multiarch images so that we can run the tests on IBM P,Z and ARM cluster architectures.
  • Simplifies login.
  • Adds Patternfly element selector commands.
  • Improved documentation.

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 added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jul 17, 2025
@IshwarKanse
Copy link
Member Author

/lgtm
/label qe-approved
/label ux-approved

@openshift-ci
Copy link

openshift-ci bot commented Jul 17, 2025

@IshwarKanse: you cannot LGTM your own PR.

In response to this:

/lgtm
/label qe-approved
/label ux-approved

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 openshift-ci bot added qe-approved Signifies that QE has signed off on this PR ux-approved Signifies that UX has signed off on this PR labels Jul 17, 2025
@IshwarKanse
Copy link
Member Author

% npx cypress run

DevTools listening on ws://127.0.0.1:54544/devtools/browser/12937196-babc-41bb-a57e-b1f68347f9ce

====================================================================================================

  (Run Starting)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Cypress:        14.3.3                                                                         │
  │ Browser:        Electron 130 (headless)                                                        │
  │ Node Version:   v20.11.0 (/usr/local/bin/node)                                                 │
  │ Specs:          1 found (dt-plugin-tests.cy.ts)                                                │
  │ Searched:       e2e/**/*.cy.{js,jsx,ts,tsx}                                                    │
  │ Experiments:    experimentalMemoryManagement=true,experimentalModifyObstructiveThirdPartyCode… │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


────────────────────────────────────────────────────────────────────────────────────────────────────
                                                                                                    
  Running:  dt-plugin-tests.cy.ts                                                           (1 of 1)


  OpenShift Distributed Tracing UI Plugin tests
Command "oc delete UIPlugin distributed-tracing --kubeconfig /Users/ikanse/Downloads/kubeconfig" failed: Error from server (NotFound): uiplugins.observability.openshift.io "distributed-tracing" not found
Command "oc delete namespace openshift-cluster-observability-operator --kubeconfig /Users/ikanse/Downloads/kubeconfig" failed: Error from server (NotFound): namespaces "openshift-cluster-observability-operator" not found
Command "oc delete namespace openshift-opentelemetry-operator --kubeconfig /Users/ikanse/Downloads/kubeconfig" failed: Error from server (NotFound): namespaces "openshift-opentelemetry-operator" not found
Command "oc delete namespace openshift-tempo-operator --kubeconfig /Users/ikanse/Downloads/kubeconfig" failed: Error from server (NotFound): namespaces "openshift-tempo-operator" not found
  Logging in as kubeadmin
OAuth origin: https://oauth-openshift.apps.ikanse-59.qe.gcp.devcluster.openshift.com
    ✓ Test Distributed Tracing UI plugin page without any Tempo instances (216812ms)
Command "oc delete UIPlugin distributed-tracing --kubeconfig /Users/ikanse/Downloads/kubeconfig" executed successfully
Command "oc delete namespace openshift-cluster-observability-operator --kubeconfig /Users/ikanse/Downloads/kubeconfig" executed successfully
Command "oc delete namespace openshift-opentelemetry-operator --kubeconfig /Users/ikanse/Downloads/kubeconfig" executed successfully
Command "oc delete namespace openshift-tempo-operator --kubeconfig /Users/ikanse/Downloads/kubeconfig" executed successfully
    ✓ Test Distributed Tracing UI plugin with Tempo instances and verify traces using user having cluster-admin role (153588ms)


  2 passing (9m)

[mochawesome] Report JSON saved to /Users/ikanse/distributed-tracing-console-plugin/tests/gui_test_screenshots/cypress_report_001.json


  (Results)

  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        2                                                                                │
  │ Passing:      2                                                                                │
  │ Failing:      0                                                                                │
  │ Pending:      0                                                                                │
  │ Skipped:      0                                                                                │
  │ Screenshots:  0                                                                                │
  │ Video:        false                                                                            │
  │ Duration:     9 minutes, 8 seconds                                                             │
  │ Spec Ran:     dt-plugin-tests.cy.ts                                                            │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘


====================================================================================================

  (Run Finished)


       Spec                                              Tests  Passing  Failing  Pending  Skipped  
  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ ✔  dt-plugin-tests.cy.ts                    09:08        2        2        -        -        - │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✔  All specs passed!                        09:08        2        2        -        -        -  

@openshift-ci openshift-ci bot requested review from kyoto and zhuje July 17, 2025 12:10
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 17, 2025
@IshwarKanse
Copy link
Member Author

/override ci/prow/upstream-amd64-aws-e2e ci/prow/upstream-amd64-aws-fips-image-scan ci/prow/upstream-amd64-aws-images ci/prow/upstream-amd64-aws-lint

@openshift-ci
Copy link

openshift-ci bot commented Jul 17, 2025

@IshwarKanse: Overrode contexts on behalf of IshwarKanse: ci/prow/upstream-amd64-aws-e2e, ci/prow/upstream-amd64-aws-fips-image-scan, ci/prow/upstream-amd64-aws-images, ci/prow/upstream-amd64-aws-lint

In response to this:

/override ci/prow/upstream-amd64-aws-e2e ci/prow/upstream-amd64-aws-fips-image-scan ci/prow/upstream-amd64-aws-images ci/prow/upstream-amd64-aws-lint

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.

@IshwarKanse
Copy link
Member Author

Tests pass using kube:admin provider but fail using IDP as expected due to bug https://issues.redhat.com/browse/OCPBUGS-59366 The CI uses the flexy-htpasswd-provider IDP. We need to wait for the issue to be resolved so that we have passing tests from CI.

@IshwarKanse
Copy link
Member Author

/cherry-pick release-1.0

@openshift-cherrypick-robot

@IshwarKanse: once the present PR merges, I will cherry-pick it on top of release-1.0 in a new PR and assign it to you.

In response to this:

/cherry-pick release-1.0

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.

@etmurasaki
Copy link

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jul 17, 2025
@openshift-ci
Copy link

openshift-ci bot commented Jul 17, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: etmurasaki, IshwarKanse

The full list of commands accepted by this bot can be found here.

The pull request process is described here

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-merge-bot openshift-merge-bot bot merged commit 63a48a3 into openshift:main Jul 17, 2025
5 checks passed
@openshift-ci
Copy link

openshift-ci bot commented Jul 17, 2025

@IshwarKanse: all tests passed!

Full PR test history. Your PR dashboard.

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-cherrypick-robot

@IshwarKanse: new pull request created: #134

In response to this:

/cherry-pick release-1.0

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.

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-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. qe-approved Signifies that QE has signed off on this PR ux-approved Signifies that UX has signed off on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants