diff --git a/tests/common/plugins/conditional_mark/tests_mark_conditions.yaml b/tests/common/plugins/conditional_mark/tests_mark_conditions.yaml index 8490190f141..9bb33beb8d9 100644 --- a/tests/common/plugins/conditional_mark/tests_mark_conditions.yaml +++ b/tests/common/plugins/conditional_mark/tests_mark_conditions.yaml @@ -4019,7 +4019,7 @@ qos/test_qos_sai.py::TestQosSai: conditions_logical_operator: or conditions: - "topo_type in ['m0', 'mx', 'm1']" - - "topo_name not in (constants['QOS_SAI_TOPO'] + ['t2_single_node_max', 't2_single_node_min']) and asic_type not in ['mellanox','marvell-teralynx']" + - "'t2_single_node' not in topo_name and topo_name not in (constants['QOS_SAI_TOPO']) and asic_type not in ['mellanox','marvell-teralynx']" qos/test_qos_sai.py::TestQosSai::testIPIPQosSaiDscpToPgMapping: skip: @@ -4084,7 +4084,7 @@ qos/test_qos_sai.py::TestQosSai::testQosSaiDscpQueueMapping: conditions: - "'backend' in topo_name" - "topo_type in ['m0', 'mx', 'm1']" - - "topo_name not in (constants['QOS_SAI_TOPO'] + ['t2_single_node_max', 't2_single_node_min']) and asic_type not in ['mellanox']" + - "'t2_single_node' not in topo_name and topo_name not in (constants['QOS_SAI_TOPO']) and asic_type not in ['mellanox']" qos/test_qos_sai.py::TestQosSai::testQosSaiDscpToPgMapping: skip: @@ -4093,7 +4093,7 @@ qos/test_qos_sai.py::TestQosSai::testQosSaiDscpToPgMapping: conditions: - "'backend' in topo_name" - "topo_type in ['m0', 'mx', 'm1']" - - "topo_name not in (constants['QOS_SAI_TOPO'] + ['t2_single_node_max', 't2_single_node_min']) and asic_type not in ['mellanox']" + - "'t2_single_node' not in topo_name and topo_name not in (constants['QOS_SAI_TOPO']) and asic_type not in ['mellanox']" qos/test_qos_sai.py::TestQosSai::testQosSaiDwrrWeightChange: skip: @@ -4102,7 +4102,7 @@ qos/test_qos_sai.py::TestQosSai::testQosSaiDwrrWeightChange: conditions: - "asic_type in ['mellanox']" - "topo_type in ['m0', 'mx', 'm1']" - - "topo_name not in (constants['QOS_SAI_TOPO'] + ['t2_single_node_max', 't2_single_node_min']) and asic_type not in ['mellanox']" + - "'t2_single_node' not in topo_name and topo_name not in (constants['QOS_SAI_TOPO']) and asic_type not in ['mellanox']" qos/test_qos_sai.py::TestQosSai::testQosSaiFullMeshTrafficSanity: skip: @@ -4121,7 +4121,7 @@ qos/test_qos_sai.py::TestQosSai::testQosSaiHeadroomPoolSize: - "https://github.com/sonic-net/sonic-mgmt/issues/12292 and hwsku in ['Force10-S6100'] and topo_type in ['t1-64-lag']" - "hwsku not in ['Arista-7060CX-32S-C32', 'Celestica-DX010-C32', 'Arista-7260CX3-D108C8', 'Arista-7260CX3-D108C10', 'Force10-S6100', 'Arista-7260CX3-Q64', 'Arista-7050CX3-32S-C32', 'Arista-7050CX3-32S-C28S4', 'Arista-7050CX3-32S-D48C8', 'Arista-7060CX-32S-D48C8'] and asic_type not in ['mellanox'] and asic_type in ['cisco-8000']" - "topo_type in ['m0', 'mx', 'm1']" - - "topo_name not in (constants['QOS_SAI_TOPO'] + ['t2_single_node_max', 't2_single_node_min']) and asic_type not in ['mellanox','marvell-teralynx']" + - "'t2_single_node' not in topo_name and topo_name not in (constants['QOS_SAI_TOPO']) and asic_type not in ['mellanox','marvell-teralynx']" - "asic_type in ['vs']" qos/test_qos_sai.py::TestQosSai::testQosSaiHeadroomPoolWatermark: @@ -4183,7 +4183,7 @@ qos/test_qos_sai.py::TestQosSai::testQosSaiPgHeadroomWatermark: - "asic_type in ['marvell-teralynx'] and platform in ['x86_64-wistron_6512_32r-r0', 'x86_64-wistron_sw_to3200k-r0']" - "asic_type in ['cisco-8000'] and not platform.startswith('x86_64-8122_')" - "topo_type in ['m0', 'mx', 'm1']" - - "topo_name not in (constants['QOS_SAI_TOPO'] + ['t2_single_node_max', 't2_single_node_min']) and asic_type not in ['mellanox']" + - "'t2_single_node' not in topo_name and topo_name not in (constants['QOS_SAI_TOPO']) and asic_type not in ['mellanox']" qos/test_qos_sai.py::TestQosSai::testQosSaiPgMinThreshold: skip: @@ -4210,7 +4210,7 @@ qos/test_qos_sai.py::TestQosSai::testQosSaiQWatermarkAllPorts: conditions: - "asic_type not in ['cisco-8000']" - "topo_type in ['m0', 'mx', 'm1']" - - "topo_name not in (constants['QOS_SAI_TOPO'] + ['t2_single_node_max', 't2_single_node_min']) and asic_type not in ['mellanox']" + - "'t2_single_node' not in topo_name and topo_name not in (constants['QOS_SAI_TOPO']) and asic_type not in ['mellanox']" qos/test_qos_sai.py::TestQosSai::testQosSaiSharedReservationSize: skip: diff --git a/tests/qos/qos_sai_base.py b/tests/qos/qos_sai_base.py index 4e7a0dbe070..82a6059e30f 100644 --- a/tests/qos/qos_sai_base.py +++ b/tests/qos/qos_sai_base.py @@ -480,6 +480,8 @@ def __getEcnWredParam(self, dut_asic, table, port): if dut_asic.sonichost.is_multi_asic: port = "{}|{}|{}".format( dut_asic.sonichost.hostname, dut_asic.namespace, port) + else: + port = "{}|Asic0|{}".format(dut_asic.sonichost.hostname, port) if check_qos_db_fv_reference_with_table(dut_asic): out = dut_asic.run_redis_cmd( argv=[