red-hat-storage / ocs-ci

https://ocs-ci.readthedocs.io/en/latest/
MIT License
109 stars 166 forks source link

test_validate_topology_configuration - tune worker_group_labels_not_equal to patternfly5 changes #9521

Open DanielOsypenko opened 5 months ago

DanielOsypenko commented 5 months ago

https://reportportal-ocs4.apps.ocp-c1.prod.psi.redhat.com/ui/#ocs/launches/632/18393/894276/894283/log

@tier3 @bugzilla("2209251") @bugzilla("2233027") @polarion_id("OCS-4901") def test_validate_topology_configuration( self, setup_ui_class, teardown_depl_busybox, ): """ Test to validate configuration of ODF Topology for internal and external deployments, cloud based deployments and on-prem deployments also for post-upgrade scenarios.

Steps:
1. Open Topology tab
2. Read Node level of Topology - Cluster name, Number of nodes and their names, Zone/Rack name of each node,
    node filtering bar, search bar
3. Open Topology entering to each Node and read Deployment of each Topology
4. Compare gathered information from UI to configuration gathered from oc commands

Test verifies requirements:
OCS-4888        Deploy ODF internal mode cluster and verify Topology represented `oc get CephCluster`
    correctly when clicking on Data Foundation menu, check Canvas representation
OCS-4890        Update ODF from version 4.12 to version 4.13 and verify Topology represented correctly when
    clicking on Data Foundation menu
OCS-4891        Clustername from Topology equals to the name from 'oc get CephCluster'
OCS-4892        Zone of each node from Topology equals description of the node, e.g label zone: zone_1
OCS-4893        Rack of each node from Topology equals description of the node, e.g label rack: rack_1
OCS-4894        When Topology is opened on Deployment level the Text field filters out deployment element,
    the rest elements should disapear from Topology
OCS-4899        When Topology is opened on Deployment level the Path represents selected node name from
    selected storage cluster name. Nodes selection from dropdown represents content of selected node.
    Right btn click on storage cluster name returns to Node/Rack Topology representation.
OCS-4895        Node bar on the Deployment Topology filters out the node by text input
OCS-4906        Add deployment to ODF cluster and verify that Topology represents added deployment
OCS-4907        Delete deployment from ODF cluster and verify that Topology represents that deployment
"""

topology_tab = PageNavigator().nav_odf_default_page().nav_topology_tab()

topology_deviation = topology_tab.validate_topology_configuration()

if len(topology_deviation):

  pytest.fail(
        "got deviation in topology configuration, at least one check failed\n"
        f"{topology_deviation}"
    )

E Failed: got deviation in topology configuration, at least one check failed E {'worker_group_labels_not_equal': True}

github-actions[bot] commented 2 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs.

DanielOsypenko commented 1 month ago

frequent issue when ocs-storagecluster label mixed with rack labels image https://reportportal-ocs4.apps.ocp-c1.prod.psi.redhat.com/ui/#ocs/launches/678/22636/1084612/1084618/log