red-hat-storage / ocs-ci

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

Adjust the test "test_verify_fsgroup_set_on_subpath_volume_for_cephfs" to run on MS consumer cluster #8575

Closed yitzhak12 closed 7 months ago

yitzhak12 commented 11 months ago

I execute the run https://ocs4-jenkins-csb-odf-qe.apps.ocp-c1.prod.psi.redhat.com/job/qe-odf-multicluster/1963/console using the PR https://github.com/red-hat-storage/ocs-ci/pull/8535 for printing more info in the console output. And here are the ocs-must gather logs of the test above: http://magna002.ceph.redhat.com/ocsci-jenkins/openshift-clusters/ikave-mpl73-pr/ikave-mpl73-pr_20230921T075256/logs/failed_testcase_ocs_logs_1695300792/test_verify_fsgroup_set_on_subpath_volume_for_cephfs_ocs_logs/ikave-mpl73-c1/ocs_must_gather/quay-io-ocs-dev-ocs-must-gather-sha256-3d57a983f6c2b53ef2dd4ee3a5a4df7bc86daf53abb703e9a7872d07c00ed3c7/. After investigating it with @Shrivaibavi, we figured out that it is an ocs-ci issue for most of the chance. We need to adjust the test for running on an MS consumer cluster. Probably, it failed because of a wrong assertion.

yitzhak12 commented 11 months ago

The test test_verify_fsgroup_set_on_subpath_volume_for_cephfs is applicable only for ODF version >= 4.12. And with Managed Service, we use ODF 4.11 - that's why the test is failing. See this BZ for more details: https://bugzilla.redhat.com/show_bug.cgi?id=2182943. So, we have two solutions:

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

github-actions[bot] commented 7 months ago

This issue has been automatically closed due to inactivity. Please re-open if this still requires investigation.