red-hat-storage / ocs-ci

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

test_create_delete_pool fails with TimeoutException #9412

Open keemano opened 8 months ago

keemano commented 8 months ago

test_create_delete_pool fails with TimeoutException in UI

Tested it manually, it works as expected. (tested in 4.15.0-150)

This could be tested by increasing the timeout value.

RP Link - https://reportportal-ocs4.apps.ocp-c1.prod.psi.redhat.com/ui/#ocs/launches/632/19054/926010/926020/log

keemano commented 7 months ago

On further analysis, found the script could not click on the storage cluster on the last navigated page. It gets stuck at "do_click" function. Most probably it is not able to locate the element on UI.

DanielOsypenko commented 3 months ago

more issues related to this test. They will be addressed complexly.

  1. Multi StorageCluster deployments. User can not pick the rbd pool http://magna002.ceph.redhat.com/ocsci-jenkins/openshift-clusters/j-011vu1csms33-t1/j-011vu1csms33-t1_20240713T104946/logs/ui_logs_dir_1720888783/screenshots_ui/test_create_delete_pool%5b3-True%5d/2024-07-13T13-11-40.007119.png https://reportportal-ocs4.apps.ocp-c1.prod.psi.redhat.com/ui/#ocs/launches/678/23075/1110916/1110925/log

Feature - we need to adjust the test.

The Storage Pool element is a dropdown when internal mode Storage System is selected and becomes an input field when external storagecluster Storage System is selected

  1. 158 MiB as checked by CLI” and “157.5 MiB as checked by UI” fail assertion correct the calculation and make a deviation for +1/-1 digit. Also try to use bytes instead of units for the comparison, so to make the test utilities more universal

  2. External mode; should be excluded https://reportportal-ocs4.apps.ocp-c1.prod.psi.redhat.com/ui/#ocs/launches/678/23016/1107098/1107107/log

  3. Follow the 4.17 changes: in 4.17 there are few more addition to this flow, as part of epic: https://issues.redhat.com/browse/RHSTOR-5528, so probably we will have to update the tests again

github-actions[bot] commented 2 weeks 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.