Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skipifhciclient ms #8896

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion tests/e2e/workloads/ocp/logging/test_openshift-logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
ignore_leftovers,
)
from ocs_ci.utility import deployment_openshift_logging as ocp_logging_obj
from ocs_ci.framework.pytest_customization.marks import skipif_managed_service
from ocs_ci.framework.pytest_customization.marks import (
skipif_managed_service,
skipif_ms_provider_and_consumer,
)

logger = logging.getLogger(__name__)

Expand Down Expand Up @@ -159,6 +162,7 @@ def check_filecount_in_project(self, project):
@pytest.mark.polarion_id("OCS-657")
@tier1
@skipif_managed_service
@skipif_ms_provider_and_consumer
def test_create_new_project_to_verify_logging(
self, create_pvc_and_deploymentconfig_pod
):
Expand Down
3 changes: 3 additions & 0 deletions tests/manage/monitoring/prometheus/test_capacity.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
tier2,
gather_metrics_on_fail,
skipif_managed_service,
skipif_ms_provider_and_consumer,
blue_squad,
)
from ocs_ci.ocs import constants
Expand All @@ -23,6 +24,7 @@
"ceph_cluster_total_used_bytes", "cluster:memory_usage_bytes:sum"
)
@skipif_managed_service
@skipif_ms_provider_and_consumer
def test_rbd_capacity_workload_alerts(
workload_storageutilization_97p_rbd, threading_lock
):
Expand Down Expand Up @@ -90,6 +92,7 @@ def test_rbd_capacity_workload_alerts(
"ceph_cluster_total_used_bytes", "cluster:memory_usage_bytes:sum"
)
@skipif_managed_service
@skipif_ms_provider_and_consumer
def test_cephfs_capacity_workload_alerts(
workload_storageutilization_97p_cephfs, threading_lock
):
Expand Down
10 changes: 9 additions & 1 deletion tests/manage/monitoring/prometheus/test_ceph.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
import logging
import pytest

from ocs_ci.framework.testlib import tier4, tier4a, skipif_managed_service, blue_squad
from ocs_ci.framework.testlib import (
tier4,
tier4a,
skipif_managed_service,
skipif_ms_provider_and_consumer,
blue_squad,
)
from ocs_ci.ocs import constants
from ocs_ci.utility import prometheus
from ocs_ci.ocs.ocp import OCP
Expand All @@ -14,6 +20,7 @@
@tier4a
@pytest.mark.polarion_id("OCS-903")
@skipif_managed_service
@skipif_ms_provider_and_consumer
def test_corrupt_pg_alerts(measure_corrupt_pg, threading_lock):
"""
Test that there are appropriate alerts when Placement group
Expand Down Expand Up @@ -60,6 +67,7 @@ def test_corrupt_pg_alerts(measure_corrupt_pg, threading_lock):
@tier4a
@pytest.mark.polarion_id("OCS-898")
@skipif_managed_service
@skipif_ms_provider_and_consumer
def test_ceph_health(measure_stop_ceph_osd, measure_corrupt_pg, threading_lock):
"""
Test that there are appropriate alerts for Ceph health triggered.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
tier4c,
bugzilla,
skipif_managed_service,
skipif_ms_provider_and_consumer,
skipif_ocs_version,
)
from ocs_ci.ocs import constants
Expand All @@ -20,6 +21,7 @@
@tier4c
@pytest.mark.polarion_id("OCS-1052")
@skipif_managed_service
@skipif_ms_provider_and_consumer
def test_ceph_manager_stopped(measure_stop_ceph_mgr, threading_lock):
"""
Test that there is appropriate alert when ceph manager
Expand Down Expand Up @@ -50,6 +52,7 @@ def test_ceph_manager_stopped(measure_stop_ceph_mgr, threading_lock):
@tier4c
@pytest.mark.polarion_id("OCS-904")
@skipif_managed_service
@skipif_ms_provider_and_consumer
def test_ceph_monitor_stopped(measure_stop_ceph_mon, threading_lock):
"""
Test that there is appropriate alert related to ceph monitor quorum
Expand Down Expand Up @@ -92,6 +95,7 @@ def test_ceph_monitor_stopped(measure_stop_ceph_mon, threading_lock):
@pytest.mark.polarion_id("OCS-2724")
@pytest.mark.parametrize("create_mon_quorum_loss", [True])
@skipif_managed_service
@skipif_ms_provider_and_consumer
@skipif_ocs_version("<4.9")
def test_ceph_mons_quorum_lost(measure_stop_ceph_mon, threading_lock):
"""
Expand Down Expand Up @@ -122,6 +126,7 @@ def test_ceph_mons_quorum_lost(measure_stop_ceph_mon, threading_lock):
@tier4c
@pytest.mark.polarion_id("OCS-900")
@skipif_managed_service
@skipif_ms_provider_and_consumer
def test_ceph_osd_stopped(measure_stop_ceph_osd, threading_lock):
"""
Test that there is appropriate alert related to situation when ceph osd
Expand Down
6 changes: 5 additions & 1 deletion tests/manage/monitoring/prometheus/test_hpa.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
from ocs_ci.framework.testlib import skipif_ocs_version, skipif_ocp_version
from ocs_ci.ocs import constants
from ocs_ci.utility import prometheus
from ocs_ci.framework.pytest_customization.marks import skipif_managed_service
from ocs_ci.framework.pytest_customization.marks import (
skipif_managed_service,
skipif_ms_provider_and_consumer,
)

logger = logging.getLogger(__name__)

Expand All @@ -17,6 +20,7 @@
@marks.polarion_id("OCS-2375")
@marks.bugzilla("1836299")
@skipif_managed_service
@skipif_ms_provider_and_consumer
def test_hpa_maxreplica_alert(threading_lock):
"""
Test to verify that no HPA max replica alert is triggered
Expand Down
8 changes: 7 additions & 1 deletion tests/manage/monitoring/prometheusmetrics/test_rgw.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@

from ocs_ci.framework import config
from ocs_ci.framework.pytest_customization.marks import blue_squad
from ocs_ci.framework.testlib import skipif_managed_service, skipif_ocs_version, tier4c
from ocs_ci.framework.testlib import (
skipif_managed_service,
skipif_ms_provider_and_consumer,
skipif_ocs_version,
tier4c,
)
from ocs_ci.ocs import constants, ocp
from ocs_ci.ocs import metrics
from ocs_ci.ocs.resources.ocs import OCS
Expand All @@ -25,6 +30,7 @@
@tier4c
@pytest.mark.polarion_id("OCS-2385")
@skipif_managed_service
@skipif_ms_provider_and_consumer
def test_ceph_rgw_metrics_after_metrics_exporter_respin(
rgw_deployments, threading_lock
):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
skipif_ocs_version,
kms_config_required,
skipif_managed_service,
skipif_hci_provider_and_client,
skipif_disconnected_cluster,
skipif_proxy_cluster,
ManageTest,
Expand Down Expand Up @@ -55,6 +56,7 @@
@skipif_managed_service
@skipif_disconnected_cluster
@skipif_proxy_cluster
@skipif_hci_provider_and_client
class TestEncryptedRbdTenantConfigmapOverride(ManageTest):
"""
Tests to check Tenant configmap override vault namespace or not
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
ignore_leftover_label,
skipif_ocp_version,
skipif_managed_service,
skipif_hci_provider_and_client,
)
from ocs_ci.ocs.resources.pod import cal_md5sum, verify_data_integrity
from ocs_ci.helpers import disruption_helpers
Expand All @@ -25,6 +26,7 @@
@skipif_ocs_version("<4.6")
@skipif_ocp_version("<4.6")
@skipif_managed_service
@skipif_hci_provider_and_client
@ignore_leftover_label(constants.drain_canary_pod_label)
@pytest.mark.polarion_id("OCS-2369")
class TestResourceDeletionDuringSnapshotRestore(ManageTest):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
tier1,
skipif_ocp_version,
skipif_managed_service,
skipif_hci_provider_and_client,
)
from ocs_ci.ocs.resources.pod import cal_md5sum, verify_data_integrity
from ocs_ci.helpers.helpers import (
Expand All @@ -23,6 +24,7 @@
@green_squad
@tier1
@skipif_managed_service
@skipif_hci_provider_and_client
@skipif_ocs_version("<4.6")
@skipif_ocp_version("<4.6")
@pytest.mark.polarion_id("OCS-2424")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
tier4c,
polarion_id,
skipif_managed_service,
skipif_hci_provider_and_client,
skipif_external_mode,
)
from ocs_ci.framework import config
Expand Down Expand Up @@ -42,6 +43,7 @@
@tier4
@tier4c
@skipif_managed_service
@skipif_hci_provider_and_client
@skipif_external_mode
class TestDaemonKillDuringMultipleCreateDeleteOperations(ManageTest):
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
bugzilla,
skipif_ocs_version,
skipif_managed_service,
skipif_hci_provider_and_client,
skipif_external_mode,
)

Expand Down Expand Up @@ -42,6 +43,7 @@ def setup_sc(storageclass_factory_class):
@bugzilla("2024545")
@skipif_external_mode
@skipif_managed_service
@skipif_hci_provider_and_client
@skipif_ocs_version("<4.10")
@pytest.mark.polarion_id("OCS-4472")
class TestOverProvisionLevelPolicyControl(ManageTest):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
ManageTest,
tier1,
skipif_managed_service,
skipif_hci_provider_and_client,
skipif_external_mode,
)
from ocs_ci.utility import version
Expand All @@ -34,6 +35,7 @@ def setup_sc(storageclass_factory_class):
@pytest.mark.polarion_id("OCS-3778")
@skipif_external_mode
@skipif_managed_service
@skipif_hci_provider_and_client
class TestOverProvisionLevelPolicyControlWithCapacity(ManageTest):
"""
Test OverProvision Level Policy Control With Capacity.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
skipif_no_lso,
skipif_lso,
skipif_managed_service,
skipif_hci_provider_and_client,
brown_squad,
)
from ocs_ci.framework.testlib import (
Expand Down Expand Up @@ -122,7 +123,7 @@ def add_capacity_test(ui_flag=False):
@skipif_lso
@skipif_external_mode
@skipif_ibm_power
@skipif_managed_service
@skipif_hci_provider_and_client
@ceph_health_retry
class TestAddCapacity(ManageTest):
"""
Expand All @@ -148,13 +149,14 @@ def test_add_capacity_ui(self, reduce_and_resume_cluster_load):
@ignore_leftovers
@polarion_id("OCS-4647")
@pytest.mark.second_to_last
@skipif_managed_service
@skipif_hci_provider_and_client
@skipif_aws_i3
@skipif_bm
@skipif_bmpsi
@skipif_external_mode
@skipif_ibm_power
@skipif_managed_service
@skipif_hci_provider_and_client
@skipif_no_lso
@ceph_health_retry
class TestAddCapacityLSO(ManageTest):
Expand Down Expand Up @@ -187,6 +189,7 @@ def test_add_capacity_lso_ui(self, reduce_and_resume_cluster_load):
@skipif_external_mode
@cloud_platform_required
@skipif_managed_service
@skipif_hci_provider_and_client
@ceph_health_retry
class TestAddCapacityPreUpgrade(ManageTest):
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
skipif_bm,
skipif_external_mode,
skipif_managed_service,
skipif_hci_provider_and_client,
)
from ocs_ci.helpers import cluster_exp_helpers
from ocs_ci.ocs import constants
Expand Down Expand Up @@ -43,6 +44,7 @@
@skipif_bm
@skipif_external_mode
@skipif_managed_service
@skipif_hci_provider_and_client
class TestAddCapacity(ManageTest):
@pytest.fixture(autouse=True)
def setup(self):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
ManageTest,
tier4b,
skipif_managed_service,
skipif_hci_provider_and_client,
)
from ocs_ci.framework import config
from ocs_ci.ocs import constants
Expand Down Expand Up @@ -37,6 +38,7 @@
@ignore_leftovers
@tier4b
@skipif_managed_service
@skipif_hci_provider_and_client
class TestAddCapacityNodeRestart(ManageTest):
"""
Test add capacity when one of the worker nodes got restart
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

from ocs_ci.framework.pytest_customization.marks import (
skipif_managed_service,
skipif_hci_provider_and_client,
skipif_bm,
brown_squad,
)
Expand Down Expand Up @@ -39,6 +40,7 @@
@skipif_bm
@skipif_external_mode
@skipif_managed_service
@skipif_hci_provider_and_client
@pytest.mark.polarion_id("OCS-2594")
class TestAddNodeCrashCollector(ManageTest):
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
import logging
from concurrent.futures import ThreadPoolExecutor

from ocs_ci.framework.testlib import ignore_leftovers, tier4c, skipif_managed_service
from ocs_ci.framework.testlib import (
ignore_leftovers,
tier4c,
skipif_managed_service,
skipif_hci_provider_and_client,
)
from ocs_ci.framework.pytest_customization.marks import (
skipif_external_mode,
brown_squad,
Expand All @@ -26,6 +31,7 @@

@brown_squad
@skipif_managed_service
@skipif_hci_provider_and_client
@skipif_external_mode
@ignore_leftovers
@tier4c
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
skipif_flexy_deployment,
skipif_ibm_flash,
skipif_managed_service,
skipif_hci_provider_and_client,
brown_squad,
)

Expand All @@ -15,6 +16,7 @@
@brown_squad
# https://github.com/red-hat-storage/ocs-ci/issues/4802
@skipif_managed_service
@skipif_hci_provider_and_client
@skipif_flexy_deployment
@skipif_ibm_flash
@ignore_leftovers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from ocs_ci.framework.pytest_customization.marks import (
skipif_flexy_deployment,
skipif_managed_service,
skipif_hci_provider_and_client,
skipif_multus_enabled,
brown_squad,
)
Expand All @@ -19,6 +20,7 @@
# https://github.com/red-hat-storage/ocs-ci/issues/4802
@skipif_flexy_deployment
@skipif_managed_service
@skipif_hci_provider_and_client
@skipif_multus_enabled
@tier2
@pytest.mark.polarion_id("OCS-2490")
Expand Down
Loading
Loading