red-hat-storage / ocs-ci

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

test_Cephfilesystem_creation fails at teardown #10084

Open jilju opened 1 month ago

jilju commented 1 month ago

The test case tests/internal/test_cephfilesystem_creation.py::TestCephFileSystemCreation::test_Cephfilesystem_creation failed due to different reasons in multiple test runs.

  1. https://reportportal-ocs4.apps.ocp-c1.prod.psi.redhat.com/ui/#ocs/launches/678/22428/1072297/1072442/log Leftover added because the test case brings mds down and add new cephfilesystem but not handling the leftover check or removal of the new cephfilesystem upon failure.
  2. https://reportportal-ocs4.apps.ocp-c1.prod.psi.redhat.com/ui/#ocs/launches/678/22563/1079776/1079945/log
    E           subprocess.TimeoutExpired: Command '['oc', '--kubeconfig', '/home/jenkins/current-cluster-dir/openshift-cluster-dir/auth/kubeconfig', '-n', 'openshift-storage', 'rsh', 'rook-ceph-tools-68474c7bb7-jwfmk', 'ceph', 'health']' timed out after 120 seconds
jilju commented 1 month ago

The test case needs to be moved to a different directroy. This ceph commmands in the test case needs to be checked if relevant because those steps are not present in the bug https://bugzilla.redhat.com/show_bug.cgi?id=1969216 which is automated in this test case.

shivamdurgbuns commented 1 month ago

TODO: