red-hat-storage / ocs-ci

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

Testcase test_disable_metadata_flag_after_enabling[ocs-storagecluster-cephfilesystem-ocs-storagecluster-cephfs] failed #7458

Closed jilju closed 7 months ago

jilju commented 1 year ago

The test case given below failed in the RUN ID 1680658140.

tests/manage/add_metadata_feature/test_metadata.py::TestMetadata::test_disable_metadata_flag_after_enabling[ocs-storagecluster-cephfilesystem-ocs-storagecluster-cephfs]

ocs_ci.ocs.exceptions.CommandFailed: Error during execution of command: oc -n openshift-storage describe Pod csi-cephfsplugin-provisioner-78fc675b66-2tsmp.
Error is Error from server (NotFound): pods "csi-cephfsplugin-provisioner-78fc675b66-2tsmp" not found
# Disable metadata flag
>       metadata_utils.disable_metadata(
            self.config_map_obj,
            self.pod_obj,
        )

tests/manage/add_metadata_feature/test_metadata.py:711: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
ocs_ci/utility/metadata_utils.py:159: in disable_metadata
    res = check_setmetadata_availability(pod_obj)
.............
............
        if completed_process.returncode and not ignore_error:
            if (
                "grep" in masked_cmd
                and b"command terminated with exit code 1" in completed_process.stderr
            ):
                log.info(f"No results found for grep command: {masked_cmd}")
            else:
>               raise CommandFailed(
                    f"Error during execution of command: {masked_cmd}."
                    f"\nError is {masked_stderr}"
                )
E               ocs_ci.ocs.exceptions.CommandFailed: Error during execution of command: oc -n openshift-storage describe Pod csi-cephfsplugin-provisioner-78fc675b66-2tsmp.
E               Error is Error from server (NotFound): pods "csi-cephfsplugin-provisioner-78fc675b66-2tsmp" not found

ocs_ci/utility/utils.py:640: CommandFailed
jilju commented 1 year ago

Another test case failed with the same error. Test case: test_metadata_details_available_only_when_metadata_flag_enabled[ocs-storagecluster-cephblockpool-ocs-storagecluster-ceph-rbd] Run ID: 1680634592

sidhant-agrawal commented 1 year ago

Other tests failed with similar error.

Test cases:

Run ID: 1680637443 || ODF 4.13.0-124, OCP 4.13, vsphere

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

amr1ta commented 1 year ago

Could not reproduce this issue.

paraggit commented 1 year ago

Same Issue seen with the RUN: https://reportportal-ocs4.apps.ocp-c1.prod.psi.redhat.com/ui/#ocs/launches/465/13510/617749/617778/617779/log

paraggit commented 12 months ago

Same issue seen on 4.14 RUN : https://reportportal-ocs4.apps.ocp-c1.prod.psi.redhat.com/ui/#ocs/launches/557/13691/624086/624116/624117/log

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