Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-79089

Enable Fleet Virtualization E2E Testing on ACM

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Unresolved
    • Icon: Normal Normal
    • CNV v4.22.0
    • None
    • CNV User Interface
    • None
    • Fleet Virtualization E2E Testing
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide
      • Framework supports manager + managed cluster auth via ClusterOrchestrator; clients and drivers can target either cluster; single-cluster behavior unchanged when no managed cluster is configured.
      • Fleet Virtualization / ACM tests are runnable by tag (e.g. `--grep @acm`); UI and login use the manager cluster only; fleet management (bind/import) is done in setup when needed, not in tests.
      • ACM mode is detectable in code (env variable and/or fixture) and used by global setup and Allure; Allure report shows both manager and managed cluster (and console) URLs when in ACM mode.
      • Jenkins pipeline and test Dockerfile support dual-cluster auth and kubeconfig for both clusters, with fallback so setup can add a to-be-managed cluster to the manager when it is not yet bound.
      • Documentation updated (how to run Fleet Virtualization tier, env vars, setup-only fleet management).
      Show
      Framework supports manager + managed cluster auth via ClusterOrchestrator; clients and drivers can target either cluster; single-cluster behavior unchanged when no managed cluster is configured. Fleet Virtualization / ACM tests are runnable by tag (e.g. `--grep @acm`); UI and login use the manager cluster only; fleet management (bind/import) is done in setup when needed, not in tests. ACM mode is detectable in code (env variable and/or fixture) and used by global setup and Allure; Allure report shows both manager and managed cluster (and console) URLs when in ACM mode. Jenkins pipeline and test Dockerfile support dual-cluster auth and kubeconfig for both clusters, with fallback so setup can add a to-be-managed cluster to the manager when it is not yet bound. Documentation updated (how to run Fleet Virtualization tier, env vars, setup-only fleet management).
    • None
    • To Do
    • 100% To Do, 0% In Progress, 0% Done

      Goal

       
      Enable E2E test runs for Fleet Virtualization on ACM (Advanced Cluster Management) topologies: a manager (hub) cluster with Fleet Virtualization and one or more managed clusters. Tests focus on Fleet Virtualization UI and workflows from the manager cluster; fleet management (importing or binding the managed cluster) is performed only in setup when needed, not as part of test scenarios. CI/build pipelines support dual-cluster authentication and kubeconfig so that setup can bind a to-be-managed cluster to the manager when required. Expected outcomes: a dedicated Fleet Virtualization / ACM test tier, multi-cluster orchestration in the framework, dual-cluster Allure reporting, and a clear ACM mode for setup and tests.

      User Stories

      • As a cluster administrator or test maintainer, I want the test framework to authenticate to both manager and managed clusters and use the manager cluster for all UI interactions, with a dedicated Fleet Virtualization / ACM tag/tier and an ACM mode flag or fixture, so that Fleet Virtualization workflows can be validated end-to-end, tests can be selected and run in CI (e.g. `--grep @acm`) with manager UI + optional managed cluster context, fleet management is handled in setup only, and the Allure report includes both manager and managed cluster (and console) URLs when running in ACM mode so report consumers can see which clusters were used.
      • As a CI/CD maintainer, I want the Jenkins pipeline to support dual-cluster auth and to find/read kubeconfig for both manager and managed (or to-be-managed) clusters, so that Fleet Virtualization test jobs can run with the right credentials and, when the managed cluster is not yet bound, setup can use the to-be-managed kubeconfig to add it to the manager (tests do not perform fleet management).
      • As a CI/CD maintainer, I want the test image Dockerfile to support dual-cluster auth and to find/read kubeconfig for both clusters (with the same fallback as Jenkins), so that containerized Fleet Virtualization test runs work in dual-cluster environments and setup can bind the cluster when needed.
         

              rh-ee-bmaio Bruno Maio
              rh-ee-bmaio Bruno Maio
              Guohua Ouyang Guohua Ouyang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: